/* Cruise Smarter After 60 — landing page. Big type and high contrast for readers over 60. */

@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url("fonts/figtree-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 900; font-display: swap; src: url("fonts/figtree-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: italic; font-display: swap; src: url("fonts/source-serif-4-latin-600-italic.woff2") format("woff2"); }

:root {
  --navy: #13294B;
  --navy-2: #1B3560;
  --teal: #1F7A8C;
  --teal-tint: #E4F1F3;
  --sand: #F5EEE1;
  --sand-2: #EFE4CF;
  --yellow: #F2C230;
  --yellow-dark: #D9A400;
  --ink: #1B1B1B;
  --muted: #4A5560;
  --line: #DCCFB6;
  --white: #FFFFFF;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(19, 41, 75, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--serif); font-size: 19px; line-height: 1.6;
}
@media (min-width: 900px) { body { font-size: 20px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--sans); color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { padding: 76px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }

.kicker {
  font-family: var(--sans); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 0.8em;
  display: flex; align-items: center; gap: 12px;
}
.kicker::after { content: ""; width: 44px; height: 4px; background: var(--yellow); border-radius: 2px; }
.kicker-light { color: var(--yellow); }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; margin-bottom: 2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  font-family: var(--sans); font-weight: 800; font-size: 1.05rem; text-decoration: none;
  background: var(--yellow); color: var(--navy); border: 2px solid var(--yellow);
  border-radius: 12px; padding: 0.8em 1.4em; min-height: 56px; cursor: pointer;
  box-shadow: 0 6px 0 var(--yellow-dark); transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 0 var(--yellow-dark); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--yellow-dark); }
