/* =============================================================
   Welon Digital — Design System
   Warm-neutral canvas · one electric "welon" accent · lots of air
   Deliberately NOT Vestfy's navy+gold.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: only light;   /* opt out of browser forced dark mode */
  /* Welon Digital accent */
  --welon: #2b50e4;
  --welon-600: #1f3fd0;
  --welon-700: #1b34ad;
  --welon-tint: #eef1fe;
  --welon-tint-2: #dde3fd;

  /* Ink & neutrals (warm) */
  --ink: #15161a;
  --ink-2: #3a3c44;
  --muted: #6b6d78;
  --muted-2: #9497a1;
  --line: #e7e6e1;
  --line-strong: #d8d7d1;

  /* Surfaces */
  --bg: #ffffff;
  --bg-warm: #faf9f6;
  --bg-warm-2: #f4f2ec;
  --bg-ink: #16171c;

  /* Welon Digital / status hues used sparingly */
  --good: #17916b;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", -apple-system, "PingFang TC", "Noto Sans TC",
    "Microsoft JhengHei", sans-serif;

  /* Rhythm */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.04), 0 2px 6px rgba(20, 22, 26, 0.05);
  --shadow-md: 0 6px 20px rgba(20, 22, 26, 0.07), 0 2px 6px rgba(20, 22, 26, 0.05);
  --shadow-lg: 0 24px 60px rgba(20, 22, 26, 0.12), 0 6px 18px rgba(20, 22, 26, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--welon); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.bg-warm { background: var(--bg-warm); }
