/* 369degree — site styles.
   Visual language: large type, generous whitespace, alternating white / light-grey sections, big rounded tiles.
   Interaction: tappable cards with press feedback, bottom-sheet menu and sticky CTA on mobile, step-by-step proposal form.
   Brand colours (blue / yellow / pink) come from the logo's three thermometers and are used as accents only. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f5f5f7;          /* tiles on white sections */
  --surface: #ffffff;       /* tiles on grey sections, panels */
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #2f6fe4;
  --blue-soft: #eaf1ff;
  --yellow: #e39b2d;
  --yellow-soft: #fff4e2;
  --pink: #e2605f;
  --pink-soft: #fdebea;
  --naver: #03a94d;
  --primary: var(--blue);
  --on-primary: #ffffff;
  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
  --maxw: 1080px;
  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-alt: #111113; --tile: #161618; --surface: #1c1c1e; --ink: #f5f5f7; --ink-soft: #d2d2d7;
    --muted: #a1a1a6; --line: #3a3a3c; --line-soft: #2c2c2e; --blue: #4d8dff; --blue-soft: #0f1c33; --yellow: #f2b555;
    --yellow-soft: #2b2112; --pink: #f08a89; --pink-soft: #2e1818; --on-primary: #ffffff;
    --shadow: 0 2px 6px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-alt: #111113; --tile: #161618; --surface: #1c1c1e; --ink: #f5f5f7; --ink-soft: #d2d2d7;
  --muted: #a1a1a6; --line: #3a3a3c; --line-soft: #2c2c2e; --blue: #4d8dff; --blue-soft: #0f1c33; --yellow: #f2b555;
  --yellow-soft: #2b2112; --pink: #f08a89; --pink-soft: #2e1818; --on-primary: #ffffff;
  --shadow: 0 2px 6px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.4); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; letter-spacing: -.012em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .45em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Global nav: thin, translucent ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the position:fixed mobile menu sheet and push the sheet off-screen. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--bg); background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: .98rem; }
