:root {
  color-scheme: light;
  --bg: #f5f0e8;
  --bg-soft: #fbf8f1;
  --ink: #17211d;
  --muted: #5f6961;
  --line: #ded4c3;
  --panel: #fffdf8;
  --accent: #26685a;
  --accent-strong: #18483f;
  --accent-soft: #dcebe4;
  --warn-soft: #fff1cc;
  --shadow: 0 24px 70px rgba(41, 33, 21, 0.12);
  --radius: 28px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(38, 104, 90, 0.16), transparent 34rem),
    linear-gradient(145deg, #f7f2ea 0%, #efe5d5 52%, #f8f4ec 100%);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0f322c;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(38, 104, 90, 0.35);
  outline-offset: 3px;
}

.site-shell {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 16px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(222, 212, 195, 0.86);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 10px 34px rgba(41, 33, 21, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #173f37, #3d8b75);
  color: #fffdf8;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
  padding: 42px 0 26px;
}

.hero-card,
.summary-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
}

.hero-card::after {
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 104, 90, 0.18), transparent 66%);
  content: "";
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 7vw, 5.75rem);
}

h2 {
  margin-top: 42px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  margin-top: 26px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin: 16px 0 0;
}

.lede {
  position: relative;
  max-width: 760px;
  margin-top: 24px;
  color: #39423d;
  font-size: clamp(1.08rem, 2vw, 1.26rem);
}

.summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.summary-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.summary-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: #3a443e;
}

.updated {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--warn-soft);
  color: #5d4612;
  font-size: 0.95rem;
}

.app-store-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px dashed rgba(24, 72, 63, 0.38);
  border-radius: 14px;
  background: rgba(220, 235, 228, 0.54);
  color: var(--accent-strong);
  font-weight: 800;
}

.legal-card {
  margin: 0 0 46px;
  padding: clamp(26px, 5vw, 58px);
}

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

.legal-card ul {
  margin: 16px 0 0;
  padding-left: 1.25rem;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.faq-list summary {
  min-height: 48px;
  padding: 14px 18px;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 800;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin: 0;
  padding: 16px 18px 18px;
}

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  font-size: 0.95rem;
  overflow: hidden;
}

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

th {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

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

.notice {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #ead99f;
  border-radius: 20px;
  background: #fff7df;
  color: #594718;
}

.site-footer {
  padding: 10px 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, var(--content));
  }

  .site-header {
    padding-top: 14px;
  }

  .brand {
    font-size: 1rem;
  }

  .nav a {
    min-height: 36px;
    padding: 7px 11px;
  }

  h1 {
    font-size: clamp(2.25rem, 16vw, 3.4rem);
  }
}

@media print {
  html {
    background: #fff;
  }

  .site-header,
  .summary-card,
  .site-footer {
    display: none;
  }

  .site-shell {
    width: 100%;
  }

  .hero,
  .hero-card,
  .legal-card {
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  a {
    color: #000;
  }
}
