:root {
  --ink: #162c2e;
  --muted: #475b56;
  --brand: #086a63;
  --brand-hover: #065751;
  --line: #e3decb;
  --paper: #f7f4ea;
  --card: #fffdf8;
  --surface: #f0ece0;
  --mint: #78d5bc;
  --night: #102d2c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 55% 38% at 8% 0%, #78d5bc2e, transparent 62%),
    radial-gradient(ellipse 45% 36% at 96% 12%, #eadfc745, transparent 66%);
  background-attachment: fixed;
  color: var(--ink);
  font:
    16px/1.68 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

button,
summary,
a.button {
  cursor: pointer;
}

button,
a,
summary {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #0b7a6d;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 244, 234, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 222, 203, 0.72);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
}

.brand img {
  display: block;
  height: 36px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

nav a:not(.button) {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.18s ease;
}

nav a:not(.button):hover {
  color: var(--brand);
}

.lang-switch {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 12px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 550;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.lang-switch:hover {
  border-color: #bfb9a4;
  color: var(--brand);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 30px;
}

section {
  padding: 72px 0;
  scroll-margin-top: 76px;
}

/* Hero */
.hero {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 52px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #cce3dc;
  background: #eaf5f1;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.12;
  letter-spacing: -2.2px;
  margin: 0 auto 22px;
  max-width: 880px;
  color: var(--ink);
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.22;
  letter-spacing: -1px;
  margin: 0 0 18px;
  color: var(--ink);
}

h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  color: var(--ink);
}

p {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero > p {
  font-size: 18px;
  max-width: 660px;
  margin: 0 auto 28px;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid #d5cfbc;
  background: var(--card);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  min-height: 44px;
  color: #243b39;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  box-shadow: 0 4px 14px #102d2c0a;
}

.button:hover {
  background: #f1ede1;
  border-color: #b7c2b7;
}

.button.primary {
  background: var(--brand);
  color: var(--card);
  border-color: var(--brand);
  box-shadow: 0 8px 22px #086a6326;
}

.button.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.button.small {
  padding: 8px 16px;
  min-height: 38px;
}

/* Preview Window */
.preview {
  border: 1px solid #d5e1d7;
  padding: 10px;
  border-radius: 20px;
  background: #efebde;
  box-shadow: 0 28px 68px #102d2c14;
  margin-top: 44px;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
}

.preview-bar i {
  width: 8px;
  height: 8px;
  background: #c2ccc0;
  border-radius: 50%;
}

.preview-bar span {
  font-size: 11px;
  color: #546762;
  margin: 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
}

/* Section Headers & Cards */
.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-note {
  max-width: 660px;
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.cards article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 6px 20px #102d2c08;
  transition: border-color 0.18s ease;
}

.cards article:hover {
  border-color: #c8d4ca;
}

.cards p {
  font-size: 14.5px;
  margin-bottom: 0;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #eaf4f1;
  border: 1px solid #d3e7e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.number {
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 1px;
  font-weight: 700;
}

/* Plans */
.pricing article {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.plan-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: #e7f4f0;
  color: var(--brand);
  margin-bottom: 16px;
}

.plan-headline {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 6px 0 14px;
  color: var(--ink);
}

.pricing article p {
  margin-bottom: 26px;
}

.pricing article .button {
  margin-top: auto;
}

.pricing .accent {
  background: linear-gradient(150deg, #102d2c, #123d34 55%, #0b534c);
  border-color: #1c5149;
  color: var(--card);
  box-shadow: 0 18px 40px #102d2c24;
}

.pricing .accent h3,
.pricing .accent .plan-headline {
  color: var(--card);
}

.pricing .accent p {
  color: #d4e4dc;
}

.pricing .accent .plan-status {
  background: rgba(120, 213, 188, 0.16);
  color: var(--mint);
  border: 1px solid rgba(120, 213, 188, 0.32);
}

.pricing .accent .button {
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.26);
  color: var(--card);
}

.pricing .accent .button:hover {
  background: rgba(255, 253, 248, 0.18);
  border-color: rgba(255, 253, 248, 0.42);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

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

.faq summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  list-style-position: outside;
}

.faq details p {
  margin: 12px 0 0;
  max-width: 780px;
  font-size: 14.5px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 36px 30px;
}

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

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

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Privacy Policy Standalone Page */
.policy-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 30px 72px;
}

.policy-header {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.policy-header h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  letter-spacing: -1.2px;
  margin: 0 0 12px;
}

.policy-meta {
  font-size: 13.5px;
  color: var(--muted);
}

.policy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 8px 26px #102d2c08;
}

.policy-card section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #ede8d8;
}

.policy-card section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-card h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}

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

.policy-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.policy-card strong {
  color: var(--ink);
}

.policy-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
}

.policy-card a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .cards,
  .cards.two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

@media (max-width: 700px) {
  .header-inner {
    padding: 14px 18px;
  }

  nav > a:not(.button) {
    display: none;
  }

  nav {
    gap: 10px;
  }

  main {
    padding: 0 20px;
  }

  section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    letter-spacing: -1.4px;
  }

  .hero > p {
    font-size: 16px;
  }

  .preview {
    margin-top: 32px;
  }

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
