/* getbrandfig.com v2. Built from the Figma design (lab file, page "Website · v2"); notes in README.md.
   Flat colour only (no glows, gradients or shadows), Geist only, letter spacing 0, space instead of rules. */
:root {
  --ink: #0a0a0c; --text: #ededea; --quiet: #8b8b93; --ghost: #5c5c64; --blue: #133fff; --card: #141418; --raised: #1c1c20;
  --edge: max(32px, calc(50% - 600px)); --panel-w: 360px; --slide-w: 480px; --gap: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font-family: Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; line-height: 1.5; }
[id] { scroll-margin-top: 96px; }   /* anchor jumps stop below the sticky bar */
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(1200px, 100% - 64px); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* nav: a sticky, solid bar (flat ink, no blur); it tightens and lifts a shade once the page scrolls */
.bar { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: background-color .2s; }
.bar.scrolled { background: #111114; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; transition: padding .2s; }
.bar.scrolled .nav { padding: 12px 0; }
.nav .links a, .nav .links summary { color: #b4b4ba; transition: color .15s; }
.nav .links a:hover, .nav .links summary:hover, .nav .links summary.here, .menu[open] > summary { color: #fff; }
.nav .links .drop a, .burger .drop a { color: var(--text); }
.drop .item.on { background: #2a2a30; }
.drop .item.on .ic { background: #383840; }
.nav .mark img { height: 32px; }
.nav .links { display: flex; gap: 36px; font-weight: 500; font-size: 15px; }
.nav .btn { padding: 12px 20px; font-size: 15px; }
.nav .links { align-items: center; }
.nav .right { display: flex; align-items: center; gap: 12px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.menu[open] summary svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 14px); left: -20px; z-index: 20; width: 360px; padding: 8px; border-radius: 16px; background: #1e1e23; display: grid; gap: 2px; }   /* one step lighter than the bar and the page, so it reads as a layer */
.drop .item { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; }
.drop .item:hover, .drop .plain:hover { background: #2a2a30; }
.drop .item:hover .ic { background: #383840; }
.drop .ic { width: 36px; height: 36px; border-radius: 9px; background: #2c2c33; display: grid; place-items: center; flex: none; }
.drop .ic svg { width: 18px; height: 18px; }
.drop b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.drop small { display: block; font-size: 13px; color: var(--quiet); font-weight: 400; line-height: 1.4; }
.drop .plain { padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.burger { display: none; }
.burger summary { width: 44px; height: 44px; border-radius: 999px; background: var(--raised); justify-content: center; }
.burger summary svg { width: 20px; height: 20px; transform: none !important; }
.burger .drop { left: auto; right: 0; width: min(340px, calc(100vw - 32px)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; line-height: 1; white-space: nowrap; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: #2a52ff; }
.btn.ghost { background: var(--raised); padding-left: 24px; }
.btn.ghost:hover { background: #26262b; }
.btn.white { background: #fff; color: var(--blue); }
.figlogo { width: 14px; height: 21px; flex: none; }
.btn.soon { background: var(--card); color: var(--quiet); padding: 15px 28px 15px 20px; cursor: default; }
.btn.soon .ai { width: 26px; height: 26px; border-radius: 6px; background: #330000; color: #ff9a00; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.btn.soon small { font-size: 14px; font-weight: 400; color: var(--ghost); }
.buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* type */
.eyebrow { font-weight: 500; font-size: 15px; color: var(--quiet); }
h1 { font-weight: 600; font-size: 84px; line-height: .98; text-wrap: balance; }
h2 { font-weight: 600; font-size: 44px; line-height: 1.06; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.5; color: var(--quiet); max-width: 600px; }
section.block { padding-top: 160px; }
.block .head { display: grid; gap: 20px; margin-bottom: 64px; }

/* home hero: real pages flow out from behind the real panel */
.stage { position: relative; margin-top: 16px; height: 820px; overflow: hidden; }
.rows { position: absolute; left: var(--edge); right: 0; top: 50%; transform: translateY(-50%); overflow: hidden; display: flex; flex-direction: column; gap: var(--gap); }
.row { display: flex; gap: var(--gap); width: max-content; animation: flow var(--dur, 70s) linear infinite; }
.row img { width: var(--slide-w); height: auto; aspect-ratio: 16 / 9; border-radius: 12px; flex: none; }
@keyframes flow { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.stage .panel { position: absolute; left: var(--edge); top: 50%; transform: translateY(-50%); width: var(--panel-w); z-index: 2; }
.stage .panel img { width: 100%; height: auto; }
.hero-copy h1 { margin-top: 40px; }
.hero-copy .lead { margin-top: 28px; max-width: 760px; font-size: 20px; }
.hero-copy .buttons { margin-top: 48px; }
.note { margin-top: 24px; font-size: 14px; color: var(--quiet); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border-radius: 16px; padding: 32px; display: grid; gap: 12px; align-content: start; }
.step .art { height: 200px; border-radius: 12px; background: var(--raised); position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { font-weight: 600; font-size: 20px; }
.step p { color: var(--quiet); font-size: 16px; }
.sel { position: relative; width: 136px; height: 136px; border: 2px solid #0d99ff; display: grid; place-items: center; }
.sel i { position: absolute; width: 10px; height: 10px; background: #fff; border: 1.5px solid #0d99ff; }
.sel i:nth-child(1) { left: -6px; top: -6px; } .sel i:nth-child(2) { right: -6px; top: -6px; } .sel i:nth-child(3) { left: -6px; bottom: -6px; } .sel i:nth-child(4) { right: -6px; bottom: -6px; }
.sel b { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #0d99ff; color: #fff; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 4px; }
.picks { display: flex; gap: 8px; }
.picks span { display: grid; justify-items: center; gap: 10px; font-size: 11px; font-weight: 500; color: var(--quiet); }
.picks i { width: 52px; height: 52px; border-radius: 12px; background: #2a2a30; display: grid; place-items: center; }
.picks .on i { background: var(--text); } .picks .on { color: var(--text); }
.picks svg { width: 24px; height: 24px; }
.step .art.paper { background: #f2f3ee; }
.step .art img { height: 200px; width: auto; }

/* tools showcase: tabs + the loop for the selected tool */
.show { display: grid; grid-template-columns: 232px 1fr; gap: 32px; align-items: start; }
.tabs { display: grid; gap: 8px; }
.tab { text-align: left; background: none; border: 0; color: var(--quiet); font: inherit; padding: 14px 16px; border-radius: 14px; cursor: pointer; display: grid; gap: 8px; }
.tab .name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.tab svg { width: 18px; height: 18px; opacity: .6; }
.tab .more { display: none; font-size: 14px; line-height: 1.45; }
.tab .more a { color: var(--text); font-weight: 500; display: block; margin-top: 8px; }
.tab[aria-selected="true"] { background: var(--raised); color: var(--text); }
.tab[aria-selected="true"] svg { opacity: 1; }
.tab[aria-selected="true"] .more { display: block; color: var(--quiet); }
.loop { border-radius: 16px; overflow: hidden; background: var(--card); aspect-ratio: 1404 / 1080; }
.loop video { width: 100%; height: 100%; object-fit: cover; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--card); border-radius: 16px; padding: 40px; display: grid; gap: 24px; align-content: start; }
.plan.blue { background: var(--blue); color: #fff; }
.plan h3 { font-weight: 600; font-size: 20px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-weight: 600; font-size: 52px; line-height: 1; }
.plan .price span, .plan p { font-size: 16px; color: var(--quiet); }
.plan.blue .price span, .plan.blue p { color: rgba(255, 255, 255, .85); }
.plan .btn { justify-self: start; }

/* faq */
.faq { display: grid; gap: 8px; max-width: 840px; }
.faq details { border-radius: 14px; background: var(--card); padding: 22px 28px; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--quiet); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 16px; color: var(--quiet); }
.faq details p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { padding: 160px 0 64px; display: grid; gap: 120px; }
.footer .cta { display: grid; gap: 24px; }
.footer .cta h2 { font-size: 56px; }
.cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.cols h4 { font-weight: 500; font-size: 14px; color: var(--quiet); margin-bottom: 14px; }
.cols a { display: block; font-size: 15px; padding: 3px 0; }
.cols a:hover { color: #fff; }
.cols .brand img { height: 32px; margin-bottom: 16px; }
.cols .brand p { color: var(--quiet); font-size: 15px; margin-bottom: 8px; max-width: 340px; }
.bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--quiet); }

/* tool pages */
.tool-hero { padding-top: 96px; display: grid; gap: 20px; }
.tool-hero h1 { font-size: 68px; max-width: 820px; }
.tool-hero .lead { font-size: 20px; }
.tool-hero .buttons { margin-top: 28px; }
.tool-hero .loop { margin-top: 64px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--card); border-radius: 16px; padding: 32px; display: grid; gap: 12px; align-content: start; }
.card h3 { font-weight: 600; font-size: 20px; }
.card p { color: var(--quiet); font-size: 16px; }

/* phone */
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: repeat(5, auto); overflow-x: auto; gap: 4px; }
  .tab { padding: 12px 14px; } .tab .name { font-size: 16px; } .tab .more { display: none !important; }
  .steps, .plans { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols .brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --slide-w: 208px; --gap: 12px; --panel-w: 300px; }
  .wrap { width: calc(100% - 32px); }
  .nav .links { display: none; }
  .burger { display: block; }
  .nav .btn { padding: 11px 16px; font-size: 15px; }
  h1, .tool-hero h1 { font-size: 44px; }
  h2, .footer .cta h2 { font-size: 34px; }
  .hero-copy .lead, .tool-hero .lead, .lead { font-size: 17px; }
  .buttons { flex-direction: column; } .buttons .btn { width: 100%; }
  .stage { height: auto; }
  .rows { position: relative; left: 0; top: auto; transform: none; }
  .stage .panel { position: relative; left: auto; top: auto; transform: none; margin: -72px auto 0; }
  section.block { padding-top: 104px; }
  .footer { padding-top: 104px; gap: 72px; }
  .bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .row { animation: none; } html { scroll-behavior: auto; } }
