/* OctoPacks landing v2 (Figma "Desktop" 1166:3159) */
@font-face { font-family: "Outfit"; src: url(assets/fonts/outfit-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(assets/fonts/outfit-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(assets/fonts/outfit-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(assets/fonts/outfit-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* Display: Unbounded stands in for "Versus" until the licensed file is added */
@font-face { font-family: "OP Display"; src: url(assets/fonts/unbounded-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #0e0919; --s1: #000; --s2: #110d24; --surface: #1a1433; --surface-3: #241d40; --surface-4: #2e2750;
  --violet: #7c3aed; --violet-2: #8b5cf6;
  --lime: #ceff52; --on-lime: #1a1433;
  --ink: #ffffff; --soft: #a9a1c7; --muted: #c9bff0; --accent: #ceff52;
  --fd: "OP Display", "Arial Black", sans-serif; --fb: "Outfit", system-ui, sans-serif;
  --r-sheet: 40px; --r-card: 26px;
  --pad: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--fb); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.disp { font-family: var(--fd); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: 1; }
.lime { color: var(--lime); }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 28px; border-radius: 999px; font: 600 16px/24px var(--fb); border: 0; cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn.lime { background: var(--lime); color: #000; }
.btn.dark { background: var(--surface-3); color: var(--ink); }
.btn.sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-radius: 10px; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font: 600 12px/16px var(--fb); }
.sheet { position: relative; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: calc(-1 * var(--r-sheet)); }
.sec-head h2 { font-size: 48px; }
.sec-head p { margin-top: 16px; font-size: 18px; line-height: 27px; color: var(--muted); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; font: 700 24px/1 var(--fb); letter-spacing: -.6px; }
.logo .dot { width: 30px; height: 30px; border-radius: 50%; background: #834dfb; display: grid; place-items: center; flex: none; }
.logo .dot i { width: 9.6px; height: 11.4px; background: #fff; border-radius: 5px 5px 4.7px 4.7px; }

/* Header */
.top { background: var(--s2); }
.hdr { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 48px; max-width: 1440px; margin: 0 auto; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid rgba(255,255,255,.03); }
.seg a { padding: 10px 14px; border-radius: 999px; font: 500 14px/20px var(--fb); color: var(--ink); }
.seg a:hover, .seg a.on { background: var(--violet); }
.auth { display: flex; gap: 6px; }
.auth .btn { min-width: 118px; }

/* Hero */
.hero { padding: 16px 48px 64px; max-width: 1440px; margin: 0 auto; }
.banner { position: relative; overflow: hidden; border-radius: var(--r-card); min-height: 476px;
  background: radial-gradient(ellipse 62% 140% at 72% 44%, #6532d6 0%, #4d289f 50%, #351d68 100%); }
.banner .art { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.banner .copy { position: relative; z-index: 1; padding: 48px; max-width: 719px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.banner h1 { display: flex; flex-direction: column; gap: 12px; }
.banner h1 .l1 { font-size: 48px; }
.banner h1 .l2 { font-size: 64px; color: var(--lime); }
.banner .lead { max-width: 375px; color: var(--muted); }
.banner .cta { display: flex; flex-direction: column; gap: 14px; }
.banner .cta .btn { width: 152px; padding: 0 10px; }
.banner .notes { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.banner .notes b { font-weight: 400; color: #f8f7ff; }
.banner .notes code { font: 600 14px var(--fb); color: var(--lime); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.benefit { border-radius: var(--r-card); padding: 16px 24px 20px; background: linear-gradient(225deg, var(--surface) 0%, var(--surface-4) 100%); }
.benefit .ic { width: 64px; height: 64px; border-radius: 50%; }
.benefit h3 { margin-top: 32px; font: 500 22px/26.4px var(--fb); letter-spacing: -.5px; }
.benefit p { margin-top: 6px; font: 500 14px/20px var(--fb); opacity: .85; }

/* Just pulled */
.pulled { background: var(--s1); padding: 72px 0 80px; }
.pulled .wrap { padding: 0 48px; }
.pulled .ttl { display: flex; align-items: center; gap: 16px; }
.live { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #3b0a12; color: #ff4d5e; font: 600 14px/16px var(--fb); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #ff2d43; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.vp { overflow: hidden; margin-top: 32px; padding: 2px; }
.track { display: flex; gap: var(--gap, 12px); will-change: transform; }
.pc { flex: 0 0 var(--cw, 292px); display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface-3); border: 2px solid transparent; position: relative; }
.pc.new { border-color: var(--lime); }
.pc .art { position: relative; flex: none; width: 76px; height: 116px; border-radius: 10px; padding: 6px; background: linear-gradient(160deg, #8b5cf6, #7c3aed 55%, #5ed6c8); }
.pc .art img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.pc .art img.fit { object-fit: contain; background: #fff; }
.pc .tag { position: absolute; left: -6px; top: -6px; padding: 2px 6px; border-radius: 999px; background: var(--lime); color: #000; font: 600 11px/14px var(--fb); display: none; }
.pc.new .tag { display: block; }
.pc .meta { min-width: 0; flex: 1; display: flex; flex-direction: column; padding-top: 2px; }
.pc .row1 { display: flex; justify-content: space-between; font: 500 12px/12px var(--fb); color: var(--muted); }
.pc .nm { margin-top: 10px; font: 600 14px/20px var(--fb); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc .by { margin-top: 6px; font: 400 12px/15px var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .row3 { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font: 400 12px/15px var(--fb); color: var(--muted); }
.pc .grade { padding: 4px 10px; border-radius: 999px; background: var(--lime); color: #000; font: 600 13px/18px var(--fb); }
.pc.enter { animation: pop .8s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.mob-rows { display: none; }

/* How it works */
.how { background: var(--s1); padding: 96px 0; }
.how .grid { display: grid; grid-template-columns: 754fr 538fr; gap: 20px; margin-top: 36px; }
.steps { display: grid; gap: 14px; }
.step { display: flex; align-items: center; gap: 48px; padding: 0 34px; min-height: 159px; border-radius: var(--r-card); background: linear-gradient(180deg, #2a2350 0%, #221b3f 100%); }
.step .n { font: 900 64px/1 var(--fd); color: var(--lime); width: 112px; flex: none; }
.step h3 { font: 900 24px/1.1 var(--fd); text-transform: uppercase; letter-spacing: -.5px; }
.step p { margin-top: 10px; color: var(--soft); }
.demo { border-radius: var(--r-card); background: var(--s2); padding: 32px; }
.demo .in { height: 100%; border: 1.5px dashed rgba(169,161,199,.25); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.demo .bar { display: flex; align-items: center; justify-content: space-between; }
.prog { display: flex; gap: 6px; }
.prog span { width: 70px; font: 500 12px/15px var(--fb); color: var(--soft); }
.prog span::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--surface-4); margin-bottom: 10px; transition: background .3s; }
.prog span.on { color: var(--ink); }
.prog span.on::before { background: var(--lime); }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--lime); color: #000; transition: opacity .2s; }
.arrows button:disabled { background: #6b7a30; cursor: default; }
.arrows svg { width: 20px; height: 20px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1; }
.tile { border-radius: 16px; background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%); display: grid; place-items: center; padding: 14px; min-height: 127px; transition: opacity .35s, transform .35s; }
.tile img { height: 100px; width: auto; border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.demo[data-step="1"] .tile:not(.pick) { opacity: .25; transform: scale(.94); }
.demo[data-step="1"] .tile.pick { transform: scale(1.04); box-shadow: 0 0 0 3px var(--lime); }
.reveal { display: none; flex: 1; align-items: center; gap: 20px; padding: 6px; }
.reveal img { height: 230px; width: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(124,58,237,.5); }
.reveal h4 { margin: 0; font: 600 18px/24px var(--fb); }
.reveal .opts { margin-top: 14px; display: grid; gap: 8px; }
.reveal .opts span { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface-3); font: 500 14px/20px var(--fb); }
.reveal .opts span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.demo[data-step="2"] .tiles { display: none; }
.demo[data-step="2"] .reveal { display: flex; }
.demo .go { width: 100%; }

/* The OctoPacks standard */
.standard { background: var(--s2); padding: 96px 0; }
.standard .grid { display: grid; grid-template-columns: 620fr 620fr; gap: 72px; align-items: start; }
.standard .pic { border-radius: var(--r-card); width: 100%; height: auto; }
.eyebrow { font: 500 14px/20px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .5px; color: var(--lime); text-transform: uppercase; }
.standard h2 { margin-top: 22px; font-size: 48px; line-height: 1.02; }
.feat { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.feat div { border-top: 2px solid var(--violet-2); padding-top: 18px; }
.feat h3 { font: 600 18px/23px var(--fb); }
.feat p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--muted); }
.standard .btn { margin-top: 28px; }

/* Comparison */
.why { background: var(--s1); padding: 96px 0; }
.cmp { margin-top: 20px; border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-columns: 375fr 312fr 312fr 312fr; }
.cmp > div { display: flex; align-items: center; gap: 10px; padding: 0 28px; min-height: 66px; border-top: 1px solid rgba(255,255,255,.06); font-size: 15px; line-height: 21px; }
.cmp .h { min-height: 74px; border-top: 0; font: 500 18px/22px var(--fb); letter-spacing: .3px; color: var(--soft); }
.cmp .c0 { background: var(--surface); font-weight: 600; }
.cmp .c1 { background: var(--surface-4); font-weight: 600; }
.cmp .c2 { background: var(--surface-3); color: var(--soft); }
.cmp .c3 { background: var(--surface); color: var(--soft); }
.cmp .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); flex: none; display: grid; place-items: center; }
.cmp .ok svg { width: 12px; height: 12px; }
.cmp .logo { font-size: 20px; }
.cmp .logo .dot { width: 26px; height: 26px; }
.cmp .logo .dot i { width: 9.4px; height: 9.4px; border-radius: 50%; }

/* FAQ */
.faq { background: var(--bg); padding: 96px 0; position: relative; overflow: hidden; }
.faq .grid { display: grid; grid-template-columns: 520px 1fr; gap: 64px; }
.faq h2 { font-size: 48px; line-height: 1; }
.faq .side p { margin-top: 24px; font-size: 18px; line-height: 29px; color: var(--muted); max-width: 380px; }
.faq .side .btn { margin-top: 24px; }
.tent { position: absolute; left: 0; bottom: 40px; width: 340px; pointer-events: none; }
.qa { display: grid; gap: 10px; }
.qa details { border-radius: 20px; background: var(--surface-3); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 20px 28px; font: 500 18px/24px var(--fb); }
.qa summary::-webkit-details-marker { display: none; }
.qa .chev { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; flex: none; transition: background .2s, transform .2s; }
.qa .chev svg { width: 16px; height: 16px; transition: transform .2s; }
.qa details[open] .chev { background: var(--lime); border-color: var(--lime); color: #000; }
.qa details[open] .chev svg { transform: rotate(180deg); }
.qa .a { padding: 0 92px 24px 28px; color: var(--muted); font-size: 15px; line-height: 24px; }
.qa .a a { text-decoration: underline; color: var(--ink); }

/* Footer */
.foot { background: var(--s1); padding: 64px 0 40px; }
.foot .row { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #2a2450; }
.foot .brand p { margin-top: 18px; font-size: 13px; line-height: 16px; color: var(--soft); }
.foot .brand p + p { margin-top: 18px; }
.foot .col { min-width: 316px; }
.foot .col h4 { margin: 0; font: 500 14px/18px var(--fb); letter-spacing: .3px; text-transform: uppercase; }
.foot .fl-legal { margin-top: 20px; flex-direction: column; gap: 4px; font-size: 16px; }
.foot .fl-legal a { color: var(--soft); text-decoration: none; opacity: 1; }
.foot .fl-legal a:hover { color: var(--lime); }
.foot .base { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 15px; color: var(--soft); }
.foot .base small { font-size: 12px; }
.nudge { margin: 48px auto 0; width: fit-content; display: flex; align-items: center; gap: 72px; padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--surface); border: 1px solid #2a2450; font: 600 15px/20px var(--fb); }
.nudge em { font-style: normal; color: var(--lime); }
.nudge .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --pad: 32px; }
  .hdr, .hero { padding-left: 24px; padding-right: 24px; }
  .seg { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .how .grid, .standard .grid, .faq .grid { grid-template-columns: minmax(0, 1fr); }
  .standard .grid { gap: 40px; }
  .faq .grid { gap: 32px; }
  .tent { display: none; }
  .cmp { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; --r-sheet: 28px; }
  .hdr { height: 64px; padding: 0 16px; }
  .auth .btn { min-width: 0; min-height: 44px; padding: 0 16px; }
  .auth .btn.ghost { display: none; }
  .hero { padding: 8px 16px 48px; }
  .banner { min-height: 0; display: flex; flex-direction: column; }
  .banner .art { position: relative; order: 2; width: 100%; height: auto; margin: -6px 0 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%); mask-image: linear-gradient(180deg, transparent 0, #000 20%); }
  .banner .copy { padding: 28px 24px 0; gap: 18px; }
  .banner h1 .l1 { font-size: 30px; }
  .banner h1 .l2 { font-size: 42px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .benefit { padding: 14px 16px 16px; }
  .benefit .ic { width: 52px; height: 52px; }
  .benefit h3 { margin-top: 18px; font-size: 17px; line-height: 21px; }
  .benefit p { font-size: 13px; line-height: 18px; }
  .sec-head h2, .standard h2, .faq h2 { font-size: 32px; }
  .sec-head p { font-size: 16px; line-height: 24px; }
  .pulled { padding: 56px 0 72px; }
  .pulled .wrap { padding: 0 16px; }
  .desk-row { display: none; }
  .mob-rows { display: block; }
  .how, .standard, .why, .faq { padding: 72px 0; }
  .step { gap: 16px; padding: 22px 18px; min-height: 0; }
  .step .n { font-size: 40px; width: 64px; }
  .step h3 { font-size: 18px; }
  .demo { padding: 14px; }
  .demo .in { padding: 14px; }
  .prog span { width: 52px; }
  .arrows button { width: 40px; height: 40px; }
  .pulled { padding-bottom: 56px; }
  .tile { min-height: 104px; padding: 10px; }
  .tile img { height: 80px; }
  .reveal img { height: 170px; }
  .feat { grid-template-columns: 1fr; gap: 20px; }
  .cmp { display: block; }
  .cmp > div { min-height: 0; padding: 12px 16px; }
  .cmp .h:not(.c1), .cmp .c2, .cmp .c3 { display: none; }
  .cmp .c0 { padding-top: 16px; padding-bottom: 4px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--soft); background: var(--surface-4); }
  .cmp .c1 { border-top: 0; padding-bottom: 16px; }
  .cmp .h.c1 { padding: 18px 16px; }
  .qa summary { font-size: 16px; padding: 14px 14px 14px 18px; }
  .qa .chev { width: 40px; height: 40px; }
  .qa .a { padding: 0 18px 18px; }
  .foot .row { grid-template-columns: 1fr; }
  .foot .col { min-width: 0; }
  .foot .base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nudge { gap: 14px; padding-left: 16px; font-size: 13px; width: 100%; justify-content: space-between; }
}

/* Legal pages (privacy.html, terms.html) */
.legal .legal-sheet { background: var(--s2); padding: 16px 0 96px; }
.legal .legal-doc { max-width: 820px; margin: 0 auto; padding: 48px 56px 56px; border-radius: var(--r-card); background: linear-gradient(180deg, var(--surface) 0%, #150f2b 100%); line-height: 1.65; }
.legal .legal-doc h1 { font: 900 48px/1 var(--fd); text-transform: uppercase; letter-spacing: -1px; margin: 0 0 16px; }
.legal .legal-doc h2 { font: 600 22px/28px var(--fb); letter-spacing: -.3px; margin: 40px 0 12px; color: var(--ink); }
.legal .legal-doc p, .legal .legal-doc li { color: var(--muted); font-size: 16px; }
.legal .legal-doc b { color: var(--ink); font-weight: 600; }
.legal .legal-doc a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-doc .doc-meta { color: var(--soft); font-size: 15px; margin-bottom: 24px; }
.legal .legal-doc .notice { border-color: var(--lime); background: rgba(206,255,82,.05); border-radius: 16px; padding: 18px 22px; }
.legal .legal-doc .notice p { color: var(--ink); }
.legal .legal-doc .num { color: var(--lime); font-weight: 600; }
.legal .legal-doc .back { margin-top: 40px; }
.legal .legal-doc .back a { text-decoration: none; font-weight: 600; }
.legal .foot .fl-legal a[aria-current] { color: var(--lime); }
@media (max-width: 760px) {
  .legal .legal-sheet { padding: 8px 12px 64px; }
  .legal .legal-doc { padding: 28px 20px 32px; }
  .legal .legal-doc h1 { font-size: 30px; }
  .legal .legal-doc h2 { font-size: 19px; line-height: 25px; margin-top: 32px; }
  .legal .legal-doc .clause-cont, .legal .legal-doc ol.sub { padding-left: 1.2em; }
}
