/* Design Theory Option 3 — Liquid Glass */

:root {
  color-scheme: light;
  --bg: #F5F5F7;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F5F7;
  --label: #1D1D1F;
  --label-2: #6E6E73;
  --label-3: #86868B;
  --sep: rgba(60, 60, 67, 0.14);
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.2);
  --blue: #007AFF;
  --blue-press: #0062CC;
  --green: #34C759;
  --indigo: #5856D6;
  --purple: #AF52DE;
  --pink: #FF2D55;
  --orange: #FF9500;
  --teal: #30B0C7;
  --tile-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);

  --lg-tint: rgba(255, 255, 255, 0.16);
  --lg-tint-clear: rgba(255, 255, 255, 0.08);
  --lg-ink: #1D1D1F;
  --lg-rim: rgba(255, 255, 255, 0.95);
  --lg-rim-soft: rgba(255, 255, 255, 0.28);
  --lg-inset: inset 0 1px 0.5px rgba(255, 255, 255, 0.75), inset 0 -1px 0.5px rgba(255, 255, 255, 0.22);
  --lg-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
  --lg-fallback-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2));
  --lg-solid: rgba(250, 250, 252, 0.94);

  --wallpaper: url("img/wallpaper-light.jpg");
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #0B0B0C;
  --surface: #1C1C1E;
  --surface-2: #2C2C2E;
  --label: #F5F5F7;
  --label-2: #A1A1A6;
  --label-3: #6E6E73;
  --sep: rgba(84, 84, 88, 0.55);
  --fill: rgba(118, 118, 128, 0.24);
  --fill-2: rgba(118, 118, 128, 0.36);
  --blue: #0A84FF;
  --blue-press: #3D9BFF;
  --green: #30D158;
  --indigo: #5E5CE6;
  --purple: #BF5AF2;
  --pink: #FF375F;
  --orange: #FF9F0A;
  --teal: #40C8E0;
  --tile-shadow: none;

  --lg-tint: rgba(40, 40, 44, 0.22);
  --lg-tint-clear: rgba(255, 255, 255, 0.04);
  --lg-ink: #F5F5F7;
  --lg-rim: rgba(255, 255, 255, 0.42);
  --lg-rim-soft: rgba(255, 255, 255, 0.04);
  --lg-inset: inset 0 1px 0.5px rgba(255, 255, 255, 0.28), inset 0 -1px 0.5px rgba(255, 255, 255, 0.08);
  --lg-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.4);
  --lg-fallback-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  --lg-solid: rgba(28, 28, 30, 0.96);

  --wallpaper: url("img/wallpaper-dark.jpg");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 10px; }

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

.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 44px); }

.eyebrow { color: var(--blue); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.lead { color: var(--label-2); font-size: clamp(19px, 2vw, 21px); line-height: 1.38; letter-spacing: -0.02em; max-width: 34em; }

h1 {
  font: 600 clamp(44px, 6.4vw, 80px)/1.05 var(--font-display);
  letter-spacing: -0.02em;
  max-width: 11.5em;
  margin-bottom: 20px;
}
h2 {
  font: 600 clamp(36px, 4.6vw, 56px)/1.07 var(--font-display);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
h3 { font: 600 21px/1.24 var(--font-display); letter-spacing: -0.022em; margin-bottom: 6px; }

/* ---------- Liquid Glass material ---------- */

.lg {
  position: relative;
  isolation: isolate;
  color: var(--lg-ink);
  background: var(--lg-tint);
  box-shadow: var(--lg-inset), var(--lg-shadow);
  --lx: 30%;
  --ly: 0%;
}
.lg--clear { background: var(--lg-tint-clear); }

.lg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, var(--lg-rim), var(--lg-rim-soft) 26%, transparent 50%, var(--lg-rim-soft) 74%, var(--lg-rim));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.lg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at var(--lx) var(--ly), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 46%);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .lg::after { background: radial-gradient(120% 90% at var(--lx) var(--ly), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 46%); }

html.lg-fallback .lg {
  background: var(--lg-fallback-fill);
  -webkit-backdrop-filter: blur(5px) saturate(190%) brightness(1.05);
  backdrop-filter: blur(5px) saturate(190%) brightness(1.05);
  box-shadow: var(--lg-inset), inset 0 10px 18px -12px rgba(255, 255, 255, 0.5), inset 0 -12px 20px -14px rgba(0, 0, 0, 0.18), var(--lg-shadow);
}
html.lg-fallback .lg--clear { background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)); }
[data-theme="dark"].lg-fallback .lg--clear { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)); }
html.lg-solid .lg { background: var(--lg-solid); }

.lg > .lg-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-repeat: no-repeat;
  pointer-events: none;
}
html.lg-fallback .lg.lg-cloned {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--lg-clone-tint, var(--lg-tint-clear));
  box-shadow: var(--lg-inset), var(--lg-shadow);
}

