/* ==========================================================================
   Opend Studio — styles
   Light, typographic, workshop-detailed. Colors come from the logo.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-subtle: #f6f8fb;
  --bg-tint: #eef4fb;
  --ink: #0f172a;          /* logo "STUDIO" */
  --fg: #0f172a;
  --fg-muted: #5b6475;
  --fg-faint: #8a93a3;
  --border: #e7ebf0;
  --border-strong: #d3d9e2;

  /* Brand (from logo) */
  --sky: #38bdf8;          /* decorative only — not for text on white */
  --sky-soft: #e3f5fe;
  --blue: #1d4ed8;         /* accessible accent for text & buttons */
  --blue-deep: #1e40af;
  --blue-soft: #e8eefc;

  /* Draft placeholders */
  --draft: #b45309;
  --draft-soft: #fff7e8;

  /* Type — Korean fallbacks included for a future /ko/ version */
  --font-body: "Inter", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --content-max: 1240px;
  --pad-x: clamp(16px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 112px);
  --gap: clamp(16px, 2.4vw, 32px);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ko) { word-break: keep-all; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 16px; letter-spacing: -0.01em; line-height: 1.3; }
ul { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--sky-soft); color: var(--ink); }

:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--subtle { background: var(--bg-subtle); }
.section + .section:not(.section--subtle):not(.cta-band) { border-top: 1px solid var(--border); }

/* ---------- Small type elements ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted);
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 2px; flex: none;
  background: linear-gradient(135deg, var(--sky) 50%, var(--blue) 50%);
}
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--fg-muted); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--fg-muted); }
.mono { font-family: var(--font-mono); }

/* The pill highlight — split diagonally like the logo */
.pill {
  display: inline-block; position: relative; padding: 0 .28em .04em; border-radius: 999px;
  background: linear-gradient(160deg, var(--sky-soft) 0 55%, var(--blue-soft) 55% 100%);
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 15px/1.2 var(--font-body); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  background: var(--ink); color: #fff;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px -8px rgba(15, 23, 42, .45); }
.btn:active { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow--ext { transform: translate(2px, -2px); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: var(--blue-deep); box-shadow: 0 6px 18px -8px rgba(29, 78, 216, .6); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--bg-subtle); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: not-allowed; }
.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;
  color: var(--blue); border-bottom: 1.5px solid transparent; padding-bottom: 1px;
}
.text-link:hover { border-color: currentColor; }

/* ---------- Draft placeholders (remove before publishing) ---------- */
.draft {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--draft); background: var(--draft-soft); border: 1px dashed #f0b35b;
  padding: 3px 8px; border-radius: 6px; vertical-align: middle; line-height: 1.4;
}
.draft-note {
  border: 1.5px dashed #f0b35b; background: var(--draft-soft); color: #7c3f06;
  border-radius: var(--radius); padding: 14px 16px; font-size: 14px; line-height: 1.5;
}
.draft-note strong { color: var(--draft); }
.draft-banner {
  background: var(--draft-soft); color: #7c3f06; border-bottom: 1px dashed #f0b35b;
  font: 500 12px/1.4 var(--font-mono); text-align: center; padding: 7px 16px;
}

