:root {
  --ink: #211f1d;
  --muted: #6f6b68;
  --paper: #fbfaf8;
  --card: #ffffff;
  --accent: #b44c3d;
  --accent-dark: #8f392f;
  --accent-soft: #f3e9e5;
  --lavender: #9180cf;
  --lavender-soft: #eeeaf9;
  --sage: #87965a;
  --sage-soft: #eef1e5;
  --gold: #c79333;
  --line: #e8e3df;
  --shadow: 0 22px 60px rgba(72, 52, 44, 0.1);
  --radius: 28px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(180, 76, 61, 0.08), transparent 25rem),
    radial-gradient(circle at 92% 24%, rgba(145, 128, 207, 0.1), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Avenir Next", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(232, 227, 223, 0.84);
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  color: var(--ink);
  align-items: center;
  gap: 11px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(180, 76, 61, 0.22);
}

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

.nav-links a {
  display: inline-flex;
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

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

main {
  overflow: hidden;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 720px;
  padding: 78px 0 84px;
  align-items: center;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 54px;
}

.eyebrow,
.doc-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(180, 76, 61, 0.12);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold",
    "Avenir Next", sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7.5vw, 6.6rem);
}

.accent-word {
  color: var(--accent);
}

.hero-copy > p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(180, 76, 61, 0.25);
}

.button-primary:hover {
  color: #fff;
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.hero-meta {
  display: flex;
  margin: 22px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.hero-meta li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--sage);
  font-weight: 950;
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.art-card {
  position: absolute;
  inset: 30px 0 0 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5eeff 0%, #f7e7e1 100%);
  border: 1px solid rgba(145, 128, 207, 0.18);
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.art-card::before,
.art-card::after {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  content: "";
}

.art-card::before {
  top: -50px;
  right: -30px;
  background: rgba(180, 76, 61, 0.15);
}

.art-card::after {
  bottom: -70px;
  left: -50px;
  background: rgba(135, 150, 90, 0.17);
}

.hero-art img {
  position: absolute;
  z-index: 2;
  right: -3%;
  bottom: 2%;
  width: 106%;
  filter: drop-shadow(0 24px 30px rgba(52, 40, 33, 0.15));
}

.word-card {
  position: absolute;
  z-index: 3;
  top: 0;
  right: -12px;
  width: 148px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(58, 45, 39, 0.14);
}

.word-card strong {
  display: block;
  font-size: 2.65rem;
  line-height: 1;
}

.word-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

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

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

.feature-card {
  min-height: 235px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(72, 52, 44, 0.05);
}

.feature-card:nth-child(2),
.feature-card:nth-child(5) {
  background: var(--lavender-soft);
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
  background: var(--sage-soft);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 35px;
  color: #fff;
  background: var(--accent);
  border-radius: 16px;
  place-items: center;
  font-size: 1.32rem;
  font-weight: 950;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: var(--lavender);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: var(--sage);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-band {
  display: grid;
  padding: 48px;
  background: var(--ink);
  border-radius: 38px;
  color: #fff;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
}

.privacy-band h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.privacy-band p {
  max-width: 690px;
  margin: 0;
  color: #c9c5c2;
}

.privacy-band .button-secondary {
  color: var(--ink);
  background: #fff;
}

.cta {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 58px;
  overflow: hidden;
  align-items: center;
  background: linear-gradient(135deg, #f3e9e5, #eeeaf9);
  border: 1px solid rgba(180, 76, 61, 0.1);
  border-radius: 38px;
  grid-template-columns: 1fr 260px;
}

.cta h2 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.cta p {
  max-width: 570px;
  margin: 0 0 25px;
  color: var(--muted);
}

.cta img {
  position: absolute;
  right: -35px;
  bottom: -46px;
  width: 320px;
}

.site-footer {
  padding: 42px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

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

.doc-hero {
  padding: 84px 0 44px;
}

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

.doc-summary {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.doc-meta {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-meta span {
  padding: 7px 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
}

.doc-layout {
  display: grid;
  padding: 20px 0 96px;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 64px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin: 5px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.toc a {
  color: inherit;
  text-decoration: none;
}

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

.legal-card {
  padding: 38px clamp(24px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(72, 52, 44, 0.06);
}

.legal-card section {
  scroll-margin-top: 110px;
}

.legal-card section + section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 15px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.legal-card h3 {
  margin: 25px 0 8px;
  font-size: 1.07rem;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: #514d4a;
}

.legal-card ul {
  padding-left: 21px;
}

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

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  color: #4f4642;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 4px 16px 16px 4px;
}

.data-table {
  width: 100%;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
}

.data-table th,
.data-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th {
  color: var(--ink);
  background: #f7f4f1;
}

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

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

.support-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.support-card:first-child {
  background: var(--accent-soft);
}

.support-card h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.support-card p,
.support-card li {
  color: var(--muted);
}

.support-card ul,
.support-card ol {
  padding-left: 21px;
}

.support-card-wide {
  grid-column: 1 / -1;
}

.email-link {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 480px;
  }

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

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

  .cta {
    padding-bottom: 245px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .nav {
    width: min(100% - 28px, 1120px);
    min-height: 68px;
  }

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

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

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 52px 0 64px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 4.8rem);
  }

  .hero-art {
    min-height: 355px;
  }

  .art-card {
    inset: 30px 0 0;
  }

  .word-card {
    right: 0;
    width: 125px;
    padding: 14px;
  }

  .section {
    padding: 66px 0;
  }

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

  .feature-card {
    min-height: 0;
  }

  .privacy-band,
  .cta {
    padding: 32px 24px;
    border-radius: 28px;
  }

  .cta {
    padding-bottom: 210px;
  }

  .cta img {
    width: 250px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-hero {
    padding: 58px 0 30px;
  }

  .doc-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .legal-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

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

  .data-table thead {
    display: none;
  }

  .data-table tr + tr {
    border-top: 1px solid var(--line);
  }

  .data-table td {
    border: 0;
  }

  .data-table td + td {
    padding-top: 0;
  }

  .support-card-wide {
    grid-column: auto;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .toc,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
  }

  .doc-layout {
    display: block;
  }

  .legal-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
