:root {
  --paper: #f8f5ef;
  --paper-strong: #f0ece1;
  --paper-warm: #ece4d4;
  --ink: #1f2426;
  --ink-soft: #4a5457;
  --accent: #29464f;
  --accent-soft: #d9bf92;
  --accent-warm: #946b3d;
  --line: rgba(31, 36, 38, 0.1);
  --shadow: 0 24px 60px rgba(25, 36, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: 1120px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 191, 146, 0.32), transparent 36%),
    radial-gradient(circle at top right, rgba(41, 70, 79, 0.18), transparent 28%),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 55%, #f6f0e5 100%);
  font-family: var(--body-font);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    linear-gradient(90deg, rgba(41, 70, 79, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(41, 70, 79, 0.02) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
  mix-blend-mode: multiply;
}

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

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

a:hover {
  color: #1d3137;
}

p,
li {
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

main {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 245, 239, 0.8);
  border-bottom: 1px solid rgba(31, 36, 38, 0.08);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

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

.brand__mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(41, 70, 79, 0.18);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1rem;
}

.brand__tag {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.hero {
  padding: 4.2rem 0 2.4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero__content,
.hero__panel,
.card,
.notice,
.faq,
.policy,
.support-card,
.page-banner,
.download-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 36, 38, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__content {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at top right, rgba(217, 191, 146, 0.35), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
}

.hero__content::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 70, 79, 0.12), transparent 70%);
}

.hero__eyebrow,
.section__eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(41, 70, 79, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__lede {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-size: 1.14rem;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #365c67 100%);
  box-shadow: 0 14px 28px rgba(41, 70, 79, 0.22);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(31, 36, 38, 0.12);
}

.button.is-disabled,
.button[aria-disabled="true"] {
  color: rgba(31, 36, 38, 0.55);
  background: rgba(41, 70, 79, 0.08);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.meta-copy {
  margin-top: 1rem;
  font-size: 0.96rem;
}

.hero__panel {
  padding: 1.7rem;
  background:
    linear-gradient(180deg, rgba(41, 70, 79, 0.96), rgba(27, 45, 51, 0.98));
  color: rgba(255, 255, 255, 0.92);
}

.hero__panel p,
.hero__panel li,
.hero__panel h2,
.hero__panel h3 {
  color: inherit;
}

.hero__panel h2 {
  font-size: 1.65rem;
}

.hero__stats {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.section {
  padding: 1rem 0 2rem;
}

.section__header {
  max-width: 44rem;
  margin-bottom: 1.2rem;
}

.section__copy {
  margin: 0;
  font-size: 1.04rem;
}

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

.card,
.download-card,
.support-card,
.notice,
.policy,
.faq,
.page-banner {
  padding: 1.4rem;
}

.card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(41, 70, 79, 0.1), rgba(148, 107, 61, 0.16));
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-grid,
.support-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(236, 228, 212, 0.62));
}

.notice__mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(41, 70, 79, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.steps {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.steps li + li,
.plain-list li + li {
  margin-top: 0.65rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq h3,
.policy h3 {
  font-size: 1.3rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.site-footer__inner {
  align-items: flex-start;
  border-top: 1px solid rgba(31, 36, 38, 0.08);
  padding-top: 1.5rem;
}

.site-footer__copy {
  max-width: 34rem;
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-banner {
  margin: 2.2rem auto 1.5rem;
  padding: clamp(1.6rem, 4vw, 2.2rem);
  background:
    radial-gradient(circle at top right, rgba(217, 191, 146, 0.24), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74));
}

.page-banner--offset {
  margin-top: 4rem;
}

.page-banner p {
  max-width: 44rem;
  font-size: 1.05rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.muted {
  color: var(--ink-soft);
}

.legal-note {
  font-size: 0.96rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(41, 70, 79, 0.08);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.fade-in {
  animation: fade-up 700ms ease both;
}

.fade-in:nth-child(2) {
  animation-delay: 80ms;
}

.fade-in:nth-child(3) {
  animation-delay: 160ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero__grid,
  .cards,
  .download-grid,
  .support-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 2.4rem;
  }

  .shell {
    width: min(calc(100% - 1.2rem), var(--content-width));
  }

  .hero__content,
  .hero__panel,
  .card,
  .notice,
  .faq,
  .policy,
  .support-card,
  .page-banner,
  .download-card {
    border-radius: 22px;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