/* ---------- Scroll edge + navigation ---------- */

.scroll-edge {
  position: fixed;
  inset: 0 0 auto;
  height: 96px;
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 55%, transparent) 45%, transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
html.is-scrolled .scroll-edge { opacity: 1; }

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  z-index: 50;
  width: min(1000px, 100% - 24px);
  height: 56px;
  padding: 0 8px 0 18px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav > * { position: relative; z-index: 1; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { color: inherit; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; opacity: 0.85; transition: background-color 0.2s, opacity 0.2s; }
.nav-links a:hover { text-decoration: none; opacity: 1; background: var(--fill); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.35s var(--ease-spring);
}
.icon-btn:hover { background: var(--fill); }
.icon-btn:active { transform: scale(1.12); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-moon { fill: currentColor; stroke: none; }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.4s var(--ease-spring), box-shadow 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(1.05); }
.btn > * { position: relative; z-index: 1; }
.btn-filled { background: var(--blue); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--blue) 30%, transparent); }
.btn-filled:hover { background: var(--blue-press); }
.btn-glass { color: var(--lg-ink); }
.btn-plain { background: transparent; color: var(--blue); }
.btn-plain:hover { background: var(--fill); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 72px;
}
.hero-wallpaper {
  position: absolute;
  inset: 0;
  background: var(--wallpaper) 70% 60% / cover no-repeat;
  transition: opacity 0.4s;
}
.hero-wallpaper::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.hero-copy .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--label-2); font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 7px; }
.facts li::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.hero-stage {
  position: relative;
  height: 460px;
}
.widget { position: absolute; padding: 18px; cursor: grab; user-select: none; touch-action: none; will-change: transform; }
.widget.is-dragging { cursor: grabbing; z-index: 5; }
.widget > * { position: relative; z-index: 1; }
.widget-notify {
  top: 30px; left: 4%;
  width: min(340px, 92%);
  border-radius: 26px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
}
.app-icon { border-radius: 9px; flex: none; }
.w-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: color-mix(in srgb, var(--lg-ink) 65%, transparent); }
.w-meta strong { color: var(--lg-ink); font-weight: 600; }
.w-title { font-weight: 600; font-size: 15px; margin-top: 2px; }
.w-body { font-size: 15px; line-height: 1.33; color: color-mix(in srgb, var(--lg-ink) 80%, transparent); }
.widget-ring {
  top: 190px; left: 8%;
  width: 170px; height: 170px;
  border-radius: 38px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ring { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring-track { stroke: color-mix(in srgb, var(--lg-ink) 14%, transparent); }
.ring-fill { stroke: var(--green); stroke-dasharray: 163.4; stroke-dashoffset: 40; }
.w-big { font: 700 40px/1 var(--font-display); letter-spacing: -0.03em; }
.w-big small { font-size: 17px; font-weight: 600; margin-left: 2px; letter-spacing: -0.01em; }
.w-label { font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--lg-ink) 65%, transparent); margin-top: 4px; }
.widget-stat {
  top: 205px; left: 52%;
  width: 190px; height: 190px;
  border-radius: 38px;
}
.widget-stat .w-label { margin: 0 0 4px; }
.bars { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 64px; display: flex; align-items: flex-end; gap: 6px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px; background: var(--blue); opacity: 0.85; }
.bars i:last-child { opacity: 1; }
.stage-hint { position: absolute; bottom: 8px; left: 8%; font-size: 13px; font-weight: 500; color: var(--label-3); }
.stage-hint::before { content: "↔ "; }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 780px; }
.section-head .lead { margin-inline: auto; }

.tile, .offer, .work, .testimonial, .steps li {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--tile-shadow);
}
.section-alt .tile, .section-alt .offer, .section-alt .work, .section-alt .testimonial, .section-alt .steps li { background: var(--surface-2); box-shadow: none; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { padding: 32px 30px 34px; }
.tile p, .offer p, .work p, .steps p { color: var(--label-2); font-size: 17px; line-height: 1.45; }

.well {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 700;
}
.well svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.well-sm { width: 32px; height: 32px; border-radius: 8px; margin: 0; font-size: 15px; }
.well-sm svg { width: 18px; height: 18px; }
.well-blue { background: var(--blue); }
.well-green { background: var(--green); }
.well-orange { background: var(--orange); }
.well-pink { background: var(--pink); }
.well-indigo { background: var(--indigo); }
.well-purple { background: var(--purple); }
.well-teal { background: var(--teal); }

.offer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.offer { display: flex; flex-direction: column; padding: 34px 30px; color: var(--label); transition: transform 0.5s var(--ease-spring); }
.offer:hover { text-decoration: none; transform: translateY(-4px); }
.offer h3 { font-size: 26px; }
.prices { margin: 26px 0 0; display: grid; gap: 0; }
.prices div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--sep); }
.prices dt { color: var(--label-2); }
.prices dd { margin: 0; font: 600 21px var(--font-display); letter-spacing: -0.02em; }
.price-line { margin-top: 18px; color: var(--label) !important; font-weight: 600; }
.more { margin-top: auto; padding-top: 26px; color: var(--blue); font-weight: 500; }
.more::after { content: " ›"; }

