/* EZM components */

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-brand:hover { background: var(--brand-hover); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--paper); }
.btn-ghost { border-color: var(--line-2); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); color: var(--paper); }
.light .btn-ghost, .lime .btn-ghost, .cta .btn-ghost, .tool-result .btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid #1d1d1d; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo svg { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; color: var(--paper); }
.nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: #1c1c1c; color: var(--paper); }
.nav > a[aria-current="page"] { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop > button svg { transition: transform .2s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(calc(-50% + var(--shift, 0px))); width: min(640px, calc(100vw - 32px)); background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.nav-drop.open .drop { display: grid; }
.drop a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; text-decoration: none; }
.drop a:hover { background: var(--ink-3); color: var(--paper); }
.drop a strong { font-weight: 600; font-size: 15.5px; }
.drop a span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.drop .drop-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: #0f0f0f; font-size: 14px; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-tel { font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 10px 6px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }
.nav > a, .nav-drop > button, .header-tel { white-space: nowrap; }
@media (max-width: 1320px) { .header-tel { display: none; } .nav > a, .nav-drop > button { padding: 11px 11px; font-size: 14.5px; } }

@media (max-width: 1080px) {
  .nav, .header-tel, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); z-index: 49; overflow-y: auto; padding: 16px var(--pad) 120px; }
  .menu-open .mobile-menu { display: block; }
  .menu-open { overflow: hidden; }
  .mobile-menu details { border-bottom: 1px solid var(--line); }
  .mobile-menu summary, .mobile-menu > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; list-style: none; cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: "+"; font-weight: 300; }
  .mobile-menu details[open] summary::after { content: "–"; }
  .mobile-menu details summary { border-bottom: 0; }
  .mobile-menu details a { display: block; padding: 10px 0 10px 4px; color: var(--muted-2); text-decoration: none; font-size: 17px; }
  .mobile-menu details div { padding-bottom: 14px; }
  .mobile-menu .btn { width: 100%; margin-top: 14px; }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(19,19,19,.94); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--ease); }
  .callbar.hide { transform: translateY(140%); }
  .callbar .btn { min-height: 46px; font-size: 15px; padding: 0 12px; }
  body { padding-bottom: 76px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(219,236,98,.6); }
@media (prefers-reduced-motion: no-preference) { .dot { animation: pulse 2.4s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(219,236,98,0); } 100% { box-shadow: 0 0 0 0 rgba(219,236,98,0); } }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
.hero .word { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .word { opacity: 0; transform: translateY(.35em); animation: rise .9s var(--ease) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
.page-hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero .lead { margin-top: 24px; }
.page-hero .btn-row { margin-top: 32px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); list-style: none; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--paper); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }

