:root {
  --bg: #f5f7f4;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #111816;
  --muted: #5f6c66;
  --hairline: rgba(17, 24, 22, 0.11);
  --accent: #0c6b72;
  --accent-2: #d98145;
  --shadow: 0 28px 80px rgba(35, 54, 48, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(122, 187, 194, 0.30), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(225, 150, 87, 0.18), transparent 28%),
    linear-gradient(135deg, #eef7f7 0%, #f7f8ef 50%, #f4f1eb 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.24) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.38), transparent 70%);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(24px) saturate(160%);
  background: rgba(245, 247, 244, 0.72);
  border-bottom: 1px solid var(--hairline);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(12, 107, 114, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 9px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
}

.language-link {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.44);
}

.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.logo-hero {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(12, 107, 114, 0.35);
}

h1 {
  font-size: clamp(46px, 8vw, 88px);
  line-height: .96;
  letter-spacing: -0.07em;
  margin: 0 auto 24px;
  max-width: 920px;
}

.lede {
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 720;
  text-decoration: none;
  color: white;
  background: var(--text);
  box-shadow: 0 16px 44px rgba(17, 24, 22, 0.14);
}

.button.secondary {
  color: var(--text);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--hairline);
  box-shadow: none;
}

.showcase {
  position: relative;
  margin: 0 auto 92px;
  padding: 18px;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.42));
  border: 1px solid rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-panel {
  min-height: 430px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.92), transparent 26%),
    linear-gradient(145deg, rgba(16, 102, 110, .92), rgba(23, 43, 45, .96));
  color: white;
  padding: clamp(26px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}

.reading {
  align-self: center;
}

.reading .value {
  font-size: clamp(68px, 12vw, 140px);
  line-height: .85;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.reading .unit {
  font-size: 24px;
  color: rgba(255,255,255,.70);
  margin-left: 8px;
}

.reading p {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  margin: 18px 0 0;
}

.glass-stack {
  display: grid;
  gap: 14px;
}

.glass-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(20px);
}

.glass-card strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.glass-card span {
  display: block;
  color: rgba(255,255,255,.68);
  margin-top: 4px;
}

.section {
  padding: 30px 0 82px;
}

.section-title {
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 0 18px;
}

.section-lede {
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 30px;
}

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

.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: 0 16px 50px rgba(35, 54, 48, 0.08);
}

.card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(12, 107, 114, 0.10);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

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

.card p { margin: 0; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.document {
  padding: 76px 0 84px;
}

.document-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.document h1 {
  text-align: left;
  margin-left: 0;
  max-width: 820px;
}

.document .lede {
  margin-left: 0;
  text-align: left;
  max-width: 760px;
}

.prose {
  display: grid;
  gap: 18px;
}

.prose section {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  border: 1px solid rgba(255,255,255,.72);
}

.prose h2 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.prose p { margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0; padding-left: 20px; }
.prose li + li { margin-top: 8px; }

.support-list {
  counter-reset: support;
  display: grid;
  gap: 14px;
}

.support-step {
  position: relative;
  padding: 24px 24px 24px 70px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.72);
}

.support-step::before {
  counter-increment: support;
  content: counter(support);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent);
  font-weight: 800;
}

.support-step h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.support-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.footer {
  padding: 40px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  margin-left: 14px;
}

.footer a:hover { color: var(--text); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07100f;
    --panel: rgba(13, 24, 23, 0.74);
    --panel-strong: rgba(13, 24, 23, 0.92);
    --text: #f4fbf8;
    --muted: #a8b8b1;
    --hairline: rgba(244, 251, 248, 0.12);
    --accent: #6fd8df;
    --accent-2: #f0a66b;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    color-scheme: dark;
  }

  body {
    background:
      radial-gradient(circle at 12% 10%, rgba(57, 168, 184, 0.22), transparent 30%),
      radial-gradient(circle at 88% 18%, rgba(217, 129, 69, 0.12), transparent 28%),
      linear-gradient(135deg, #061011 0%, #091514 55%, #10110c 100%);
  }

  .nav { background: rgba(7, 16, 15, 0.72); }
  .nav-links a:hover,
  .nav-links a.active,
  .language-link { background: rgba(255,255,255,.08); }
  .button.secondary { background: rgba(255,255,255,.08); color: var(--text); }
  .showcase { background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); border-color: rgba(255,255,255,.10); }
  .card, .prose section, .support-step { border-color: rgba(255,255,255,.09); }
}

@media (max-width: 820px) {
  .nav-inner { height: auto; padding: 14px 0; align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero { padding-top: 58px; }
  .device-panel, .grid, .split { grid-template-columns: 1fr; }
  .device-panel { min-height: 0; }
  .footer-inner { flex-direction: column; }
  .footer a { margin: 0 14px 0 0; }
}
