/* AhoyConsole marketing site — shared design system.
 *
 * Light coastal clean: airy whitespace, deep navy text, teal accents,
 * warm sand alternates. No build step; every marketing page links this
 * file plus /static/site.js. Tokens live on :root so a palette change
 * is a one-file edit.
 */

/* ---------------------------------------------------------------- tokens */

:root {
  --navy: #0b2c3d;
  --deep: #071f2b;
  --ink: #1f3d4c;
  --ink-2: #53707e;
  --ink-3: #8a9da7;
  --teal: #0e8e80;
  --teal-dark: #0b7264;
  --teal-bright: #16bba9;
  --teal-tint: #e2f3f0;
  --sand: #f6f1e7;
  --foam: #f7fafa;
  --surface: #ffffff;
  --line: #e2eaec;
  --line-soft: #ecf1f2;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --shadow-soft: 0 1px 2px rgba(11, 44, 61, 0.05), 0 8px 24px rgba(11, 44, 61, 0.06);
  --shadow-lift: 0 2px 6px rgba(11, 44, 61, 0.08), 0 24px 56px rgba(11, 44, 61, 0.14);

  --container: 1120px;
}

/* ---------------------------------------------------------------- reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------- typography */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
}

h3 {
  font-size: 22px;
  line-height: 1.3;
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38em;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.center {
  text-align: center;
}

.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------- layout */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 96px 0;
}

section.tight {
  padding: 64px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

/* ------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 250, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-right: auto;
}

.brand:hover {
  text-decoration: none;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* The generic `.nav-links a` color above must not bleed into the CTA
 * button that lives in the same nav. */
.nav-links a.btn-primary {
  color: #fff;
}

.nav-links a.btn-primary:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}

/* Pages with a cinematic hero (the homepage) float the header over the
 * footage: fixed + transparent at the top of the page, easing back to
 * the standard frosted bar once you scroll (site.js toggles .scrolled). */
.site-header.header-clear {
  position: fixed;
  left: 0;
  right: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.header-clear:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-clear:not(.scrolled) .brand,
.header-clear:not(.scrolled) .nav-toggle {
  color: #fff;
}

.header-clear:not(.scrolled) .nav-links a {
  color: rgba(235, 245, 247, 0.85);
}

.header-clear:not(.scrolled) .nav-links a:hover,
.header-clear:not(.scrolled) .nav-links a[aria-current="page"] {
  color: #fff;
}

/* The dropped-down mobile menu paints its own light panel — its links
 * must keep their light-theme colors even while the bar is transparent. */
.header-clear:not(.scrolled) .nav-links.open a {
  color: var(--ink-2);
}

.header-clear:not(.scrolled) .nav-links.open a.btn-primary {
  color: #fff;
}

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 142, 128, 0.28);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-3);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

/* ------------------------------------------------------------- hero */

.hero {
  padding: 88px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  /* The hero headline is a full sentence pair — scale it down from the
   * display h1 so it holds to 2–3 lines, and balance the wrap. */
  font-size: clamp(32px, 4.2vw, 50px);
  text-wrap: balance;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-dark);
}

.hero .lede {
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(
    closest-side,
    rgba(22, 187, 169, 0.16),
    rgba(22, 187, 169, 0) 70%
  );
  z-index: 0;
}

/* ------------------------------------------------------- cinematic hero */
/* Full-bleed ocean footage behind the headline. The video is decoration
 * (aria-hidden, data-ambient); the scrim layers keep white copy readable
 * over open water and darken the top edge under the transparent header. */

.hero-cinema {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 92vh, 880px);
  padding: 150px 0 110px;
  background: var(--deep);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(7, 31, 43, 0.6),
      rgba(7, 31, 43, 0.16) 28%,
      rgba(7, 31, 43, 0.1) 62%,
      rgba(7, 31, 43, 0.52) 100%
    ),
    linear-gradient(
      100deg,
      rgba(7, 31, 43, 0.82) 0%,
      rgba(7, 31, 43, 0.52) 44%,
      rgba(7, 31, 43, 0.16) 76%,
      rgba(7, 31, 43, 0.04) 100%
    );
}