.brand:hover { text-decoration: none; }
.brand img { height: 26px; width: auto; background: #fff; border-radius: 5px; padding: 1px 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-soft); padding: 6px 11px; border-radius: 99px; font-size: .86rem; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.langs { display: inline-flex; align-items: center; gap: 0; margin-left: 6px; }
.nav .lang { font-size: .78rem; color: var(--muted); padding: 6px 7px; }
.nav .lang[aria-current="true"] { color: var(--ink); font-weight: 700; }
/* Chinese pages: Pretendard has no Hanzi, so prefer Chinese system fonts for CJK and allow normal line breaking */
:lang(zh-Hans) body, body:lang(zh-Hans) { font-family: "Pretendard Variable", "Pretendard", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  word-break: normal; line-break: strict; letter-spacing: 0; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2 { letter-spacing: -.01em; }
.nav .btn { margin-left: 8px; padding: 7px 14px; font-size: .84rem; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--on-primary); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 4px; cursor: pointer; }
.sheet-backdrop { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  /* Bottom sheet menu */
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 80; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-radius: 24px 24px 0 0; padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 -10px 40px rgba(0,0,0,.18); transform: translateY(105%); transition: transform .32s var(--ease); visibility: hidden; }
  .nav::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--line); align-self: center; margin: 2px 0 10px; }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { font-size: 1.08rem; padding: 14px 12px; border-radius: 12px; color: var(--ink); }
  .nav a:active { background: var(--bg-alt); }
  .langs { margin: 6px 0 0; padding: 0 4px; gap: 4px; }
  .nav .lang { font-size: 1rem; padding: 10px 14px; background: var(--bg-alt); border-radius: 99px; }
  .nav .lang[aria-current="true"] { background: var(--ink); color: var(--bg); }
  .nav .btn { margin: 10px 0 0; padding: 16px; font-size: 1.05rem; border-radius: 14px; }
  .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .sheet-backdrop.open { opacity: 1; pointer-events: auto; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 24px; border-radius: 980px;
  font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s var(--ease), filter .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { filter: brightness(1.08); color: var(--on-primary); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
@media (min-width: 900px) { section { padding: 120px 0; } }
.alt { background: var(--bg-alt); }
.alt .card, .alt .client, .alt .journey, .alt .links-list a, .alt .eco-col, .alt .stat { background: var(--surface); }
.eyebrow { display: inline-block; font-size: .95rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; letter-spacing: -.01em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--muted); max-width: 40em; font-weight: 500; }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
@media (min-width: 900px) { .hero { padding: 140px 0 96px; } }
.hero h1 { max-width: 14em; margin-left: auto; margin-right: auto; }
.hero .lead { margin: 22px auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.temp-bar { display: flex; gap: 6px; margin: 0 auto 28px; justify-content: center; }
.temp-bar i { width: 30px; height: 6px; border-radius: 3px; display: block; }
.temp-bar i:nth-child(1) { background: var(--blue); }
.temp-bar i:nth-child(2) { background: var(--yellow); }
.temp-bar i:nth-child(3) { background: var(--pink); }
.page-hero { padding: 88px 0 64px; text-align: center; }
@media (min-width: 900px) { .page-hero { padding: 120px 0 80px; } }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 16em; margin-left: auto; margin-right: auto; }
.page-hero .lead { margin: 18px auto 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 72px; text-align: left; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { background: var(--tile); border-radius: var(--radius); padding: 26px 24px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Grids & tiles ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid { gap: 20px; } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--tile); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; border: 0; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--primary); font-size: .96rem; }
a.card { color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); -webkit-tap-highlight-color: transparent; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
a.card:active { transform: scale(.98); box-shadow: none; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; }
.tone-blue .icon { background: var(--blue-soft); color: var(--blue); }
.tone-yellow .icon { background: var(--yellow-soft); color: var(--yellow); }
.tone-pink .icon { background: var(--pink-soft); color: var(--pink); }
.tone-green .icon { background: color-mix(in srgb, var(--naver) 14%, transparent); color: var(--naver); }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--pink); color: #fff; margin-left: 8px; vertical-align: middle; letter-spacing: .02em; }
.tag { display: inline-block; font-size: .78rem; color: var(--muted); background: var(--tile); border-radius: 99px; padding: 3px 10px; margin: 0 6px 6px 0; }

