:root {
  color-scheme: light;
  --ink: #211814;
  --muted: #6d625c;
  --paper: #fffaf2;
  --surface: #ffffff;
  --sage: #5f7f5f;
  --tangerine: #d96f50;
  --plum: #775072;
  --blue: #2f6f9e;
  --line: #eaded1;
  --shadow: 0 18px 48px rgba(75, 54, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(234, 222, 209, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(75, 54, 38, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 69px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(58px, 10vw, 120px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.97) 0%, rgba(255, 250, 242, 0.90) 47%, rgba(255, 250, 242, 0.58) 100%),
    url("./assets/app-icon.png") right clamp(-160px, -10vw, -48px) center / min(70vw, 720px) auto no-repeat,
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-content {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--sage);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--tangerine);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: #42372f;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fffaf2;
  font-weight: 800;
  text-decoration: none;
}

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

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.main {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto clamp(44px, 7vw, 82px);
}

.section.narrow {
  width: min(820px, 100%);
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.section h3 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 1rem;
}

.intro {
  max-width: 780px;
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel.accent-sage {
  border-top: 5px solid var(--sage);
}

.panel.accent-plum {
  border-top: 5px solid var(--plum);
}

.panel.accent-tangerine {
  border-top: 5px solid var(--tangerine);
}

.panel h3 {
  margin-top: 0;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.link-list li {
  margin: 8px 0;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.summary {
  border-left: 5px solid var(--sage);
  background: #f8fff4;
  border-radius: 8px;
  padding: 20px 22px;
}

.summary h2 {
  font-size: 1.35rem;
}

.legal-list {
  padding-left: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

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

th {
  color: var(--ink);
  background: #f6ece1;
  font-size: 0.92rem;
}

td {
  color: var(--muted);
}

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

.callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid #efd2c4;
  background: #fff5ef;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 8px;
  background: var(--ink);
  color: #fffaf2;
}

.contact-strip p {
  margin: 0;
  color: #f8eadf;
}

.contact-strip a {
  color: #ffffff;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff7eb;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.88) 100%),
      url("./assets/app-icon.png") right -110px top 26px / 310px auto no-repeat,
      var(--paper);
  }

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

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }
}
