/* ==========================================================================
   FitFerry — styles.css
   Direction: "Wayfinding". Flat brand green, heavy tight type, arrows
   doing real work. One stylesheet for all three pages. No frameworks.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */

:root {
  color-scheme: light dark;

  --green: #1EB093;        /* brand green, sampled from the app icon */
  --green-text: #0B8A70;   /* darker green, safe for text on light bg */
  --ink: #07211A;
  --ink-2: #47605A;
  --paper: #FFFFFF;
  --paper-2: #F2F7F5;
  --line: #DCE7E3;

  /* green blocks are always brand green, in both color schemes */
  --hero-ink: #07211A;

  --col: 1100px;
  --measure: 64ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green-text: #2BC7A4;
    --ink: #E9F1EE;
    --ink-2: #93A8A1;
    --paper: #0C1512;
    --paper-2: #101B17;
    --line: #22332D;
  }
}

/* ---- Base -------------------------------------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-text); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 1.75rem);
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 0 0 10px 0;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Eyebrow with signage bar */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-text); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--green); flex: none; }

h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
}
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: var(--measure); text-wrap: pretty; }

/* ---- Header ------------------------------------------------------------ */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 60px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--green); display: grid; place-items: center; flex: none;
}
.site-nav { display: flex; gap: clamp(1rem, 3vw, 1.6rem); }
.site-nav a {
  color: var(--ink-2); text-decoration: none;
  font-size: 0.9375rem; font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

/* ---- Green blocks: home hero + sub-page headers ------------------------- */

.hero, .page-hero {
  background: var(--green); color: var(--hero-ink);
  position: relative; overflow: hidden;
}
.hero a:not(.cta), .page-hero a { color: var(--hero-ink); }

.tag {
  display: inline-flex; align-items: center;
  font-size: 0.8125rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 1.6rem;
}

/* Home hero */
.hero .wrap {
  position: relative; z-index: 1;
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  line-height: 0.98; font-weight: 800; letter-spacing: -0.045em;
  margin-bottom: 1.1rem;
}
.hero .sub {
  font-size: 1.25rem; line-height: 1.5; font-weight: 500;
  max-width: 30ch; margin-bottom: 2.1rem; text-wrap: pretty;
}
.cta {
  display: inline-block; background: var(--hero-ink); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 12px;
}
.cta:hover { color: #fff; background: #0d3229; }
.cta small { display: block; font-weight: 500; font-size: 0.75rem; opacity: 0.75; }
.hero .fine { font-size: 0.875rem; font-weight: 500; margin-top: 1rem; opacity: 0.85; }

/* Sub-page header band */
.page-hero .wrap {
  position: relative; z-index: 1;
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  line-height: 0.98; font-weight: 800; letter-spacing: -0.045em;
  margin-bottom: 0.6rem;
}
.page-hero .sub {
  font-size: 1.1875rem; font-weight: 500; max-width: 52ch;
  margin: 0; text-wrap: pretty;
}
.page-hero .doc-date { font-size: 0.875rem; font-weight: 600; margin: 1.1rem 0 0; opacity: 0.85; }

/* Giant watermark of the app mark, cropped by the block edge */
.big-f { position: absolute; right: -60px; bottom: -110px; width: 480px; }
.page-hero .big-f { width: 300px; right: -70px; bottom: -130px; }

/* Device frame (screenshot placeholder) */
.device {
  justify-self: center; position: relative; z-index: 1;
  width: min(240px, 64vw); aspect-ratio: 1290 / 2796;
  border: 9px solid var(--hero-ink); border-radius: 40px;
  background: #fff;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 30px 60px -30px rgba(4, 40, 32, 0.55);
}
.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
}

/* ---- Signpost rows ------------------------------------------------------- */

.signs { border-bottom: 1px solid var(--line); background: var(--paper); }
.signs .wrap { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.sign {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink); border-radius: 12px;
  padding: 9px 18px; font-weight: 800; font-size: 0.9375rem;
  letter-spacing: 0.02em; color: var(--ink);
}
.sign .arr { color: var(--green-text); }
a.sign { text-decoration: none; }
a.sign:hover { background: var(--paper-2); color: var(--ink); }

/* ---- Sections ------------------------------------------------------------ */

.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 3.5rem; margin-top: 3rem;
}
.feature { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.feature h3 {
  font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em;
  display: flex; gap: 10px; align-items: baseline; margin-bottom: 0.4rem;
}
.feature h3 .a { color: var(--green-text); flex: none; }
.feature p { color: var(--ink-2); font-size: 1rem; }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; max-width: 780px; margin-top: 2.75rem;
}
.price { border: 2px solid var(--ink); border-radius: 16px; padding: 28px; }
.price.hot { background: var(--green); border-color: var(--green); color: #07211A; }
.price .p-label {
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.price .p-num {
  display: block; font-size: 2.375rem; font-weight: 800;
  letter-spacing: -0.04em; margin: 6px 0 8px;
}
.price p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); font-weight: 500; }
.price.hot p { color: #07211A; }
.pricing-note { margin-top: 1.4rem; font-size: 0.9375rem; color: var(--ink-2); }

/* FAQ */
.faq { margin-top: 2.75rem; max-width: var(--measure); display: grid; gap: 2rem; }
.faq h3 { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.faq h3::before { content: "→ "; color: var(--green-text); }
.faq p { color: var(--ink-2); }

/* ---- Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.1rem 0 3rem; color: var(--ink-2); font-size: 0.875rem;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: baseline; gap: 0.75rem 2rem;
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---- Document content (privacy, support) ----------------------------------- */

.doc { padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
/* Same column as the banner above, so body copy lines up with the banner
   text on the left; individual blocks are capped for a readable measure. */
.doc .wrap { max-width: var(--col); }
.doc .wrap > * { max-width: 800px; }
.doc > .wrap > p:first-child { font-size: 1.125rem; }

/* Signage bar above every section heading */
.doc h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin-top: 3rem;
}
.doc h2::before {
  content: ""; display: block;
  width: 34px; height: 4px; background: var(--green);
  margin-bottom: 12px; border-radius: 2px;
}
.doc h3 { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; margin-top: 2rem; }
.doc h3::before { content: "→ "; color: var(--green-text); }

.doc p, .doc li { color: var(--ink-2); }
.doc p strong, .doc li strong { color: var(--ink); }

/* Arrow list markers */
.doc ul { margin: 0 0 1em; padding: 0; list-style: none; }
.doc li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55em; }
.doc li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--green-text); font-weight: 800;
}

