:root {
  color-scheme: light;
  --page: #fcfaf5;
  --surface: #ffffff;
  --surface-soft: #f7f1e8;
  --green: #577a4f;
  --green-soft: #e8f0e3;
  --green-faint: #f5f7f2;
  --caramel: #b85e36;
  --caramel-dark: #8f4527;
  --caramel-soft: #f7e8de;
  --sky-soft: #e7f1f5;
  --ink: #1f1c1a;
  --muted: #6e665d;
  --line: #ded8cf;
  --line-strong: #c9c0b5;
  --focus: #1f6f8b;
  --content: 1120px;
  --legal: 880px;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--caramel-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 192, 181, 0.82);
  background: rgba(252, 250, 245, 0.96);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--green);
}

.hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background-color: #f7f2e8;
  background-image: url("hero-scene.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero__inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 90px;
}

.hero__content {
  width: min(570px, 55%);
}

.hero__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero__icon {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(143, 69, 39, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(64, 45, 30, 0.12);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--green);
  font-size: 14px;
  font-weight: 760;
}

.hero h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 820;
}

.hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 680;
}

.hero__copy {
  max-width: 535px;
  margin: 18px 0 0;
  color: #4f4942;
  font-size: 17px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 720;
  text-decoration: none;
}

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

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

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.68;
}

.band {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.band--white {
  background: var(--surface);
}

.band--green {
  background: var(--green-faint);
}

.band--sky {
  background: var(--sky-soft);
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 7px;
  background: var(--caramel-soft);
  color: var(--caramel-dark);
  font-size: 14px;
  font-weight: 820;
}

.feature-card:nth-child(2) .feature-card__mark,
.feature-card:nth-child(4) .feature-card__mark {
  background: var(--green-soft);
  color: var(--green);
}

.feature-card h3 {
  margin: 0;
  font-size: 19px;
}

.feature-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.screen-figure {
  margin: 0;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #efede9;
  box-shadow: 0 24px 50px rgba(52, 45, 38, 0.11);
}

.screen-frame img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
}

.screen-figure figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.screen-figure strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 17px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: center;
}

.trust-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid rgba(87, 122, 79, 0.24);
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.trust-mascot {
  width: 100%;
  max-width: 280px;
  justify-self: center;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-strip h2 {
  margin: 0;
  font-size: 30px;
}

.contact-strip p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer {
  background: #252820;
  color: #eeede7;
}

.site-footer__inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  color: #c9c7be;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: #eeede7;
  font-size: 13px;
}

.page-hero {
  padding: 66px 0 52px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.page-hero--privacy {
  background: var(--green-faint);
}

.page-hero--support {
  background: var(--sky-soft);
}

.page-hero--terms {
  background: var(--caramel-soft);
}

.page-hero__inner {
  width: min(var(--legal), calc(100% - 40px));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.page-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--caramel);
  border-radius: 6px;
  color: var(--caramel-dark);
  font-size: 13px;
  font-weight: 780;
}

.legal-layout {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 80px;
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 52px;
  justify-content: center;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.toc a:hover {
  color: var(--green);
}

.legal-content {
  min-width: 0;
}

.notice {
  margin-bottom: 34px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: var(--surface);
}

.notice--warning {
  border-left-color: var(--caramel);
  background: #fffaf6;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

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

.legal-section {
  scroll-margin-top: 94px;
  padding: 8px 0 34px;
  border-bottom: 1px solid var(--line);
}

.legal-section + .legal-section {
  padding-top: 34px;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 13px;
  font-size: 26px;
  line-height: 1.35;
}

.legal-section h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 18px;
  padding-left: 24px;
}

.legal-section li + li {
  margin-top: 8px;
}

.definition-list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px 20px;
  margin: 20px 0 0;
}

.definition-list dt {
  font-weight: 750;
}

.definition-list dd {
  margin: 0;
  color: var(--muted);
}

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

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

.faq-list summary {
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  font-weight: 730;
}

.faq-list details p,
.faq-list details ul {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-list details ul {
  padding-left: 38px;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.support-action {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-action strong {
  display: block;
  margin-bottom: 5px;
}

.support-action p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

@media (max-width: 900px) {
  .hero {
    min-height: 640px;
    align-items: start;
    background-position: 64% bottom;
    background-size: auto 58%;
  }

  .hero__inner {
    padding-top: 60px;
  }

  .hero__content {
    width: min(610px, 100%);
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .toc strong {
    width: 100%;
    margin-bottom: 3px;
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    width: min(100% - 28px, var(--content));
    min-height: 58px;
    gap: 10px;
  }

  .brand-link span {
    display: none;
  }

  .brand-link img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    margin-right: -14px;
    padding-right: 14px;
  }

  .site-nav a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 670px;
    background-position: 68% bottom;
    background-size: auto 48%;
  }

  .hero__inner,
  .container,
  .page-hero__inner,
  .legal-layout,
  .site-footer__inner {
    width: min(100% - 32px, var(--content));
  }

  .hero__inner {
    padding: 42px 0 300px;
  }

  .hero__identity {
    margin-bottom: 18px;
  }

  .hero__icon {
    width: 62px;
    height: 62px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__copy {
    font-size: 15px;
  }

  .button-row {
    margin-top: 22px;
  }

  .button {
    flex: 1 1 145px;
  }

  .band {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 15px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-card__mark {
    margin-bottom: 18px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .screen-frame {
    max-width: 330px;
    margin: 0 auto;
  }

  .screen-figure figcaption {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
  }

  .trust-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-mascot {
    max-width: 210px;
  }

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

  .contact-strip .button {
    width: 100%;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .legal-layout {
    padding: 34px 0 58px;
  }

  .legal-section h2 {
    font-size: 23px;
  }

  .definition-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .definition-list dd {
    margin-bottom: 12px;
  }

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

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