:root {
  color-scheme: light;
  --ink: #162234;
  --muted: #5f6d7c;
  --line: #dce6e9;
  --paper: #f7faf9;
  --white: #ffffff;
  --mint: #d8f5e7;
  --teal: #0d7566;
  --teal-dark: #07564b;
  --peach: #ffe3d4;
  --orange: #bf5c35;
  --shadow: 0 22px 65px rgba(26, 51, 61, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a { color: var(--teal-dark); }

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

code { overflow-wrap: anywhere; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--white);
  border-radius: 0.5rem;
}

.skip-link:focus { top: 0.6rem; }

.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(22, 34, 52, 0.08);
  background: rgba(247, 250, 249, 0.9);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
}

nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

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

.language-picker { margin-inline-start: auto; }

.language-picker select {
  max-width: 190px;
  padding-block: 0.55rem;
  padding-inline: 0.7rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 5rem;
  background: radial-gradient(circle at 83% 23%, #d2f4e8 0, transparent 32%),
    radial-gradient(circle at 93% 82%, #ffdfcf 0, transparent 31%), var(--paper);
}

.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 3rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--teal-dark);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 12ch;
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero-copy { max-width: 56ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); }

.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.8rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--teal-dark);
  border-radius: 12px;
  background: var(--teal-dark);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease;
}

.button:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }

.button.secondary { background: transparent; color: var(--teal-dark); }

.button.secondary:hover { background: var(--mint); color: var(--teal-dark); }

.button.is-pending {
  border-color: #c8d3d3;
  background: #e9eeee;
  color: #647373;
  cursor: not-allowed;
  pointer-events: none;
}

.button.secondary.is-pending { background: transparent; }

.note { color: var(--muted); font-size: 0.86rem; }

.hero-note { margin-top: 1rem; }

.device-scene { position: relative; height: 400px; display: grid; place-items: center; }

.device-scene::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(13, 117, 102, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(13, 117, 102, 0.045), 0 0 0 96px rgba(13, 117, 102, 0.025);
}

.device {
  position: relative;
  width: 220px;
  height: 340px;
  padding: 12px;
  transform: rotate(-11deg);
  border: 8px solid #1e2c39;
  border-radius: 40px;
  background: #cde9dd;
  box-shadow: 28px 35px 50px rgba(25, 64, 61, 0.18);
}

.device::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 64px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #1e2c39;
}

.trackpad {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  background: linear-gradient(140deg, #e7f8ef, #9edfc4);
}

.touch-ring {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(13, 117, 102, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 0 21px rgba(13, 117, 102, 0.075), 0 0 0 45px rgba(13, 117, 102, 0.035);
}

.touch-ring::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }

.section { padding: 5rem 0; }

.section.alt { background: var(--white); }

.section-head { max-width: 680px; margin-bottom: 2rem; }

h2 { margin: 0.6rem 0 0.6rem; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.22; letter-spacing: -0.035em; }

.section-head p { color: var(--muted); }

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

.card {
  display: flex;
  flex-direction: column;
  min-height: 295px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card.tint { background: #e9f8f1; border-color: #caeadc; }

.card.peach { background: #fff0e8; border-color: #f6d9c8; }

.card-tag { color: var(--teal-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.card.peach .card-tag { color: var(--orange); }

.card h3 { margin: 1rem 0 0.5rem; font-size: 1.35rem; line-height: 1.25; }

.card p { color: var(--muted); font-size: 0.94rem; }

.card .button { margin-top: auto; align-self: flex-start; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.step { border-top: 1px solid var(--line); padding-top: 1.25rem; }

.step-number { color: var(--teal); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; }

.step h3 { margin: 0.7rem 0 0.5rem; }

.step p { color: var(--muted); }

.callout { padding: 1.5rem 1.8rem; border-radius: 18px; background: var(--ink); color: var(--white); }

.callout a { color: #a6f0d4; }

.callout p { margin-bottom: 0; color: #cad4da; }

.page-hero { padding: 4.5rem 0 2.3rem; }

.page-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 5vw, 4rem); }

.page-hero p { max-width: 66ch; color: var(--muted); }

.document { max-width: 780px; padding-bottom: 5rem; }

.document h2 { margin-top: 2.7rem; font-size: 1.5rem; }

.document p, .document li { color: #425367; }

.document ul { padding-inline-start: 1.35rem; }

.document li { margin-bottom: 0.5rem; }

.draft-banner {
  padding: 1rem 1.25rem;
  border: 1px solid #e5c697;
  border-radius: 14px;
  background: #fff6e8;
  color: #72451d;
  font-size: 0.92rem;
}

.faq { display: grid; gap: 0.75rem; }

.faq article { padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }

.faq h3 { margin-bottom: 0.35rem; font-size: 1rem; }

.faq p { margin: 0; font-size: 0.92rem; }

.site-footer { padding: 2.4rem 0; border-top: 1px solid var(--line); background: var(--white); }

.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }

.footer-links a { color: var(--muted); font-size: 0.88rem; text-decoration: none; }

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

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .device-scene { height: 260px; }
  .device-scene::before { width: 200px; height: 200px; box-shadow: 0 0 0 35px rgba(13, 117, 102, 0.045); }
  .device { width: 150px; height: 230px; border-width: 6px; border-radius: 30px; }
  .touch-ring { width: 65px; height: 65px; box-shadow: 0 0 0 17px rgba(13, 117, 102, 0.075); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 240px; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 1.5rem, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  nav { gap: 0.8rem 1.1rem; }
  .language-picker { margin-inline-start: 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-grid { gap: 1.5rem; }
  .section { padding: 3.4rem 0; }
  .steps { grid-template-columns: 1fr; }
  .page-hero { padding: 3rem 0 1.5rem; }
}