.bg-warm-2 { background: var(--bg-warm-2); }
.bg-ink { background: var(--bg-ink); color: #f4f3ef; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--welon-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--welon); display: inline-block;
}
.eyebrow.plain::before { display: none; }
.display {
  font-size: clamp(2.35rem, 6vw, 4rem);
  line-height: 1.05; letter-spacing: -0.03em;
}
.h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; }
.h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); line-height: 1.15; }
.h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--welon); color: #fff; box-shadow: 0 8px 20px rgba(43, 80, 228, 0.28); }
.btn-primary:hover { background: var(--welon-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(43, 80, 228, 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--welon-600);
}
.btn-link svg { width: 16px; height: 16px; transition: transform 0.18s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .mark { width: 34px; height: 34px; color: var(--welon); }
.footer-brand .brand .mark { color: var(--welon); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-en { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand .brand-zh { font-size: 11px; color: var(--muted); letter-spacing: 0.16em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-links a:hover { background: var(--bg-warm-2); color: var(--ink); }
.nav-links a.active { color: var(--welon-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: 10px; background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 70px 0 0; z-index: 99;
  background: #fff; padding: 16px 24px 40px;
  transform: translateX(100%); transition: transform 0.28s var(--ease);
  overflow-y: auto; display: flex; flex-direction: column;
}
body.nav-open .mobile-menu { transform: translateX(0); }
.mobile-menu a.m-link {
  padding: 16px 4px; font-size: 19px; font-weight: 600;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a.m-link svg { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .display { margin-top: 22px; }
.hero .lead { margin-top: 24px; max-width: 30ch; }
.hero .btn-row { margin-top: 34px; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px 26px; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.hero-trust .t svg { width: 18px; height: 18px; color: var(--good); flex-shrink: 0; }

/* Device cluster in hero */
.devices { position: relative; }
.device { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.device .bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-warm); }
.device .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.device .bar .url { margin-left: 8px; font-size: 11px; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.device-desktop { position: relative; z-index: 2; }
.device-mobile {
  position: absolute; right: -14px; bottom: -34px; width: 172px; z-index: 3;
  border-radius: 22px; border-width: 6px; border-color: #fff;
}
.device-mobile .bar { padding: 8px 10px; }
.skeleton-page { padding: 18px; display: grid; gap: 12px; }
.sk { background: var(--bg-warm-2); border-radius: 6px; }
.sk-hero { height: 96px; background: linear-gradient(120deg, var(--welon-tint), var(--welon-tint-2)); position: relative; }
.sk-hero::after { content: ""; position: absolute; left: 18px; top: 26px; width: 45%; height: 12px; background: var(--welon); opacity: 0.55; border-radius: 4px; box-shadow: 0 22px 0 -3px rgba(43,80,228,0.3); }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-card { height: 58px; }
.sk-line { height: 9px; }
.sk-line.w-70 { width: 70%; } .sk-line.w-50 { width: 50%; } .sk-line.w-90 { width: 90%; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--welon-tint); color: var(--welon-600); margin-bottom: 20px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* problem list */
.problem-list { display: grid; gap: 2px; margin-top: 8px; }
.problem-list .pi { display: flex; gap: 14px; align-items: flex-start; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.problem-list .pi:last-child { border-bottom: 0; }
.problem-list .pi .x { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #fdeceb; color: #d24b3e; display: flex; align-items: center; justify-content: center; }
.problem-list .pi .x svg { width: 15px; height: 15px; }
.problem-list .pi p { color: var(--ink-2); font-size: 16px; }

/* feature (why us) */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--welon-tint); color: var(--welon-600); display: flex; align-items: center; justify-content: center; }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:first-child { border-top: 0; }
.step .num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--welon); line-height: 1; letter-spacing: -0.03em; }
.step .num small { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); font-weight: 600; margin-top: 6px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
.step .give { margin-top: 12px; font-size: 14px; color: var(--ink-2); background: var(--bg-warm); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: inline-block; }

/* ---------- Work / portfolio cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 26px; }
.work-thumb .thumb-inner { position: absolute; inset: 0; }
.work-card:hover .thumb-inner { transform: scale(1.03); }
.thumb-inner { transition: transform 0.4s var(--ease); }
/* 案例縮圖:實際 demo 網站截圖，靠上對齊以露出頁首與主視覺 */
.work-thumb img.thumb-inner { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work-meta { padding: 24px 26px 28px; }
.work-meta .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-warm-2); border-radius: 999px; padding: 5px 12px; }
.tag.concept { color: var(--welon-700); background: var(--welon-tint); }
.work-meta h3 { font-size: 1.3rem; margin-bottom: 8px; }
.work-meta p { color: var(--muted); font-size: 15px; }
.work-meta .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--welon-600); font-size: 15px; }
.work-meta .go svg { width: 16px; height: 16px; transition: transform 0.18s var(--ease); }
.work-card:hover .go svg { transform: translateX(4px); }

/* ---------- Pricing / engagement ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--welon); box-shadow: 0 20px 50px rgba(43,80,228,0.14); }
.plan .flag { position: absolute; top: -12px; left: 30px; background: var(--welon); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px; letter-spacing: 0.02em; }
.plan h3 { font-size: 1.35rem; }
.plan .for { color: var(--muted); font-size: 14.5px; margin-top: 6px; min-height: 42px; }
.plan .price { margin: 18px 0 4px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.plan .price small { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.plan .incl { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan .incl li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.plan .incl li svg { width: 19px; height: 19px; color: var(--welon); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: 26px; width: 100%; }

/* addon strip */
.addons { display: flex; flex-wrap: wrap; gap: 10px; }
.addons .chip { font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 4px; position: relative;
  font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 27px; width: 13px; height: 13px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .faq-a { padding: 0 44px 26px 4px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 66px 40px; text-align: center; color: #fff; background: var(--bg-ink); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 50% -20%, rgba(43,80,228,0.55), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band .h1 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.72); margin: 16px auto 0; max-width: 46ch; }
.cta-band .btn-row { margin-top: 30px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-family: var(--font-sans); font-weight: 700; }
.footer-col a, .footer-col span { display: block; color: var(--ink-2); font-size: 15px; padding: 5px 0; }
.footer-col a:hover { color: var(--welon-600); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom p { color: var(--muted); font-size: 13.5px; }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a { color: var(--muted); font-size: 13.5px; }
.footer-bottom .legal-links a:hover { color: var(--ink); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 70px 0 26px; }
.page-hero .display, .page-hero .h1 { margin-top: 18px; }
.page-hero .lead { margin-top: 18px; max-width: 58ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--welon-600); }
.breadcrumb span { color: var(--muted-2); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: #d24b3e; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: #fff;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--welon); box-shadow: 0 0 0 4px var(--welon-tint);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d24b3e; }
.field .err { display: none; font-size: 13px; color: #d24b3e; margin-top: 6px; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--welon); }
.consent a { color: var(--welon-600); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 8px; padding: 14px 16px; border-radius: 11px; font-size: 15px; }
.form-status.err { display: block; background: #fdeceb; color: #b23a2e; }
.form-success { display: none; text-align: center; padding: 20px 10px; }
.form-success.show { display: block; }
.form-success .ok-ico { width: 62px; height: 62px; border-radius: 50%; background: #e7f6ef; color: var(--good); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .ok-ico svg { width: 30px; height: 30px; }

/* ---------- Contact aside ---------- */
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--welon-tint); color: var(--welon-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item .l { font-size: 13px; color: var(--muted); }
.contact-item .v { font-weight: 600; color: var(--ink); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul { color: var(--ink-2); padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--welon-600); text-decoration: underline; }
.draft-note { background: #fff8e8; border: 1px solid #f0dfad; color: #8a6d1f; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 28px; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--welon); letter-spacing: -0.03em; }
.stat .l { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); background: var(--bg-warm-2); border-radius: 999px; padding: 7px 15px; }
.pill-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero .lead { max-width: 46ch; }
  .devices { max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step .num { font-size: 1.8rem; }
  .device-mobile { width: 132px; right: -6px; bottom: -22px; }
  .btn-row .btn { flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
