:root {
  --ink: #102a2a;
  --ink-soft: #466160;
  --lake: #0d8c85;
  --lake-dark: #086b66;
  --lake-soft: #dff4f1;
  --coral: #f47f61;
  --cream: #fffaf4;
  --sky: #eaf7ff;
  --surface: #ffffff;
  --background: #f7fbfa;
  --border: #cfe3df;
  --focus: #075f5a;
  --shadow: 0 18px 50px rgba(20, 74, 71, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --content: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(126, 211, 201, 0.22), transparent 26rem),
    linear-gradient(180deg, #fbfefd 0%, var(--background) 55%, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body[data-language="en"] .lang-zh,
body[data-language="zh-Hant"] .lang-en {
  display: none;
}

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

a {
  color: var(--lake-dark);
  text-underline-offset: 0.18em;
}

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

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(207, 227, 223, 0.75);
  background: rgba(247, 251, 250, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(20, 74, 71, 0.14);
}

.header-actions,
.nav-links,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 18px;
}

.nav-links {
  gap: 16px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--lake-dark);
}

.language-switcher {
  padding: 3px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 44px;
  min-height: 38px;
  padding: 5px 10px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease;
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--lake-dark);
}

main {
  overflow: clip;
}

.hero {
  padding: clamp(54px, 8vw, 100px) 0 72px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--lake-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(244, 127, 97, 0.14);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 8vw, 5.35rem);
  line-height: 0.98;
}

[data-language-panel="zh-Hant"] h1 {
  font-size: clamp(2.55rem, 6vw, 4rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.lead {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  color: #fff;
  background: var(--lake-dark);
  box-shadow: 0 12px 28px rgba(8, 107, 102, 0.2);
}

.button-primary:hover {
  color: #fff;
  background: #075c57;
  box-shadow: 0 16px 34px rgba(8, 107, 102, 0.25);
  transform: translateY(-2px);
}

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

.button-secondary:hover {
  color: var(--lake-dark);
  border-color: var(--lake);
  background: #fff;
}

.trust-row {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.pill {
  padding: 6px 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 8% -8% -8% 10%;
  content: "";
  background: linear-gradient(145deg, var(--lake-soft), var(--sky));
  border-radius: 34% 66% 52% 48% / 48% 42% 58% 52%;
  transform: rotate(-4deg);
}

.hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section {
  padding: 72px 0;
}

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

.section-heading p,
.card p,
.policy-copy p,
.policy-copy li {
  color: var(--ink-soft);
}

.bento-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 34px rgba(20, 74, 71, 0.07);
}

.card-highlight {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #08766f, #0d8c85);
}

.card-highlight p,
.card-highlight .card-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.card-warm {
  background: var(--cream);
}

.card-sky {
  background: var(--sky);
}

.card-kicker {
  margin: 0 0 10px;
  color: var(--lake-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  background: var(--lake-dark);
  border-radius: 14px;
  font-weight: 850;
}

.privacy-banner {
  display: grid;
  align-items: center;
  gap: 26px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(13, 140, 133, 0.3);
  background: linear-gradient(145deg, #e7f8f5, #f8fffe);
  border-radius: var(--radius-lg);
}

.privacy-banner p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 70px 0 42px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.6rem, 7vw, 4.7rem);
}

.page-meta {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.policy-copy {
  max-width: 820px;
  padding-bottom: 86px;
}

.policy-copy section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.policy-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.policy-copy ul,
.policy-copy ol {
  padding-left: 1.25rem;
}

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

.notice {
  padding: 20px 22px;
  border-left: 5px solid var(--coral);
  background: var(--cream);
  border-radius: 0 14px 14px 0;
}

.support-grid {
  display: grid;
  gap: 18px;
}

.support-grid .card h2 {
  font-size: 1.45rem;
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.footer-shell {
  display: grid;
  gap: 18px;
}

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

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.fine-print {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  }

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

  .bento-grid .wide {
    grid-column: span 2;
  }

  .steps-grid,
  .support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .privacy-banner {
    grid-template-columns: 1fr auto;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .section-shell,
  .footer-shell {
    width: min(calc(100% - 22px), var(--content));
  }

  .brand span {
    font-size: 0.94rem;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher button {
    min-width: 40px;
    padding-inline: 8px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
