@font-face {
  font-family: "Fredoka";
  src: url("/assets/fredoka-variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}

:root {
  color-scheme: light;
  --cream: #faf3e4;
  --paper: #fffaf0;
  --ink: #38281a;
  --hard-ink: #38281a;
  --muted: #756554;
  --orange: #b84724;
  --orange-bright: #cf4c22;
  --mustard: #e8a93d;
  --teal: #35685d;
  --plum: #704153;
  --line: rgba(56, 40, 26, 0.18);
  --shadow: 0 18px 50px rgba(70, 42, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--orange);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: #8d3219;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid rgba(53, 104, 93, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(250, 243, 228, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.nav-shell,
.section-shell,
.footer-shell,
.legal-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 210px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  margin: auto;
}

.display,
h1,
h2,
h3,
.eyebrow,
.button,
.brand-type {
  font-family: "Fredoka", ui-rounded, sans-serif;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 104px;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  top: -180px;
  right: -110px;
  width: 520px;
  height: 520px;
  background: rgba(232, 169, 61, 0.17);
}

.hero::after {
  bottom: -250px;
  left: -230px;
  width: 480px;
  height: 480px;
  background: rgba(53, 104, 93, 0.11);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.hero h1 span {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 2px solid var(--hard-ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--hard-ink);
  font-weight: 650;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  color: inherit;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--hard-ink);
}

.button-primary {
  background: var(--orange);
  color: var(--cream);
}

.button-primary:hover {
  color: var(--cream);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.availability::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(53, 104, 93, 0.13);
  content: "";
}

.phone-stage {
  position: relative;
  width: min(100%, 405px);
  justify-self: center;
}

.phone-stage::before {
  position: absolute;
  right: -38px;
  bottom: 28px;
  width: 130px;
  height: 130px;
  border: 3px solid var(--hard-ink);
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 7px 7px 0 var(--hard-ink);
  content: "";
}

.phone {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 18.8;
  width: 100%;
  border: 7px solid var(--hard-ink);
  border-radius: 54px;
  background: #111;
  box-shadow: var(--shadow), 16px 18px 0 rgba(56, 40, 26, 0.96);
  transform: rotate(2.5deg);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  width: 31%;
  height: 24px;
  border-radius: 99px;
  background: #050505;
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-sticker {
  position: absolute;
  z-index: 3;
  right: -52px;
  bottom: 118px;
  width: 138px;
  padding: 15px 12px;
  border: 3px solid var(--hard-ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--hard-ink);
  color: var(--ink);
  font-family: "Fredoka", ui-rounded, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-6deg);
}

.section {
  padding: 100px 0;
}

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

.section-dark {
  background: var(--ink);
  color: var(--cream);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.14rem;
}

.section-dark .section-intro p,
.section-dark .eyebrow {
  color: #e8c991;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card,
.feature-card,
.promise-card,
.legal-callout,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.step-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  place-items: center;
  border: 2px solid var(--hard-ink);
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 3px 3px 0 var(--hard-ink);
  font-family: "Fredoka", ui-rounded, sans-serif;
  font-weight: 700;
}

.step-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.feature-card {
  overflow: hidden;
  min-height: 300px;
  padding: 32px;
}

.feature-card:nth-child(1) {
  grid-column: span 7;
  background: var(--orange);
  color: var(--cream);
}

.feature-card:nth-child(1) p {
  color: #f8dfc6;
}

.feature-card:nth-child(2) {
  grid-column: span 5;
  background: var(--mustard);
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
  grid-column: span 6;
}

.feature-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 54px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 18px;
  font-size: 1.35rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.privacy-copy {
  position: sticky;
  top: 118px;
}

.privacy-copy .lede {
  color: #d7c8b1;
}

.promise-list {
  display: grid;
  gap: 16px;
}

.promise-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border-color: rgba(250, 243, 228, 0.18);
  background: rgba(255, 250, 240, 0.06);
}

.promise-card h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.promise-card p {
  margin-bottom: 0;
  color: #d7c8b1;
  font-size: 0.96rem;
}

.promise-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 800;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 84px);
  border: 3px solid var(--hard-ink);
  border-radius: var(--radius-xl);
  background: var(--mustard);
  box-shadow: 10px 10px 0 var(--hard-ink);
}

.cta-panel::after {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 210px;
  height: 210px;
  border: 42px solid rgba(56, 40, 26, 0.12);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  max-width: 720px;
}

.site-footer {
  padding: 60px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
}

.footer-logo {
  width: 190px;
  height: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  max-width: 360px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 32px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  gap: 72px;
  padding: 68px 0 110px;
}

.legal-toc {
  position: sticky;
  top: 112px;
  align-self: start;
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Fredoka", ui-rounded, sans-serif;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--orange);
}

.legal-content h2 {
  margin-top: 62px;
  margin-bottom: 18px;
  font-size: 2rem;
  scroll-margin-top: 110px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 34px;
  font-size: 1.2rem;
  scroll-margin-top: 110px;
}

.legal-content p,
.legal-content li {
  color: #574738;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-callout {
  margin: 30px 0;
  padding: 24px;
  border-left: 6px solid var(--teal);
}

.legal-callout strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Fredoka", ui-rounded, sans-serif;
  font-size: 1.15rem;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.data-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.data-table th,
.data-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(232, 169, 61, 0.17);
  color: var(--ink);
  font-family: "Fredoka", ui-rounded, sans-serif;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.support-card {
  padding: 28px;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.contact-panel {
  margin-top: 56px;
  padding: 38px;
  border: 3px solid var(--hard-ink);
  border-radius: var(--radius-lg);
  background: var(--mustard);
  box-shadow: 7px 7px 0 var(--hard-ink);
}

.not-found {
  display: grid;
  min-height: calc(100vh - 80px);
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.not-found img {
  width: 100px;
  margin: 0 auto 24px;
}

.not-found h1 {
  margin-inline: auto;
}

@media (max-width: 900px) {
  .hero-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .phone-stage {
    width: min(74vw, 400px);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }

  .step-number,
  .feature-icon {
    margin-bottom: 28px;
  }

  .privacy-copy {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-toc {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    columns: 2;
  }

  .legal-toc strong {
    column-span: all;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .legal-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand img {
    width: 174px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .hero {
    padding: 58px 0 80px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .privacy-sticker {
    right: -20px;
  }

  .feature-card,
  .feature-card:nth-child(n) {
    grid-column: span 12;
    min-height: 260px;
  }

  .section {
    padding: 76px 0;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    columns: 1;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
  }

  .data-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
  }

  .data-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table td:last-child {
    border-bottom: 0;
  }

  .data-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-family: "Fredoka", ui-rounded, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    content: attr(data-label);
  }
}

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

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --cream: #241a10;
    --paper: #2f2418;
    --ink: #faf3e4;
    --muted: #c9b99f;
    --line: rgba(250, 243, 228, 0.18);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  }

  .site-header {
    background: rgba(36, 26, 16, 0.9);
  }

  .cta-panel,
  .phone-stage::before,
  .privacy-sticker,
  .contact-panel,
  .step-number,
  .feature-card:nth-child(2) {
    color: #38281a;
  }

  .button-primary {
    color: #faf3e4;
  }

  .legal-content p,
  .legal-content li {
    color: #d7c8b1;
  }

  .data-table th {
    color: #faf3e4;
  }
}
