/* Aqua wash from the icon, teal-blue for the things you act on (as in the app), marigold for the photo you keep. */

@font-face {
  font-family: "Host Grotesk";
  src: url("/fonts/host-grotesk-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette: the icon's Aqua ground and navy ink, the app's
     teal-blue for everything you click, marigold as the warm accent. */
  --bg: #f5f9f9;
  --bg-alt: #eaf4f4;
  --surface: #ffffff;
  --text: #18262c;
  --muted: #56676c;
  --ink: #0e2e3c;          /* icon ink: wordmark, dark bands */
  --accent: #2d7ea2;       /* app primary: buttons, links (white text 4.55:1) */
  --accent-hover: #236a8a;
  --tint: #dcf1f0;         /* pale aqua: hero wash, tags */
  --tint-deep: #a9dcd9;    /* aqua on ink: secondary text in dark bands */
  --marigold: #f4a73b;
  --marigold-ink: #8a5a00;
  --border: #d3e2e2;
  --focus: #2d7ea2;
  --font: "Host Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --max: 68rem;
  --radius: 0.75rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 var(--space-sm); }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 var(--space-sm); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-md); }

.skip-link {
  position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem;
  background: var(--ink); color: #fff; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.75rem var(--space-md);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand img { width: 2rem; height: 2rem; }
.brand span { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.site-nav { display: flex; gap: var(--space-md); }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.sub-nav { border-top: 1px solid var(--border); }
.sub-nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.55rem var(--space-md);
  display: flex; gap: var(--space-md); overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.sub-nav-inner a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.sub-nav-inner a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.35rem; border-radius: 999px; font: inherit; font-weight: 650;
  text-decoration: none; border: 1.5px solid transparent; transition: background 150ms, border-color 150ms;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--accent); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn small { font-weight: 500; opacity: 0.75; }

/* Hero */
.hero {
  padding: var(--space-xl) 0 var(--space-2xl);
  background:
    radial-gradient(60rem 30rem at 95% -10%, rgba(244, 167, 59, 0.14), transparent 60%),
    linear-gradient(180deg, var(--tint) 0%, var(--bg) 85%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-xl); align-items: center; }
.hero-mark { display: flex; align-items: center; gap: 0.85rem; margin-bottom: var(--space-md); }
.hero-mark img { width: 3.5rem; height: 3.5rem; filter: drop-shadow(0 6px 14px rgba(14, 46, 60, 0.18)); }
.hero-mark span { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.hero-hook { font-size: 1.2rem; font-weight: 600; }
.hero-lead { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: var(--space-md) 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.3rem 0.8rem 0.3rem 0.65rem; border-radius: 999px; font-size: 0.92rem;
  background: var(--surface); border: 1px solid var(--border);
}
.chips li::before { content: "✓"; color: var(--marigold-ink); font-weight: 700; margin-right: 0.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-md); }
.actions-note { margin-top: var(--space-sm); font-size: 0.92rem; color: var(--muted); }

/* Screenshots */
.shot { margin: 0; }
.shot img {
  border-radius: var(--radius); background: var(--surface);
  box-shadow: 0 1px 2px rgba(30, 47, 82, 0.08), 0 18px 40px -12px rgba(30, 47, 82, 0.28);
}
.shot figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }

/* Sections */
.section { padding: var(--space-2xl) 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-xl); align-items: center; }
.feature-reverse .feature-copy { order: 2; }
.feature-list { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: grid; gap: var(--space-md); }
.feature-list h3 { margin-bottom: 0.25rem; }
.feature-list p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-md);
}
.card p { color: var(--muted); margin: 0; }

.outcome { text-align: center; }
.outcome .wrap { max-width: 44rem; }
.outcome p { font-size: 1.15rem; color: var(--muted); }

/* Compare */
.table-wrap { overflow-x: auto; margin-top: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 40rem; }
th, td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: 0.92rem; color: var(--muted); font-weight: 600; background: var(--bg); }
thead th:last-child { color: var(--accent); }
tbody th { font-weight: 600; width: 22%; }
tbody td { color: var(--muted); }
tbody td:last-child { color: var(--text); background: rgba(220, 234, 248, 0.35); }
.fineprint { font-size: 0.88rem; color: var(--muted); margin-top: var(--space-sm); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-lg); }
.tier-pro { border: 2px solid var(--accent); }
.tier .tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--tint); color: var(--ink); margin-bottom: var(--space-sm);
}
.tier-pro .tag { background: var(--marigold); color: var(--ink); }
.tier ul { padding-left: 1.2rem; margin: var(--space-sm) 0 0; color: var(--muted); }
.tier li { margin-bottom: 0.35rem; }
.note-strong {
  margin-top: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: var(--radius);
  background: var(--tint); color: var(--ink);
}

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); margin-top: var(--space-lg); }
.platform {
  display: flex; flex-direction: column; gap: 0.35rem; padding: var(--space-md);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
}
a.platform:hover { border-color: var(--accent); }
.platform strong { font-size: 1.05rem; }
.platform span { font-size: 0.9rem; color: var(--muted); }
.platform .status { font-weight: 650; color: var(--accent); }
.platform.soon .status { color: var(--muted); }

.closing { text-align: center; background: var(--ink); color: #fff; }
.closing h2 { color: #fff; }
.closing p { color: var(--tint-deep); }
.closing .actions { justify-content: center; }
.closing .btn-primary { background: var(--marigold); color: var(--ink); }
.closing .btn-primary:hover { background: #ffc95c; }
.closing .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.closing .btn-secondary:hover { border-color: #fff; color: #fff; }

/* Text pages (privacy, terms, support) */
.page { padding: var(--space-xl) 0 var(--space-2xl); }
.page .wrap { max-width: 46rem; }
.page h1 { margin-bottom: var(--space-sm); }
.page h2 { font-size: 1.35rem; margin-top: var(--space-lg); }
.page h3 { margin-top: var(--space-md); }
.page p, .page li { color: #34444a; }
.page ul { padding-left: 1.3rem; }
.page li { margin-bottom: 0.4rem; }
.page .updated { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-lg) 0; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: var(--space-lg); }
  .feature-reverse .feature-copy { order: 0; }
  .grid, .grid-3, .tiers { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: var(--space-xl) 0; }
  .hero { padding-bottom: var(--space-lg); }
}
@media (max-width: 520px) {
  .site-nav { gap: var(--space-sm); }
  .platforms { grid-template-columns: 1fr; }
  .hero-mark span { font-size: 2rem; }
}
