.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.landing-svg, .nav svg, .hero svg, .section svg, .toast-card svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }

/* ---------- Nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); }
.brand-printery { height: 24px; width: auto; }
.brand-by { display: flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; }
.brand-by img { height: 13px; width: auto; opacity: .75; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; gap: 6px; }
.btn-ghost-plain { background: transparent; }
.btn-ghost-plain:hover { background: var(--surface-2); }
.light-only { display: block; }
.dark-only { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .light-only { display: none; }
  :root:not([data-theme="light"]) .dark-only { display: block; }
}
/* forced dark theme (theme switch) */
:root[data-theme="dark"] .light-only { display: none; }
  :root[data-theme="dark"] .dark-only { display: block; }

@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 480px) { .brand-by { display: none; } .nav-cta .btn-ghost-plain { display: none; } }

/* ---------- Hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 0;
  background:
    radial-gradient(800px 420px at 50% -80px, color-mix(in srgb, var(--mint) 38%, transparent), transparent 70%),
    radial-gradient(600px 400px at 100% 40%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    radial-gradient(600px 400px at 0% 60%, color-mix(in srgb, var(--mint) 16%, transparent), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
}
.hero-copy { position: relative; text-align: center; display: grid; justify-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); background: var(--surface);
  color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 30%, transparent); }
.hero h1 { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.04em; line-height: 1.03; max-width: 15em; text-wrap: balance; }
.hl { background: linear-gradient(100deg, var(--brand) 10%, #2fbf96 60%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 40em; font-size: clamp(17px, 1.7vw, 19.5px); color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Showcase: browser + phone + desktop app + toast */
.showcase { position: relative; margin-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.showcase figure { margin: 0; }
.browser {
  position: relative; z-index: 1; width: min(980px, 88%); margin: 0 auto !important;
  border-radius: 16px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgb(255 255 255 / 60%) inset, 0 30px 80px -20px rgb(17 28 26 / 30%), 0 10px 30px -10px rgb(17 28 26 / 18%);
}
.browser-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.url { display: flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 12.5px; transform: translateX(-24px); }
.url svg { width: 12px; height: 12px; }
.browser img { width: 100%; height: auto; display: block; }

.phone {
  position: absolute; z-index: 3; right: max(0px, calc(50% - 590px)); bottom: 8px; width: clamp(150px, 19%, 230px);
  padding: 7px; border-radius: 34px; background: #0b1211;
  box-shadow: 0 0 0 1px #2b3a37, 0 30px 70px -10px rgb(0 0 0 / 45%);
}
.phone img { width: 100%; height: auto; display: block; border-radius: 28px; }
.desktop-app {
  position: absolute; z-index: 2; left: max(0px, calc(50% - 590px)); bottom: 30px; width: clamp(150px, 17%, 210px);
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -12px rgb(17 28 26 / 35%);
}
.desktop-app img { width: 100%; height: auto; display: block; }
.toast-card {
  position: absolute; z-index: 4; right: clamp(8px, 9%, 140px); top: -26px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -12px rgb(17 28 26 / 30%);
  animation: float 6s ease-in-out infinite;
}
.toast-card b { display: block; font-size: 14px; }
.toast-card small { color: var(--muted); font-size: 12.5px; }
.tc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.tc-icon svg { width: 18px; height: 18px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .browser { width: 100%; }
  .desktop-app { display: none; }
  .phone { right: 4px; bottom: 0; width: 30%; max-width: 170px; }
  .toast-card { right: 8px; top: -30px; }
}
@media (max-width: 560px) {
  .browser-bar { height: 28px; } .url { display: none; }
  .phone { width: 36%; border-radius: 24px; padding: 5px; } .phone img { border-radius: 20px; }
  .toast-card { left: 12px; right: auto; top: -34px; padding: 8px 12px 8px 8px; }
  .toast-card b { font-size: 13px; } .tc-icon { width: 28px; height: 28px; }
  .showcase { padding-bottom: 56px; }
}

/* ---------- Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 22px 0; font-size: 14.5px; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; color: var(--ink); font-weight: 600; }

/* ---------- Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -.03em; text-wrap: balance; }
.section-sub { margin-top: 14px; font-size: 17px; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; display: flex; flex-direction: column; padding: 0 0 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step-shot { height: 260px; overflow: hidden; display: grid; place-items: start center; padding-top: 26px; background: linear-gradient(160deg, var(--brand-soft), var(--surface-2)); border-bottom: 1px solid var(--line); }
.step-shot img { height: auto; border-radius: 14px; box-shadow: 0 16px 40px -12px rgb(17 28 26 / 30%); border: 1px solid var(--line); }
.shot-app img { width: 62%; }
.shot-code img { width: 74%; }
.shot-phone img { width: 52%; border-radius: 22px; border: 5px solid #0b1211; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; margin: 22px 26px 12px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; }
.step h3 { font-size: 19px; margin: 0 26px 8px; }
.step p { margin: 0 26px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.split > * { min-width: 0; }
.split-rev .split-copy { order: 2; }
.split-copy h3 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -.025em; margin: 12px 0 14px; text-wrap: balance; }
.split-copy > p { color: var(--muted); font-size: 17px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) 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.2 2.2 4.8-4.8' fill='none' stroke='%2300776f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.frame { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -24px rgb(17 28 26 / 28%); background: var(--surface); }
.frame img { width: 100%; height: auto; display: block; }
.media-phone { display: grid; place-items: center; padding: 24px 0; background: radial-gradient(closest-side, var(--brand-soft), transparent); }
.phone-static { position: static; width: min(270px, 70%); }
.code {
  margin: 0; padding: 26px 28px; border-radius: 16px; overflow-x: auto;
  background: #0c1715; color: #cfe3dd; border: 1px solid #1d2c29;
  font: 14px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-shadow: 0 30px 70px -24px rgb(17 28 26 / 40%);
}
.code .c { color: #6f8a84; } .code .k { color: #55d9b1; } .code .s { color: #f2c98a; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-rev .split-copy { order: 0; }
}

.mini-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.mini { display: grid; gap: 4px; padding: 22px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.mini svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 8px; }
.mini b { font-size: 16px; }
.mini span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .mini-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .mini-features { grid-template-columns: 1fr; } }

/* ---------- Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 20px; }
.plan-for { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price { font-size: 48px; font-weight: 800; letter-spacing: -.04em; margin: 18px 0 2px; }
.price small { font-size: 18px; font-weight: 700; margin-right: 4px; vertical-align: 20px; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .checks { margin: 18px 0 28px; flex: 1; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 30px 70px -24px color-mix(in srgb, var(--brand) 45%, transparent); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Final + footer */
.final { padding: clamp(64px, 8vw, 104px) 0; text-align: center; color: #eafaf5;
  background: radial-gradient(700px 320px at 50% 0%, rgb(85 217 177 / 40%), transparent 70%), linear-gradient(160deg, #00776f, #004f49); }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.035em; color: #fff; }
.final p { margin: 14px auto 30px; max-width: 34em; font-size: 18px; color: #c9efe3; }
.btn-white { background: #fff; color: #00544e; }
.btn-white:hover { background: #eafaf5; }

.footer { background: #0b1211; color: #8fa39e; font-size: 14.5px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 40px 0; }
.footer-brand { display: grid; gap: 8px; }
.footer-printery { height: 22px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: #c4d4d0; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-parallax { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #8fa39e; text-decoration: none; font-size: 13px; }
.footer-parallax img { height: 18px; width: auto; }
@media (max-width: 700px) { .footer-parallax { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) { .toast-card { animation: none; } }

/* Mobile menu */
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu { display: grid; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-menu .mm-login { border-bottom: 0; color: var(--brand); }
@media (max-width: 900px) { .menu-btn { display: grid; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Hero headline: nicer breaks on phones */
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .hero h1 br { display: none; }
  .hl { display: block; }
}

/* Pricing: 4 plans + monthly/yearly toggle */
.billing-toggle { display: flex; width: fit-content; margin: -16px auto 32px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.billing-toggle button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.billing-toggle button span { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--brand); }
.billing-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.billing-toggle button[aria-pressed="true"] span { color: #d8f7ec; }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plans-4 .plan { padding: 26px 22px; }
.price em { font-style: normal; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 24px auto 0; max-width: 46em; }
@media (max-width: 1100px) { .plans-4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
@media (max-width: 640px) { .plans-4 { grid-template-columns: 1fr; max-width: 460px; } }