/* ---------- Image placeholder (cutting-mat grid) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background-color: var(--bg-subtle);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end;
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ph__label {
  position: relative; margin: 12px; padding: 6px 10px; border-radius: 8px;
  background: rgba(255,255,255,.92); border: 1px dashed #f0b35b;
  font: 500 11px/1.4 var(--font-mono); color: #7c3f06; max-width: calc(100% - 24px);
}
.ph__label b { color: var(--draft); letter-spacing: .06em; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph__mark { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 6px; opacity: .9;
  background: linear-gradient(155deg, var(--sky) 58%, var(--blue) 58%); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.hdr.is-scrolled { border-color: var(--border); }
.hdr__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.hdr__logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.hdr__logo img { height: 36px; width: auto; }
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; align-items: center; gap: 4px; }
.hdr__nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--fg-muted); transition: color .15s, background-color .15s;
}
.hdr__nav a:hover { color: var(--fg); background: var(--bg-subtle); }
.hdr__nav a[aria-current="page"] { color: var(--fg); background: var(--bg-tint); }
.hdr__cta { margin-left: 8px; }
.hdr__menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0;
}
.hdr__menu-btn span { display: block; width: 18px; height: 1.8px; background: var(--fg); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.hdr__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.hdr__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hdr__logo img { height: 30px; }
  .hdr__menu-btn { display: inline-flex; }
  .hdr__cta { display: none; }
  .hdr__nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px var(--pad-x) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .hdr__nav.is-open { transform: none; opacity: 1; visibility: visible; box-shadow: 0 24px 40px -24px rgba(15,23,42,.25); }
  .hdr__nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr__nav li { border-bottom: 1px solid var(--border); }
  .hdr__nav a { display: flex; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 20px; font-weight: 600; color: var(--fg); }
  .hdr__nav a:hover, .hdr__nav a[aria-current="page"] { background: none; color: var(--blue); }
  .hdr__nav a::after { content: "→"; color: var(--fg-faint); font-weight: 400; }
  .hdr__nav .nav-cta { border: 0; padding-top: 20px; }
  .hdr__nav .nav-cta a { justify-content: center; background: var(--ink); color: #fff; border-radius: 999px; font-size: 16px; padding: 14px; }
  .hdr__nav .nav-cta a::after { content: none; }
}
@media (min-width: 901px) { .hdr__nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); }
.hero--split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { max-width: 13ch; }
.hero__sub { margin-top: 28px; }
.hero__cta { margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero__meta-item { font-size: 13px; color: var(--fg-muted); line-height: 1.4; }
.hero__meta-item b { display: block; color: var(--fg); font-size: 19px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 2px; }
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }

/* Process ticker: idea → sketch → prototype → test → thing */
.process {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px;
  font: 500 12px/1 var(--font-mono); color: var(--fg-muted); letter-spacing: .04em;
}
.process span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); transition: color .3s, border-color .3s, background-color .3s; }
.process i { font-style: normal; color: var(--fg-faint); }
.process span.is-on { color: var(--blue); border-color: #b9ccf5; background: var(--blue-soft); }

/* ---------- Section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.sec-head h2 { max-width: 18ch; }
.sec-head .lead { margin-top: 16px; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4, .split, .hero--split { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Service cards ---------- */
.svc {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
a.svc:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 40px -28px rgba(15,23,42,.35); }
.svc__num { font: 500 12px/1 var(--font-mono); color: var(--fg-faint); letter-spacing: .08em; }
.svc__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; color: var(--blue); }
.svc__icon svg { width: 24px; height: 24px; }
.svc__top { display: flex; justify-content: space-between; align-items: center; }
.svc p { color: var(--fg-muted); margin: 0; }
.svc ul { display: grid; gap: 8px; font-size: 15px; }
.svc li { position: relative; padding-left: 20px; }
.svc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--sky) 50%, var(--blue) 50%); }
.svc__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--blue); display: inline-flex; gap: 8px; }
a.svc:hover .svc__more .arrow { transform: translateX(3px); }
.svc__more .arrow { transition: transform .2s var(--ease); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); }
.step { padding-top: 20px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 12px/1 var(--font-mono); color: var(--fg-faint); letter-spacing: .08em; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--fg-muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0,1fr); } }

/* ---------- Product cards ---------- */
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card .ph { transition: transform .35s var(--ease); }
.card:hover .ph { transform: translateY(-4px); }
.card:hover .ph > img { transform: scale(1.03); }
.card__body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__title { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__desc { color: var(--fg-muted); font-size: 15px; margin: 0; }
.card__foot { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  background: var(--bg-subtle); color: var(--fg-muted); border: 1px solid var(--border);
}
.tag--blue { background: var(--blue-soft); color: var(--blue); border-color: #cdd9f7; }
.tag--dev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft); }

/* Wide feature card (in development) */
.feature {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3vw, 32px); border: 1px solid var(--border); border-radius: calc(var(--radius-lg) + 6px); background: var(--bg);
}
.feature h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 14px; }
@media (max-width: 760px) { .feature { grid-template-columns: minmax(0,1fr); } }

/* ---------- Detail pages ---------- */
.crumbs { font: 500 13px/1.4 var(--font-mono); color: var(--fg-muted); padding-top: 28px; }
.crumbs a { text-decoration: none; color: var(--fg-muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 8px; color: var(--fg-faint); }

.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: 28px 0 var(--section-y); }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.pdp__thumbs .ph { aspect-ratio: 1; border-radius: var(--radius); }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__info h1 { font-size: clamp(34px, 4.4vw, 56px); margin: 4px 0 18px; }
.pdp__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pdp__actions { display: grid; gap: 10px; margin: 28px 0; }
.pdp__actions .btn { width: 100%; }
.pdp__hint { font-size: 13px; color: var(--fg-muted); margin: 0; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0,1fr); }
  .pdp__info { position: static; }
}

.specs { border-top: 1px solid var(--border); margin: 0; }
.specs div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.specs dt { color: var(--fg-muted); }
.specs dd { margin: 0; }
@media (max-width: 480px) { .specs div { grid-template-columns: minmax(0,1fr); gap: 4px; } }

/* Mobile sticky action bar for external links */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; }
  body.has-mobile-bar .ftr { padding-bottom: 96px; }
}

/* Prose blocks */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: #334155; font-size: 17px; }
.prose ul.bullets { display: grid; gap: 10px; margin: 0 0 1em; }
.prose ul.bullets li { position: relative; padding-left: 22px; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--sky) 50%, var(--blue) 50%); }

