/* AquaBooks marketing site — www.aquabooks.online
   Plain CSS, no framework. Brand: navy #02315B, blue #0B6FD6, teal #0FAE9E, cyan #19C3D6. */
:root {
  --navy: #02315b;
  --navy-2: #0b2e5c;
  --ink: #0b2e5c;
  --ink-soft: #3b5576;
  --ink-mute: #5b7290;
  --blue: #0b6fd6;
  --blue-dark: #0959ad;
  --teal: #0b8f83;
  --teal-bright: #0fae9e;
  --teal-light: #2dd4bf;
  --cyan: #19c3d6;
  --ice: #eef6fc;
  --ice-2: #f6fafd;
  --line: #d6e4f0;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(2, 49, 91, 0.06), 0 8px 24px rgba(2, 49, 91, 0.08);
  --max: 1180px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-ice { background: var(--ice-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #c9d7ea; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-navy .eyebrow { color: var(--teal-light); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-mute); }
.small { font-size: 0.9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-teal { background: var(--teal-light); color: var(--navy); }
.btn-teal:hover { background: #5eead4; color: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a.nav-link, .nav button.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; background: none; border: 0; font-family: inherit; cursor: pointer; min-height: 44px; }
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav a.nav-link[aria-current="page"] { background: var(--ice); color: var(--navy); }
.has-menu { position: relative; }
.submenu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0; }
.has-menu.open .submenu { display: block; }
.submenu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.submenu a:hover { background: var(--ice); }
.submenu strong { display: block; font-size: 0.97rem; }
.submenu span { display: block; font-size: 0.85rem; color: var(--ink-mute); }
.nav-actions { display: flex; gap: 8px; align-items: center; margin-left: 8px; }
.nav-actions .btn { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-actions { margin: 12px 0 0; flex-direction: column; align-items: stretch; }
}

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--ice-2), #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .lead { font-size: 1.25rem; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-weight: 500; }
.tick { flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; color: var(--teal); }
.hero-note { font-size: 0.92rem; color: var(--ink-mute); margin-top: 14px; }
.shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; overflow: hidden; }
.shot img { width: 100%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink-soft); font-size: 0.97rem; }
.trust-item svg { flex-shrink: 0; width: 34px; height: 34px; color: var(--blue); }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-ice { background: var(--ice); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ice); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 26px; height: 26px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color 0.15s, box-shadow 0.15s; }
.card-link:hover { border-color: var(--blue); box-shadow: var(--shadow); color: inherit; }
.card-link .more { color: var(--blue); font-weight: 700; font-size: 0.95rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 0; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.steps li::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* At a glance (AI-friendly facts box) */
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ice-2); padding: 24px 28px; }
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .facts dl { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--ice); border-radius: 999px; padding: 4px; gap: 4px; margin: 8px 0 32px; }
.billing-toggle button { border: 0; background: none; font-family: inherit; font-weight: 700; font-size: 0.97rem; color: var(--ink-soft); padding: 10px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(2,49,91,0.12); }
.save-pill { font-size: 0.75rem; background: var(--teal-light); color: var(--navy); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.plan-featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan-featured h3, .plan-featured .price { color: #fff; }
.plan-featured .plan-desc, .plan-featured .price-note { color: #c9d7ea; }
.plan-badge { position: absolute; top: -14px; left: 28px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--teal-light); color: var(--navy); padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.6rem; margin: 0; }
.plan-desc { color: var(--ink-soft); font-size: 0.97rem; margin: 0; min-height: 3em; }
.price { margin: 0; font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ink-mute); }
.plan-featured .price small { color: #c9d7ea; }
.price-note { font-size: 0.9rem; color: var(--ink-mute); margin: 0; min-height: 1.4em; }
.plan .checklist { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; font-size: 0.97rem; flex-grow: 1; }
.plan-featured .checklist { border-color: rgba(255,255,255,0.18); }
.plan-featured .tick { color: var(--teal-light); }
.plan .btn { width: 100%; }
[data-cycle="yearly"] .show-monthly, [data-cycle="monthly"] .show-yearly { display: none; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ice-2); font-weight: 800; white-space: nowrap; }
tbody th { font-weight: 600; }
td.c, th.c { text-align: center; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.yes { color: var(--teal); font-weight: 800; }
.no { color: var(--ink-mute); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.center .faq { margin: 0 auto; text-align: left; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 16px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--ink-mute); }
.page-hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--ice-2), #fff); border-bottom: 1px solid var(--line); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 26px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c9d7ea; margin: 0; }
.cta-band .accent { color: var(--teal-light); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11,111,214,0.15); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.form-status.ok { background: #e6f7f4; color: #075e56; }
.form-status.err { background: #fdecec; color: #8a1c1c; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* Prose (legal pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.notice { background: #fff7e6; border: 1px solid #f3d9a4; color: #6b4a07; border-radius: 12px; padding: 14px 18px; margin-bottom: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d7ea; padding: 64px 0 0; margin-top: 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d7ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { width: 200px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.9rem; }
.wave { display: block; width: 100%; height: 70px; }

/* Sign-up promotion (Black Friday etc.) -- added by site.js while it runs */
.promo-bar { background: #0b0f19; color: #fff; font-size: 15px; line-height: 1.45; padding: 10px 0; }
.promo-bar .container { display: flex; gap: 12px 20px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.promo-bar strong { color: #fbbf24; }
.promo-bar .promo-left { color: #fde68a; white-space: nowrap; }
.promo-bar .promo-cta { background: #fbbf24; color: #0b0f19; font-weight: 700; padding: 6px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.promo-bar .promo-cta:hover, .promo-bar .promo-cta:focus-visible { background: #fde68a; }
.price-was { color: var(--ink-mute); font-weight: 500; font-size: .6em; margin-right: 4px; }
td .price-was { font-size: .9em; }
.promo-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #fbbf24; color: #0b0f19; font-size: 13px; font-weight: 800; vertical-align: middle; }
