:root {
  color-scheme: light;
  --ink: #10221d;
  --muted: #5f6f69;
  --muted-2: #66766f;
  --line: rgba(20, 55, 45, 0.12);
  --line-strong: rgba(20, 55, 45, 0.2);
  --paper: #fbfcfa;
  --canvas: #f2f6f3;
  --mint: #dff5ea;
  --mint-soft: #eff9f4;
  --green: #19866e;
  --green-dark: #0f5f50;
  --violet: #7b6de0;
  --sand: #f2e4c6;
  --shadow: 0 30px 80px rgba(24, 61, 50, 0.15), 0 8px 24px rgba(24, 61, 50, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --page: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(166, 226, 203, 0.32), transparent 25rem),
    radial-gradient(circle at 94% 22%, rgba(205, 197, 247, 0.25), transparent 27rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body[data-i18n-cloak] {
  visibility: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(25, 134, 110, 0.34);
  outline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(20, 55, 45, 0.08);
  background: rgba(251, 252, 250, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
}

.header-inner {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(39, 84, 73, 0.18);
}

.brand-lockup {
  display: grid;
  line-height: 1.15;
}

.brand-lockup strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-lockup small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.language-select {
  min-height: 40px;
  padding: 0 34px 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 13px;
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(25, 134, 110, 0.2);
}

.button-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(25, 134, 110, 0.25);
}

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

.button-secondary:hover {
  border-color: rgba(25, 134, 110, 0.45);
  background: #fff;
}

.button-light {
  color: var(--green-dark);
  background: #fff;
}

.page-shell {
  overflow: hidden;
}

.hero {
  width: var(--page);
  min-height: 750px;
  margin: 0 auto;
  padding: 94px 0 42px;
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(25, 134, 110, 0.1);
}

.hero h1 {
  max-width: 760px;
  margin: 24px 0 26px;
  font-size: clamp(58px, 6.1vw, 84px);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero .lead {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.68;
}

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

.compatibility {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

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

.product-stage {
  position: relative;
  width: 730px;
  max-width: 100%;
  padding: 18px 0 26px;
}

.stage-glow {
  position: absolute;
  inset: 4% 8% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 194, 160, 0.3), rgba(126, 112, 226, 0.12) 50%, transparent 72%);
  filter: blur(20px);
}

.product-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(34, 66, 57, 0.16);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.hero-trust {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.hero-trust span {
  min-height: 34px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.hero-trust span:first-child {
  padding-left: 0;
}

.hero-trust span:last-child {
  border-right: 0;
}

.hero-trust i {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-trust b {
  font-size: 13px;
  font-weight: 680;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 112px 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-intro h2,
.story-copy h2,
.privacy-callout h2,
.final-cta h2 {
  margin: 18px 0;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-intro p,
.story-copy > p,
.privacy-callout p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

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

.feature-card {
  min-height: 252px;
  padding: 30px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:nth-child(1),
.feature-card:nth-child(5) {
  grid-column: span 5;
}

.feature-card:nth-child(2),
.feature-card:nth-child(6) {
  grid-column: span 3;
}

.feature-card:nth-child(1) {
  background: linear-gradient(145deg, #e4f6ed, #fbfdfb);
}

.feature-card:nth-child(5) {
  background: linear-gradient(145deg, #ece9ff, #fbfaff);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 134, 110, 0.25);
  box-shadow: 0 22px 45px rgba(31, 69, 57, 0.09);
}

.feature-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-dark);
  background: rgba(25, 134, 110, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin: auto 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

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

.product-story {
  padding-top: 72px;
  display: grid;
  gap: 116px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(520px, 1.24fr);
  align-items: center;
  gap: 74px;
}

.story-row-reverse .story-copy {
  order: 2;
}

.story-row-reverse .story-media {
  order: 1;
}

.story-index {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-copy h2 {
  font-size: clamp(36px, 3.4vw, 54px);
}

.story-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  position: relative;
  margin-top: 16px;
  padding: 15px 0 15px 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}

.story-list li::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.story-media {
  position: relative;
  min-width: 0;
  padding: 46px 0 0 46px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.story-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.story-media img {
  position: relative;
  z-index: 1;
  width: 112%;
  max-width: none;
  border: 1px solid rgba(24, 61, 50, 0.14);
  border-radius: 18px 0 0 0;
  box-shadow: 0 26px 58px rgba(23, 58, 49, 0.18);
}

.story-media-mint {
  background: linear-gradient(145deg, #d7f2e5, #edf8f2);
}

.story-media-violet {
  background: linear-gradient(145deg, #dfdafb, #f0edff);
}

.story-media-sand {
  background: linear-gradient(145deg, #ead9b6, #f8f1e4);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--line-strong);
}

.step {
  position: relative;
  padding: 0 18px;
}

.step:first-child {
  padding-left: 0;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--paper);
  font-weight: 800;
}

.step h3 {
  margin: 24px 0 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.privacy-callout {
  position: relative;
  padding: 66px 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(88, 198, 165, 0.34), transparent 18rem),
    radial-gradient(circle at 12% 120%, rgba(123, 109, 224, 0.36), transparent 25rem),
    #102e27;
}

.privacy-callout > div {
  max-width: 760px;
}

.privacy-callout h2 {
  margin-top: 0;
  font-size: clamp(38px, 4vw, 58px);
}

.privacy-callout p {
  color: rgba(255, 255, 255, 0.7);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 16px;
}

.plan-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.plan-card.featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #1b8f75, #125e50);
  box-shadow: 0 24px 55px rgba(21, 113, 93, 0.22);
  transform: translateY(-10px);
}

.plan-badge {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.featured .plan-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
}

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

.plan-price {
  margin: 14px 0 24px;
  font-size: 42px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.045em;
}

.plan-price small {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.featured .plan-price small {
  color: rgba(255, 255, 255, 0.66);
}

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

.plan-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.featured .plan-list li {
  color: rgba(255, 255, 255, 0.78);
}

.featured .plan-list li::before {
  color: #9af1d5;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

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

.price-disclaimer {
  max-width: 740px;
  margin: 30px auto 0;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 26px 54px 26px 0;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 24px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-dark);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 860px;
  margin: -8px 0 26px;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  padding: 82px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 110%, rgba(142, 222, 196, 0.38), transparent 26rem),
    radial-gradient(circle at 90% -10%, rgba(174, 163, 235, 0.32), transparent 22rem),
    #edf6f1;
  text-align: center;
}

.final-cta p {
  max-width: 650px;
  margin: 0 auto;
}

.final-cta .button {
  margin-top: 30px;
  color: #fff;
  background: var(--ink);
}

.site-footer {
  padding: 40px 0 54px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-2);
  font-size: 13px;
}

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

.footer-links a:hover {
  color: var(--green-dark);
}

/* Legal pages */
.legal-shell {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 112px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  margin: 20px 0 12px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.legal-meta {
  margin: 0;
  color: var(--muted-2);
  font-size: 14px;
}

.policy-card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 68px rgba(24, 61, 50, 0.08);
}

.policy-card h2 {
  margin: 42px 0 13px;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.policy-card h2:first-of-type {
  margin-top: 34px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.policy-card ul,
.policy-card ol {
  padding-left: 23px;
}

.policy-card li + li {
  margin-top: 8px;
}

.policy-card a:not(.button) {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(15, 95, 80, 0.3);
  text-underline-offset: 3px;
}

.notice {
  margin: 0 0 34px;
  padding: 20px 22px;
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: var(--mint-soft);
}

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

.policy-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legal-actions {
  margin-top: 34px;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

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

  .product-stage {
    width: 850px;
    margin: 0 auto;
  }

  .feature-card,
  .feature-card:nth-child(n) {
    grid-column: span 6;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-row-reverse .story-copy,
  .story-row-reverse .story-media {
    order: initial;
  }

  .story-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 28px, 680px);
    --radius-lg: 24px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-lockup small,
  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 58px 0 28px;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(46px, 12vw, 60px);
  }

  .product-shot {
    border-radius: 14px;
    transform: none;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
  }

  .hero-trust span,
  .hero-trust span:first-child {
    min-height: 28px;
    padding: 0 10px 0 0;
    border-right: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-intro {
    margin-bottom: 34px;
  }

  .section-intro p,
  .story-copy > p,
  .privacy-callout p,
  .final-cta p {
    font-size: 16px;
  }

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

  .feature-card,
  .feature-card:nth-child(n) {
    min-height: 220px;
    grid-column: auto;
  }

  .product-story {
    gap: 78px;
  }

  .story-media {
    padding: 28px 0 0 22px;
    border-radius: 22px;
  }

  .story-media img {
    border-radius: 12px 0 0 0;
  }

  .steps {
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .step,
  .step:first-child {
    padding: 0;
  }

  .step-number {
    width: 42px;
    height: 42px;
  }

  .step h3 {
    margin-top: 14px;
  }

  .privacy-callout {
    padding: 42px 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .plan-card.featured {
    transform: none;
  }

  .final-cta {
    padding: 56px 24px;
  }

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

  .legal-shell {
    width: var(--page);
    padding: 60px 0 80px;
  }

  .policy-card {
    padding: 26px 22px;
    border-radius: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
