/* AnglerCall. Palette from a NOAA nautical chart: shallow-water blue, deeper sounding blue,
   chart land buff, chart ink, and the magenta charts use for lights and buoys. */
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url("/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --water: #E8F1F2;
  --sounding: #A9CCD6;
  --deep: #5E8C9C;
  --land: #EDD9A3;
  --ink: #102A43;
  --ink-soft: #3B556E;
  --magenta: #A3195B;
  --magenta-dark: #7E1145;
  --white: #FFFFFF;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--water);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--magenta); }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.6rem; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  font: 700 1.05rem/1 var(--body);
  text-decoration: none;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--magenta);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--magenta-dark); border-color: var(--magenta-dark); }
.btn-small { padding: .65rem 1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--magenta); border-color: var(--white); }
.btn-light:hover { background: var(--land); border-color: var(--land); }
.btn-block { display: block; text-align: center; }
.fine { font-size: .92rem; color: var(--ink-soft); margin-top: 1rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(232, 241, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(16, 42, 67, .08); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 900 1.7rem/1 var(--display); }
.brand-mark { width: 32px; height: 32px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.nav nav a:hover { color: var(--magenta); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.chart { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 6.4vw, 5.4rem); font-weight: 900; line-height: .94; text-wrap: balance; }
.lede { font-size: 1.25rem; max-width: 34em; margin: 1.4rem 0 1.8rem; color: var(--ink-soft); }
.lede strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; margin: 0; min-height: 800px; }
.photo {
  position: absolute; top: 0; right: 0; left: 120px; height: 520px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 42, 67, 0) 55%, rgba(16, 42, 67, .35)),
    url("/img/hero.jpg") center 10% / cover,
    linear-gradient(160deg, #6FA3B5, #2F5E74);
}
.call {
  position: absolute; left: 0; bottom: 0; width: min(350px, 92%);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(16, 42, 67, .45);
  padding: 18px 18px 16px;
}
.call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #E3ECEE; }
.call-head b { display: block; font-size: 1rem; }
.call-head small { color: var(--ink-soft); font-size: .8rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2E9E62; box-shadow: 0 0 0 4px rgba(46, 158, 98, .18); flex: none; }
.timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .9rem; }
.lines { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; line-height: 1.4; }
.lines li { padding: 9px 12px; border-radius: 14px; max-width: 88%; }
.lines .them { background: var(--water); justify-self: start; border-bottom-left-radius: 4px; }
.lines .us { background: var(--ink); color: var(--white); justify-self: end; border-bottom-right-radius: 4px; }
.slip { background: #FBF4DF; border: 1px dashed #CDB46A; border-radius: 14px; padding: 12px 14px; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--magenta); }
.slip-head span { font-size: .82rem; color: var(--ink-soft); }
.slip dl { margin: 8px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.slip dt { font-size: .75rem; color: var(--ink-soft); }
.slip dd { margin: 0; font-weight: 700; font-size: .95rem; }
.slip p { margin: 0; font-size: .82rem; color: var(--ink-soft); }

/* The one orchestrated moment: the example call plays once on load. */
@media (prefers-reduced-motion: no-preference) {
  .lines li, .slip { opacity: 0; transform: translateY(6px); animation: show .45s ease-out forwards; }
  .lines li:nth-child(1) { animation-delay: .5s; }
  .lines li:nth-child(2) { animation-delay: 1.5s; }
  .lines li:nth-child(3) { animation-delay: 2.7s; }
  .lines li:nth-child(4) { animation-delay: 3.6s; }
  .slip { animation-delay: 4.8s; }
  @keyframes show { to { opacity: 1; transform: none; } }
}

/* Band: the problem */
.band { position: relative; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.band-photo {
  background:
    url("/img/console.jpg") center / cover,
    linear-gradient(200deg, #2F5E74, #102A43);
}
.band-copy { padding: 72px 48px; max-width: 620px; align-self: center; margin: 0; }
.band-copy h2 { margin-bottom: 1.2rem; }
.band-copy p { color: #D3E2E7; font-size: 1.2rem; }
.band-copy strong { color: var(--white); }

/* How it works */
.how { padding: 96px 0; }
.how h2 { margin-bottom: 40px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before {
  content: counter(step);
  display: block;
  font: 900 3.2rem/1 var(--display);
  color: var(--magenta);
  margin-bottom: 10px;
}
.steps h3 { margin-bottom: .6rem; }
.steps p { font-size: 1.02rem; color: var(--ink-soft); }
.steps strong { color: var(--ink); }

/* Will / won't */
.rules { background: var(--white); padding: 96px 0; }
.section-lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; margin: 1rem 0 2.4rem; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rules-grid > div { border-radius: 20px; padding: 28px 30px; }
.will { background: var(--water); }
.wont { background: #F7EAF0; }
.rules-grid h3 { margin-bottom: .8rem; }
.rules-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.rules-grid li { position: relative; padding-left: 30px; }
.rules-grid li::before { position: absolute; left: 0; top: .05em; font-weight: 700; }
.will li::before { content: "\2713"; color: #2E7D57; }
.wont li::before { content: "\2715"; color: var(--magenta); }

/* Pricing */
.pricing { padding: 96px 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.pricing-copy p { font-size: 1.2rem; color: var(--ink-soft); max-width: 30em; margin-top: 1rem; }
.pricing-copy strong { color: var(--ink); }
.price-card { background: var(--white); border-radius: 26px; padding: 32px; border: 2px solid var(--ink); }
.price-founding { display: flex; align-items: center; gap: 16px; }
.amount { font: 900 5.4rem/.9 var(--display); color: var(--magenta); }
.per { font-size: 1rem; line-height: 1.35; }
.price-standard { color: var(--ink-soft); margin: 10px 0 18px; padding-bottom: 18px; border-bottom: 1px solid #E3ECEE; }
.price-card ul { margin: 0 0 24px; padding-left: 1.1em; display: grid; gap: .6rem; font-size: 1.02rem; }

/* Works with */
.works { background: var(--land); padding: 36px 0; }
.works-row { display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.works p { margin: 0; max-width: 46em; }
.works-links { display: flex; gap: 20px; flex: none; }
.works-links a { color: var(--ink); font-weight: 700; }

/* FAQ */
.faq { padding: 96px 0; }
.faq-wrap { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid rgba(16, 42, 67, .18); }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.2rem; padding: 20px 40px 20px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 800 1.8rem/1 var(--display); color: var(--magenta); }
details[open] summary::after { content: "\2013"; }
details p { color: var(--ink-soft); max-width: 40em; padding-bottom: 8px; }

/* Close */
.close { background: var(--magenta); color: var(--white); padding: 88px 0; text-align: center; }
.close-wrap { max-width: 860px; }
.close h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; margin-bottom: 32px; text-wrap: balance; }
.close p { margin-top: 20px; color: #F6D9E6; }
.close p a { color: var(--white); }

/* Footer */
.foot { background: var(--ink); color: #B9CBD4; padding: 28px 0; font-size: .92rem; }
.foot-row { display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--white); }

/* Tablet */
@media (max-width: 980px) {
  .chart { display: none; }
  .nav nav { gap: 18px; }
  .hero-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .band-photo { min-height: 260px; }
  .band-copy { padding: 56px 24px; }
  .pricing-grid { gap: 36px; }
}

@media (max-width: 760px) {
  .nav nav { display: none; }
  .nav-row { justify-content: space-between; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .nav nav { display: none; }
  .nav-row { justify-content: space-between; height: 60px; }
  .hero { padding: 32px 0 48px; }
  .chart { display: none; }
  .lede { font-size: 1.12rem; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .hero-visual { min-height: 0; }
  .photo { position: relative; inset: auto; height: 220px; border-radius: 20px; }
  .call { position: relative; width: 100%; margin-top: -40px; }
  .steps, .rules-grid { grid-template-columns: 1fr; }
  .how, .rules, .pricing, .faq { padding: 64px 0; }
  .price-card { padding: 24px; }
  .amount { font-size: 4.4rem; }
  .works-row, .foot-row { flex-direction: column; align-items: flex-start; }
}

/* Legal pages */
.legal { background: var(--white); padding: 72px 0 96px; }
.legal-wrap { max-width: 780px; }
.legal-kicker { color: var(--magenta); font-weight: 700; font-size: .95rem; margin-bottom: .6rem; }
.legal h1 { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 900; margin-bottom: 1.4rem; }
.legal h2 { font-size: 2rem; margin: 2.6rem 0 .8rem; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.3rem; margin: 1.4rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: .45rem; }
.legal-who { background: var(--water); border-radius: 16px; padding: 16px 20px; }
@media (max-width: 640px) { .legal { padding: 48px 0 64px; } }
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 34px; } }
