@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  src: url("/assets/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
}

:root {
  --canvas: #fcfbfa;
  --card: #ffffff;
  --ember: #e0293d;
  --ember-deep: #ba1730;
  --ember-soft: #fee9e7;
  --ink: #221e1c;
  --stone: #6e6660;
  --muted: #8b817a;
  --border: #ece7e3;
  --sunny-start: #fff3ec;
  --sunny-end: #fde8de;
  --shadow: 0 20px 55px rgba(131, 43, 51, 0.09);
  --radius-card: 24px;
  --radius-control: 999px;
  --max-content: 1120px;
  color-scheme: light;
}

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

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  min-width: 320px;
  overflow-wrap: break-word;
}

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

a {
  color: var(--ember-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ember);
}

a:focus-visible,
button:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(224, 41, 61, 0.32);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: var(--card);
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-main,
.site-footer {
  margin-inline: auto;
  max-width: var(--max-content);
  padding-inline: clamp(20px, 5vw, 64px);
  width: 100%;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 800;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

.header-link {
  align-items: center;
  color: var(--stone);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 44px;
  padding-inline: 8px;
  text-decoration: none;
}

.hero {
  align-items: center;
  background: linear-gradient(145deg, var(--sunny-start), var(--sunny-end));
  border: 1px solid rgba(224, 41, 61, 0.08);
  border-radius: clamp(24px, 4vw, 36px);
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: 1fr;
  min-width: 0;
  overflow: hidden;
  padding: clamp(36px, 8vw, 88px) clamp(24px, 6vw, 72px);
  position: relative;
}

.hero::after {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  content: "";
  height: 260px;
  pointer-events: none;
  position: absolute;
  right: -130px;
  top: -120px;
  width: 260px;
}

.eyebrow {
  color: var(--ember-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.13;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.45rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 24px;
  max-width: min(14ch, 100%);
}

h2 {
  font-size: clamp(1.85rem, 5vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-description {
  color: var(--stone);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  margin: 0 0 28px;
  max-width: 58ch;
}

.button {
  align-items: center;
  background: var(--ember);
  border: 1px solid var(--ember);
  border-radius: var(--radius-control);
  box-shadow: 0 10px 24px rgba(224, 41, 61, 0.2);
  color: var(--card);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  text-decoration: none;
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out;
}

.button:hover {
  background: var(--ember-deep);
  box-shadow: 0 12px 30px rgba(186, 23, 48, 0.24);
  color: var(--card);
}

.availability {
  color: var(--stone);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 14px 0 0;
}

.journey-preview {
  display: grid;
  gap: 12px;
  margin-inline: auto;
  max-width: 420px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.preview-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  padding: 16px 18px;
}

.preview-card:nth-child(2) {
  margin-left: 7%;
}

.preview-card:nth-child(3) {
  margin-left: 14%;
}

.preview-dot {
  align-items: center;
  background: var(--ember-soft);
  border-radius: 50%;
  color: var(--ember-deep);
  display: flex;
  flex: 0 0 38px;
  font-size: 0.82rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
}

.preview-label {
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0;
}

.preview-detail {
  color: var(--stone);
  font-size: 0.78rem;
  margin: 1px 0 0;
}

.section {
  padding-block: clamp(72px, 10vw, 112px);
}

.section-heading {
  margin-bottom: 40px;
  max-width: 700px;
}

.section-heading p,
.privacy-copy p {
  color: var(--stone);
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
}

.feature-number {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: 26px;
}

.feature-card p {
  color: var(--stone);
  margin: 0;
}

.privacy-panel {
  align-items: start;
  background: var(--ink);
  border-radius: var(--radius-card);
  color: var(--card);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding: clamp(28px, 6vw, 60px);
}

.privacy-panel h2 {
  margin-bottom: 0;
}

.privacy-copy p {
  color: #ded8d4;
  margin-top: 0;
}

.privacy-copy a {
  color: #ffb5bd;
}

.google-note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-top: 24px;
  padding: clamp(24px, 5vw, 44px);
}

.google-note p {
  color: var(--stone);
  margin: 0;
  max-width: 72ch;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-bottom: 40px;
  padding-top: 28px;
}

.footer-inner,
.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-inner {
  justify-content: space-between;
}

.footer-note {
  color: var(--stone);
  font-size: 0.86rem;
  margin: 0;
}

.footer-links a {
  align-items: center;
  color: var(--stone);
  display: inline-flex;
  font-size: 0.86rem;
  min-height: 44px;
  text-decoration: none;
}

.policy-main {
  margin-inline: auto;
  max-width: 820px;
  padding: clamp(36px, 7vw, 76px) clamp(20px, 5vw, 48px) 96px;
}

.policy-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 42px;
  padding-bottom: 34px;
}

.policy-header h1 {
  font-size: clamp(2.25rem, 7vw, 4rem);
  margin-bottom: 14px;
  max-width: none;
}

.policy-meta {
  color: var(--stone);
  margin: 0;
}

.policy-section {
  margin-top: 40px;
}

.policy-section h2 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin-bottom: 12px;
}

.policy-section h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-top: 24px;
}

.policy-section p,
.policy-section li {
  color: var(--stone);
}

.policy-section ul {
  padding-left: 22px;
}

.policy-section li + li {
  margin-top: 8px;
}

.callout {
  background: var(--sunny-start);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-top: 32px;
  padding: 22px;
}

.callout p {
  margin: 0;
}

.support-options {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.support-card h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.support-card p {
  color: var(--stone);
  margin: 0;
}

.error-page {
  align-items: center;
  display: flex;
  min-height: calc(100dvh - 170px);
  text-align: center;
}

.error-content {
  margin-inline: auto;
  max-width: 580px;
}

.error-content h1 {
  max-width: none;
}

.error-content p {
  color: var(--stone);
  margin: 0 auto 28px;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .privacy-panel {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  }

  .support-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .site-header, .site-main, .site-footer { padding-inline: 16px; }
  .site-header { min-height: 72px; }
  .hero { border-radius: 24px; padding: 32px 20px; }
  .hero > * { max-width: 100%; min-width: 0; width: 100%; }
  h1 { font-size: clamp(2.05rem, 10vw, 2.4rem); overflow-wrap: anywhere; }

  .preview-card:nth-child(2),
  .preview-card:nth-child(3) {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