/* ---------- Quote studio (glass over media) ---------- */

.studio {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: 640px;
}
.studio-wallpaper {
  position: absolute;
  inset: 0;
  background: var(--wallpaper) 100% 60% / auto 150% no-repeat;
}
@media (max-width: 980px) {
  .studio-wallpaper { background-size: auto 100%; background-position: 70% 100%; }
}
.studio-copy, .cc { position: relative; }

.cc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-module { border-radius: 30px; padding: 16px 18px 18px; }
.cc-module > * { position: relative; z-index: 1; }
.cc-module[hidden] { display: none; }
[data-theme="dark"] .cc-module { background: rgba(0, 0, 0, 0.3); --lg-clone-tint: rgba(0, 0, 0, 0.3); }
[data-theme="dark"] .cc .btn-plain { color: #fff; }
[data-theme="light"] .cc-module { background: rgba(255, 255, 255, 0.22); --lg-clone-tint: rgba(255, 255, 255, 0.22); }
.cc-wide { grid-column: 1 / -1; }
.cc-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.005em; color: color-mix(in srgb, var(--lg-ink) 70%, transparent); margin-bottom: 10px; }

.seg {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lg-ink) 9%, transparent);
}
.seg button {
  position: relative;
  z-index: 1;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--lg-ink);
}
.seg button[aria-pressed="true"] { font-weight: 600; }
.seg-thumb {
  position: absolute;
  z-index: 0;
  top: 3px; bottom: 3px; left: 0;
  width: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s var(--ease-spring), width 0.45s var(--ease-spring);
}
[data-theme="dark"] .seg-thumb { background: rgba(255, 255, 255, 0.22); box-shadow: none; }

.slider-row { display: flex; justify-content: space-between; margin: 16px 2px 8px; font-size: 15px; font-weight: 500; }
.slider-row output { font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lg-ink) 70%, transparent); }
.slider-row output::after { content: " pages"; }
.slider {
  --p: 22%;
  width: 100%;
  height: 28px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) var(--p), color-mix(in srgb, var(--lg-ink) 14%, transparent) var(--p));
}
.slider::-moz-range-track { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--lg-ink) 14%, transparent); }
.slider::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--blue); }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--ease-spring);
}
.slider:active::-webkit-slider-thumb { transform: scale(1.2); }
.slider::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18); }

