/* Zylvora Studio public website */
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { background: var(--paper); overflow-x: clip; }
.wrap { width: min(1220px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.05; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; color: var(--amber); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.text-link { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--accent); }

.demo-strip { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 7px 16px; background: #04161B; color: #9DBFC4; font-size: 12px; font-weight: 600; text-align: center; }
.demo-strip a { color: #F6B47F; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--teal-900) 88%, transparent); backdrop-filter: blur(14px) saturate(1.2); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 34px; height: auto; }
.brand i { font-style: normal; font-weight: 500; opacity: .75; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: #D6EAED; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login { color: #D6EAED; font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-login:hover { color: #fff; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer; place-content: center; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav.open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: min(860px, calc(100svh - 96px)); padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 72px); color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(7,122,140,.55), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(227,106,14,.18), transparent 70%),
    linear-gradient(160deg, #0F4250 0%, #0A3039 55%, #071F26 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent); pointer-events: none; }
.hero-seal { position: absolute; width: min(760px, 90vw); right: -12%; bottom: -30%; opacity: .05; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-where { margin: 0 0 18px; color: #9FD1D8; font-weight: 600; font-size: 15px; }
.hero h1 { font-size: clamp(48px, 8.4vw, 116px); font-weight: 850; line-height: .92; letter-spacing: -.045em; }
.hero h1 .script { display: inline-block; font-size: .78em; transform: rotate(-6deg) translateY(-.08em); margin: 0 .04em; color: #F6A35B; }
.hero-lede { font-size: clamp(16px, 1.4vw, 19px); color: #CFE6E9; max-width: 520px; margin: 26px 0 30px; }
.hero-lede strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-quiet.on-dark { border-color: transparent; color: #CFE6E9; }
.btn-quiet.on-dark:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-facts dt { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.hero-facts dd { margin: 2px 0 0; color: #9FC5CB; font-size: 13px; }

/* The living portfolio stack */
.stack { position: relative; z-index: 1; height: min(620px, 72vh); perspective: 1600px; transform-style: preserve-3d; }
.card { position: absolute; left: 4%; top: 2%; width: min(430px, 62%); aspect-ratio: 1000 / 1247; margin: 0; border-radius: 18px; overflow: hidden; background: var(--teal-800);
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform 1.6s var(--ease-io), opacity 1.6s var(--ease-io), filter 1.6s var(--ease-io); will-change: transform; }
.card.sq { aspect-ratio: 1; top: 12%; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card[data-pos="0"] { transform: translate3d(0, 0, 0) rotateY(-8deg) rotate(-2deg); z-index: 6; }
.card[data-pos="1"] { transform: translate3d(36%, -3%, -140px) rotateY(-18deg) rotate(4deg); z-index: 5; filter: brightness(.8); }
.card[data-pos="2"] { transform: translate3d(66%, 4%, -300px) rotateY(-24deg) rotate(8deg); z-index: 4; filter: brightness(.62); }
.card[data-pos="3"] { transform: translate3d(90%, 12%, -460px) rotateY(-28deg) rotate(11deg); z-index: 3; filter: brightness(.48); opacity: .85; }
.card[data-pos="4"] { transform: translate3d(108%, 18%, -620px) rotateY(-30deg) rotate(13deg); z-index: 2; filter: brightness(.38); opacity: .5; }
.card[data-pos="5"] { transform: translate3d(-30%, 24%, -200px) rotateY(12deg) rotate(-12deg); z-index: 1; filter: brightness(.5); opacity: 0; }
.stack-cap { position: absolute; left: 4%; bottom: 0; margin: 0; display: grid; gap: 2px; z-index: 7; }
.stack-cap span { font-weight: 800; font-size: 15px; }
.stack-cap small { color: #9FC5CB; font-size: 12.5px; }

/* Section heads */
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 800; }
.sec-head p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 46ch; }
.sec-head.light h2 { color: #fff; }
.sec-head.light p { color: #B8D7DB; }

/* Services: one list, rows fill with teal on hover */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--line-strong); }
.svc-row { width: 100%; display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr) 170px; gap: 18px 32px; align-items: center; padding: 22px 18px; background: none; border: 0; cursor: pointer; text-align: left;
  position: relative; isolation: isolate; color: var(--ink); }
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-800); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-io); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-row:hover, .svc-row:focus-visible { color: #fff; }
.svc-row h3 { font-size: clamp(20px, 2.3vw, 30px); font-weight: 800; }
.svc-row p { margin: 0; color: inherit; opacity: .78; font-size: 14.5px; }
.svc-row .price { font-weight: 800; font-size: 16px; white-space: nowrap; text-align: right; }
.svc-row .price small { display: block; font-weight: 600; font-size: 12px; opacity: .7; }

/* Work strip */
.work { background: #E6EEEF; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.work-head h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 800; }
.work-head p { margin: 10px 0 0; color: var(--ink-soft); max-width: 52ch; }
.work-nav { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 22px; cursor: pointer; transition: background .2s, color .2s; }
.round:hover { background: var(--ink); color: #fff; }
.work-strip { display: flex; gap: 20px; align-items: flex-end; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1220px) / 2)) 24px; scroll-padding-inline: max(16px, calc((100vw - 1220px) / 2)); scrollbar-width: thin; overscroll-behavior-x: contain; }
.work-strip figure { flex: none; margin: 0; scroll-snap-align: start; }
.work-strip img { height: clamp(300px, 32vw, 430px); width: auto; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-2); background: var(--teal-800); }
.work-strip figcaption { padding: 12px 2px 0; font-size: 13px; color: var(--ink-soft); }
.work-strip figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* Before / after */
.transform { background: var(--teal-950); color: #fff; }
.tr-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tr-copy h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; }
.tr-copy p { color: #B8D7DB; margin: 18px 0; }
.tr-copy p.sample-tag { color: #7A5300; }
.ba.sweep .ba-before, .ba.sweep .ba-handle { transition: clip-path 1.8s var(--ease-io), left 1.8s var(--ease-io); }
.ba { position: relative; aspect-ratio: 1000 / 688; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-2); user-select: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--x)) 0 0); background: #D9D9D9; display: grid; place-items: center; }
.plain-logo { text-align: center; font-family: Arial, Helvetica, sans-serif; color: #333; }
.plain-logo span { display: block; font-size: clamp(30px, 5vw, 64px); font-weight: 700; letter-spacing: .02em; }
.plain-logo small { font-size: 14px; color: #666; }
.ba-label { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; }
.ba-label.r { left: auto; right: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--teal-900); display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow-2); }
.ba:focus-within .ba-handle::after { outline: 3px solid var(--amber); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1.5px solid var(--ink); }
.steps li { counter-increment: s; padding: 26px 22px 6px 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line-strong); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-800); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.steps p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14.5px; }
.steps .now { display: block; font-size: 13px; font-weight: 600; color: var(--teal-600); padding: 10px 12px; background: var(--teal-100); border-radius: 12px; }

/* Builder */
.builder { background: linear-gradient(180deg, var(--teal-900), var(--teal-950)); color: #fff; }
.b-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.b-tab { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #CFE6E9; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; }
.b-tab[aria-selected="true"] { background: #fff; color: var(--teal-900); border-color: #fff; }
.b-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); color: #fff; cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s var(--ease); }
.tier:hover { border-color: rgba(255,255,255,.35); }
.tier[aria-checked="true"] { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-4px); }
.tier h3 { font-size: 22px; font-weight: 800; }
.tier .t-blurb { margin: 0; font-size: 13.5px; opacity: .8; }
.tier .t-price { font-size: 30px; font-weight: 850; letter-spacing: -.03em; }
.tier .t-price small { font-size: 14px; font-weight: 600; opacity: .7; }
.tier .t-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 700; }
.tier .t-meta span { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.1); }
.tier[aria-checked="true"] .t-meta span { background: var(--teal-100); color: var(--teal-700); }
.tier ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 5px; font-size: 13.5px; }
.tier li { display: flex; gap: 8px; }
.tier li::before { content: "✓"; color: var(--teal-300); font-weight: 800; }
.tier[aria-checked="true"] li::before { color: var(--teal-500); }
.tier li.off { opacity: .45; text-decoration: line-through; }
.tier li.off::before { content: "–"; }
.ribbon { position: absolute; top: -11px; right: 16px; background: var(--ember); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.item-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.item-list .tier { padding: 16px 18px; flex-direction: row; justify-content: space-between; align-items: center; }
.item-list .tier h3 { font-size: 16px; }
.item-list .tier .t-price { font-size: 20px; }
.b-extras { border: 0; padding: 0; margin: 26px 0 0; }
.b-extras legend { font-weight: 800; font-size: 18px; margin-bottom: 12px; padding: 0; }
.addons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.addon { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); cursor: pointer; font-size: 14px; font-weight: 600; }
.addon input { accent-color: var(--ember); width: 16px; height: 16px; }
.addon:has(input:checked) { border-color: var(--ember); background: rgba(227,106,14,.12); }
.addon em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #F6B47F; }
.builder .field > span { color: #fff; }
.builder .field small { color: #9FC5CB; }
.builder .field input { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); color-scheme: dark; }
.summary { position: sticky; top: 96px; background: #fff; color: var(--ink); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-2); }
.summary h3 { font-size: 15px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.summary .s-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.summary .s-total { font-size: 42px; font-weight: 850; letter-spacing: -.04em; margin: 12px 0 2px; }
.summary .s-lines { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; font-size: 14px; }
.summary .s-lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary .s-lines .q { color: var(--ember-600); font-weight: 700; }
.summary .s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.summary .s-split div { background: var(--teal-100); border-radius: 14px; padding: 12px; }
.summary .s-split b { display: block; font-size: 18px; }
.summary .s-split span { font-size: 12px; color: var(--ink-soft); }
.summary .s-note { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 16px; }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.why h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; margin-bottom: 26px; }
.why blockquote { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--teal-700); padding-left: 20px; border-left: 4px solid var(--ember); }
.why p { color: var(--ink-soft); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pillars li { padding: 20px 22px; background: #fff; border-radius: 18px; font-size: 16px; box-shadow: var(--shadow-1); }
.pillars b { font-size: 22px; font-weight: 800; margin-right: 6px; color: var(--teal-800); }
.pillars .facts { display: flex; flex-wrap: wrap; gap: 8px; background: var(--teal-800); color: #fff; }
.pillars .facts span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; }

/* Client experience */
.experience { background: #E6EEEF; }
.ex-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ex-copy h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; }
.ex-copy p { color: var(--ink-soft); margin: 18px 0 24px; }
.ex-mock { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-2); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--teal-950); color: #9FC5CB; font-size: 12px; font-weight: 700; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.mock-bar span { margin-left: 10px; }
.mock-body { display: grid; grid-template-columns: 1.5fr 1fr; }
.mock-proof { position: relative; background: #EDF2F3; }
.mock-proof img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50% 50% 50% 4px; background: var(--ember); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(0,0,0,.4); }
.mock-side { padding: 16px; display: grid; gap: 10px; align-content: start; font-size: 13px; }
.m-k { margin: 0; font-weight: 800; }
.m-rev span { display: block; height: 6px; border-radius: 6px; background: var(--teal-100); margin-top: 6px; overflow: hidden; }
.m-rev i { display: block; height: 100%; background: var(--teal-500); }
.m-c { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.m-c b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ember); color: #fff; font-size: 10px; margin-right: 6px; }
.m-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.m-btns span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 700; font-size: 12px; }
.m-btns .go { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }
.mock-tag { position: absolute; right: 12px; top: 8px; margin: 0; }

/* Partner */
.partner { background: var(--teal-800); color: #fff; }
.pa-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.partner h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 850; }
.partner p { color: #CFE6E9; font-size: 16px; }
.pa-form { background: #fff; color: var(--ink); padding: 26px; border-radius: 24px; }
.form-msg { margin: 12px 0 0; font-weight: 600; color: var(--ok); }
.form-msg.err { color: var(--danger); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); }
.faq h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; }
.faq header p { color: var(--ink-soft); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { margin: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }

/* Contact */
.contact { background: radial-gradient(70% 90% at 90% 10%, rgba(7,122,140,.5), transparent 70%), var(--teal-950); color: #fff; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.contact h2 { font-size: clamp(44px, 7vw, 100px); font-weight: 850; letter-spacing: -.045em; line-height: .95; }
.contact h2 .script { display: inline-block; font-size: .6em; transform: rotate(-6deg); color: #F6A35B; }
.ct-list { display: grid; gap: 16px; }
.ct-list > a, .ct-list > p { margin: 0; display: grid; color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ct-list small { font-size: 12.5px; font-weight: 600; color: #9FC5CB; }
.ct-list > a:hover { color: #F6B47F; }
.socials { display: flex !important; gap: 16px; font-size: 15px !important; }
.socials a { color: #CFE6E9; }

.foot { background: #04161B; color: #8FB0B5; padding: 26px 0; font-size: 13px; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .brand { color: #fff; font-size: 15px; }
.foot .brand img { width: 26px; }
.foot a { color: #F6B47F; }

/* Brief wizard */
dialog.brief { border: 0; padding: 0; width: min(760px, 100vw); max-width: 100vw; height: min(820px, 100dvh); max-height: 100dvh; border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); }
dialog.brief::backdrop { background: rgba(4, 22, 27, .7); backdrop-filter: blur(4px); }
dialog.brief[open] { animation: dlgIn .35s var(--ease); }
.brief-shell { display: grid; grid-template-rows: auto auto 1fr auto; height: 100%; }
.brief-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 24px 28px 14px; }
.brief-k { margin: 0 0 4px; color: var(--accent); font-weight: 700; font-size: 13px; }
.brief-head h2 { font-size: 26px; font-weight: 800; }
.brief-progress { height: 4px; background: var(--teal-100); margin: 0 28px; border-radius: 4px; overflow: hidden; }
.brief-progress i { display: block; height: 100%; width: 0; background: var(--ember); transition: width .5s var(--ease-io); }
#brief-form { overflow: auto; padding: 22px 28px; }
.brief-step h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.brief-step > p { color: var(--ink-soft); margin: 0 0 18px; }
.brief-foot { display: flex; gap: 10px; align-items: center; padding: 14px 28px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.brief-saved { flex: 1; font-size: 12.5px; color: var(--ink-faint); }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick label { cursor: pointer; }
.chips-pick input { position: absolute; opacity: 0; }
.chips-pick span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 14px; transition: all .2s; }
.chips-pick input:checked + span { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.chips-pick input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.drop { display: grid; place-items: center; gap: 6px; padding: 26px; border: 2px dashed var(--line-strong); border-radius: 18px; text-align: center; color: var(--ink-soft); cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--info-bg); }
.drop b { color: var(--ink); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--surface-2); border-radius: 10px; font-size: 13.5px; }
.review-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 16px; font-size: 14px; }
.review-box dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; }
.review-box dt { color: var(--ink-soft); font-weight: 600; }
.review-box dd { margin: 0; }
.done-screen { text-align: center; padding: 24px 0; }
.done-screen .big { font-size: 46px; font-weight: 850; letter-spacing: -.04em; color: var(--teal-800); }
.done-screen p { color: var(--ink-soft); max-width: 46ch; margin: 10px auto; }
.done-screen .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav.open .nav-links { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 18px; background: var(--teal-900); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open .nav-links a { padding: 12px; font-size: 16px; }
  .b-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .stack { height: 440px; margin-top: 8px; }
  .card { left: 8%; width: 58%; }
  .stack-cap { left: 8%; }
  .sec-head, .tr-grid, .why-grid, .ex-grid, .pa-grid, .faq-grid, .ct-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .mock-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-login { display: none; }
  .nav .btn-sm { padding: 0 12px; }
  .brand span { font-size: 16px; }
  .hero h1 { font-size: 50px; }
  .hero-facts { gap: 18px; }
  .stack { height: 360px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; }
  .summary .s-total { font-size: 36px; }
  dialog.brief { border-radius: 0; height: 100dvh; }
  .brief-head, #brief-form, .brief-foot { padding-left: 18px; padding-right: 18px; }
  .brief-progress { margin: 0 18px; }
  .brief-foot .btn-quiet { order: 5; width: 100%; }
  .review-box dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}

[hidden] { display: none !important; }