/* ---------- Split / panels ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.wide-left { grid-template-columns: 1.2fr 1fr; } }
.split h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 5px); width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.panel { background: var(--surface); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); }
.alt .panel { box-shadow: none; }

/* ---------- Framework bars ---------- */
.framework { display: grid; gap: 18px; }
.fw-row { display: grid; grid-template-columns: 56px 1fr 48px; gap: 14px; align-items: center; }
.fw-row b { font-size: 1.05rem; }
.fw-track { height: 12px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; }
.fw-fill { height: 100%; border-radius: 6px; transform-origin: left; }
.js .fw-fill { transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.js .in .fw-fill, .js .fw-fill.in { transform: scaleX(1); }
.fw-row span { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.fw-legend { margin-top: 24px; display: grid; gap: 10px; font-size: .94rem; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.three { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: s; background: var(--tile); border-radius: var(--radius); padding: 26px 24px; }
.steps { counter-reset: s; }
.alt .step { background: var(--surface); }
.step::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff;
  font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.step:nth-child(3n+2)::before { background: var(--yellow); }
.step:nth-child(3n+3)::before { background: var(--pink); }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Clients ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.logo-strip span { display: inline-flex; align-items: center; gap: 8px; background: var(--tile); border-radius: 99px; padding: 6px 14px 6px 6px; font-size: .88rem; color: var(--ink-soft); }
/* Client logos: round, white backing so dark-mode doesn't swallow them */
.clogo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.logo-strip .clogo { width: 28px; height: 28px; }
.clogo-txt { display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--pink)); font-size: 1.1rem; }
.logo-strip .clogo-txt { font-size: .8rem; }
.filters { display: flex; gap: 8px; margin: 0 -20px 28px; padding: 0 20px 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0 0 32px; padding: 0; } }
.filters button { flex: none; scroll-snap-align: start; font: inherit; font-size: .9rem; font-weight: 500; padding: 9px 16px; border-radius: 99px; border: 0;
  background: var(--tile); color: var(--ink-soft); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.filters button:active { transform: scale(.95); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.client-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .client-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.client { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; background: var(--tile); border-radius: 18px; padding: 22px; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.client:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.client:active { transform: scale(.98); }
.client > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.client strong { font-size: 1.02rem; line-height: 1.35; letter-spacing: -.02em; }
.client small { color: var(--muted); font-size: .86rem; }
.client .link { color: var(--naver); font-size: .86rem; font-weight: 600; margin-top: 6px; }
.client[hidden] { display: none; }
.result-count { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.1rem; position: relative; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; max-width: 52em; margin: 0; }
.faq h2 { margin-top: 64px; font-size: 1.6rem; }
.faq h2:first-child { margin-top: 0; }

/* ---------- Articles ---------- */
.post-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.prose { max-width: 700px; margin-left: auto; margin-right: auto; }
.page-hero .prose { text-align: center; }
.prose h2 { font-size: 1.75rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.8em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose th { color: var(--ink); background: var(--tile); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--tile); border-radius: 18px; padding: 22px 24px; margin: 1.8em 0; color: var(--ink); }
.callout p:last-child { margin: 0; }
.article-meta { color: var(--muted); font-size: .92rem; }

/* ---------- Team ---------- */
.person { display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--pink)); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }

/* ---------- CTA tile ---------- */
.cta { background: #1d1d1f; color: #f5f5f7; border-radius: var(--radius-lg); padding: 64px 28px; text-align: center; }
@media (min-width: 800px) { .cta { padding: 88px 64px; } }
:root[data-theme="dark"] .cta { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta { background: var(--surface); } }
.cta h2 { color: #f5f5f7; }
.cta p { color: #a1a1a6; max-width: 34em; margin: 0 auto 32px; font-size: 1.12rem; }
.cta .btn-primary { background: var(--blue); color: #fff; }
.cta .btn-ghost { color: #f5f5f7; border-color: #6e6e73; }
.cta .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list small { color: var(--muted); font-size: .85rem; font-weight: 500; }
.contact-list a, .contact-list span { font-size: 1.12rem; font-weight: 600; color: var(--ink); }

/* Step-by-step proposal form */
.stepper { position: relative; }
.stepper .progress { height: 4px; border-radius: 2px; background: var(--line-soft); overflow: hidden; margin-bottom: 36px; }
.stepper .progress i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 2px; transition: width .35s var(--ease); }
.stepper .count { font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.q { display: none; }
.q.active { display: block; animation: qin .35s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.q h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.q .hint { color: var(--muted); margin-bottom: 28px; font-size: .98rem; }
.q input, .q textarea { width: 100%; font: inherit; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); background: transparent;
  border: 0; border-bottom: 2px solid var(--line); border-radius: 0; padding: 10px 2px; outline: none; transition: border-color .2s; }
.q textarea { font-size: 1.1rem; font-weight: 500; min-height: 120px; resize: vertical; border: 2px solid var(--line); border-radius: 14px; padding: 14px; }
.q input:focus, .q textarea:focus { border-color: var(--primary); }
.q .err { color: var(--pink); font-size: .9rem; margin-top: 10px; min-height: 1.4em; }
.choices { display: grid; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--tile); cursor: pointer; font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s; }
.choices label:active { transform: scale(.98); }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label:has(input:checked) { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--primary); color: var(--primary); }
.q-nav { display: flex; gap: 10px; margin-top: 32px; }
.q-nav .btn { flex: 1; padding: 17px; border-radius: 16px; font-size: 1.05rem; }
.q-nav .back { flex: 0 0 auto; background: var(--tile); color: var(--ink); }
.review { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.review li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.review span { color: var(--muted); flex: none; }
.review b { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; margin-bottom: 24px; }
.done-mark::after { content: ""; width: 24px; height: 13px; border-left: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(-45deg) translate(2px, -3px); }
/* Without JS: show every question at once */
html:not(.js) .q { display: block; margin-bottom: 32px; }
html:not(.js) .q-nav .back, html:not(.js) .q-nav .next, html:not(.js) .stepper .progress, html:not(.js) .q[data-final] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .82rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .footer-grid > div:first-child { grid-column: auto; } }
.site-footer .fh { color: var(--ink); font-size: .82rem; letter-spacing: 0; line-height: 1.3; font-weight: 600; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); text-decoration: none; }
.site-footer .brand { font-size: .9rem; }
.biz { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.8; }
.theme-toggle { font: inherit; font-size: .78rem; background: none; border: 1px solid var(--line); color: var(--muted); padding: 3px 10px; border-radius: 99px; cursor: pointer; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--bg); background: linear-gradient(to top, var(--bg) 70%, transparent); transition: transform .3s var(--ease); }
  .sticky-cta.hide { transform: translateY(110%); }
  .sticky-cta .btn { width: 100%; padding: 17px; border-radius: 16px; font-size: 1.05rem; box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent); }
  body.has-sticky { padding-bottom: 84px; }
}