.cc-square { aspect-ratio: 1.15; display: flex; flex-direction: column; }
.cc-toggle { cursor: pointer; justify-content: space-between; }
.cc-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-orb {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lg-ink) 12%, transparent);
  color: var(--lg-ink);
  transition: background-color 0.3s, color 0.3s, transform 0.45s var(--ease-spring);
}
.cc-orb svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.cc-toggle input:checked ~ .cc-orb { background: var(--blue); color: #fff; }
.cc-toggle:active .cc-orb { transform: scale(1.1); }
.cc-toggle input:focus-visible ~ .cc-orb { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 3px; }
.cc-toggle-text strong { display: block; font-size: 17px; }
.cc-toggle-text span { font-size: 13px; color: color-mix(in srgb, var(--lg-ink) 65%, transparent); }

.cc-price { justify-content: flex-end; }
.cc-price .cc-label { margin-bottom: auto; }
.price { font: 700 clamp(40px, 4.4vw, 52px)/1 var(--font-display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.monthly { font-size: 15px; font-weight: 500; margin-top: 6px; color: color-mix(in srgb, var(--lg-ink) 70%, transparent); }

.lines { list-style: none; padding: 0; margin: 0 0 14px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; font-size: 15px; border-bottom: 0.5px solid color-mix(in srgb, var(--lg-ink) 14%, transparent); }
.lines li strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { flex: 1 1 auto; }

/* ---------- Process / work / proof ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { padding: 30px 26px; }
.step-n {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work { padding: 34px 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.work h3 { font-size: 24px; }
.tag { align-self: flex-start; margin-bottom: auto; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag-purple { color: var(--purple); background: color-mix(in srgb, var(--purple) 14%, transparent); }
.tag-orange { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); }
.tag-teal { color: var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); }
.tag-pink { color: var(--pink); background: color-mix(in srgb, var(--pink) 14%, transparent); }
.work .tag + h3 { margin-top: 48px; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { margin: 0; padding: 32px 30px; display: flex; flex-direction: column; gap: 24px; }
.testimonial blockquote { margin: 0; font: 600 21px/1.36 var(--font-display); letter-spacing: -0.022em; }
.testimonial figcaption { margin-top: auto; color: var(--label-2); font-size: 15px; }
.testimonial figcaption strong { display: block; color: var(--label); font-weight: 600; }

/* ---------- iOS inset grouped list ---------- */

.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--tile-shadow); }
.section-alt .list { background: var(--surface-2); box-shadow: none; }
.list li + li a::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 64px;
  border-top: 0.5px solid var(--sep);
}
.list a {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  min-height: 64px;
  padding: 12px 18px;
  color: var(--label);
  transition: background-color 0.15s;
}
.list a:hover { text-decoration: none; background: var(--fill); }
.list-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.list-text strong { font-weight: 500; }
.list-text span { font-size: 14px; color: var(--label-2); }
.chev { width: 8px; height: 13px; flex: none; background: var(--label-3); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'%3E%3Cpath d='M1.5 1.5 6.5 6.5l-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'%3E%3Cpath d='M1.5 1.5 6.5 6.5l-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.list-compact { margin-top: 32px; }
.list-compact li + li a::before { left: 66px; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-group { background: var(--surface-2); border-radius: 22px; overflow: hidden; margin-bottom: 16px; }
.field { position: relative; display: flex; align-items: center; gap: 16px; min-height: 54px; padding: 0 18px; cursor: text; }
.field + .field::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; border-top: 0.5px solid var(--sep); }
.field > span { width: 84px; flex: none; font-weight: 500; }
.field input, .field textarea { flex: 1; min-width: 0; border: 0; background: transparent; padding: 15px 0; outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--label-3); }
.field-area { flex-direction: column; align-items: stretch; gap: 0; padding-top: 14px; }
.field-area > span { width: auto; color: var(--label-2); font-size: 14px; }
.field-area textarea { resize: vertical; padding: 8px 0 14px; min-height: 110px; }
.form-status { margin-top: 12px; min-height: 22px; font-size: 15px; color: var(--label-2); text-align: center; }
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: var(--pink); }

/* ---------- Footer ---------- */

.footer { background: var(--bg); padding: 48px 0 140px; border-top: 0.5px solid var(--sep); color: var(--label-2); font-size: 13px; }
.footer-inner { display: grid; gap: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { color: var(--label); }
.fine { color: var(--label-3); }

/* ---------- Tab bar + option switch ---------- */

.tabbar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  translate: -50% 0;
  z-index: 50;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  width: min(380px, 100% - 28px);
  height: 64px;
  padding: 5px;
  border-radius: 32px;
}
.tabbar a {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 27px;
  color: var(--lg-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.25s, transform 0.4s var(--ease-spring);
}
.tabbar a:hover { text-decoration: none; }
.tabbar a:active { transform: scale(1.08); }
.tabbar a[aria-current="true"] { color: var(--blue); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-thumb {
  position: absolute;
  z-index: 0;
  top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / 4);
  border-radius: 27px;
  background: color-mix(in srgb, var(--lg-ink) 9%, transparent);
  transition: transform 0.5s var(--ease-spring);
}

.dt-option-switch {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
}
.dt-option-switch a {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  min-width: 34px; height: 34px;
  border-radius: 999px;
  color: var(--lg-ink);
  font-size: 13px;
  font-weight: 600;
}
.dt-option-switch a:hover { text-decoration: none; background: color-mix(in srgb, var(--lg-ink) 8%, transparent); }
.dt-option-switch a[aria-current="page"] { background: var(--blue); color: #fff; }
.dt-option-switch::before { content: none; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner, .studio, .contact { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero-stage { height: 420px; max-width: 560px; }
  .feature-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-hero { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { height: 52px; padding-left: 14px; }
  .nav .btn-sm { display: none; }
  .hero-stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .widget { position: relative; inset: auto; cursor: default; }
  .widget-notify { grid-column: 1 / -1; width: 100%; }
  .widget-ring, .widget-stat { width: auto; height: auto; aspect-ratio: 1; }
  .stage-hint { display: none; }
  .feature-grid, .quote-grid, .offer-grid, .work-grid, .steps { grid-template-columns: 1fr; }
  .studio { border-radius: 32px; padding: 28px 16px 16px; }
  .studio-copy { padding: 0 6px; }
  .cc { gap: 10px; }
  .cc-module { border-radius: 26px; padding: 14px; }
  .seg button { font-size: 13px; }
  .tabbar { display: grid; }
  .dt-option-switch { left: auto; right: 12px; bottom: auto; top: 72px; }
  .dt-option-switch a { min-width: 28px; height: 28px; font-size: 12px; }
  .footer { padding-bottom: 120px; }
}

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