/* Service detail block (services page) */
.svc-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); }
.svc-block__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.svc-block__aside h2 { margin: 14px 0 18px; }
.svc-block__aside .ph { margin-top: 28px; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px 40px; }
.svc-cols h3 { font-size: 13px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 14px; }
.svc-cols ul { display: grid; gap: 10px; }
.svc-cols li { position: relative; padding-left: 20px; font-size: 16px; }
.svc-cols li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--sky) 50%, var(--blue) 50%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: 999px; background: var(--bg-subtle); border: 1px solid var(--border); font-size: 14px; }
.svc-ask { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px 24px; border-radius: var(--radius-lg); background: var(--bg-tint); }
.svc-ask p { margin: 0; font-weight: 500; }
@media (max-width: 900px) {
  .svc-block { grid-template-columns: minmax(0,1fr); }
  .svc-block__aside { position: static; }
}
@media (max-width: 600px) { .svc-cols { grid-template-columns: minmax(0,1fr); } }

/* Subnav (services page jump links) */
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.jump a { text-decoration: none; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 24px/1 var(--font-body); color: var(--fg-muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-muted); max-width: 64ch; padding-bottom: 22px; margin: 0; }

/* Principles */
.principle { padding: 24px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 16px; }
.principle .n { font: 500 12px/1.9 var(--font-mono); color: var(--fg-faint); }
.principle h3 { font-size: 20px; margin-bottom: 6px; }
.principle p { color: var(--fg-muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--section-y) 0; }
.cta-card {
  position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) + 8px);
  background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end;
}
.cta-card h2 { max-width: 16ch; color: #fff; }
.cta-card p { color: #b6c0d1; margin: 18px 0 0; max-width: 52ch; font-size: 18px; }
.cta-card::before, .cta-card::after { content: ""; position: absolute; pointer-events: none; }
.cta-card::before { width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 64px; background: var(--sky); opacity: .14; transform: rotate(-28deg); }
.cta-card::after { width: 300px; height: 300px; right: -40px; top: -40px; border-radius: 52px; background: var(--blue); opacity: .35; transform: rotate(-28deg); }
.cta-card > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-card { grid-template-columns: minmax(0,1fr); } .cta-card .btn { width: 100%; } }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--fg-muted); font-weight: 400; }
.field .opt { font-weight: 400; color: var(--fg-muted); font-size: 13px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { margin-bottom: 10px; padding: 0; }
.input, .textarea {
  width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--fg);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 160px; resize: vertical; }
.input:hover, .textarea:hover { border-color: #b8c1ce; }
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.input::placeholder, .textarea::placeholder { color: #8f98a7; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: minmax(0,1fr); } }

.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); font-size: 15px; cursor: pointer; background: var(--bg);
  transition: border-color .15s, background-color .15s, color .15s;
}
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border-strong); transition: all .15s; flex: none; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); }
.choice input:checked + span::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.choice input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.choice span:hover { border-color: #b8c1ce; }

.form-status { display: none; }
.form-status.is-visible { display: block; }

.aside-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: var(--bg-subtle); }
.aside-card h2 { font-size: 22px; margin-bottom: 16px; letter-spacing: -0.015em; }
.aside-card ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.aside-card ol li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; color: var(--fg-muted); font-size: 15px; }
.aside-card ol li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); display: grid; place-items: center; font: 600 12px/1 var(--font-mono); color: var(--blue); }
.aside-card ol li b { color: var(--fg); display: block; }

/* ---------- Footer ---------- */
.ftr { background: var(--bg-subtle); border-top: 1px solid var(--border); padding: 64px 0 32px; font-size: 15px; }
.ftr__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.ftr__brand img { height: 40px; width: auto; margin-bottom: 16px; }
.ftr__brand p { color: var(--fg-muted); max-width: 36ch; }
.ftr h2 { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 18px; }
.ftr ul { display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: var(--fg-muted); }
.ftr a:hover { color: var(--blue); }
.ftr__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg-faint); }
@media (max-width: 760px) { .ftr__inner { grid-template-columns: repeat(2, minmax(0,1fr)); } .ftr__brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack { display: grid; gap: 16px; }

/* ---------- Fixes & responsive tweaks ---------- */
ol.steps { list-style: none; padding: 0; margin: 0; }
.split--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
@media (max-width: 860px) { .split--form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .hero--split .ph--tall { aspect-ratio: 4 / 3; }
  .hero__meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px; }
}
.pdp__thumbs .ph__label { margin: 6px; padding: 4px 6px; font-size: 10px; }
@media (max-width: 480px) { .pdp__thumbs .ph__label b + * , .pdp__thumbs .ph__label { overflow: hidden; } }