/* Sign-style callout */
.callout {
  border: 2px solid var(--ink); border-radius: 14px;
  padding: 1.1rem 1.35rem; margin: 1.75rem 0;
}
.callout p { margin: 0; color: var(--ink); font-weight: 500; }
.callout p strong { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; display: block; margin-bottom: 0.35rem; color: var(--green-text); }

/* Contact sign: the email as a destination */
.contact-sign {
  display: inline-flex; align-items: center; gap: 12px;
  border: 2px solid var(--ink); border-radius: 14px;
  padding: 16px 24px; margin-top: 0.5rem;
  font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.contact-sign .arr { color: var(--green-text); }
.contact-sign:hover { background: var(--paper-2); color: var(--ink); }

/* ---- Responsive ------------------------------------------------------------ */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .big-f { width: 340px; right: -90px; bottom: -80px; }
  .page-hero .big-f { width: 240px; right: -80px; bottom: -110px; }
  .device { margin-top: 0.5rem; }
  .features-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .site-nav { gap: 0.9rem; }
  .site-nav a { font-size: 0.875rem; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 2.75rem); }
}

/* ---- Print (the privacy policy is a document people may print) ------------- */

@media print {
  .site-header, .site-footer, .signs, .big-f { display: none; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { background: #fff; color: #000; }
  .doc p, .doc li { color: #222; }
  a { color: #000; }
}
