/* Forsinka landing page.
   Built from the Claude Design canvas "Forsinka — landing page".
   Tokens from platform/docs/design.md section 2. Sizes in rem at a 16 px root.
   Header, hero, the commuter card and the footer stay on night in both themes.
   Fluid layout, max content width 1200 px, works at 360 px. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/space-grotesk-600.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --ink: #101a2c;
  --paper: #f6f4ee;
  --paper2: #ece8de;
  --card: #fffdf8;
  --line: #d6d0c2;
  --card-line: #e2dccf;
  --muted: #4a5568;
  --signal: #f2a93b;
  --on-signal: #101a2c;
  --signal-text: #9a5b00;
  --night: #101a2c;
  --on-night: #f6f4ee;
  --on-night-link: #d5dce6;
  --on-night-muted: #c9d2de;
  --on-night-faint: #a9b4c4;
  --mock-card: #fffdf8;
  --mock-ink: #101a2c;
  --mock-muted: #4a5568;
  --mock-line: #d6d0c2;
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", Georgia, sans-serif;
  --font-text: "Inter", "SF Pro Text", "Segoe UI", Arial, sans-serif;
  --gutter: 2rem;
  --section-y: 6rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6f4ee;
    --paper: #0b1220;
    --paper2: #141e31;
    --card: #17233a;
    --line: #2a3650;
    --card-line: #2a3650;
    --muted: #b9c3d3;
    --signal-text: #f2a93b;
    --mock-card: #17233a;
    --mock-ink: #f6f4ee;
    --mock-muted: #b9c3d3;
    --mock-line: #2a3650;
  }
}

@media (max-width: 40rem) {
  :root {
    --gutter: 1.25rem;
    --section-y: 4rem;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  max-width: 75rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  color: var(--signal-text);
}

/* Night bands: header, hero, footer */

.band-night {
  background: var(--night);
  color: var(--on-night);
}

.band-night .eyebrow {
  color: var(--signal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--on-night);
  text-decoration: none;
}

.brand-dot {
  color: var(--signal);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-night-link);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--signal);
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: var(--section-y);
}

.hero-copy {
  flex: 999 1 32.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.09375rem;
}

.lede {
  max-width: 35rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--on-night-muted);
}

.fine-print {
  font-size: 0.875rem;
  color: var(--on-night-faint);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.btn-primary {
  background: var(--signal);
  color: var(--on-signal);
}

.btn-primary:hover {
  background: #f7bf68;
}

.btn-outline {
  border: 2px solid var(--on-night);
  color: var(--on-night);
}

.btn-outline:hover {
  background: var(--on-night);
  color: var(--night);
}

@media (max-width: 26rem) {
  .actions .btn {
    flex: 1 1 100%;
  }
}

/* Hero notification mock-ups */

.alerts {
  flex: 1 1 21.25rem;
  max-width: 26.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alert {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.125rem 1.375rem;
  border-radius: 22px;
  background: var(--mock-card);
  color: var(--mock-ink);
}

.alert-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mock-muted);
}

.alert-body {
  font-size: 1rem;
  line-height: 1.4;
}

.alert-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.alert-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.alert-action-primary {
  background: var(--mock-ink);
  color: var(--mock-card);
}

.alert-action-secondary {
  border: 2px solid var(--mock-line);
  color: var(--mock-ink);
}

/* Sections */

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-paper2 {
  background: var(--paper2);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-head {
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-head h2 {
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.section-intro {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 2px solid var(--card-line);
  border-radius: 16px;
  background: var(--card);
}

.card h3 {
  font-size: 1.375rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.card .step-number {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--signal-text);
}

/* Evidence */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  align-items: center;
}

.split-copy {
  flex: 1 1 26.25rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.split-copy h2 {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  line-height: 1.1;
}

.timeline {
  flex: 1 1 23.75rem;
  min-width: 0;
  margin: 0;
}

.timeline ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 3px solid var(--signal);
}

.timeline-when {
  width: 6.875rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-what {
  font-size: 1.0625rem;
  line-height: 1.45;
}

.timeline-note {
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 26rem) {
  .timeline li {
    gap: 0.75rem;
  }

  .timeline-when {
    width: 5rem;
    font-size: 1.125rem;
  }
}

/* Pricing */

.price-cards {
  max-width: 22rem;
}

.price-cards .card {
  gap: 0.625rem;
}

.price-cards h3 {
  font-size: 1.25rem;
}

.price-cards .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.price-cards p {
  font-size: 0.9375rem;
}





/* Questions */

.questions {
  max-width: 53.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.questions h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.1;
}

.qa {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.qa:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.qa h3 {
  font-size: 1.25rem;
}

.qa p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Footer */

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copy h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
  line-height: 1.1;
}

.footer-copy p {
  color: var(--on-night-muted);
}