.hero-cinema .hero-grid {
  position: relative;
  z-index: 1;
}

.hero-cinema h1 {
  color: #fff;
}

.hero-cinema h1 em {
  color: var(--teal-bright);
}

.hero-cinema .lede {
  color: rgba(228, 241, 244, 0.92);
}

.hero-cinema .eyebrow {
  color: #d9f4f0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-cinema .signup input[type="email"] {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(7, 31, 43, 0.38);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-cinema .signup input[type="email"]::placeholder {
  color: rgba(235, 245, 247, 0.55);
}

.hero-cinema .signup input[type="email"]:focus {
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(22, 187, 169, 0.22);
}

.hero-cinema .signup-note {
  color: rgba(214, 231, 235, 0.72);
}

.hero-cinema .signup-msg {
  color: var(--teal-bright);
}

.hero-cinema .signup-msg.error {
  color: #f0a08c;
}

/* ------------------------------------------------------------- phone frame */

.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 80vw);
  border-radius: 52px;
  background: #0d1418;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}

.phone img,
.phone video {
  display: block;
  width: 100%;
  border-radius: 42px;
  background: #f4f7f8;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.phone.phone-back {
  position: absolute;
  z-index: 0;
  width: min(260px, 64vw);
  transform: translateX(-62%) translateY(7%) rotate(-5deg);
  left: 50%;
  opacity: 0.92;
}

.phone-back ~ .phone-front {
  transform: translateX(16%);
}

.phone-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------- signup form */

.signup {
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup input[type="email"]::placeholder {
  color: var(--ink-3);
}

.signup input[type="email"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 142, 128, 0.12);
}

.signup button {
  flex: none;
}

.signup button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.signup-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-3);
}

.signup-msg {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  min-height: 1.2em;
}

.signup-msg.error {
  color: #b4503a;
}

/* ------------------------------------------------------------- badge strip */

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.badge-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.badge-strip svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
}

/* ------------------------------------------------------------- cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* Cards differ in copy length; natural heights beat equal-height
   * rows full of trapped whitespace. */
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
}

.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 8px;
  /* No single-word orphans on wrapped card titles. */
  text-wrap: balance;
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ------------------------------------------------------------- split rows */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding: 56px 0;
}

.split + .split {
  border-top: 1px solid var(--line-soft);
}

.split .copy h2 {
  margin-bottom: 14px;
}

.split .copy p {
  color: var(--ink-2);
  max-width: 32em;
}

.split ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.split ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 16px;
}

.split ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--teal-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5l2.7 2.7L12 5.5" fill="none" stroke="%230b7264" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    center / 11px no-repeat;
}

.split ul li strong {
  color: var(--navy);
}

.split .visual {
  display: flex;
  justify-content: center;
}

.split.flip .visual {
  order: -1;
}

/* ------------------------------------------------------------- sand + dark bands */

.band-sand {
  background: var(--sand);
}

.band-dark {
  background: var(--deep);
  color: #c6d6dd;
}

.band-dark h2,
.band-dark h3 {
  color: #f2f7f8;
}

.band-dark .eyebrow {
  color: var(--teal-bright);
}

.band-dark .lede,
.band-dark p {
  color: #9fb5bf;
}

.band-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.band-dark .card h3 {
  color: #eef5f6;
}

.band-dark .card p {
  color: #9fb5bf;
}

.band-dark .card .card-icon {
  background: rgba(22, 187, 169, 0.14);
  color: var(--teal-bright);
}

/* List-item lead-ins inherit navy from the light theme — unreadable on
 * the dark band. */
.band-dark .split ul li {
  color: #9fb5bf;
}

.band-dark .split ul li strong,
.band-dark .plan ul li strong {
  color: #eef5f6;
}

/* A dark band with ambient footage behind it. The near-opaque veil keeps
 * the band's contrast intact — the motion reads as texture, not content. */
.band-video {
  position: relative;
  overflow: hidden;
}

.band-video .band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.band-video .band-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-video .band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 31, 43, 0.93),
    rgba(7, 31, 43, 0.87) 50%,
    rgba(7, 31, 43, 0.93)
  );
}