.btn-big { font-size: 1.2rem; min-height: 64px; padding: 0.85em 1.7em; }
.btn-block { width: 100%; }
.btn-small { font-size: 0.95rem; min-height: 44px; padding: 0.45em 1em; box-shadow: 0 4px 0 var(--yellow-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); color: var(--white); box-shadow: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 4px solid var(--yellow); outline-offset: 3px;
}

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.topbar-note { margin: 0; font-family: var(--sans); font-size: 0.95rem; }
.topbar-note strong { font-weight: 800; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: middle; }
.topbar-note, .topbar .btn { white-space: nowrap; }
.show-sm { display: none; }
@media (max-width: 560px) { .hide-sm { display: none; } .show-sm { display: inline; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--sand) 0%, #FBF7EF 100%); padding: 56px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 3.9rem); font-weight: 900; letter-spacing: -0.02em; }
.lead { font-size: 1.2rem; color: #2A3440; }
.hero-math {
  display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--sans); font-size: 1.1rem; font-weight: 600;
  background: var(--white); border-left: 6px solid var(--yellow); border-radius: 10px;
  padding: 14px 18px; box-shadow: 0 8px 24px -16px rgba(19, 41, 75, 0.35); color: var(--navy);
}
.hero-math strong { font-weight: 900; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 16px; }
.hero-fine { font-size: 0.98rem; color: var(--muted); max-width: 34em; }

.hero-visual { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
@media (max-width: 900px) { .hero-visual { min-height: 440px; } }
.tablet {
  position: relative; z-index: 2; width: min(360px, 78%);
  background: #0E1726; border-radius: 30px; padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(19, 41, 75, 0.6), inset 0 0 0 2px #2B3950;
}
.tablet img { border-radius: 14px; width: 100%; }
.tablet-sm { width: min(320px, 90%); margin: 0 auto; }
.hero-paper {
  position: absolute; z-index: 1; width: min(300px, 62%); left: 2%; top: 8%;
  transform: rotate(-8deg); border-radius: 4px; box-shadow: var(--shadow); background: var(--white);
}
.hero-sticker {
  position: absolute; z-index: 3; right: 4%; bottom: 8%;
  width: 132px; height: 132px; border-radius: 50%; background: var(--yellow); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--sans); font-weight: 900; font-size: 1.15rem; line-height: 1.1; transform: rotate(8deg);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}
.hero-sticker span { font-weight: 700; font-size: 0.8rem; margin-top: 4px; }

.proof {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px -20px rgba(19, 41, 75, 0.5);
}
.proof li { padding: 20px 22px; border-left: 1px solid var(--line); font-family: var(--sans); }
.proof li:first-child { border-left: 0; }
.proof strong { display: block; font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.proof li > span { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 800px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(3) { border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Ebook note ---------- */
.ebook-note { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.ebook-note-inner { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.ebook-note h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.35em; }
.ebook-note p { margin-bottom: 0.8em; }
.devices { color: var(--teal); }
@media (max-width: 640px) { .ebook-note-inner { grid-template-columns: 1fr; gap: 12px; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem; color: var(--navy);
  background: var(--teal-tint); border-radius: 999px; padding: 6px 14px;
}

/* ---------- The math ---------- */
.math { background: var(--navy); color: #E9EEF5; }
.math h2 { color: var(--white); }
.math .section-lead { color: #C9D4E3; }
.leaks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .leaks { grid-template-columns: 1fr; } }
.leak {
  display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: start;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 22px;
}
.leak-big { grid-column: 1 / -1; grid-template-columns: 250px 1fr; border-color: rgba(242, 194, 48, 0.55); }
@media (max-width: 560px) { .leak, .leak-big { grid-template-columns: 1fr; gap: 6px; } }
.leak .leak-cost { font-family: var(--sans); font-weight: 900; font-size: 2.3rem; color: var(--yellow); margin: 0; line-height: 1.05; }
.leak .leak-cost small { display: block; font-size: 1rem; font-weight: 800; color: #F6D873; }
.leak h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 0.35em; }
.leak p { color: #C9D4E3; font-size: 1rem; margin: 0; }
.math-bottom { font-family: var(--sans); font-size: 1.45rem; font-weight: 800; color: var(--white); margin: 34px 0 8px; }
.math-bottom strong { color: var(--yellow); font-weight: 900; }
.fine-light { font-size: 0.9rem; color: #9FB0C6; margin: 0; }

/* ---------- What's inside ---------- */
.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); gap: 18px; }
.chapter-card { background: var(--sand); border-radius: var(--radius); padding: 24px 24px 18px; border-top: 5px solid var(--teal); }
.ch-num { font-family: var(--sans); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.4em; }
.chapter-card h3 { font-size: 1.25rem; }
.chapter-card ul { margin: 0; padding: 0; list-style: none; }
.chapter-card li { position: relative; padding-left: 30px; margin: 0 0 0.55em; font-size: 1rem; line-height: 1.45; }
.chapter-card li::before {
  content: ""; position: absolute; left: 2px; top: 0.35em; width: 16px; height: 16px; border-radius: 4px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2313294B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Printables ---------- */
.printables { background: linear-gradient(180deg, #FBF7EF 0%, var(--sand) 100%); }
/* Small half-page previews: the pictures fade out halfway, and the badge says where the rest is. */
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 56px; }
@media (max-width: 760px) { .papers { grid-template-columns: minmax(0, 400px); gap: 40px; } }
.paper { margin: 0; }
.paper-link {
  display: block; position: relative; border-radius: 4px; background: var(--white); box-shadow: var(--shadow);
  transform: rotate(-2deg); transition: transform 0.2s ease; cursor: zoom-in;
}
.paper-right .paper-link { transform: rotate(2deg); }
.paper-link:hover { transform: rotate(0) scale(1.02); }
.paper-link img { border-radius: 4px; }
.paper-badge {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--sans); font-weight: 800; font-size: 0.88rem; line-height: 1.2; color: var(--white);
  background: var(--navy); border-radius: 999px; padding: 8px 16px;
}
.paper figcaption { margin-top: 22px; font-size: 1rem; color: var(--muted); }
.paper figcaption strong { display: block; font-family: var(--sans); font-weight: 800; font-size: 1.15rem; color: var(--navy); }

/* ---------- Look inside ---------- */
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .pages { grid-template-columns: repeat(2, 1fr); } }
.page { text-decoration: none; color: var(--navy); cursor: zoom-in; }
.page img { border-radius: 4px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.2s ease; }
.page:hover img { transform: translateY(-4px); }
.page span { display: block; margin-top: 12px; font-family: var(--sans); font-weight: 700; font-size: 0.98rem; }

/* ---------- Trust ---------- */
.trust { background: var(--teal-tint); }
.trust-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; gap: 10px; } }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li {
  background: var(--white); border-radius: var(--radius); padding: 18px 22px 18px 64px; margin-bottom: 14px;
  position: relative; font-size: 1.02rem; box-shadow: 0 8px 22px -18px rgba(19, 41, 75, 0.5);
}
.trust-list li::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.trust-list strong { display: block; font-family: var(--sans); font-weight: 800; color: var(--navy); font-size: 1.08rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }
.about-photo { border-radius: 24px; box-shadow: var(--shadow); border: 6px solid var(--white); outline: 1px solid var(--line); }
@media (max-width: 800px) { .about-photo { max-width: 280px; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--sand); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 18px; }
.review { background: var(--white); border-radius: var(--radius); padding: 24px; margin: 0; box-shadow: 0 8px 22px -18px rgba(19, 41, 75, 0.5); }
.review blockquote { margin: 0 0 14px; font-style: italic; font-size: 1.05rem; }
.review figcaption { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.review figcaption span { font-weight: 600; color: var(--muted); }

/* ---------- Order ---------- */
.order { background: linear-gradient(180deg, var(--sand) 0%, #FBF7EF 100%); }
.order-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; gap: 30px; } .order-visual { order: 2; } }
.order-box { background: var(--white); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); border: 2px solid var(--navy); }
@media (max-width: 560px) { .order-box { padding: 26px 20px; } }
.order-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.order-list { list-style: none; margin: 0 0 24px; padding: 0; }
.order-list li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.order-list li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2313294B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.order-list strong { color: var(--navy); }
.order-fine { font-size: 0.95rem; color: var(--muted); margin: 18px 0 12px; }
.order-fine strong { color: var(--navy); }
.guarantee { font-size: 0.98rem; background: var(--teal-tint); border-radius: 10px; padding: 12px 16px; margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-wrap { max-width: 860px; }
.faq details { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 8px 22px -20px rgba(19, 41, 75, 0.6); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative;
  font-family: var(--sans); font-weight: 800; font-size: 1.1rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--sand); color: var(--navy);
  font-size: 1.4rem; line-height: 32px; text-align: center; font-weight: 800;
}
.faq details[open] summary::after { content: "–"; background: var(--yellow); }
.faq details p { padding: 0 22px 20px; margin: 0; font-size: 1.02rem; }

/* ---------- Final ---------- */
.final { background: var(--navy); color: #E9EEF5; text-align: center; }
.final h2 { color: var(--white); }
.final p { font-size: 1.15rem; color: #C9D4E3; max-width: 36em; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { background: #0C1B33; color: #AEBBCC; padding: 36px 0 44px; font-family: var(--sans); }
.footer-inner { display: grid; gap: 10px; }
.footer-brand { margin: 0; color: var(--white); font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.footer-fine { font-size: 0.86rem; line-height: 1.5; margin: 6px 0 0; max-width: 60em; }

/* ---------- Lightbox ---------- */
html.lightbox-open { overflow: hidden; scrollbar-gutter: stable; }
.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 120;
  background: rgba(9, 20, 38, 0.94); overscroll-behavior: contain;
}
.lightbox[hidden] { display: none; }
.lightbox:not([hidden]) { animation: lightbox-in 0.16s ease-out; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-dialog { height: 100%; display: flex; flex-direction: column; align-items: center; padding: 78px 16px 16px; }
/* The picture is centered in whatever room is left and never grows past its own size. */
.lightbox-stage { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; }
.lightbox-img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto;
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  background: var(--white); border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.lightbox-close {
  position: absolute; top: 12px; right: 12px; min-height: 52px; padding: 0 20px;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--sans); font-weight: 800; font-size: 1.05rem; color: var(--navy);
  background: var(--white); border: 0; border-radius: 999px;
}
.lightbox-close span { font-size: 1.7rem; line-height: 1; margin-top: -2px; }
.lightbox-bar {
  width: 100%; max-width: 820px; margin-top: 14px;
  display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px;
}
.lightbox-nav {
  width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--navy);
}
.lightbox-nav[hidden] { display: flex; visibility: hidden; }
.lightbox-text { text-align: center; font-family: var(--sans); }
.lightbox-cap { margin: 0; color: var(--white); font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.lightbox-count { margin: 4px 0 0; color: #9FB0C6; font-size: 0.9rem; }
.lightbox-count:empty { display: none; }
@media (max-height: 520px) {
  .lightbox-dialog { padding: 12px 12px 10px; }
  .lightbox-close { top: 8px; right: 8px; min-height: 48px; padding: 0 16px; }
  .lightbox-bar { margin-top: 8px; }
  .lightbox-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .paper-link, .page img { transition: none; }
  .lightbox:not([hidden]) { animation: none; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { font-size: 1.02rem; }
.legal .updated { color: var(--muted); font-size: 0.95rem; }
.legal-back { font-family: var(--sans); font-weight: 700; display: inline-block; margin-bottom: 24px; }
