:root {
  --green-900: #0c3a34;
  --green-800: #11504a;
  --green-700: #176b60;
  --green-600: #1f8a7a;
  --green-200: #b9ece1;
  --green-100: #dff6f0;
  --green-50: #f0faf7;
  --mint: #8fe3d3;
  --gold: #f2b84b;
  --gold-soft: #fff4dc;
  --ink: #142c28;
  --ink-2: #3c514d;
  --muted: #64746f;
  --line: #e1e8e5;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 38, .06), 0 2px 8px rgba(15, 42, 38, .04);
  --shadow-md: 0 10px 30px -10px rgba(15, 42, 38, .18), 0 2px 6px rgba(15, 42, 38, .05);
  --shadow-lg: 0 40px 80px -24px rgba(12, 58, 52, .35), 0 12px 24px -12px rgba(12, 58, 52, .18);
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px;
  font: 600 15px/1 var(--body); white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(23, 107, 96, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(23, 107, 96, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #cfdad6, var(--shadow-md); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); letter-spacing: -.03em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  box-shadow: 0 6px 14px -6px rgba(23, 107, 96, .7);
}
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.logo b { color: var(--green-700); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.signin { font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); }
.signin:hover { color: var(--ink); background: var(--bg-soft); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(143, 227, 211, .45), transparent 70%),
    radial-gradient(50% 50% at 0% 30%, rgba(242, 184, 75, .16), transparent 70%),
    linear-gradient(180deg, var(--green-50), #fff 75%);
}
.hero::after {
  /* The "mesh": fine woven threads. */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    linear-gradient(rgba(23, 107, 96, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 107, 96, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.eyebrow .tag { background: var(--green-100); color: var(--green-700); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--green-700) 10%, var(--green-600) 45%, #2aa58f 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .stitch { position: relative; white-space: nowrap; }
.hero h1 .stitch svg { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .22em; }
.hero-sub { margin: 22px auto 0; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); line-height: 1.55; }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green-600); }

/* ---------- Product mockup ---------- */
.showcase { position: relative; margin: 64px auto 0; max-width: 1120px; perspective: 2000px; }
.window {
  position: relative; border-radius: 18px; background: #fff; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(12, 58, 52, .08);
  transform: rotateX(8deg) scale(.98); transform-origin: 50% 0;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.showcase.in .window { transform: rotateX(0) scale(1); }
.window-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #f7f9f8; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8e6; }
.window-bar i:nth-child(1) { background: #ff6159; }
.window-bar i:nth-child(2) { background: #ffbd2e; }
.window-bar i:nth-child(3) { background: #28c941; }
.window-bar .url { margin-left: 14px; flex: 0 1 360px; height: 26px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.window-bar .url svg { width: 12px; height: 12px; }
.app { display: grid; grid-template-columns: 210px 300px 1fr; min-height: 520px; font-size: 13px; }
.app-side { border-right: 1px solid var(--line); padding: 18px 12px; background: #fff; }
.app-side .brand { display: flex; align-items: center; gap: 8px; font: 800 15px var(--display); padding: 0 6px 16px; }
.app-side .brand .logo-mark { width: 26px; height: 26px; border-radius: 8px; }
.app-side .brand .logo-mark svg { width: 14px; height: 14px; }
.app-side .shop { display: flex; gap: 8px; align-items: center; padding: 9px; border-radius: 11px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.app-side .shop i { width: 26px; height: 26px; border-radius: 8px; background: var(--green-100); display: grid; place-items: center; }
.app-side .shop i svg { width: 14px; height: 14px; fill: var(--green-700); }
.app-side .shop b { display: block; font-size: 12.5px; }
.app-side .shop small { color: var(--muted); font-size: 11px; }
.app-side .item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 500; margin-bottom: 2px; }
.app-side .item svg { width: 16px; height: 16px; fill: currentColor; opacity: .8; }
.app-side .item.on { background: var(--green-100); color: var(--green-700); font-weight: 700; }
.app-list { border-right: 1px solid var(--line); padding: 18px 14px; background: var(--bg-soft); }
.app-list h4 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin: 2px 4px 12px; }
.app-search { height: 34px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.app-search svg { width: 14px; height: 14px; fill: currentColor; }
.order { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.order.on { box-shadow: inset 0 0 0 2px var(--green-600), 0 6px 14px -8px rgba(23, 107, 96, .5); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 11px; background: var(--green-100); color: var(--green-700); flex: none; }
.order b { display: block; font-size: 12.5px; }
.order small { color: var(--muted); font-size: 11px; }
.pill { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill.cut { background: var(--gold-soft); color: #8a5b00; }
.pill.stitch { background: #e8eefc; color: #2f4fa8; }
.pill.ready { background: #e3f3ea; color: #1f7a4d; }
.app-detail { padding: 22px 26px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.detail-head h5 { font: 800 19px var(--display); margin: 0; letter-spacing: -.02em; }
.detail-head small { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.stat { border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.stat small { color: var(--muted); font-size: 11px; display: block; }
.stat b { font: 800 16px var(--display); }
.stages { display: flex; align-items: center; gap: 6px; margin: 8px 0 16px; }
.stages span { flex: 1; height: 6px; border-radius: 4px; background: var(--line); }
.stages span.done { background: var(--green-600); }
.stages span.now { background: linear-gradient(90deg, var(--green-600), var(--mint)); }
.garment { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.garment i { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; }
.garment i svg { width: 18px; height: 18px; fill: var(--green-700); }
.garment b { display: block; font-size: 12.5px; }
.garment small { color: var(--muted); font-size: 11px; }
.measure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.measure div { background: var(--bg-soft); border-radius: 10px; padding: 8px 10px; }
.measure small { color: var(--muted); font-size: 10.5px; display: block; }
.measure b { font-size: 14px; }

.phone {
  position: absolute; right: -28px; bottom: -40px; width: 236px; border-radius: 36px; padding: 10px;
  background: #0e1d1b; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3a37;
  transform: translateY(30px) rotate(3deg); opacity: 0;
  transition: transform .9s .25s cubic-bezier(.2, .7, .2, 1), opacity .6s .25s;
}
.showcase.in .phone { transform: translateY(0) rotate(3deg); opacity: 1; }
.phone-screen { border-radius: 28px; overflow: hidden; background: var(--bg-soft); height: 440px; position: relative; font-size: 12px; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 20px; background: #0e1d1b; }
.phone-top { padding: 40px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.phone-top b { font: 800 16px var(--display); }
.phone-top small { color: var(--muted); display: block; }
.mic {
  margin: 16px; border-radius: 18px; padding: 14px; background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: #fff;
}
.mic small { opacity: .75; }
.mic .wave { display: flex; align-items: center; gap: 3px; height: 30px; margin: 10px 0 6px; }
.mic .wave span { width: 4px; border-radius: 3px; background: var(--mint); animation: wave 1.1s ease-in-out infinite; }
.mic .wave span:nth-child(2n) { animation-delay: -.3s; }
.mic .wave span:nth-child(3n) { animation-delay: -.6s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.mic q { quotes: none; font-weight: 600; font-size: 13px; }
.phone-fields { padding: 0 16px; display: grid; gap: 8px; }
.phone-fields div { display: flex; justify-content: space-between; background: #fff; border-radius: 12px; padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.phone-fields b { color: var(--green-700); }
.phone-fields .new { box-shadow: inset 0 0 0 2px var(--green-600); animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 0%, 70%, 100% { background: #fff; } 80% { background: var(--green-50); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

.strip { padding: 64px 0 24px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.strip-item i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green-50); display: grid; place-items: center; color: var(--green-700); }
.strip-item i svg { width: 20px; height: 20px; }
.strip-item b { display: block; font-family: var(--display); font-size: 15.5px; }
.strip-item small { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; margin-top: 2px; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; border-radius: var(--radius); background: #fff; padding: 28px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #d3dedb, var(--shadow-md); }
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.025em; margin-top: 18px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); box-shadow: inset 0 0 0 1px var(--green-100); }
.icon svg { width: 23px; height: 23px; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.card-dark { background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: #fff; box-shadow: var(--shadow-md); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .78); }
.card-dark .icon { background: rgba(255, 255, 255, .1); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

.flow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.flow span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.flow span.done { background: var(--green-50); color: var(--green-700); box-shadow: inset 0 0 0 1px var(--green-100); }
.flow span.now { background: var(--green-700); color: #fff; box-shadow: none; }
.flow em { font-style: normal; color: #b8c4c0; align-self: center; }

.wa { margin-top: 22px; background: #e9f7ef; border-radius: 16px; padding: 14px; font-size: 14px; color: #183f2c; position: relative; max-width: 360px; }
.wa::before { content: ""; position: absolute; left: -6px; top: 16px; border: 7px solid transparent; border-right-color: #e9f7ef; border-left: 0; }
.wa small { display: block; text-align: right; color: #6a8a79; font-size: 11.5px; margin-top: 6px; }

.roles { margin-top: 22px; display: grid; gap: 8px; }
.role { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; }
.role .avatar { background: rgba(143, 227, 211, .18); color: var(--mint); }
.role small { margin-left: auto; color: rgba(255, 255, 255, .65); font-size: 12.5px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 22px; }
.bars span { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--green-600), var(--green-200)); }

/* Split: phone & desktop */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.split .lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--green-600); margin-top: 1px; }
.checks b { color: var(--ink); }
.devices { position: relative; aspect-ratio: 5 / 4; }
.devices .laptop {
  position: absolute; inset: 6% 0 14% 4%; border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(12, 58, 52, .08); overflow: hidden; display: grid; grid-template-columns: 26% 1fr;
}
.devices .laptop .side { background: #fff; border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 6px; }
.devices .laptop .side span { height: 10px; border-radius: 6px; background: var(--line); }
.devices .laptop .side span.on { background: var(--green-200); }
.devices .laptop .main { background: var(--bg-soft); padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.devices .laptop .main div { height: 74px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.devices .laptop .main div.wide { grid-column: span 3; height: 120px; background: linear-gradient(180deg, #fff, #fff), #fff; }
.devices .laptop .main .chart { display: flex; align-items: flex-end; gap: 6px; padding: 14px; }
.devices .laptop .main .chart i { flex: 1; border-radius: 4px; background: var(--green-200); }
.devices .laptop .main .chart i:nth-child(odd) { background: var(--green-600); }
.devices .mini-phone { position: absolute; right: 0; bottom: 0; width: 32%; aspect-ratio: 9 / 18; border-radius: 26px; background: #0e1d1b; padding: 7px; box-shadow: var(--shadow-lg); }
.devices .mini-phone div { height: 100%; border-radius: 20px; background: var(--bg-soft); padding: 26px 10px 10px; display: grid; gap: 7px; align-content: start; }
.devices .mini-phone span { height: 34px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.devices .mini-phone span.hi { background: var(--green-700); box-shadow: none; height: 58px; }
.sync-dot { position: absolute; left: 58%; top: 2%; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; }
.sync-dot i { width: 8px; height: 8px; border-radius: 50%; background: #28c941; box-shadow: 0 0 0 4px rgba(40, 201, 65, .18); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font: 800 17px var(--display); color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-700));
  box-shadow: 0 8px 16px -8px rgba(23, 107, 96, .7);
}
.step h3 { margin-top: 20px; font-size: 20px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 30px 26px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.plan h3 { font-size: 19px; font-weight: 800; }
.plan .for { color: var(--muted); font-size: 14.5px; margin-top: 4px; min-height: 44px; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.price b { font: 800 46px/1 var(--display); letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 15px; }
.plan .billed { font-size: 13px; color: var(--muted); }
.plan .btn { margin-top: 22px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--green-600); margin-top: 2px; }
.plan li.plus { font-weight: 600; color: var(--ink); }
.plan.featured {
  background: linear-gradient(170deg, var(--green-800), var(--green-900)); color: #fff;
  box-shadow: var(--shadow-lg); transform: translateY(-10px);
}
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan.featured .for, .plan.featured .price span, .plan.featured .billed { color: rgba(255, 255, 255, .7); }
.plan.featured ul { color: rgba(255, 255, 255, .86); }
.plan.featured li.plus { color: #fff; }
.plan.featured li svg { color: var(--mint); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #3d2900; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(242, 184, 75, .8); white-space: nowrap; }
.pricing-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1px #cfdad6, var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 17px var(--display); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--green-700); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 48px; text-align: center; color: #fff;
  background: radial-gradient(60% 100% at 100% 0%, rgba(143, 227, 211, .35), transparent 60%), linear-gradient(160deg, var(--green-700), var(--green-900));
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 70%);
}
.cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; position: relative; z-index: 1; }
.cta p { margin: 16px auto 0; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .8); position: relative; z-index: 1; }
.cta .hero-ctas { position: relative; z-index: 1; }

/* Footer */
.footer { padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; }
.footer ul a:hover { color: var(--green-700); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
  .phone { opacity: 1; transform: rotate(3deg); }
}

/* ---------- Legal pages ---------- */
.doc { padding: 64px 0 96px; }
.doc .container { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.035em; }
.doc .updated { color: var(--muted); margin-top: 8px; }
.doc h2 { font-size: 22px; font-weight: 800; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--green-700); font-weight: 600; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound h1 { font-size: clamp(64px, 12vw, 140px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(120deg, var(--green-700), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { margin: 12px 0 28px; color: var(--ink-2); font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 180px 260px 1fr; }
  .phone { right: -8px; width: 210px; }
}
@media (max-width: 900px) {
  .nav, .header-actions .signin { display: none; }
  .menu-btn { display: block; }
  .mobile-nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 49; display: grid; gap: 4px; padding: 12px 20px 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .mobile-nav a { padding: 14px 8px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 12px; }
  body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 80px 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-3, .span-2, .span-4 { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr 1.3fr; }
  .app-side { display: none; }
  .phone { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 48px; }
  .hero h1 br { display: none; }
  .header-actions .btn { display: none; }
  .bento { grid-template-columns: 1fr; }
  .span-3, .span-2, .span-4 { grid-column: auto; }
  .pricing { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-detail { display: none; }
  .window { transform: none; }
  .cta { padding: 56px 22px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}
