:root {
  --blue: #3b82f6;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --amber: #d97706;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --danger: #b91c1c;
  --ok: #047857;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  /* Keep the footer at the bottom on short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

a { color: var(--blue-dark); }

img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--blue-dark); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.lang-switch {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font: inherit; font-weight: 500; font-size: 14px; color: var(--text); cursor: pointer;
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue-dark); }
.nav .btn, .lang-switch { white-space: nowrap; }
.show-sm { display: none; }
@media (max-width: 640px) { .nav { gap: 12px; } .nav .hide-sm { display: none; } .nav .show-sm { display: inline; } }

/* Long pages carry both languages; lang.js sets <html lang> before first paint. */
html[lang="es"] [data-lang="en"], html:not([lang="es"]) [data-lang="es"] { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue); }
.btn-outline:hover { background: #dbeafe; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn-block { width: 100%; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }
h1, h2 { text-wrap: balance; }
.lead { text-wrap: pretty; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 600; color: var(--blue-dark); margin-bottom: 8px; }

/* Hero */
.hero { padding: 96px 0 72px; background: linear-gradient(180deg, var(--blue-soft), var(--bg)); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; color: var(--muted); }

/* Pricing */
.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--amber); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan .price { font-size: 36px; font-weight: 700; color: var(--ink); margin: 12px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .price-note { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px; position: absolute; left: 2px; top: 8px; color: var(--blue); }
.plan.current { outline: 3px solid #bfdbfe; }
/* Two lines tall, so prices line up across cards */
.plan-tagline { min-height: 3.2em; }
@media (max-width: 860px) { .plan-tagline { min-height: 0; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--blue-dark); }

/* Prose (policies, help) */
.prose { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h3 { font-size: 17px; margin-top: 24px; }
.prose .updated { color: var(--muted); }
.prose li { margin: 4px 0; }

/* Forms / account */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { border: 0; background: none; font: inherit; font-weight: 600; padding: 10px 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--blue-dark); border-bottom-color: var(--blue); }
form { display: grid; gap: 14px; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
input { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
input:focus { outline: 2px solid #bfdbfe; border-color: var(--blue); }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.msg.error { background: #fef2f2; color: var(--danger); }
.msg.ok { background: #ecfdf5; color: var(--ok); }
.msg.info { background: var(--blue-soft); color: var(--blue-dark); }
.muted { color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-dark); cursor: pointer; text-decoration: underline; }
.plan-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.plan-name { font-size: 24px; font-weight: 700; color: var(--ink); }
.hidden { display: none !important; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Color: home page bands, dark footer ---------- */
:root {
  --navy: #0b2545;
  --navy-deep: #081a33;
  --ocean: #0e4f9c;
  --cyan: #06b6d4;
  --aqua-bg: #ecfeff;
  --sand-bg: #fff7ed;
  --sun: #fbbf24;
}

.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: #f59e0b; }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn-white { background: #fff; color: var(--ocean); }
.btn-white:hover { background: #e0f2fe; }

/* Hero: deep water with light caustics */
.hero-ocean {
  position: relative;
  overflow: hidden;
  padding-bottom: 120px;
  color: #e0f2fe;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(103, 232, 249, 0.35), transparent 70%),
    radial-gradient(500px 260px at 10% 90%, rgba(56, 189, 248, 0.3), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--ocean) 55%, #0891b2 100%);
}
.hero-ocean h1 { color: #fff; }
.hero-ocean h1 em { color: #67e8f9; }
.hero-ocean .eyebrow { color: #67e8f9; }
.hero-ocean .lead, .hero-ocean .note { color: #bae6fd; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--sand-bg); }
.wave-top { top: -1px; bottom: auto; fill: var(--bg); } /* the story section above pricing is white */

/* ---------- Home page ---------- */

/* Hero */
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.hero-chips li { font-size: 14px; font-weight: 500; color: #e0f2fe; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); padding: 6px 12px; border-radius: 999px; }
.hero-phone { justify-self: center; transform: rotate(2deg); }

/* Phone mockup, drawn in HTML to mirror the app's screens */
.phone {
  width: 290px; max-width: 100%; flex-shrink: 0;
  padding: 10px; border-radius: 42px; background: #0f172a;
  box-shadow: 0 30px 60px rgba(8, 26, 51, 0.35), inset 0 0 0 2px #334155;
}
.screen {
  display: flex; flex-direction: column; gap: 8px;
  height: 540px; overflow: hidden; border-radius: 32px;
  background: #f1f5f9; color: var(--text); font-size: 13px; line-height: 1.35;
}
.screen b { color: var(--ink); }
.screen small { display: block; font-size: 11.5px; }
.sb { display: flex; justify-content: space-between; padding: 12px 22px 0; font-size: 12px; font-weight: 600; color: var(--ink); }
.sb i { font-size: 11px; }
.app-head { padding: 4px 16px 2px; }
.app-head small { color: var(--muted); }
.app-head b { display: block; font-size: 22px; letter-spacing: -0.01em; }
.app-card { margin: 0 12px; padding: 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); }
.app-card .label { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 10.5px; margin-bottom: 6px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pct { font-weight: 700; color: var(--blue); }
.bar { height: 8px; margin: 8px 0 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.next-card { border: 2px solid #bfdbfe; }
.next-card .big { display: block; font-size: 17px; margin: 2px 0; }
.btn-row { display: flex; gap: 8px; margin-top: 10px; }
.mini-btn { flex: 1; text-align: center; padding: 8px 6px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; }
.mini-btn.ghost { background: var(--blue-soft); color: var(--blue-dark); }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 12px; }
.stat-row .app-card { margin: 0; }
.stat b { display: block; font-size: 22px; }
.stat small { color: var(--muted); }
.stat.warn b { color: var(--amber); }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 14px 8px 20px; background: #fff; border-top: 1px solid var(--line); color: #94a3b8; font-size: 17px; }
.tabbar .on { color: var(--blue); }
.stops { display: grid; gap: 8px; }
.stop { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.stop i { color: #cbd5e1; }
.stop.done { color: var(--muted); text-decoration: line-through; }
.stop.done i { color: #22c55e; }
.save-btn { margin: auto 12px 18px; padding: 12px; text-align: center; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 600; }
.readings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.readings span { padding: 8px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.readings b { display: block; font-size: 16px; }
.checks { display: grid; gap: 8px; }
.checks span { color: var(--muted); }
.checks .on { color: var(--ink); }
.checks .on i { color: var(--blue); }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph { display: flex; align-items: flex-end; height: 72px; padding: 6px 8px; border-radius: 10px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.ph-before { background: linear-gradient(160deg, #a3b18a, #4d7c0f); }
.ph-after { background: linear-gradient(160deg, #67e8f9, #0284c7); }
.pool-hero { margin: 0 12px; padding: 18px 14px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--ocean), var(--cyan)); }
.pool-hero b { display: block; color: #fff; font-size: 18px; }
.pool-hero small { color: #cffafe; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; }
.spec-grid span { font-size: 10.5px; color: var(--muted); }
.spec-grid b { display: block; font-size: 13px; }
.gate { display: flex; gap: 10px; align-items: center; }
.gate > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #fef3c7; color: var(--amber); }
.gate .label { margin-bottom: 0; }
.hist { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); }
.hist:first-of-type { border-top: 0; }
.hist span:first-child { font-weight: 600; color: var(--ink); }
.issue { border-left: 4px solid var(--line); }
.issue.crit { border-left-color: #dc2626; }
.issue.rep { border-left-color: var(--amber); }
.issue.low { border-left-color: var(--blue); }
.issue.done { opacity: 0.6; }
.sev { flex-shrink: 0; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.sev.crit { background: #fee2e2; color: #b91c1c; }
.sev.rep { background: #fef3c7; color: #b45309; }
.sev.low { background: #dbeafe; color: #1d4ed8; }
.sev.ok { background: #dcfce7; color: #15803d; }

/* Before / after */
section.sand { background: var(--sand-bg); }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; max-width: 860px; margin: 40px auto 0; }
.vs-card { position: relative; padding: 36px 22px 22px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(154, 52, 18, 0.08); }
.vs-label { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.vs-before .vs-label { background: #fed7aa; color: #9a3412; }
.vs-after .vs-label { background: var(--blue); color: #fff; }
.vs-after { border: 2px solid #bfdbfe; }
.vs-arrow { font-size: 22px; color: #fb923c; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { align-self: flex-start; max-width: 85%; margin: 0; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: #f1f5f9; color: var(--text); font-size: 14px; }
.bubble.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #22c55e; color: #fff; }
.stop-done { display: grid; gap: 12px; }
.stop-done > .row-between b { font-size: 17px; color: var(--ink); }
.pill-ok { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #dcfce7; color: #15803d; white-space: nowrap; }
.reading-row { display: flex; gap: 8px; }
.reading-row span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.reading-row b { color: var(--ink); }
.stop-done .ph { height: 64px; }
@media (max-width: 760px) {
  .versus { grid-template-columns: 1fr; gap: 28px; }
  .vs-arrow { justify-self: center; transform: rotate(90deg); }
}

/* Feature showcase: a mockup per job, alternating sides */
section.aqua { background: linear-gradient(180deg, var(--aqua-bg), #e0f2fe); }
.feature { display: flex; align-items: center; justify-content: center; gap: 72px; margin-top: 72px; }
.feature.flip { flex-direction: row-reverse; }
.feature-text { max-width: 400px; }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ocean); }
.feature h3 { font-size: clamp(26px, 3.4vw, 34px); margin: 8px 0 8px; letter-spacing: -0.01em; }
.feature-text > p { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; color: var(--ink); }
.ticks li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: var(--blue); color: #fff; }
.week { width: 460px; max-width: 100%; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(14, 79, 156, 0.15); }
.week-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--ink); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.legend i { width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.dot-a { background: var(--blue); }
.dot-b { background: var(--cyan); }
.week-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 8px 6px; border-radius: 12px; background: #f8fafc; }
.day small { text-align: center; font-weight: 700; color: var(--muted); font-size: 12px; }
.day.today { background: var(--blue-soft); outline: 2px solid #bfdbfe; }
.day.today small { color: var(--blue-dark); }
.r { padding: 8px 4px; border-radius: 8px; color: #fff; font-size: 11px; font-weight: 600; text-align: center; }
.r.a { background: var(--blue); }
.r.b { background: var(--cyan); }
/* Phones: just the count; "stops" / "paradas" doesn't fit a day column. */
@media (max-width: 480px) { .r .stops-word { display: none; } }
.extras { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.extras li { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 22px 14px; border-radius: var(--radius); background: #fff; border: 1px solid #bae6fd; }
.extras i { width: 44px; height: 44px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--ocean); font-size: 18px; }
.extras b { color: var(--ink); }
.extras span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .feature, .feature.flip { flex-direction: column; gap: 32px; margin-top: 64px; }
  .feature-text { text-align: center; }
  .ticks { justify-content: center; text-align: left; }
  .extras { grid-template-columns: 1fr 1fr; }
}

/* Offline-first: deep water, with waves in and out */
section.deep {
  position: relative; overflow: hidden;
  padding: 140px 0 130px;
  background:
    radial-gradient(500px 260px at 90% 20%, rgba(103, 232, 249, 0.18), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%);
}
.deep .wave-in { top: -1px; bottom: auto; fill: #e0f2fe; } /* bottom of the features gradient */
.deep .wave-out { fill: var(--bg); } /* story section below is white */
section.deep h2 { color: #fff; }
section.deep .eyebrow { color: #67e8f9; }
section.deep .lead { color: #bae6fd; }
.signal-flow { list-style: none; padding: 0; margin: 48px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
/* Dashed line running behind the three icons */
.signal-flow::before { content: ''; position: absolute; top: 36px; left: 16.6%; right: 16.6%; border-top: 2px dashed rgba(103, 232, 249, 0.45); }
.signal-flow li { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; color: #bae6fd; }
.sf-icon { width: 72px; height: 72px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 2px solid #67e8f9; color: #67e8f9; font-size: 26px; }
.sf-icon.off { border-color: var(--sun); color: var(--sun); }
/* Slash through the signal bars */
.sf-icon.off i { position: relative; }
.sf-icon.off i::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; border-top: 3px solid var(--sun); transform: rotate(-45deg); box-shadow: 0 0 0 2px var(--navy); }
.signal-flow b { color: #fff; font-size: 18px; }
.offline-note { margin: 40px 0 0; text-align: center; font-weight: 600; color: #ecfeff; }
.offline-note i { color: #67e8f9; margin-right: 6px; }
@media (max-width: 600px) {
  /* Stay in one row on phones, just smaller */
  .signal-flow::before { top: 28px; }
  .sf-icon { width: 56px; height: 56px; font-size: 20px; }
  .signal-flow b { font-size: 15px; }
  .signal-flow small { font-size: 12px; }
  section.deep { padding: 110px 0 100px; }
}

/* Story */
section.story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.story-text p:last-child { font-size: 18px; color: var(--text); margin-bottom: 0; }
.story .hl { display: block; color: var(--ocean); }
.story-rule {
  margin: 0; padding: 28px 30px;
  background: var(--navy); color: #fff; border-radius: 20px;
  font-size: 22px; font-weight: 600; line-height: 1.4;
  box-shadow: 0 14px 34px rgba(11, 37, 69, 0.18);
}
.rule-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing: navy */
section.navy { position: relative; background: var(--navy); padding-top: 130px; }
section.navy h2 { color: #fff; }
section.navy .lead { color: #bae6fd; }
section.navy .plan { border-color: transparent; }
section.navy .plan.featured { border-color: var(--cyan); box-shadow: 0 20px 50px rgba(6, 182, 212, 0.35); }

/* Beta: lagoon */
section.lagoon { background: linear-gradient(120deg, var(--cyan), var(--blue)); }
section.lagoon h2 { color: #fff; }
section.lagoon .lead { color: #e0f2fe; }

/* Footer: dark on every page */
.site-footer { background: var(--navy-deep); border-top: 0; color: #94a3b8; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #67e8f9; }

/* Inner pages: a soft tinted backdrop instead of plain white */
body:has(main.prose) { background: linear-gradient(180deg, #eff6ff 0, #ffffff 360px); }
main.prose .panel { box-shadow: 0 8px 24px rgba(14, 79, 156, 0.06); }
