:root {
  color-scheme: light;
  --md-primary: #006c4c;
  --md-on-primary: #ffffff;
  --md-primary-container: #8bf8c8;
  --md-on-primary-container: #002116;
  --md-secondary: #6f4e5d;
  --md-secondary-container: #fbd8e6;
  --md-tertiary: #4b607c;
  --md-tertiary-container: #d3e4ff;
  --md-surface: #fbfdf8;
  --md-surface-variant: #dce5db;
  --md-surface-container: #eef3ec;
  --md-background: #f9fbf5;
  --md-outline: #707971;
  --md-outline-variant: #c0c9bf;
  --md-on-surface: #191d1a;
  --md-on-surface-variant: #414941;
  --md-coral: #ba4b48;
  --md-amber: #8a6400;
  --shadow-1: 0 1px 2px rgba(20, 31, 25, 0.1), 0 1px 3px rgba(20, 31, 25, 0.08);
  --shadow-2: 0 10px 30px rgba(20, 31, 25, 0.16);
  --container: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body,
button,
select,
a,
p,
li,
dt,
dd,
h1,
h2,
h3,
figcaption {
  overflow-wrap: anywhere;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--md-on-surface);
  background: var(--md-background);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(251, 253, 248, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 253, 248, 0.94);
  border-bottom-color: rgba(112, 121, 113, 0.2);
  box-shadow: var(--shadow-1);
}

.site-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
  color: var(--md-on-surface);
  min-width: 0;
}

.site-brand img,
.footer-brand img {
  border-radius: 8px;
}

.header-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-nav {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--md-on-surface-variant);
  font-weight: 600;
}

.site-nav a:hover {
  background: rgba(0, 108, 76, 0.08);
  color: var(--md-primary);
}

.language-switch {
  min-height: 40px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  color: var(--md-on-surface-variant);
  background: rgba(255, 255, 255, 0.72);
}

.language-switch .material-symbols-rounded {
  font-size: 20px;
}

.language-switch select {
  max-width: 186px;
  min-width: 0;
  border: 0;
  color: var(--md-on-surface);
  background: transparent;
  font: inherit;
  font-weight: 700;
  outline: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  color: var(--md-on-surface);
  background: var(--md-surface);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px 0 70px;
  background:
    radial-gradient(circle at 12% 18%, rgba(139, 248, 200, 0.38), transparent 34%),
    linear-gradient(135deg, #edf8ef 0%, #fbfdf8 48%, #fff3f2 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -12% -20% 44%;
  height: 68%;
  background: linear-gradient(120deg, rgba(0, 108, 76, 0.2), rgba(186, 75, 72, 0.18), rgba(75, 96, 124, 0.16));
  border-radius: 50%;
  transform: rotate(-10deg);
}

.hero-screen {
  position: absolute;
  width: 288px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 80px rgba(20, 31, 25, 0.24);
}

.hero-screen-main {
  right: max(32px, calc((100vw - var(--container)) / 2 + 84px));
  top: 92px;
  z-index: 3;
  transform: rotate(4deg);
}

.hero-screen-secondary {
  right: max(246px, calc((100vw - var(--container)) / 2 + 330px));
  top: 176px;
  width: 236px;
  z-index: 2;
  opacity: 0.84;
  transform: rotate(-6deg);
}

.hero-screen-tertiary {
  right: max(134px, calc((100vw - var(--container)) / 2 + 214px));
  top: 362px;
  width: 220px;
  z-index: 1;
  opacity: 0.74;
  transform: rotate(7deg);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(249, 251, 245, 0.98) 0%, rgba(249, 251, 245, 0.9) 42%, rgba(249, 251, 245, 0.42) 72%, rgba(249, 251, 245, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: max(20px, calc((100vw - var(--container)) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--md-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #102018;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--md-on-surface-variant);
  font-size: 20px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button span:not(.material-symbols-rounded) {
  min-width: 0;
}

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

.button-primary {
  color: var(--md-on-primary);
  background: var(--md-primary);
}

.button-primary:hover {
  background: #005b40;
}

.button-tonal {
  color: var(--md-on-primary-container);
  background: var(--md-primary-container);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 36px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 108, 76, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.hero-facts dt {
  color: var(--md-primary);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.15;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--md-on-surface-variant);
  font-size: 14px;
}

section {
  scroll-margin-top: 88px;
}

.storage-strip,
.product-section,
.workflow-section,
.privacy-section,
.download-section {
  padding: 88px 0;
}

.storage-strip {
  background: var(--md-surface);
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.download-panel h2 {
  margin: 0;
  color: #15221a;
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.product-section .section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--md-on-surface-variant);
  font-size: 18px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.destination-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-1);
}

.destination-card {
  padding: 20px;
}

.destination-card .material-symbols-rounded {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--md-primary);
  background: rgba(139, 248, 200, 0.5);
}

.destination-card:nth-child(2) .material-symbols-rounded {
  color: var(--md-tertiary);
  background: var(--md-tertiary-container);
}

.destination-card:nth-child(3) .material-symbols-rounded {
  color: var(--md-secondary);
  background: var(--md-secondary-container);
}

.destination-card:nth-child(4) .material-symbols-rounded {
  color: var(--md-amber);
  background: #ffdfa1;
}

.destination-card h3,
.workflow-list h3 {
  margin: 0;
  color: var(--md-on-surface);
  font-size: 19px;
  line-height: 1.28;
  min-width: 0;
}

.destination-card p,
.workflow-list p {
  margin: 10px 0 0;
  color: var(--md-on-surface-variant);
}

.product-section {
  background: #fffaf8;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
}

.screen-gallery figure {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(112, 121, 113, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-2);
}

.screen-gallery img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--md-outline-variant);
}

.screen-gallery figcaption {
  margin-top: 12px;
  color: var(--md-on-surface-variant);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.workflow-section {
  background: var(--md-surface);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 48px;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-1);
  min-width: 0;
  overflow: hidden;
}

.workflow-list li > div {
  min-width: 0;
}

.workflow-list span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--md-on-primary);
  background: var(--md-primary);
  font-weight: 800;
}

