:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --paper-deep: #e9dfcf;
  --ink: #17211d;
  --muted: #69736b;
  --line: rgba(23, 33, 29, 0.14);
  --green: #286b4b;
  --green-strong: #124832;
  --blue: #245c78;
  --amber: #c2852e;
  --panel: rgba(255, 252, 245, 0.86);
  --shadow: 0 26px 80px rgba(41, 50, 38, 0.18);
  --radius: 8px;
  font-family: Charter, "Iowan Old Style", "Palatino Linotype", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 33, 29, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(23, 33, 29, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(circle at 18% 8%, rgba(194, 133, 46, 0.18), transparent 28%),
    linear-gradient(135deg, #fbf7ef 0%, var(--paper) 52%, #e8f0e7 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.primary-action,
.secondary-action,
.language-select,
.language-select select {
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(18, 72, 50, 0.22);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

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

.header-cta {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px 0 14px;
  color: var(--muted);
  background: rgba(255, 252, 245, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.language-select select {
  max-width: 128px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  min-height: calc(100vh - 74px);
  padding: clamp(38px, 6vw, 96px) clamp(18px, 4vw, 56px) 34px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 670px;
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 0.95;
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  font-weight: 800;
}

.hero-subtitle,
.feature-copy p,
.workflow-copy p,
.privacy-band p,
.download-panel p,
.steps p {
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.75;
  color: var(--muted);
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  color: #fffaf1;
  background: var(--green-strong);
  box-shadow: 0 16px 36px rgba(18, 72, 50, 0.26);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.7);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 38px 0 0;
}

.quick-facts div {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 13px;
}

.quick-facts dt {
  font-size: 22px;
  font-weight: 800;
}

.quick-facts dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  transform: rotate(-1.4deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 2px solid rgba(18, 72, 50, 0.26);
  border-radius: var(--radius);
}

.hero-visual img,
.feature-image {
  position: relative;
  width: 100%;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: var(--radius);
  background: #f8f6f1;
  box-shadow: var(--shadow);
}

.preview-switcher,
.feature-grid,
.workflow,
.privacy-band,
.download-panel {
  width: min(1480px, calc(100% - 36px));
  margin-inline: auto;
}

.preview-switcher {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 24px;
  border-top: 1px solid var(--line);
}

.preview-switcher h2 {
  font-size: clamp(28px, 3vw, 46px);
}

.preview-note {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 84px;
}

.feature-panel {
  display: grid;
  align-content: space-between;
  min-width: 0;
  gap: 24px;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-panel-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

.feature-panel-wide.reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
}

.feature-panel-wide.reverse .feature-copy {
  order: 2;
}

.feature-copy {
  min-width: 0;
}

.feature-copy h2 {
  font-size: clamp(28px, 3.5vw, 54px);
}

.feature-copy p {
  margin: 18px 0 0;
  font-size: 16px;
}

.feature-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  color: var(--ink);
}

.feature-copy li {
  position: relative;
  padding-left: 22px;
}

.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.feature-panel:not(.feature-panel-wide) .feature-image {
  align-self: end;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: 32px;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps li {
  min-width: 0;
  padding: 24px;
  background: rgba(255, 252, 245, 0.74);
}

.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--green);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steps strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.steps p {
  margin: 12px 0 0;
  font-size: 14px;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(18, 72, 50, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 72, 50, 0.94), rgba(36, 92, 120, 0.9)),
    #124832;
  color: #fffaf1;
}

.privacy-band .section-kicker,
.privacy-band p {
  color: rgba(255, 250, 241, 0.74);
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 42px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.82);
}

.download-panel img {
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(18, 72, 50, 0.2);
}

.download-panel h2 {
  font-size: clamp(28px, 3.2vw, 46px);
}

.download-panel p {
  margin: 12px 0 0;
}

.download-panel .contact-line {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 700;
}

.contact-line a,
[data-contact-email] {
  color: var(--green-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 14px;
}

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

.footer-links a {
  color: var(--ink);
  font-weight: 700;
}

.legal-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) 0;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.86);
  padding: clamp(24px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  max-width: none;
  font-size: clamp(44px, 6vw, 76px);
}

.legal-document h2 {
  margin-top: 38px;
  font-size: clamp(24px, 3vw, 36px);
}

.legal-document p {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

.legal-updated {
  margin-top: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .hero,
  .feature-panel-wide,
  .feature-panel-wide.reverse,
  .workflow,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-panel-wide.reverse .feature-copy {
    order: 0;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    justify-self: stretch;
    justify-content: space-between;
  }

  .language-select {
    min-width: 0;
    flex: 1;
  }

  .language-select select {
    max-width: none;
    flex: 1;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-visual {
    transform: none;
  }

  .hero-visual::before {
    display: none;
  }

  .quick-facts,
  .feature-grid,
  .steps,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .preview-switcher,
  .download-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-switcher {
    display: block;
  }

  .download-panel {
    display: grid;
  }
}
