/* transmut.co: Alkemya brand line (Alkemya blue #325FEC, light #8DA8E2, deep #0D2970 on near black).
   Type: Saira (the brand's secondary face, SIL OFL) for headings, labels, buttons and prices; Inter for reading text. */
@font-face { font-family: 'Saira'; font-weight: 100 900; font-style: normal; font-display: swap; src: url(../fonts/saira-latin-var.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }

:root {
  --acc: #325FEC;
  --acc-2: #4C74F0;
  --acc-l: #8DA8E2;
  --acc-d: #0D2970;
  --bg: #07080D;
  --card: #0E111A;
  --card-2: #141826;
  --fg: #EEF1F8;
  --mut: rgba(238, 241, 248, .66);
  --faint: rgba(238, 241, 248, .38);
  --ln: rgba(238, 241, 248, .12);
  --ln-acc: rgba(50, 95, 236, .40);
  --ff-d: 'Saira', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --ff-b: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --ff-art: Georgia, 'Times New Roman', serif;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--ff-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--acc-l); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--acc-l); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--ff-d); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 6.2vw, 68px); }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--acc-l); font-style: normal; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font: 500 12px/1 var(--ff-b); letter-spacing: .18em; text-transform: uppercase; color: var(--acc-l); margin-bottom: 18px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--acc); }
