:root {
  color-scheme: light dark;
  --background: #f4f1e8;
  --surface: #fffdf8;
  --surface-soft: #e9f0e6;
  --text: #18351d;
  --muted: #586b5a;
  --primary: #2f6835;
  --primary-strong: #234f28;
  --accent: #aa7440;
  --border: #d7ded2;
  --shadow: 0 24px 72px rgba(24, 53, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 7%, rgba(170, 116, 64, 0.1), transparent 30rem),
    var(--background);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-strong);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

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

.site-header,
.site-main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.site-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(47, 104, 53, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 32px);
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--text);
}

.site-main {
  padding: 28px 0 72px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
  padding: clamp(44px, 8vw, 92px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-intro {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
}

.trust-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(47, 104, 53, 0.22);
}

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

.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary-strong);
}

.hero-mark {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-mark img {
  position: relative;
  z-index: 2;
  width: min(100%, 280px);
  height: auto;
  border-radius: 25%;
  box-shadow: 0 28px 70px rgba(47, 104, 53, 0.22);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(47, 104, 53, 0.2);
  border-radius: 50%;
}

.orbit-one {
  width: 340px;
  height: 340px;
}

.orbit-two {
  width: 430px;
  height: 430px;
  border-color: rgba(170, 116, 64, 0.16);
}

.section {
  padding: 104px 0 36px;
}

.section > h2 {
  max-width: 720px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.step-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 850;
}

.value-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  margin-top: 68px;
  padding: clamp(32px, 7vw, 72px);
  border-radius: 30px;
  background: var(--primary-strong);
  color: #f7f4eb;
}

.value-panel .eyebrow {
  color: #b8d3b7;
}

.value-panel p:last-child {
  margin: 0;
  color: #d9e6d8;
  font-size: 1.06rem;
}

.legal-card {
  width: min(820px, 100%);
  margin: 24px auto;
  padding: clamp(28px, 7vw, 64px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card .brand {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.legal-card h1 {
  margin: 10px 0 8px;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
}

.legal-card h2 {
  margin: 2.3rem 0 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card ul {
  margin: 0.7rem 0;
}

.legal-card li + li {
  margin-top: 0.48rem;
}

.updated,
.intro {
  color: var(--muted);
}

.contact,
.notice {
  margin-top: 2rem;
  padding: 18px 20px;
  border-radius: 16px;
}

.contact {
  background: var(--surface-soft);
  color: var(--primary-strong);
}

.notice {
  background: #f7efe0;
  color: #5a421f;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer div:first-child {
  display: grid;
}

.site-footer strong {
  color: var(--text);
}

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

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

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 40px 28px;
    border-radius: 28px;
  }

  .hero-mark {
    order: -1;
    min-height: 240px;
  }

  .hero-mark img {
    width: 180px;
  }

  .orbit-one {
    width: 230px;
    height: 230px;
  }

  .orbit-two {
    width: 290px;
    height: 290px;
  }

  .step-grid,
  .value-panel {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: block;
  }

  nav {
    margin-top: 14px;
    justify-content: space-between;
  }

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

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-top: 76px;
  }

  .legal-card {
    border-radius: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111813;
    --surface: #19211b;
    --surface-soft: #233127;
    --text: #eef3e9;
    --muted: #afbdad;
    --primary: #8eaf8b;
    --primary-strong: #729b74;
    --accent: #c18a55;
    --border: #344239;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  }

  body {
    background:
      radial-gradient(circle at 86% 7%, rgba(170, 116, 64, 0.08), transparent 30rem),
      var(--background);
  }

  .button-primary {
    background: #94b491;
    color: #102014;
  }

  .button-primary:hover {
    background: #a7c2a3;
    color: #102014;
  }

  .value-panel {
    background: #1f3525;
  }

  .value-panel .eyebrow {
    color: #b7cdb3;
  }

  .value-panel p:last-child {
    color: #d5e1d3;
  }

  .notice {
    background: #3a2d1e;
    color: #e4cda9;
  }
}

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

  .button {
    transition: none;
  }
}
