:root {
  --cream: #f6f0e4;
  --paper: #fdfaf3;
  --ink: #17233d;
  --ink-soft: #4a5468;
  --teal: #12836e;
  --teal-deep: #0b5f50;
  --teal-tint: #e3f0ea;
  --coral: #e05a4b;
  --amber: #d98e32;
  --line: #e4dccb;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(23, 35, 61, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 240, 228, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em;
  color: var(--teal-deep); text-decoration: none;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 600;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta {
  background: var(--teal); color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--teal-deep); }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: 84px 0 96px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 800; color: var(--teal); margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 800;
}
.lede { font-size: 1.16rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34rem; }
.lede-sm { font-size: 1.05rem; color: var(--ink-soft); margin: 16px 0 22px; }
.lede-sm.wide { max-width: 46rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; font-size: 1rem;
}
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 10px 26px rgba(18, 131, 110, 0.35); }
.btn.primary:hover { background: var(--teal-deep); }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.hero-points { list-style: none; margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-points li {
  font-size: 0.88rem; font-weight: 700; color: var(--teal-deep);
  padding-left: 22px; position: relative;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal-tint); border: 2.5px solid var(--teal);
}
.hero-media { position: relative; }
.desk-shot {
  width: 82%; margin-left: auto;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.phone-shot {
  width: min(240px, 42%); margin-top: -32%;
  border-radius: 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow); position: relative; z-index: 2;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
}

/* ---------- shared ---------- */
.band { padding: 88px 0; }
.band.tint { background: var(--paper); }
.band.dark { background: var(--ink); color: var(--cream); }
.band.dark .lede-sm, .band.dark .ticks li { color: #c9d2e2; }
.band.dark .kicker { color: #7fd6c3; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem;
  font-weight: 800; color: var(--coral); margin-bottom: 14px;
}
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h2 em { color: var(--teal); font-style: normal; }
.band.dark h2 em { color: #7fd6c3; }
h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 18px; }
.band.dark .note { color: #c9d2e2; }
.micro { font-size: 0.85rem; color: var(--ink-soft); margin-top: 18px; }
.micro a { color: var(--teal-deep); font-weight: 700; }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 0; }
}

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; counter-reset: s; }
.steps li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative;
}
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 0.95rem;
  margin-bottom: 14px;
}
.steps p { font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* mini steps (fall heuristic) */
.mini-steps { list-style: none; margin-top: 24px; }
.mini-steps li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0 14px 40px; position: relative;
  border-bottom: 1px solid var(--line);
}
.mini-steps li:last-child { border-bottom: 0; }
.mini-steps li::before {
  content: ""; position: absolute; left: 6px; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal);
}
.mini-steps strong { font-size: 0.98rem; }
.mini-steps span { font-size: 0.85rem; color: var(--ink-soft); }

/* tick lists */
.ticks { list-style: none; margin-top: 8px; }
.ticks li {
  padding: 10px 0 10px 34px; position: relative;
  color: var(--ink-soft); font-size: 0.98rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-tint);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4.5 9.5l3 3 6-7' stroke='%2312836e' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 18px;
}
.ticks.warn li::before {
  background: #f7e3d6;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M9 3.5v6' stroke='%23d98e32' stroke-width='2.4' stroke-linecap='round'/><circle cx='9' cy='13.4' r='1.4' fill='%23d98e32'/></svg>");
  background-size: 18px;
}
.big-claim {
  margin-top: 22px; font-size: 1.15rem; font-weight: 800; line-height: 1.4;
  border-left: 4px solid var(--teal); padding-left: 18px;
}

/* cards */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.cards.five { }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
}
.card p { font-size: 0.88rem; color: var(--ink-soft); }
.card em { font-style: normal; font-weight: 700; color: var(--teal-deep); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* screenshots */
.shot-card { }
.shot-card img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); width: 100%;
}
.shot-card figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 12px; }
.band.dark .shot-card figcaption { color: #c9d2e2; }

.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; } }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px;
}
.gallery figure img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff;
}
.gallery figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* CTA + footer */
.band.cta { background: var(--teal-deep); color: #fff; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.band.cta .lede-sm { color: #cfe8e0; margin: 16px 0 30px; }
.band.cta .hero-actions { justify-content: center; }
.band.cta .btn.primary { background: #fff; color: var(--teal-deep); box-shadow: none; }
.band.cta .btn.ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.band.cta .btn.ghost:hover { background: rgba(255,255,255,0.12); }
.band.cta .micro { color: #a8cfc5; margin-top: 30px; }

footer { padding: 44px 0 52px; }
.footer-inner { text-align: center; }
.footer-tags { display: flex; justify-content: center; gap: 26px; margin-bottom: 16px; }
.footer-tags span { font-weight: 800; font-size: 0.92rem; color: var(--teal-deep); }
footer p { font-size: 0.85rem; color: var(--ink-soft); }
footer a { color: var(--teal-deep); }