/* ---------- Showcase stack ---------- */
.stack { position: relative; height: clamp(340px, 50vw, 660px); border-radius: 28px; background: radial-gradient(120% 90% at 80% 0%, #1d1f12 0%, #121212 45%, #0d0d0d 100%); border: 1px solid #1f1f1f; overflow: hidden; }
.stack .shot { position: absolute; border-radius: 14px; overflow: hidden; border: 1px solid #2c2c2c; background: #1a1a1a; box-shadow: 0 30px 70px rgba(0,0,0,.55); transition: transform .8s var(--ease); }
.stack .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stack .s1 { left: 5%; top: 11%; width: 52%; height: 80%; }
.stack .s2 { right: 5%; top: 7%; width: 40%; height: 52%; }
.stack .s3 { right: 9%; bottom: -10%; width: 30%; height: 42%; }
.stack .tag { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(10,10,10,.8); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--paper); }
.stack-badge { position: absolute; left: 45%; bottom: 6%; width: clamp(150px, 19%, 240px); aspect-ratio: 1; border-radius: 24px; background: var(--brand); color: var(--ink); padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; box-shadow: 0 30px 70px rgba(0,0,0,.5); transition: transform .3s var(--ease); z-index: 3; }
.stack-badge:hover { color: var(--ink); transform: rotate(-3deg) scale(1.03); }
.stack-badge strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 6vw, 92px); line-height: .85; }
.stack-badge span { font-weight: 600; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.25; }
@media (max-width: 640px) { .stack .s1 { width: 78%; height: 66%; } .stack .s2 { width: 58%; height: 44%; top: auto; bottom: 7%; } .stack .s3, .stack-badge { display: none; } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid #1f1f1f; overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: 40px; padding: 24px 0; font-size: clamp(22px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.ticker-track .star { color: var(--brand); }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: tick 45s linear infinite; } .ticker:hover .ticker-track { animation-play-state: paused; } }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; white-space: normal; padding-inline: var(--pad); } .ticker-track [aria-hidden="true"] { display: none; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: var(--ink-2); border: 1px solid #1f1f1f; text-decoration: none; transition: border-color .25s, transform .25s var(--ease), background .25s; }
a.card:hover { border-color: var(--line-2); transform: translateY(-3px); color: var(--paper); }
.light .card { background: var(--white); border-color: var(--paper-line); }
.light a.card:hover { border-color: var(--ink); color: var(--ink); }
.card h3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.03em; line-height: 1.12; }
.card p { color: var(--muted); font-size: 16px; }
.light .card p { color: var(--text-dark-2); }
.card .card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #1f1f1f; color: var(--brand); flex: none; }
.light .icon { background: var(--ink); }
.icon svg { width: 22px; height: 22px; }
.arrow-c { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .2s, color .2s, border-color .2s; }
a:hover .arrow-c { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.light .arrow-c { border-color: var(--paper-line); }

/* Numbered list rows */
.rows { border-top: 1px solid #2a2a2a; }
.light .rows { border-color: var(--paper-line); }
.row { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid #2a2a2a; text-decoration: none; transition: padding .25s var(--ease); }
.light .row { border-color: var(--paper-line); }
a.row:hover { padding-left: 12px; color: inherit; }
.row .no { font-family: var(--mono); font-size: 14px; color: var(--brand); }
.light .row .no { color: var(--text-dark-2); }
.row h3 { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -0.04em; line-height: 1.05; }
.row p { color: var(--muted-2); font-size: 16.5px; }
.light .row p { color: var(--text-dark); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr auto; } .row .no { grid-column: 1 / -1; } .row p { grid-column: 1 / -1; grid-row: 3; } }

/* Tick list */
.ticks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li, .tag-pill { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); line-height: 1.2; }
.light .tags li { border-color: var(--paper-line); }

/* ---------- Work ---------- */
.work-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border-radius: 28px; overflow: hidden; background: var(--ink-2); border: 1px solid #1f1f1f; text-decoration: none; transition: border-color .25s; }
.work-feature:hover { border-color: var(--line-2); color: var(--paper); }
.work-feature + .work-feature { margin-top: 24px; }
.work-media { position: relative; min-height: 420px; background: #161616; overflow: hidden; }
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.work-feature:hover .work-media img { transform: scale(1.04); }
.work-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.work-body h3 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.045em; }
.work-body p { color: var(--muted-2); }
.work-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .work-feature { grid-template-columns: 1fr; } .work-media { min-height: 0; aspect-ratio: 4 / 3; } }
.brand-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4vw, 48px); color: #fff; }
.brand-card strong { font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: .95; }
.brand-card span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.brand-card .bc-lines { display: grid; gap: 10px; max-width: 70%; }
.brand-card .bc-lines i { display: block; height: 10px; border-radius: 6px; background: rgba(255,255,255,.22); }
.brand-card .bc-lines i:nth-child(2) { width: 80%; } .brand-card .bc-lines i:nth-child(3) { width: 55%; }