.privacy-section {
  color: var(--md-on-primary);
  background:
    linear-gradient(135deg, rgba(0, 108, 76, 0.96), rgba(75, 96, 124, 0.96)),
    var(--md-primary);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 42px;
  align-items: start;
}

.privacy-section h2 {
  color: #ffffff;
}

.privacy-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--md-primary-container);
  font-weight: 800;
}

.download-section {
  background: var(--md-background);
}

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-1);
}

.download-panel img {
  border-radius: 8px;
}

.site-footer {
  padding: 42px 0;
  color: var(--md-on-surface-variant);
  background: #f0f4ed;
  border-top: 1px solid var(--md-outline-variant);
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-layout p {
  margin: 12px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--md-primary);
}

.legal-page {
  padding-top: 96px;
}

.legal-hero {
  padding: 80px 0 42px;
  background: linear-gradient(135deg, #edf8ef, #fff7f6);
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #102018;
  font-size: 48px;
  line-height: 1.12;
}

.legal-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--md-on-surface-variant);
  font-size: 18px;
}

.legal-content {
  padding: 58px 0 90px;
  background: var(--md-surface);
}

.legal-content article {
  max-width: 860px;
  margin: 0 auto;
}

.policy-source {
  padding: 30px;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-1);
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.policy-meta div {
  padding: 16px;
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius);
  background: var(--md-surface);
}

.policy-meta dt {
  color: var(--md-primary);
  font-size: 13px;
  font-weight: 800;
}

.policy-meta dd {
  margin: 6px 0 0;
  color: var(--md-on-surface);
  font-weight: 700;
}

.markdown-body {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--md-outline-variant);
}

.markdown-body h1 {
  margin: 0 0 10px;
  color: #15221a;
  font-size: 34px;
  line-height: 1.18;
}

.markdown-body h2 {
  margin: 34px 0 10px;
  color: #15221a;
  font-size: 26px;
}

.markdown-body h3 {
  margin: 24px 0 8px;
  color: var(--md-on-surface);
  font-size: 20px;
}

.markdown-body p,
.markdown-body li {
  color: var(--md-on-surface-variant);
  font-size: 16px;
}

.markdown-body ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.markdown-body code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--md-surface-container);
  color: var(--md-primary);
}

.legal-content h2 {
  margin: 36px 0 12px;
  color: #15221a;
  font-size: 28px;
  line-height: 1.22;
}

.legal-content p,
.legal-content li {
  color: var(--md-on-surface-variant);
  font-size: 17px;
}

.legal-content ul {
  padding-left: 22px;
}

@media (max-width: 1080px) {
  .destination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-screen {
    width: 246px;
  }

  .hero-screen-main {
    right: 22px;
  }

  .hero-screen-secondary {
    right: 176px;
  }

  .hero-screen-tertiary {
    right: 82px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
    padding: 10px 20px;
  }

  .site-nav {
    order: 4;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    width: min(260px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--md-outline-variant);
    border-radius: var(--radius);
    background: rgba(251, 253, 248, 0.98);
    box-shadow: var(--shadow-2);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero {
    min-height: 82vh;
    padding: 94px 0 44px;
    align-items: end;
  }

  .hero-screen {
    width: 186px;
    border-radius: 22px;
  }

  .hero-screen-main {
    right: 18px;
    top: 86px;
  }

  .hero-screen-secondary {
    right: 128px;
    top: 122px;
  }

  .hero-screen-tertiary {
    right: 54px;
    top: 228px;
    width: 166px;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(249, 251, 245, 0.2) 0%, rgba(249, 251, 245, 0.76) 36%, rgba(249, 251, 245, 0.98) 100%);
  }

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

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

  .hero-copy {
    font-size: 18px;
  }

  .workflow-layout,
  .privacy-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel {
    justify-items: start;
  }

  .screen-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .screen-gallery figure {
    padding: 10px;
  }

  .policy-meta {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-screen {
    width: 148px;
  }

  .hero-screen-main {
    right: -16px;
    top: 76px;
  }

  .hero-screen-secondary {
    right: 92px;
    top: 110px;
  }

  .hero-screen-tertiary {
    right: 18px;
    top: 208px;
    width: 130px;
  }

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

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .screen-gallery {
    grid-template-columns: minmax(0, 330px);
    justify-content: center;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-facts div {
    padding: 12px 10px;
  }

  .hero-facts dt {
    font-size: 22px;
  }

  .hero-facts dd {
    font-size: 12px;
    line-height: 1.35;
  }

  .storage-strip,
  .product-section,
  .workflow-section,
  .privacy-section,
  .download-section {
    padding: 64px 0;
  }

  .section-heading h2,
  .download-panel h2 {
    font-size: 32px;
  }

  .language-switch {
    max-width: 148px;
  }

  .language-switch select {
    max-width: 106px;
  }

  .workflow-list li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .workflow-list span {
    width: 42px;
    height: 42px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }
}