/* ---------- Ecosystem ---------- */
.eco { display: grid; gap: 14px; margin: 8px 0 56px; }
@media (min-width: 900px) { .eco { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } }
.eco-col { background: var(--tile); border-radius: var(--radius); padding: 28px 26px; position: relative; overflow: hidden; }
.eco-col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.eco-col.c-blue { --c: var(--blue); } .eco-col.c-pink { --c: var(--pink); } .eco-col.c-yellow { --c: var(--yellow); }
.eco-col h3 { margin-bottom: 8px; }
.eco-col p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 12px; }
.eco-col .out { font-size: .88rem; font-weight: 700; color: var(--c); }
.eco-center { grid-column: 1 / -1; text-align: center; font-weight: 700; font-size: 1.05rem; padding: 16px; border-radius: 16px;
  background: linear-gradient(90deg, var(--blue-soft), var(--pink-soft), var(--yellow-soft)); color: var(--ink); }
@media (min-width: 900px) { .eco-center { order: -1; } }
.eco-points { counter-reset: e; display: grid; gap: 28px; }
@media (min-width: 800px) { .eco-points { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }
.eco-points div { counter-increment: e; padding-left: 48px; position: relative; }
.eco-points div::before { content: counter(e); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .9rem; }
.eco-points h3 { font-size: 1.12rem; margin-bottom: 6px; }
.eco-points p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.journey { background: var(--tile); border-radius: var(--radius); padding: 30px 28px; }
.journey ol { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
.journey li { margin-bottom: 10px; }
.links-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links-list a { display: block; background: var(--tile); border-radius: 18px; padding: 20px 22px; color: inherit; transition: transform .2s var(--ease), box-shadow .2s; }
.links-list a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.links-list a:active { transform: scale(.98); }
.links-list b { display: block; color: var(--primary); margin-bottom: 4px; }
.links-list span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .fw-fill { transform: none; }
}

/* ---------- Key facts (quotable definition list for AEO/GEO) ---------- */
.facts { display: grid; gap: 0; margin: 0 auto; max-width: 880px; background: var(--tile); border-radius: var(--radius-lg); padding: 8px 28px; }
.alt .facts { background: var(--surface); }
.facts > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.facts > div:last-child { border-bottom: 0; }
@media (min-width: 720px) { .facts > div { grid-template-columns: 180px 1fr; gap: 24px; } }
.facts dt { font-weight: 700; color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; color: var(--ink); line-height: 1.55; }

/* ---------- Cookie consent (Europe only) ---------- */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto;
  background: var(--surface); color: var(--ink); border-radius: 18px; padding: 18px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.18);
  display: grid; gap: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.consent > div { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { padding: 10px 18px; font-size: .92rem; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
