:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #52645d;
  --line: #d8e2de;
  --panel: #ffffff;
  --wash: #f2f5f3;
  --soft: #f8faf9;
  --green: #1f7a5a;
  --green-deep: #123d30;
  --mint: #dff1e9;
  --paper: #fffdf8;
  --paper-deep: #f4efe4;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf8 0, #f7faf8 520px, #eef3f1 100%),
    var(--wash);
  font-family: "Avenir Next", "Geist", "Satoshi", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

::selection {
  color: var(--green-deep);
  background: #cfe9de;
}

a {
  color: var(--green);
  text-decoration: none;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(216, 226, 222, 0.52);
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

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

.brand:hover {
  opacity: 0.84;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 6px;
  color: #3e5149;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav-links a:hover {
  color: var(--green-deep);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 2px solid rgba(31, 122, 90, 0.42);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  gap: 64px;
  align-items: center;
  min-height: 640px;
  padding: 42px 0 76px;
}

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

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.button.secondary {
  color: var(--green-deep);
  background: #fff;
}

.button:hover {
  background: #1a684d;
  box-shadow: 0 10px 24px rgba(31, 122, 90, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}

.button.secondary:hover {
  border-color: #92b4a6;
  background: #f8fbf9;
}

.button:active {
  transform: translateY(0);
}

.note {
  max-width: 520px;
  margin: 18px 0 0;
  color: #66766f;
  font-size: 14px;
  line-height: 1.65;
}

.hero-visual,
.showcase-visual {
  margin: 0;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid #cfdcd6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(18, 36, 29, 0.14);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}

.hero-visual img,
.showcase-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual:hover {
  box-shadow: 0 26px 78px rgba(18, 36, 29, 0.17);
  transform: translateY(-2px);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section h2,
.split-section h2,
.prose h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.22;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 18px;
}

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.card:first-child {
  grid-row: span 2;
  min-height: 398px;
  padding: 32px;
  background: linear-gradient(135deg, #fff 0, #f2f8f5 100%);
}

.card:hover,
.detail-card:hover {
  border-color: #c3d3cc;
  box-shadow: 0 14px 36px rgba(18, 36, 29, 0.08);
  transform: translateY(-1px);
}

.card-icon {
  display: inline-grid;
  min-width: 40px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--green-deep);
  background: var(--mint);
  font-weight: 760;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card:first-child h3 {
  max-width: 440px;
  font-size: 28px;
  line-height: 1.18;
}

.card:first-child p {
  max-width: 520px;
  margin-top: 18px;
  font-size: 17px;
}

.feature-reader {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #d5e0db;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid #dfe7e3;
  color: #63746d;
  background: #f8fbf9;
  font-size: 12px;
  font-weight: 760;
}

.reader-source,
.reader-target {
  margin: 0;
  padding: 0 18px;
}

.reader-source {
  padding-top: 18px;
  color: #202d28;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
}

.reader-target {
  margin-top: 10px;
  margin-left: 18px;
  padding: 0 18px 0 12px;
  border-left: 3px solid var(--green);
  color: #1d513d;
  font-size: 15px;
  line-height: 1.7;
}

.reader-target + .reader-source {
  margin-top: 18px;
  border-top: 1px solid #e7eee9;
}

.feature-reader .reader-target:last-child {
  padding-bottom: 18px;
}

.card p,
.prose p,
.prose li,
.callout p {
  color: var(--muted);
  line-height: 1.72;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.prose {
  max-width: 840px;
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: 48px;
  align-items: center;
  padding: 92px 0 78px;
}

.subhero h1 {
  max-width: 760px;
}

.contact-panel,
.companion-card,
.detail-card,
.quiet-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(18, 36, 29, 0.1);
}

.panel-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-panel h2,
.detail-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.contact-panel p,
.detail-card p,
.quiet-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.companion-card {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(225, 239, 232, 0.86)),
    #fff;
  box-shadow: 0 18px 48px rgba(18, 36, 29, 0.1);
}

.mini-window {
  overflow: hidden;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  background: #fff;
}

.mini-window-bar {
  display: flex;
  gap: 7px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
}

.mini-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b8c7c0;
}

.mini-window-body {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.mini-window-body p,
.mini-window-body em {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.mini-window-body strong {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.64fr);
  gap: 18px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.detail-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 26px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.detail-card.wide {
  padding: 32px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.check-list p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #e1e9e5;
}

.check-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
}

.text-link {
  color: var(--green-deep);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(31, 122, 90, 0.24);
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.quiet-note {
  margin: 0 0 72px;
  padding: 22px 24px;
}

.privacy-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
}

.privacy-flow {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(18, 36, 29, 0.1);
}

.privacy-flow div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #d9e4df;
  border-radius: 8px;
  background: #fffdf8;
}

.privacy-flow span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.privacy-flow strong {
  color: var(--ink);
  font-size: 20px;
}

.privacy-flow i {
  width: 1px;
  height: 18px;
  margin-left: 22px;
  background: #b8cbc2;
}

.compact-grid {
  padding-top: 40px;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.visual-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.showcase-visual {
  overflow: hidden;
  border: 1px solid #cfdcd6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(18, 36, 29, 0.11);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.showcase-visual:hover {
  box-shadow: 0 22px 66px rgba(18, 36, 29, 0.14);
  transform: translateY(-1px);
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

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

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.steps li:hover {
  border-color: #c3d3cc;
  transform: translateX(2px);
}

.steps span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 760;
}

.steps p {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.prose h2 {
  margin: 34px 0 8px;
  font-size: 24px;
}

.legal {
  padding-top: 80px;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid #cddbd5;
  border-radius: 8px;
  background: #fff;
}

.callout.compact {
  display: block;
  margin-top: 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .section,
  .workflow-section,
  .split-section,
  .visual-section,
  .subhero,
  .detail-grid,
  .quiet-note {
    animation: page-rise 520ms var(--ease) both;
  }

  .hero-visual,
  .detail-grid,
  .visual-section {
    animation-delay: 80ms;
  }

  @keyframes page-rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .split-section,
  .workflow-section,
  .visual-section,
  .subhero,
  .detail-grid,
  .privacy-hero {
    grid-template-columns: 1fr;
  }

  .card:first-child {
    grid-row: auto;
    min-height: 220px;
    padding: 24px;
  }

  h1 {
    font-size: 40px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    min-height: 0;
    padding-top: 22px;
  }

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

  .callout .button {
    width: 100%;
  }
}
