:root {
  --coral: #ee7e6d;
  --coral-ink: #d95f4c;
  --ink: #1c2230;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --card: #ffffff;
  --border: #e6eaf0;
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 8px 30px rgba(20, 30, 50, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f6; --muted: #9aa4b4; --bg: #14171e; --bg-alt: #1a1e27;
    --card: #1e232d; --border: #2a303c; --shadow: 0 8px 30px rgba(0,0,0,0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--coral-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--coral); color: #fff; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; border: none; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--coral-ink); text-decoration: none; }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-alt); }

/* Hero */
.hero { padding: 72px 0 48px; background: radial-gradient(1200px 500px at 70% -10%, color-mix(in srgb, var(--coral) 18%, transparent), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 12px; }
.accent { color: var(--coral-ink); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.fineprint { color: var(--muted); font-size: 0.9rem; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(220px, 60vw); height: auto; filter: drop-shadow(var(--shadow)); border-radius: 28px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 28px; text-align: center; }
.muted { color: var(--muted); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

/* App cards (home) */
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--coral-ink); margin: 0 0 6px; }
.app-card { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); text-decoration: none; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.app-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(20,30,50,0.12); }
.app-icon { border-radius: 16px; margin-bottom: 14px; }
.app-icon.placeholder { width: 72px; height: 72px; display: grid; place-items: center; font-size: 2rem; color: var(--muted); background: var(--bg-alt); border: 2px dashed var(--border); }
.app-link { margin-top: auto; padding-top: 10px; color: var(--coral-ink); font-weight: 600; }
.app-card.coming-soon { border-style: dashed; box-shadow: none; }
.app-card.coming-soon h3, .app-card.coming-soon p { color: var(--muted); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--coral); border-width: 2px; }
.price-card .badge { position: absolute; top: -12px; left: 26px; background: var(--coral); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 700; margin: 8px 0 0; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-sub { color: var(--muted); font-size: 0.9rem; margin: 4px 0 14px; }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 22px; }
.price-card li { padding: 6px 0 6px 26px; position: relative; color: var(--ink); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Contact form */
.contact { display: grid; gap: 14px; margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.contact input, .contact textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--ink); width: 100%;
}
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--coral); border-color: var(--coral); }

/* Prose */
.prose h2 { margin-top: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* Responsive */
@media (max-width: 719px) {
  /* Keep the header to one tidy row on phones (zero-JS: no hamburger). */
  .nav-links a:not(.btn) { display: none; }
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