.mini-work { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.mini-work .thumb { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #161616; border: 1px solid #1f1f1f; }
.mini-work .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.mini-work:hover .thumb img { transform: scale(1.04); }
.mini-work:hover { color: var(--paper); }
.mini-work .mw-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mini-work strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

/* Case study layout */
.cs-hero-img { border-radius: 28px; overflow: hidden; border: 1px solid #1f1f1f; background: #161616; position: relative; aspect-ratio: 16 / 9; }
.cs-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border-block: 1px solid var(--line); margin-top: 40px; }
.cs-facts div { padding: 22px 20px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.cs-facts strong { font-weight: 500; font-size: 17px; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; counter-reset: step; }
.tl-step { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; padding: 40px 0; border-top: 1px solid #2a2a2a; align-items: start; }
.light .tl-step { border-color: var(--paper-line); }
.tl-step .tl-when { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); padding-top: 8px; }
.light .tl-step .tl-when { color: var(--text-dark-2); }
.tl-step h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.04em; }
.tl-step p { color: var(--muted-2); }
.light .tl-step p { color: var(--text-dark); }
.tl-step ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.tl-step li { padding-left: 18px; position: relative; color: var(--muted-2); font-size: 15.5px; }
.tl-step li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.light .tl-step li { color: var(--text-dark); }
.light .tl-step li::before { background: var(--ink); }
@media (max-width: 860px) { .tl-step { grid-template-columns: 1fr; gap: 10px; } }

.steps4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.step-card { background: var(--ink-2); border: 1px solid #1f1f1f; border-radius: 22px; padding: 30px; min-height: 270px; display: flex; flex-direction: column; gap: 12px; }
.step-card .n { font-family: var(--serif); font-style: italic; font-size: 60px; line-height: 1; color: var(--brand); }
.step-card h3 { margin-top: auto; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.step-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Statement ---------- */
.statement { font-size: clamp(30px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 500; max-width: 1120px; }
.mark { background: var(--brand); color: var(--ink); padding: 0 .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Concept mini mockups ---------- */
.concepts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.concept { border-radius: 24px; overflow: hidden; border: 1px solid var(--paper-line); background: var(--white); display: flex; flex-direction: column; }
.concept .cm { aspect-ratio: 4 / 3; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.concept .cm-nav { display: flex; justify-content: space-between; align-items: center; font-size: 10px; }
.concept .cm-nav i { display: inline-block; width: 26px; height: 4px; border-radius: 3px; margin-left: 5px; opacity: .45; background: currentColor; }
.concept .cm h4 { font-size: clamp(20px, 2vw, 27px); line-height: 1; margin-top: auto; letter-spacing: -0.03em; }
.concept .cm .cm-btns { display: flex; gap: 6px; } .concept .cm .cm-btns b { display: block; height: 18px; width: 70px; border-radius: 999px; }
.concept .cm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .concept .cm-cards b { height: 34px; border-radius: 8px; display: block; }
.concept .c-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.concept .c-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.concept .c-body p { color: var(--text-dark-2); font-size: 15px; }
.cm-elegant { background: #F5F1E8; color: #1C2B3A; font-family: Georgia, serif; }
.cm-elegant h4 { font-weight: 400; }
.cm-elegant .cm-btns b:first-child { background: #1C2B3A; } .cm-elegant .cm-btns b:last-child { border: 1px solid #1C2B3A; }
.cm-elegant .cm-cards b { background: #E6DECB; }
.cm-bold { background: #0D0D0D; color: #fff; }
.cm-bold h4 { font-weight: 700; } .cm-bold h4 span { color: #3BE38A; }
.cm-bold .cm-btns b:first-child { background: #3BE38A; } .cm-bold .cm-btns b:last-child { border: 1px solid #fff; }
.cm-bold .cm-cards b { background: #1f1f1f; }
.cm-classic { background: #F3EFE4; color: #24402F; font-family: Georgia, serif; }
.cm-classic h4 { font-weight: 400; font-style: italic; }
.cm-classic .cm-btns b:first-child { background: #24402F; } .cm-classic .cm-btns b:last-child { background: #C9A85B; }
.cm-classic .cm-cards b { background: #fff; border: 1px solid #DDD5C2; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.light .faq details { border-color: var(--paper-line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-weight: 300; font-size: 22px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 700px; color: var(--muted-2); line-height: 1.65; }
.light .faq details p { color: var(--text-dark); }

/* ---------- CTA ---------- */
.cta { background: var(--brand); color: var(--ink); }
.cta .wrap { padding-block: clamp(88px, 11vw, 140px); display: flex; flex-direction: column; gap: 40px; }
.cta .label { color: var(--ink); }
.cta h2 em { color: var(--ink); }
.cta a:hover { color: var(--ink); }
.cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }
.cta-links .plain { font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid; padding-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer .wrap { padding-top: 80px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; font-size: 15px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.foot-grid nav, .foot-grid > div { display: flex; flex-direction: column; gap: 9px; }
.foot-grid strong { font-weight: 600; margin-bottom: 4px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--paper); }
.foot-about p { color: var(--muted); max-width: 340px; }
.giant { font-weight: 600; font-size: clamp(100px, 25vw, 380px); line-height: .8; letter-spacing: -0.065em; display: flex; align-items: flex-end; gap: 2vw; user-select: none; }
.giant span { width: .14em; height: .14em; background: var(--brand); margin-bottom: .06em; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid #1f1f1f; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.legal a { color: var(--muted); }

/* ---------- Forms ---------- */
.form { background: var(--ink-2); border: 1px solid #1f1f1f; border-radius: 26px; padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.light .form { background: var(--white); border-color: var(--paper-line); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font-weight: 400; font-size: 16px; background: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; min-height: 52px; color: var(--paper); width: 100%; }
.light .field input, .light .field select, .light .field textarea { background: var(--paper); border-color: var(--paper-line); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(219,236,98,.18); }
.light .field input:focus, .light .field select:focus, .light .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.08); }
.req { color: var(--brand); }
.light .req { color: var(--ink); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; user-select: none; }
.light .chip span { border-color: var(--paper-line); }
.chip input:checked + span { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--muted); }
.light .form-note { color: var(--text-dark-2); }
.alert { border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.alert-err { background: #3A1D1D; color: #FFD9D9; border: 1px solid #6B2C2C; }
.alert-ok { background: #1E2A12; color: #E9F6B4; border: 1px solid #4B5E1E; }
.alert[hidden] { display: none; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .4s var(--ease); }
.form-step[hidden] { display: none; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Tools ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .tool { grid-template-columns: 1fr; } }
.tool-panel { background: var(--ink-2); border: 1px solid #1f1f1f; border-radius: 26px; padding: clamp(22px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.light .tool-panel { background: var(--white); border-color: var(--paper-line); }
.tool-result { position: sticky; top: calc(var(--header-h) + 20px); background: var(--brand); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.tool-result .big { font-size: clamp(42px, 5vw, 68px); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.tool-result .label { color: var(--ink); }
.tool-result ul { list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.tool-result li { padding-left: 20px; position: relative; }
.tool-result li::before { content: "→"; position: absolute; left: 0; }
.tool-result .small { font-size: 13px; opacity: .8; }
.range { width: 100%; accent-color: var(--brand); }
.range-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-row output { font-weight: 600; font-size: 18px; }

/* Quiz */
.quiz-q { display: flex; flex-direction: column; gap: 18px; }
.quiz-q h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.12; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 16.5px; transition: border-color .15s, background .15s, transform .15s; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz-opt:hover { border-color: var(--brand); transform: translateX(3px); }
.quiz-opt.sel { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.score-ring { width: 180px; height: 180px; }
.score-ring circle { fill: none; stroke-width: 14; }
.score-ring .bg { stroke: rgba(10,10,10,.12); }
.score-ring .fg { stroke: var(--ink); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.2s var(--ease); }

/* SERP preview */
.serp { background: #fff; color: #202124; border-radius: 18px; padding: 22px; font-family: Arial, sans-serif; border: 1px solid var(--paper-line); }
.serp .s-site { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #202124; }
.serp .s-fav { width: 28px; height: 28px; border-radius: 50%; background: #F1F3F4; display: flex; align-items: center; justify-content: center; }
.serp .s-fav b { width: 16px; height: 16px; border-radius: 3px; background: var(--brand); display: block; }
.serp .s-url { font-size: 12.5px; color: #4d5156; }
.serp .s-title { font-size: 20px; line-height: 1.3; color: #1a0dab; margin: 8px 0 4px; overflow-wrap: anywhere; }
.serp .s-desc { font-size: 14px; line-height: 1.58; color: #4d5156; overflow-wrap: anywhere; }
.counter { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.counter.over { color: var(--danger); }
.light .counter { color: var(--text-dark-2); }

/* Industry picker (home) */
.picker-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.picker-tabs::-webkit-scrollbar { display: none; }
.picker-tabs button { flex: none; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; }
.picker-tabs button[aria-selected="true"] { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.picker-panel { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.picker-panel[hidden] { display: none; }
@media (max-width: 900px) { .picker-panel { grid-template-columns: 1fr; } }
.demo { background: var(--ink-2); border: 1px solid #1f1f1f; border-radius: 24px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.demo .demo-out { font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -0.045em; color: var(--brand); line-height: 1; }
.demo .small { font-size: 12.5px; color: var(--muted); }

/* Stat-free trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-block: 1px solid #1f1f1f; }
.trust div { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.trust strong { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.trust span { color: var(--muted); font-size: 15px; }

/* ---------- Articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #1f1f1f; text-decoration: none; min-height: 290px; transition: border-color .25s, transform .25s var(--ease); }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); color: var(--paper); }
.light .post-card { background: var(--white); border-color: var(--paper-line); }
.light .post-card:hover { border-color: var(--ink); color: var(--ink); }
.post-card h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.03em; line-height: 1.15; }
.post-card p { color: var(--muted); font-size: 15.5px; }
.light .post-card p { color: var(--text-dark-2); }
.post-card .pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.post-cat { display: inline-flex; align-self: flex-start; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; background: #1f1f1f; color: var(--brand); }
.light .post-cat { background: var(--ink); color: var(--brand); }
.post-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.post-filter button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14.5px; }
.post-filter button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.read-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--brand); z-index: 60; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .toc-wrap { display: none; } }
.toc-wrap { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 20px; }
.toc { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--paper-line); }
.toc a { padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--text-dark-2); text-decoration: none; line-height: 1.35; }
.toc a.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.side-cta { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-cta p { color: var(--muted-2); font-size: 15px; }
.side-cta a.btn { color: var(--ink); }

.prose { color: var(--text-dark); font-size: 18px; line-height: 1.72; max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.035em; margin-top: 1.9em; }
.prose h3 { color: var(--ink); font-size: clamp(21px, 2vw, 25px); line-height: 1.2; letter-spacing: -0.025em; margin-top: 1.6em; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 22px 26px; border-radius: 16px; background: var(--paper-2); border-left: 4px solid var(--brand); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--paper-2); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose hr { border-color: var(--paper-line); margin: 2.2em 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.note-box { margin-top: 2.2em; padding: 22px 24px; border-radius: 16px; background: var(--paper-2); font-size: 15px; color: var(--text-dark-2); }

/* Pricing */
.price-card { background: var(--ink); color: var(--paper); border-radius: 26px; padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--ink); }
.price-card .price { font-size: clamp(40px, 4.4vw, 58px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price-card .price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.price-card ul { list-style: none; display: grid; gap: 10px; font-size: 15.5px; color: var(--muted-2); }
.price-card li { padding-left: 24px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); }
.price-card .btn { margin-top: auto; }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--paper-line); gap: 4px; }
.toggle button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Utility */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 900px) { .sticky { position: static; } }
@media (max-width: 560px) { .btn-row .btn { width: 100%; } .hero-foot .btn-row { width: 100%; } }

/* ---------- Website check result ---------- */
.score-result { position: static; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.score-ring-wrap { position: relative; width: 180px; height: 180px; flex: none; }
.score-body { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) {
  .score-result { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .score-body { align-items: center; }
  .score-body ul { text-align: left; max-width: 460px; }
  #quiz-restart { align-self: center !important; }
}

/* ---------- Centred titles on tablet and mobile ---------- */
@media (max-width: 900px) {
  .hero .wrap, .page-hero .wrap { text-align: center; }
  .hero-meta, .crumbs, .hero-foot, .page-hero .btn-row, .hero .btn-row { justify-content: center; }
  .hero-foot { align-items: center; flex-direction: column; }
  .hero .lead, .page-hero .lead { margin-left: auto; margin-right: auto; }
  .section-head { justify-content: center; text-align: center; }
  .section-head > div { align-items: center; margin-inline: auto; }
  .section-head p { margin-inline: auto; }
  .split > .sticky { text-align: center; }
  .split > .sticky .btn-row { justify-content: center; }
}

/* The header's blur traps the fixed mobile menu inside the 72px bar, so switch it off while the menu is open. */
@media (max-width: 1080px) {
  .site-header.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
}

/* ---------- Centred content blocks on tablet and mobile ---------- */
@media (max-width: 900px) {
  .light > .wrap > .label, .section > .wrap > .label, .statement { display: block; text-align: center; margin-inline: auto; }
  .trust div { padding: 24px 12px; align-items: center; text-align: center; }
  .trust div + div { border-top: 1px solid #1f1f1f; }
  .card, .post-card { align-items: center; text-align: center; }
  .card .card-foot, .post-card .pc-foot { justify-content: center; width: 100%; }
  .work-body { align-items: center; text-align: center; }
  .work-body .btn { align-self: center; }
  .tags, .btn-row, .chips { justify-content: center; }
  .row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; }
  .row .no, .row p { grid-column: auto; grid-row: auto; }
  .picker-tabs { justify-content: flex-start; }
  .picker-panel > div:first-child { text-align: center; }
  .cs-facts div { padding: 20px 0; align-items: center; text-align: center; }
  .tl-step { justify-items: center; text-align: center; }
  .tl-step ul { width: fit-content; margin-inline: auto; text-align: left; }
  .ticks { width: fit-content; max-width: 100%; margin-inline: auto; }
  .faq-wrap > div:first-child { text-align: center; }
  .faq-wrap > div:first-child .btn-row { justify-content: center; }
  .grid-2 > .card .icon, .grid-3 > .card .icon { align-self: center; }
}
@media (min-width: 561px) and (max-width: 900px) { .trust div + div { border-top: 0; } }

/* Closing call to action: centred, with buttons stacked and kept off the edges on tablet and mobile */
@media (max-width: 900px) {
  .cta .wrap { align-items: center; text-align: center; }
  .cta-links { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; gap: 14px; }
  .cta-links .btn { justify-content: center; }
  .cta-links .plain { align-self: center; margin-top: 6px; }
}
@media (max-width: 900px) {
  .step-card { align-items: center; text-align: center; min-height: 0; }
  .step-card h3 { margin-top: 8px; }
  .foot-about { align-items: center; text-align: center; }
  .foot-grid { text-align: center; }
  .foot-grid nav, .foot-grid > div { align-items: center; }
}
/* Buttons at the bottom of the mobile menu: centred text, normal button padding (not menu-link styling) */
@media (max-width: 1080px) {
  .mobile-menu > a.btn { justify-content: center; gap: 8px; padding: 16px 24px; font-size: 16px; letter-spacing: 0; border-bottom: 1px solid transparent; }
  .mobile-menu > a.btn-ghost { border: 1px solid var(--line-2); }
  .menu-open .callbar { display: none; }
}