.band-video .container {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* --------------------------------------------------------- testimonials */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.quote blockquote {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.quote blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.6;
  color: var(--teal);
  margin-bottom: 10px;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote .who svg {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
}

.quote .who .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
}

.quote .who .boat {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ----------------------------------------------------------- setup strip */

.setup-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 40px 0;
  text-align: center;
}

.setup-strip h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.setup-strip p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16.5px;
}

/* ------------------------------------------------------------- pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 38px 34px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-lift);
}

.plan .plan-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.plan .price {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin: 6px 0 4px;
}

.plan .price small {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
}

.plan .price-note {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.plan ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--teal-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5l2.7 2.7L12 5.5" fill="none" stroke="%230b7264" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    center / 11px no-repeat;
}

.plan ul li strong {
  color: var(--navy);
}

.early-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  border: 1px solid #eadfca;
  color: #8a6d3b;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 7px 16px;
}

/* ------------------------------------------------------------- FAQ */

.faq-group {
  max-width: 760px;
  margin: 0 auto 48px;
}

.faq-group h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

details.faq {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

details.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  font-size: 16.5px;
  list-style: none;
  position: relative;
  padding-right: 52px;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--teal-dark);
}

details.faq[open] summary::after {
  content: "–";
}

details.faq .faq-body {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 15.5px;
}

details.faq .faq-body p {
  margin: 0 0 10px;
}

/* ------------------------------------------------------------- CTA band */

.cta-band {
  background: var(--navy);
  border-radius: var(--radius-l);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  color: #a9bfc9;
  max-width: 34em;
  margin: 0 auto 30px;
}

.cta-band .signup {
  margin: 0 auto;
  justify-content: center;
}

.cta-band .signup input[type="email"] {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.cta-band .signup input[type="email"]::placeholder {
  color: #7e97a3;
}

.cta-band .signup-note {
  color: #7e97a3;
}

.cta-band .signup-msg {
  color: var(--teal-bright);
}

.cta-band .signup-msg.error {
  color: #f0a08c;
}

/* ------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-3);
  max-width: 26em;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-col a {
  display: block;
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--navy);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer-bottom .leavingport {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ------------------------------------------------------------- diagram */

.diagram-wrap {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  padding: 36px;
}

.diagram-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 960px) {
  section {
    padding: 72px 0;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split.flip .visual {
    order: 0;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 28px;
    font-size: 17px;
  }

  .nav-links .btn {
    margin: 12px 28px 0;
  }

  .nav-toggle {
    display: block;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .signup {
    flex-direction: column;
  }

  .signup button {
    width: 100%;
  }

  .cta-band {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .phone.phone-back {
    display: none;
  }

  .phone-back ~ .phone-front {
    transform: none;
  }

  .hero-cinema {
    min-height: 0;
    padding: 118px 0 72px;
  }
}

/* ------------------------------------------------ prompt wall (homepage) */
/* A dense wall of tappable example prompts beside a demo panel. Tapping a
 * chip swaps the panel to that feature's demo (site.js); chips carry
 * data-img placeholders today and switch to data-video when the real demo
 * loops exist. */

.prompt-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 6px;
  /* site.js packs the chips (order is content-neutral) into rows and
   * stretches each row's chips a touch so every row fills the width with
   * a constant gap — flush edges without column-like seams. */
}

.prompt-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.25;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.prompt-chip:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.prompt-chip[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.prompt-media {
  display: flex;
  justify-content: center;
}

/* .phone img/video set display:block, which would defeat the hidden attr
 * used to swap between the placeholder image and the future video. */
.prompt-media img[hidden],
.prompt-media video[hidden] {
  display: none;
}

/* Playback progress: a thin red line inside the bottom of the phone frame,
 * driven by site.js while the demo video plays. */
.prompt-progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(11, 44, 61, 0.18);
  overflow: hidden;
  z-index: 2;
}

.prompt-progress i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: #e04f3f;
  /* timeupdate ticks ~4x/s; a short linear transition smooths the bar. */
  transition: width 0.25s linear;
}

@media (max-width: 960px) {
  .prompt-wall {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
