@font-face {
  font-family: "DM Sans";
  src: url("../../fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #173431;
  --muted: #4e625e;
  --paper: #fbfaf4;
  --surface: #ffffff;
  --teal: #276864;
  --teal-dark: #174d4a;
  --teal-pale: #e5f0ec;
  --gold: #e4a64b;
  --gold-pale: #fff0d4;
  --line: #d9e3df;
  --shadow: 0 24px 60px rgba(23, 52, 49, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --page: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.2em;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(39, 104, 100, 0.12);
  background: rgba(251, 250, 244, 0.92);
}

.nav {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 680;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 110px) 0 clamp(75px, 9vw, 110px);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 440px;
  height: 440px;
  top: -190px;
  right: -120px;
  background: var(--teal-pale);
}

.hero::after {
  width: 240px;
  height: 240px;
  bottom: -155px;
  left: -80px;
  background: var(--gold-pale);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 760;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: white;
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button-secondary:hover {
  color: white;
}

.availability {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.agenda {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(39, 104, 100, 0.16);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.agenda::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: -12px;
  width: 24px;
  border-radius: 999px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 9px, transparent 9px 22px);
  content: "";
}

.agenda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.agenda-head strong {
  font-size: 1.2rem;
}

.count {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: #7c5319;
  font-weight: 800;
}

.agenda-list {
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}

.agenda-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.agenda-list li:last-child {
  border-bottom: 0;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.agenda-list strong,
.agenda-list span {
  display: block;
}

.agenda-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: clamp(70px, 9vw, 112px) 0;
}

.section-muted {
  background: var(--teal-dark);
  color: #f8fbfa;
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-muted .eyebrow {
  color: #f1c377;
}

.section-muted .section-heading p {
  color: #c7d8d4;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-number {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

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

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

.privacy-point {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-point h3 {
  margin-bottom: 8px;
  color: white;
  font-size: 1.12rem;
}

.privacy-point p {
  margin: 0;
  color: #c7d8d4;
}

.privacy-cta {
  margin-top: 34px;
}

.privacy-cta .button {
  border-color: #f3c576;
  background: #f3c576;
  color: var(--ink);
}

.privacy-cta .button:hover {
  border-color: white;
  background: white;
  color: var(--ink);
}

.closing {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 110px) 0;
  text-align: center;
}

.closing img {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.closing h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.closing p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.footer-inner {
  width: var(--page);
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-hero {
  padding: clamp(60px, 9vw, 108px) 0 58px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--teal-pale), var(--paper) 58%);
}

.legal-hero-inner,
.legal-layout {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.legal-lead {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.16rem;
}

.effective-date {
  display: inline-block;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(39, 104, 100, 0.1);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 760;
}

.legal-layout {
  padding: 64px 0 96px;
}

.summary-box,
.notice {
  padding: 24px;
  border-radius: var(--radius-md);
}

.summary-box {
  margin-bottom: 52px;
  border-left: 5px solid var(--gold);
  background: var(--gold-pale);
}

.summary-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.summary-box p,
.notice p {
  margin: 0;
}

.legal-section {
  scroll-margin-top: 24px;
  padding: 0 0 36px;
}

.legal-section + .legal-section {
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 26px 0 10px;
  font-size: 1.1rem;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 1.25rem;
}

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

.notice {
  margin-top: 22px;
  border: 1px solid #e7c78f;
  background: #fff8ea;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

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

  .hero-grid {
    gap: 58px;
  }

  .agenda {
    max-width: 520px;
  }

  .feature {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  :root {
    --page: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 70px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links li:first-child {
    display: none;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0;
  }

  .legal-hero-inner,
  .legal-layout {
    width: min(100% - 28px, 900px);
  }
}

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

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

.app-preview {
  position: relative;
  display: grid;
  min-height: 590px;
  padding: 56px 30px 35px;
  place-items: center;
  border: 1px solid #a9d0c4;
  border-radius: 38px;
  background: radial-gradient(circle at 85% 5%, #f3d391, transparent 44%), #cce5d8;
  box-shadow: var(--shadow);
}

.preview-label {
  position: absolute;
  top: 24px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e7906b;
}

.preview-main {
  width: min(75%, 290px);
  height: auto;
  border: 7px solid #fff;
  border-radius: 29px;
  box-shadow: 0 25px 50px rgba(23, 77, 74, .19);
  transform: rotate(3deg);
}

.preview-note {
  position: absolute;
  right: 14px;
  bottom: 25px;
  width: min(245px, 60%);
  padding: 17px 20px;
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 10px 32px rgba(23, 77, 74, .15);
  transform: rotate(-3deg);
}

.preview-note strong,
.preview-note span { display: block; }
.preview-note strong { font-size: 1rem; }
.preview-note span { color: var(--muted); font-size: .88rem; line-height: 1.45; }

.screenshots { background: #edf2e9; }
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.screens-grid figure {
  min-width: 0;
  margin: 0;
  padding: 28px 28px 20px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fffefa;
  text-align: center;
}
.screens-grid img {
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto;
  border: 1px solid #dce7e3;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(23, 52, 49, .08);
}
.screens-grid figcaption {
  display: flex;
  padding-top: 19px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .98rem;
  font-weight: 700;
}
.screens-grid figcaption span { color: var(--teal); font-size: .77rem; }

@media (max-width: 800px) {
  .app-preview { max-width: 480px; min-height: 560px; }
  .screens-grid { gap: 12px; }
  .screens-grid figure { padding: 16px 16px 18px; }
}

@media (max-width: 620px) {
  .hero { padding-top: 65px; }
  .hero-grid { gap: 40px; }
  .app-preview { min-height: 490px; }
  .preview-main { width: min(70%, 240px); }
  .screens-grid {
    grid-auto-columns: minmax(250px, 76%);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }
  .screens-grid figure { scroll-snap-align: start; }
}