/* the Figma → Illustrator conversion, with the Figma logo and a generic .ai file icon */
.convert { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--ln); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.convert a, .convert span { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.convert a:hover { text-decoration: none; color: var(--acc-l); }
.convert img { height: 18px; width: auto; }
.convert .arrow { color: var(--acc-l); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--mut); max-width: 640px; }
.muted { color: var(--mut); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ln); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img.lockup { height: 26px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--mut); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); text-decoration: none; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--ln); border-radius: 10px; font-size: 14px; color: var(--fg); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .sheet { display: flex; }
.menu .sheet { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 4px; padding: 12px var(--pad) 20px; background: #07080D; border-bottom: 1px solid var(--ln); }
.menu .sheet a { padding: 10px 0; color: var(--fg); font-size: 17px; border-bottom: 1px solid var(--ln); }
.menu .sheet a.btn { margin-top: 12px; padding: 0 22px; border-bottom: 0; font-size: 15px; }
.menu .sheet a.btn.primary { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--ff-b); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: #fff; box-shadow: 0 8px 28px rgba(50, 95, 236, .32); }
.btn.primary:hover { box-shadow: 0 10px 34px rgba(50, 95, 236, .48); }
.btn.ghost { border-color: var(--ln); color: var(--fg); }
.btn.ghost:hover { border-color: var(--faint); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* hero */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto 40%; height: 620px; background: radial-gradient(closest-side, rgba(50, 95, 236, .16), transparent 70%); pointer-events: none; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* the Figma -> Illustrator demo (animated by assets/js/site.js) */
.demo { position: relative; display: grid; gap: 10px; }
.win { background: var(--card); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.win .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--ln); font-size: 12px; color: var(--mut); }
.win .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 241, 248, .16); }
.win .bar b { margin-left: 6px; font-weight: 500; color: var(--fg); }
.win .bar img.app { margin-left: 8px; height: 14px; width: auto; }
.canvas { position: relative; padding: 34px 14px 16px; background: radial-gradient(rgba(238, 241, 248, .06) 1px, transparent 1px) 0 0 / 14px 14px; overflow: hidden; }
.frames { display: grid; grid-template-columns: 1.2fr .6fr 1fr; gap: 12px; align-items: end; }
.fr { position: relative; border-radius: 4px; outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color .25s; }
.fr small { position: absolute; top: -18px; left: 0; font-size: 10px; color: var(--faint); transition: color .25s; white-space: nowrap; }
.fr.f1 { height: 118px; } .fr.f2 { height: 150px; } .fr.f3 { height: 84px; }
.demo.sel .fr { outline-color: #0D99FF; }
.demo.sel .fr small { color: #4DB5FF; }
.marquee { position: absolute; border: 1px solid #0D99FF; background: rgba(13, 153, 255, .08); opacity: 0; pointer-events: none; }
.demo.drag .marquee { opacity: 1; }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); pointer-events: none; }
.plugin { position: absolute; right: 12px; bottom: 12px; z-index: 4; width: 158px; padding: 10px; border-radius: 10px; background: #0F121C; border: 1px solid var(--ln); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease); }
.plugin .ph { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--fg); margin-bottom: 8px; }
.plugin .ph img { width: 12px; height: 12px; }
.pbtn { font-size: 10.5px; font-weight: 600; text-align: center; padding: 7px 6px; border-radius: 999px; background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: #fff; transition: transform .15s, filter .15s; }
.pbar { height: 3px; margin-top: 8px; border-radius: 3px; background: rgba(238, 241, 248, .1); overflow: hidden; }
.pbar b { display: block; height: 100%; width: 0; background: var(--acc-l); }
.demo.panel .plugin { opacity: 1; transform: none; }
.demo.press .pbtn { transform: scale(.94); filter: brightness(.88); }
.demo.progress .pbar b { width: 100%; transition: width 1s ease-in-out; }
.flow { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; color: var(--acc-l); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.flow img { width: 28px; height: 28px; transition: filter .4s, transform .4s; }
.demo.send .flow img { filter: drop-shadow(0 0 12px rgba(141, 168, 226, .8)); transform: scale(1.12); }
.flow .dots { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 6px; margin-left: -60px; }
.flow .dots i { position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--acc-l); opacity: 0; }
.demo.send .dots i { animation: drop 1s ease-in infinite; }
.demo.send .dots i:nth-child(2) { animation-delay: .25s; }
.demo.send .dots i:nth-child(3) { animation-delay: .5s; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(50px); opacity: 0; } }
.ai { display: grid; grid-template-columns: 1fr 150px; }
.board { padding: 26px; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, rgba(238, 241, 248, .025) 0 10px, transparent 10px 20px); }
.artboard { position: relative; width: 80%; aspect-ratio: 4 / 3; outline: 1px dashed rgba(141, 168, 226, .55); outline-offset: 7px; }
.cm { position: absolute; width: 12px; height: 12px; border: solid rgba(238, 241, 248, .75); transform: scale(0); transition: transform .4s var(--ease); }
.cm.tl { top: -20px; left: -20px; border-width: 0 1px 1px 0; transform-origin: 100% 100%; }
.cm.tr { top: -20px; right: -20px; border-width: 0 0 1px 1px; transform-origin: 0 100%; }
.cm.bl { bottom: -20px; left: -20px; border-width: 1px 1px 0 0; transform-origin: 100% 0; }
.cm.br { bottom: -20px; right: -20px; border-width: 1px 0 0 1px; transform-origin: 0 0; }
.demo.build .cm { transform: scale(1); transition-delay: 1.1s; }
.layers { border-left: 1px solid var(--ln); padding: 10px; font-size: 12px; }
.layers div { display: flex; align-items: center; gap: 8px; padding: 6px 4px; color: var(--mut); border-bottom: 1px solid var(--ln); }
.layers div:first-child { color: var(--fg); font-weight: 500; }
.layers .ly::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--acc); }
.layers .ly { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.demo.build .ly { opacity: 1; transform: none; }
.demo.build .ly:nth-child(2) { transition-delay: .5s; } .demo.build .ly:nth-child(3) { transition-delay: .75s; }
.demo.build .ly:nth-child(4) { transition-delay: 1s; } .demo.build .ly:nth-child(5) { transition-delay: 1.25s; }
.demo.fade .canvas > *, .demo.fade .artboard, .demo.fade .ly, .demo.fade .flow img { opacity: 0 !important; transition: opacity .4s !important; }
.demo.instant, .demo.instant * { transition: none !important; animation: none !important; }

/* the artwork (same design in the Figma frames and on the Illustrator artboard) */
.art { position: absolute; inset: 0; overflow: hidden; border-radius: 3px; container-type: size; }
.art.poster { background: linear-gradient(165deg, #142a6b 0%, #070a16 72%); }
.art .sun { position: absolute; width: 38cqw; height: 38cqw; right: 12cqw; top: 10cqh; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #C9D6FF, #325FEC 72%); box-shadow: 0 0 14cqw rgba(141, 168, 226, .35); }
.art .hill { position: absolute; left: -12%; right: 18%; bottom: -34cqh; height: 72cqh; border-radius: 50% 50% 0 0; background: #0b1433; }
.art .hill.b { left: 28%; right: -38%; bottom: -44cqh; background: #12204d; }
.art .title { position: absolute; left: 8cqw; bottom: 25cqh; font: italic 400 11cqw/1 var(--ff-art); color: var(--fg); white-space: nowrap; }
.art .l1, .art .l2 { position: absolute; left: 8cqw; height: 2.4cqh; border-radius: 2px; background: rgba(238, 241, 248, .5); }
.art .l1 { bottom: 15cqh; width: 40cqw; } .art .l2 { bottom: 9cqh; width: 26cqw; }
.art.story { background: linear-gradient(180deg, #13296a, #060912); }
.art.story .sun { width: 64cqw; height: 64cqw; right: 18cqw; top: 12cqh; }
.art.story .hill { left: -30%; right: -20%; bottom: -20cqh; height: 45cqh; }
.art.story em { position: absolute; left: 12cqw; bottom: 10cqh; font: italic 400 20cqw/1.05 var(--ff-art); color: var(--fg); }
.art.banner { background: linear-gradient(135deg, #EEF1F8, #C8D3EF); }
.art.banner em { position: absolute; left: 8cqw; top: 50%; transform: translateY(-50%); font: italic 400 12cqw/1 var(--ff-art); color: #0d1b46; white-space: nowrap; }
.art.banner .sun { width: 46cqh; height: 46cqh; right: 8cqw; top: 27cqh; box-shadow: none; }
.caret { display: inline-block; width: 1.5px; height: .85em; margin-left: 2px; vertical-align: -.08em; background: var(--fg); opacity: 0; }
/* Illustrator artboard builds piece by piece */
.il .art { opacity: 0; transition: opacity .5s; }
.il .art .sun { transform: scale(0); transition: transform .8s var(--ease) .35s; }
.il .art .hill { transform: translateY(40%); transition: transform .8s var(--ease) .2s; }
.il .art .title { opacity: 0; transform: translateY(6px); transition: opacity .5s .7s, transform .5s .7s, outline-color .2s; outline: 1px solid transparent; outline-offset: 5px; }
.il .art .l1, .il .art .l2 { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .9s; }
.demo.build .il .art, .demo.build .il .art .title { opacity: 1; }
.demo.build .il .art .sun, .demo.build .il .art .hill, .demo.build .il .art .title, .demo.build .il .art .l1, .demo.build .il .art .l2 { transform: none; }
.demo.edit .il .art .title { outline-color: #0D99FF; }
.demo.edit .il .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 1; } }

/* hero pill: + PDF/X */
.convert .plus { color: var(--faint); }
.convert .pdftag { font: 600 12px/1 var(--ff-d); letter-spacing: .08em; color: var(--acc-l); border: 1px solid var(--ln-acc); border-radius: 6px; padding: 4px 6px; }
/* the hero demo's plugin shows its three tabs */
.plugin .ptabs { display: flex; gap: 3px; margin-bottom: 8px; padding: 2px; border: 1px solid var(--ln); border-radius: 6px; }
.plugin .ptabs i { flex: 1; font: 600 7.5px/1 var(--ff-d); font-style: normal; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 4px 0; border-radius: 4px; color: var(--faint); }
.plugin .ptabs i.on { background: var(--acc); color: #fff; }

/* «Print PDF» section: text and the print demo side by side */
.pdfgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feats.one { grid-template-columns: 1fr; }
/* the print demo (animated by assets/js/site.js): 1 mm = --u; the stage zooms out from the artboard page to an A4 sheet */
.pdfdemo { position: relative; display: grid; gap: 14px; }
.pdfdemo .pdfic { margin-left: 8px; font: 700 8px/1 var(--ff-b); color: #fff; background: #D9372B; border-radius: 3px; padding: 3px 4px; letter-spacing: .04em; }
.pdfdemo .desk { position: relative; aspect-ratio: 5 / 4.4; container-type: size; overflow: hidden; background: repeating-linear-gradient(45deg, rgba(238, 241, 248, .025) 0 10px, transparent 10px 20px); }
.pdfdemo .stage { --u: .29cqh; position: absolute; left: 50%; top: 47%; width: 0; height: 0; transform: scale(1.62); transition: transform 1.3s var(--ease); }
.pdfdemo .paper, .pdfdemo .piece { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.pdfdemo .paper { width: calc(var(--u) * 131); height: calc(var(--u) * 174); background: #F3F5FA; border-radius: 1px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); transition: width 1.3s var(--ease), height 1.3s var(--ease), opacity .5s; opacity: 0; }
.pdfdemo .piece { width: calc(var(--u) * 105); height: calc(var(--u) * 148); }
.pdfdemo .piece .art { inset: 0; border-radius: 0; transition: inset .7s var(--ease), filter .7s; }
.pdfdemo .piece .art .title { font-size: 13cqw; bottom: 30cqh; }
.pdfdemo .trim { position: absolute; inset: 0; outline: 1px dashed rgba(238, 241, 248, .0); transition: outline-color .5s; pointer-events: none; }
.pdfdemo .mk { position: absolute; background: #1b1f2b; transition: transform .45s var(--ease); }
.pdfdemo .mk.h { height: 1px; width: calc(var(--u) * 6); transform: scaleX(0); }
.pdfdemo .mk.v { width: 1px; height: calc(var(--u) * 6); transform: scaleY(0); }
.pdfdemo .mk.tl.h, .pdfdemo .mk.bl.h { right: calc(100% + var(--u) * 5); transform-origin: right; }
.pdfdemo .mk.tr.h, .pdfdemo .mk.br.h { left: calc(100% + var(--u) * 5); transform-origin: left; }
.pdfdemo .mk.tl.h, .pdfdemo .mk.tr.h { top: 0; } .pdfdemo .mk.bl.h, .pdfdemo .mk.br.h { bottom: 0; }
.pdfdemo .mk.tl.v, .pdfdemo .mk.tr.v { bottom: calc(100% + var(--u) * 5); transform-origin: bottom; }
.pdfdemo .mk.bl.v, .pdfdemo .mk.br.v { top: calc(100% + var(--u) * 5); transform-origin: top; }
.pdfdemo .mk.tl.v, .pdfdemo .mk.bl.v { left: 0; } .pdfdemo .mk.tr.v, .pdfdemo .mk.br.v { right: 0; }
.pdfdemo .k100 { position: absolute; left: 8%; bottom: 44%; font: 700 7px/1 var(--ff-b); color: #0b1020; background: #fff; border-radius: 3px; padding: 2px 3px; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.pdfdemo .stamp { margin-left: auto; white-space: nowrap; font: 700 10px/1 var(--ff-d); letter-spacing: .06em; color: #fff; background: var(--acc); border-radius: 4px; padding: 4px 7px; box-shadow: 0 4px 14px rgba(50, 95, 236, .45); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease); }
.pdfdemo .pagename { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: var(--mut); }
.pdfdemo .pagename span { position: absolute; left: 0; bottom: 0; white-space: nowrap; transition: opacity .5s; }
.pdfdemo .pagename .p1 { opacity: 0; }
.pdfdemo .chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.pdfdemo .chip { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ln-acc); color: var(--acc-l); background: rgba(50, 95, 236, .08); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
/* the steps */
.pdfdemo.p-paper .paper { opacity: 1; }
.pdfdemo.p-bleed .piece .art { inset: calc(var(--u) * -3); }
.pdfdemo.p-bleed .trim { outline-color: rgba(238, 241, 248, .55); }
.pdfdemo.p-marks .mk { transform: none; }
.pdfdemo.p-marks .mk:nth-child(n+5) { transition-delay: .15s; } .pdfdemo.p-marks .mk:nth-child(n+7) { transition-delay: .3s; }
.pdfdemo.p-cmyk .piece .art { filter: saturate(.82) contrast(1.04); }
.pdfdemo.p-k100 .k100 { opacity: 1; transform: none; }
.pdfdemo.p-x4 .stamp { opacity: 1; transform: none; }
.pdfdemo.p-sheet .stage { transform: scale(1); }
.pdfdemo.p-sheet .paper { width: calc(var(--u) * 210); height: calc(var(--u) * 297); }
.pdfdemo.p-sheet .trim { outline-color: rgba(238, 241, 248, 0); }
.pdfdemo.p-sheet .pagename .p0 { opacity: 0; } .pdfdemo.p-sheet .pagename .p1 { opacity: 1; }
.pdfdemo.p-bleed .chip.c1, .pdfdemo.p-marks .chip.c2, .pdfdemo.p-cmyk .chip.c3, .pdfdemo.p-k100 .chip.c4, .pdfdemo.p-x4 .chip.c5 { opacity: 1; transform: none; }
.pdfdemo.fade .stage, .pdfdemo.fade .chip, .pdfdemo.fade .pagename, .pdfdemo.fade .stamp { opacity: 0 !important; transition: opacity .45s !important; }
.pdfdemo.instant, .pdfdemo.instant * { transition: none !important; }

/* language flags */
.langs { display: inline-flex; gap: 6px; }
.flag { display: inline-flex; width: 26px; height: 18px; border-radius: 4px; overflow: hidden; opacity: .5; outline: 1px solid var(--ln); outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.flag svg { width: 100%; height: 100%; display: block; }
.flag:hover { opacity: .9; }
.flag.on { opacity: 1; outline-color: var(--acc-l); }
.menu .sheet a.lang-row { display: flex; align-items: center; gap: 10px; }
.menu .sheet a.lang-row .flag { opacity: 1; }

/* elements appear while scrolling */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* sections */
section.s { padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--ln); }
.head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--ln); border-radius: var(--r); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--mut); margin: 0; font-size: 15px; }
.ico { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ln-acc); display: grid; place-items: center; color: var(--acc-l); margin-bottom: 18px; }
.ico svg { width: 20px; height: 20px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.feat { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ln); }
.feat::before { content: '✦'; color: var(--acc-l); font-size: 14px; line-height: 1.7; }
.feat b { display: block; font-weight: 500; }
.feat span { color: var(--mut); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--card); border: 1px solid var(--ln); border-radius: var(--r); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 600 26px/1 var(--ff-b); letter-spacing: -.02em; color: var(--acc-l); display: block; margin-bottom: 16px; }
.step p { margin: 0; color: var(--mut); font-size: 15px; }
.step b { color: var(--fg); font-weight: 500; }
.tools { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; max-width: 820px; }
.tool:not(.on) { display: flex; align-items: center; justify-content: center; border-style: dashed; }
.tool:not(.on) h3 { color: var(--mut); margin: 0; }
.tool { padding: 24px; border-radius: var(--r); border: 1px solid var(--ln); background: var(--card); }
.tool.on { border-color: var(--ln-acc); background: linear-gradient(160deg, rgba(50, 95, 236, .12), var(--card) 60%); }
.tool small { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--ln); color: var(--faint); margin-bottom: 14px; }
.tool.on small { color: var(--acc-l); border-color: var(--ln-acc); }
.tool h3 { font-size: 20px; }
.tool p { color: var(--mut); font-size: 14px; margin: 0; }
.cta { text-align: center; padding: clamp(56px, 8vw, 96px) var(--pad); border: 1px solid var(--ln-acc); border-radius: 22px; background: radial-gradient(ellipse at top, rgba(50, 95, 236, .14), transparent 70%), var(--card); }
.cta .lead { margin: 0 auto 28px; }
.cta .actions { justify-content: center; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 820px; }
.plan { position: relative; padding: 32px; border-radius: 18px; border: 1px solid var(--ln); background: var(--card); display: flex; flex-direction: column; }
.plan.best { border-color: var(--ln-acc); background: linear-gradient(170deg, rgba(50, 95, 236, .13), var(--card) 55%); }
.plan .tag { position: absolute; top: 18px; right: 18px; font-size: 12px; color: #fff; background: var(--acc); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.plan h3 { font-family: var(--ff-b); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); font-weight: 500; }
.price { font: 600 50px/1 var(--ff-d); letter-spacing: -.03em; margin: 10px 0 4px; }
.price small { font: 400 16px var(--ff-b); color: var(--mut); margin-left: 4px; }
.plan .per { color: var(--faint); font-size: 14px; min-height: 22px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '✓'; color: var(--acc-l); }
.plan .btn { margin-top: auto; }
.free { margin-top: 18px; max-width: 820px; padding: 20px 24px; border-radius: var(--r); border: 1px dashed var(--ln); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.free.team { border-style: solid; border-color: var(--acc, #325FEC); }
.free.team .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fine { color: var(--faint); font-size: 14px; margin-top: 18px; max-width: 820px; }
.tax-line { color: var(--mut); font-size: 14px; margin: 14px 0 0; text-align: center; }

/* launch offer: the ribbon above the header, the hero note, the code card and the promo plan on the pricing page */
.promo { position: relative; z-index: 51; background: linear-gradient(90deg, var(--acc-d), var(--acc) 55%, var(--acc-2)); color: #fff; font-size: 14px; line-height: 1.45; }
.promo .wrap { display: flex; align-items: center; gap: 14px; min-height: 46px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.pm-tag { font: 600 11px/1 var(--ff-d); letter-spacing: .18em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); white-space: nowrap; }
.pm-text { flex: 1 1 260px; min-width: 0; }
.pm-code { font-family: var(--ff-d); font-weight: 700; letter-spacing: .1em; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.pm-cta { color: var(--acc); background: #fff; border-radius: 999px; padding: 9px 15px; font: 600 13px/1 var(--ff-d); letter-spacing: .04em; white-space: nowrap; }
.pm-cta:hover { text-decoration: none; background: #EEF1F8; }
.pm-x { background: none; border: 0; color: #fff; font: 300 24px/1 var(--ff-b); cursor: pointer; opacity: .75; padding: 2px 6px; margin-right: -6px; }
.pm-x:hover { opacity: 1; }
.hero .promo-note b { color: var(--acc-l); font-family: var(--ff-d); letter-spacing: .08em; }
.offer { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; max-width: 820px; margin: 0 0 26px; padding: 30px 32px; border-radius: 22px; border: 1px solid var(--ln-acc); background: radial-gradient(ellipse at top left, rgba(50, 95, 236, .30), transparent 60%), var(--card); box-shadow: 0 22px 60px rgba(50, 95, 236, .18); }
.offer h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.offer .of-main p { color: var(--mut); margin: 0; }
.of-code { display: grid; gap: 10px; }
.of-label { font: 500 12px/1 var(--ff-d); letter-spacing: .18em; text-transform: uppercase; color: var(--acc-l); }
.of-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; border: 1px dashed var(--acc-l); border-radius: 12px; background: rgba(50, 95, 236, .12); }
.of-box code { font: 700 20px/1 var(--ff-d); letter-spacing: .14em; color: #fff; }
.of-days { font-size: 13px; color: var(--faint); text-align: center; }
.plan.promo { border-color: var(--acc); box-shadow: 0 0 0 1px rgba(50, 95, 236, .35), 0 18px 50px rgba(50, 95, 236, .22); }
.plan .tag.hot { background: #fff; color: var(--acc); }
.price s { color: var(--faint); font-weight: 400; font-size: .5em; margin-right: 8px; }
@media (max-width: 720px) { .offer { grid-template-columns: 1fr; padding: 24px 22px; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--ln); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--ff-b); color: var(--acc-l); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); padding-right: 36px; }

/* docs (help, legal) */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.doc { max-width: 760px; padding-bottom: clamp(64px, 8vw, 100px); }
.doc h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.8em; }
.doc h3 { margin-top: 1.4em; font-size: 19px; font-family: var(--ff-b); }
.doc p, .doc li { color: var(--mut); }
.doc strong { color: var(--fg); font-weight: 500; }
.doc ol, .doc ul { padding-left: 1.2em; }
.doc li { margin: .4em 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1em 0 1.6em; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ln); vertical-align: top; color: var(--mut); }
.doc th { color: var(--fg); font-weight: 500; }
.doc .box { background: var(--card); border: 1px solid var(--ln); border-radius: var(--r); padding: 18px 20px; margin: 1.2em 0; }
.doc kbd { font: 500 13px var(--ff-b); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--ln); color: var(--fg); background: var(--card-2); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { font-size: 14px; color: var(--mut); border: 1px solid var(--ln); border-radius: 999px; padding: 6px 12px; }
.toc a:hover { color: var(--fg); text-decoration: none; border-color: var(--faint); }

/* footer */
footer { border-top: 1px solid var(--ln); padding: 48px 0 40px; font-size: 14px; color: var(--mut); }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { font: 500 12px var(--ff-b); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--mut); }
footer a:hover { color: var(--fg); }
footer .legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--ln); color: var(--faint); font-size: 12.5px; line-height: 1.6; }

/* responsive */
/* the full menu (six links, flags and the button) needs about 1080 px in Spanish; narrower screens use the menu button */
@media (max-width: 1080px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; }
  .pdfgrid { grid-template-columns: 1fr; }
  .cards, .tools { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .cards, .tools, .steps, .feats, .plans { grid-template-columns: 1fr; }
  .feats { gap: 0; }
  .ai { grid-template-columns: 1fr; }
  .plugin { width: 140px; }
  .layers { border-left: 0; border-top: 1px solid var(--ln); display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .frames { grid-template-columns: 1fr 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* two directions: sub-headings over each step list, the import list has three steps */
h3.sub { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc-l); font-weight: 600; margin: 34px 0 14px; }
h3.sub:first-of-type { margin-top: 0; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
footer .credit { margin-top: 6px; color: var(--mut); }
footer .credit a { color: var(--acc-l); font-weight: 500; }
@media (max-width: 960px) { .steps.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .steps.three { grid-template-columns: 1fr; } }

/* brand type: Saira, spaced like the Alkemya book */
h1, h2 { letter-spacing: -.005em; }
h3 { font-family: var(--ff-d); letter-spacing: .01em; }
.eyebrow { font-family: var(--ff-d); font-weight: 500; letter-spacing: .22em; }
.btn { font-family: var(--ff-d); font-weight: 600; letter-spacing: .04em; }
.step::before { font-family: var(--ff-d); }
.price { font-family: var(--ff-d); letter-spacing: -.01em; }
.price small { font-family: var(--ff-b); }
.plan h3, footer h4, h3.sub, .tool small, .plan .tag { font-family: var(--ff-d); letter-spacing: .16em; }
.doc h3 { font-family: var(--ff-d); }
.faq summary { font-family: var(--ff-d); font-weight: 500; letter-spacing: .01em; }

/* cookie notice (assets/js/track.js) */
.ck { position: fixed; z-index: 99; left: 16px; right: 16px; bottom: 16px; max-width: 460px; margin-left: auto; padding: 18px 20px; border: 1px solid var(--ln-acc); border-radius: var(--r); background: var(--card); color: var(--fg); font: 400 14px/1.55 var(--ff-b); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ck.on { opacity: 1; transform: none; }
.ck p { margin: 0 0 14px; color: var(--mut); }
.ck a { color: var(--acc-l); }
.ck-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }


/* the family: three cards, the available ones are links */
.tools.three { grid-template-columns: 1fr 1fr .75fr; max-width: 1040px; }
a.tool { display: block; color: inherit; transition: border-color .2s, transform .2s; }
a.tool:hover { text-decoration: none; border-color: var(--acc); transform: translateY(-2px); }
@media (max-width: 960px) { .tools.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .tools.three { grid-template-columns: 1fr; } }

/* Transmut · Adapt page */
.feats.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .feats.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .feats.three { grid-template-columns: 1fr; } }
.fair { max-width: 820px; margin: 18px 0 0; padding: 18px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--ln); color: var(--mut); font-size: 15px; }
.fair b { color: var(--fg); font-weight: 600; }
.free.adapt-link { margin-top: 26px; }
/* the animation styles (ANIMATION BLOCK in build.mjs) */

@media (max-width: 760px) { .acv { grid-template-columns: 1fr; row-gap: 34px; } .akv { width: 56%; } }
/* the full menu now has seven links: below 1180 px it uses the menu button */
@media (max-width: 1180px) { .nav { display: none; } .menu { display: block; } }
/* anchors land below the sticky header */
section[id], .offer, .free.team, .plan.team { scroll-margin-top: 84px; }
/* seven links in one line: tighter gaps, never wrapped (Spanish needs about 1060 px with the logo) */
.nav { gap: 20px; }
.nav a { white-space: nowrap; }

/* Adapt's launch price: the banner, the crossed price and the live countdown */
.cd { display: inline-flex; align-items: stretch; gap: 6px; flex-wrap: wrap; }
.cd-l { align-self: center; font: 600 11px/1.2 var(--ff-d); letter-spacing: .14em; text-transform: uppercase; margin-right: 4px; }
.cd-n { display: grid; justify-items: center; min-width: 50px; padding: 7px 6px 6px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.cd-n b { font: 700 22px/1 var(--ff-d); font-variant-numeric: tabular-nums; color: #fff; }
.cd-n i { font: 500 10px/1 var(--ff-b); font-style: normal; margin-top: 4px; opacity: .8; }
.cd.mini { gap: 3px; }
.cd.mini .cd-l { font-size: 10px; margin-right: 2px; }
.cd.mini .cd-n { display: inline-flex; align-items: baseline; gap: 1px; min-width: 0; padding: 4px 6px; border-radius: 6px; }
.cd.mini .cd-n b { font-size: 13px; }
.cd.mini .cd-n i { font-size: 9px; margin: 0; }
.hero-offer { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, var(--acc-d), var(--acc) 60%, var(--acc-2)); color: #fff; max-width: 460px; }
.ho-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ho-tag { font: 600 11px/1 var(--ff-d); letter-spacing: .16em; text-transform: uppercase; }
.ho-prices { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; }
.ho-price { font: 700 30px/1 var(--ff-d); white-space: nowrap; }
.ho-price s, .of-price s { font-weight: 400; font-size: .55em; opacity: .75; margin-right: 8px; }
.ho-price small, .of-price small { font-size: .42em; font-weight: 500; margin-left: 3px; opacity: .85; }
.hero-offer p { margin: 8px 0 12px; color: #fff; font-size: 14px; }
.hero-offer a { color: #fff; text-decoration: underline; }
.offer.loud { max-width: none; color: #fff; border: 0; background: linear-gradient(120deg, var(--acc-d), var(--acc) 58%, var(--acc-2)); box-shadow: 0 24px 70px rgba(50, 95, 236, .35); }
.offer.loud .eyebrow, .offer.loud .of-label { color: #fff; opacity: .85; }
.offer.loud h2 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
.offer.loud h2 em { color: #fff; }
.offer.loud .of-main p { color: #fff; opacity: .9; }
.of-prices { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 18px; }
.of-plan { display: block; font: 600 12px/1 var(--ff-d); letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.of-price { font: 700 40px/1 var(--ff-d); white-space: nowrap; }
.of-how { display: block; font-size: 13px; line-height: 1.35; margin-top: 8px; opacity: .9; max-width: 250px; }
.offer.loud .of-box { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.offer.loud .btn.primary { background: #fff; color: var(--acc); }
@media (max-width: 720px) { .cd-n { min-width: 46px; } .cd-n b { font-size: 19px; } .of-price { font-size: 32px; } .ho-price { font-size: 26px; } }

/* Adapt: real clips of the plugin */
.aclip { border-radius: 14px; overflow: hidden; border: 1px solid var(--ln-acc); background: #05070f; aspect-ratio: 16 / 9; max-width: 100%; }
.aclip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.aclip.wide { margin: 8px 0 28px; }

/* Adapt: Team is one more plan, next to Monthly and Yearly */
.plan .team-btns { margin-top: auto; display: grid; gap: 8px; }
.plan .team-btns .btn { margin-top: 0; }
.plan li a { color: var(--acc-l); }
@media (min-width: 961px) { .plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
@media (min-width: 641px) and (max-width: 960px) { .plans.three .plan.team { grid-column: 1 / -1; } }

/* Adapt, how it works: the player and its steps */
.aflow { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; }
.aflow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: flow; }
.aflow-steps button { width: 100%; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; text-align: left; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--ln); background: var(--card); color: var(--mut); font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; transition: border-color .25s, background .25s; }
.aflow-steps button::before { counter-increment: flow; content: counter(flow); grid-row: 1 / span 2; font: 600 18px/1.25 var(--ff-d); color: var(--acc-l); }
.aflow-steps b { color: var(--fg); font-weight: 600; font-size: 15px; }
.aflow-steps span { grid-column: 2; }
.aflow-steps button.on { border-color: var(--acc); background: rgba(50, 95, 236, .14); }
.aflow-steps button:focus-visible { outline: 2px solid var(--acc-l); outline-offset: 2px; }
@media (max-width: 960px) { .aflow { grid-template-columns: minmax(0, 1fr); } }

/* Adapt in the menu: the new one shines */
.nav a.nav-adapt, .menu .sheet a.nav-adapt { display: inline-flex; align-items: center; gap: 7px; }
.nav-adapt span { font-weight: 600; background: linear-gradient(100deg, #8DA8FF 0%, #fff 45%, #9B7BFF 70%, #8DA8FF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: navshine 3.2s linear infinite; }
.nav-adapt i { font: 700 10px/1 var(--ff-d); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 4px 7px; border-radius: 999px; background: linear-gradient(120deg, var(--acc), #7B4DFF); animation: navpulse 2.4s ease-in-out infinite; }
@keyframes navshine { to { background-position: -220% 0; } }
@keyframes navpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(91, 110, 255, .55); } 50% { box-shadow: 0 0 0 7px rgba(91, 110, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .nav-adapt span, .nav-adapt i { animation: none; } }

/* Adapt before it opens: the offer collects who wants to be told */
.wl { display: grid; gap: 10px; scroll-margin-top: 110px; }
.wl-row { display: flex; gap: 8px; }
.wl-row[hidden] { display: none; }
.wl-row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 15px; }
.wl-row input::placeholder { color: rgba(255, 255, 255, .7); }
.wl-row input:focus { outline: 2px solid #fff; outline-offset: 1px; }
.wl-row .btn { flex: none; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { margin: 0; font-size: 13px; color: #fff; opacity: .88; }
.wl-note a { color: #fff; text-decoration: underline; }
.wl-note.done { font-size: 16px; font-weight: 600; opacity: 1; }

/* one brand, two plugins: header menus, plugin sub-menu, home cards, pricing tabs */
.drop { position: relative; }
.drop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.drop > summary::-webkit-details-marker { display: none; }
.drop-plugins > summary { color: var(--mut); font-size: 15px; }
.drop-plugins > summary:hover, .drop-plugins > summary[aria-current], .drop-plugins[open] > summary { color: var(--fg); }
.drop .chev { transition: transform .18s; flex: none; }
.drop[open] .chev { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 14px); left: -14px; width: 330px; padding: 8px; background: #0E111A; border: 1px solid var(--ln); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); display: grid; gap: 2px; z-index: 60; }
.drop-try .drop-panel { left: auto; right: 0; }
.nav a.drop-item { display: block; padding: 12px; border-radius: 9px; color: var(--fg); white-space: normal; }
.nav a.drop-item:hover, .nav a.drop-item[aria-current] { background: var(--card-2); text-decoration: none; }
.drop-item b { display: flex; align-items: center; gap: 8px; font: 600 14.5px/1.3 var(--ff-d); }
.drop-item i { font: 700 9.5px/1 var(--ff-d); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 3px 6px; border-radius: 999px; background: var(--acc); }
.drop-item span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--mut); }
.menu .sheet a.nav-adapt span { font-weight: 400; }

.subnav { position: sticky; top: 65px; z-index: 40; background: rgba(14, 17, 26, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ln); }
.subnav .wrap { display: flex; align-items: center; gap: 28px; height: 48px; }
.subnav b { font: 600 14px/1 var(--ff-d); white-space: nowrap; }
.subnav-links { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { color: var(--mut); font-size: 14px; white-space: nowrap; }
.subnav-links a:hover, .subnav-links a.on { color: var(--fg); text-decoration: none; }
.has-sub section[id] { scroll-margin-top: 128px; }
@media (max-width: 760px) { .subnav b { display: none; } .subnav-links { margin-left: 0; } }

.hero.fam { padding-bottom: clamp(32px, 5vw, 60px); }
.fam-head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 56px); position: relative; }
.fam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; align-items: stretch; }
.fam-card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--ln); border-radius: 20px; overflow: hidden; }
.fam-visual { height: 300px; position: relative; overflow: hidden; background: #0A0C13; border-bottom: 1px solid var(--ln); display: flex; align-items: center; justify-content: center; }
.fam-visual .aclip { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; }
.fam-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fam-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.fam-kind { display: flex; align-items: center; gap: 8px; color: var(--acc-l); font: 500 12px/1 var(--ff-b); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.fam-kind i { font: 700 9.5px/1 var(--ff-d); font-style: normal; letter-spacing: .08em; color: #fff; padding: 3px 6px; border-radius: 999px; background: var(--acc); }
.fam-body h2 { font-size: clamp(24px, 2.6vw, 31px); }
.fam-body p { color: var(--mut); margin: 0 0 16px; }
.fam-body ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.fam-body li { position: relative; padding-left: 22px; font-size: 15px; }
.fam-body li::before { content: '✓'; position: absolute; left: 0; color: var(--acc-l); }
.fam-foot { margin-top: auto; }
.fam-price { font: 600 19px/1.3 var(--ff-d); }
.fam-deal { margin-bottom: 8px; padding: 14px 16px 15px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, var(--acc-d), var(--acc) 60%, var(--acc-2)); }
.fam-deal + .fam-price { display: none; }
.fam-deal-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.fam-deal-tag { font: 700 11px/1 var(--ff-d); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; background: #fff; color: var(--acc-d); }
.fam-deal-price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-family: var(--ff-d); white-space: nowrap; }
.fam-deal-price s { font-size: 22px; font-weight: 500; opacity: .75; }
.fam-deal-price b { font-size: clamp(40px, 4.4vw, 52px); line-height: 1; font-weight: 700; }
.fam-deal-price small { font-size: 16px; font-weight: 500; opacity: .9; margin-left: -6px; }
.fam-deal-note { margin-top: 8px; font-size: 13.5px; line-height: 1.4; }
.fam-deal-note s { opacity: .75; }
.fam-trial { margin: 6px 0 18px; font-size: 14px; color: var(--mut); }
@media (max-width: 860px) { .fam-grid { grid-template-columns: 1fr; } .fam-visual { height: 240px; } }

.tool-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 28px; background: var(--card); border: 1px solid var(--ln); border-radius: 12px; max-width: 100%; }
.tool-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--mut); font: 500 14.5px/1.2 var(--ff-b); cursor: pointer; text-align: left; }
.tool-tabs button.on { background: var(--acc); color: #fff; }
.tool-tabs i { font: 700 9.5px/1 var(--ff-d); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; }
.js .tool-panel { display: none; }
.js .tool-panel.on { display: block; }

.doc h2.help-group, h2.help-group { margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--ln); font-size: clamp(28px, 3.4vw, 38px); color: var(--acc-l); }

.fam-visual .demo { flex: none; width: 1040px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; zoom: .47; transform-origin: center; }
.fam-visual .demo .flow { flex-direction: column; }
@media (max-width: 1180px) { .fam-visual .demo { zoom: .4; } }
@media (max-width: 860px) { .fam-visual .demo { zoom: .62; } }
@media (max-width: 640px) { .fam-visual .demo { zoom: .3; } }
