:root {
  --orange: #ef7b45;
  --blue: #8fa1e0;
  --navy: #080f20;
  --ink: #f7f8fc;
  --muted: #aeb5bf;
  --line: #303846;
  --surface: #0e1217;
  --surface-2: #141a22;
  --accent: var(--orange);
  --accent-soft: rgba(239, 123, 69, .13);
  --page-gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #080a0e;
  font-family: Inter, system-ui, sans-serif;
}
body[data-integration="health-connect"] {
  --accent: #8fa1e0;
  --accent-soft: rgba(143, 161, 224, .14);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }
.wrap { width: min(1180px, calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.navbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(8, 10, 14, .94); backdrop-filter: blur(18px); }
.nav-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  width: 100%;
  max-width: none;
  min-height: 72px;
  padding-inline: var(--page-gutter);
  margin-inline: 0;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-family: Outfit, sans-serif; font-weight: 800; font-size: 1.2rem; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand span span { color: #edae49; }
.page-nav { display: flex; grid-column: 2; align-items: center; justify-self: center; gap: clamp(14px, 1.5vw, 28px); font-size: 1rem; font-weight: 500; white-space: nowrap; }
.page-nav a:hover { color: var(--accent); }
.nav-actions { display: flex; grid-column: 3; align-items: center; justify-self: end; gap: 18px; }
.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--orange);
  border-radius: 5px;
  color: #080a0e;
  background: var(--orange);
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover { color: #080a0e; background: #f59468; border-color: #f59468; }
.header-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.language { position: relative; }
.language summary {
  display: flex;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  border: 1px solid #252b34;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
}
.language summary:hover,
.language summary:focus-visible { border-color: #252b34; background: rgba(255, 255, 255, .1); }
.language summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language summary::-webkit-details-marker { display: none; }
.language-menu { position: absolute; right: 0; top: 120%; min-width: 120px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #111; }
.language-menu a { display: block; padding: 10px 16px; }
.language-menu a:hover { color: var(--accent); background: var(--accent-soft); }
.page-menu { position: relative; display: none; }
.page-menu > summary {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  cursor: pointer;
  list-style: none;
  border: 0;
  color: #fff;
  background: transparent;
}
.page-menu > summary::-webkit-details-marker { display: none; }
.page-menu > summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.page-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(260px, calc(100vw - 40px)); padding: 8px; border: 1px solid var(--line); background: #11161d; }
.page-menu-panel a { display: block; padding: 11px 12px; }
.page-menu-panel a:hover { color: var(--accent); background: var(--accent-soft); }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(48px, 8vw, 110px); padding-block: clamp(76px, 11vw, 145px); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Outfit, sans-serif; }
h1 { max-width: 780px; font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: .91; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.hero-summary { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 4px; font-weight: 800; }
.button-primary { border-color: var(--accent); background: var(--accent); color: #080a0e; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.device { position: relative; min-height: 500px; display: grid; place-items: center; border: 1px solid var(--line); background: radial-gradient(circle at 55% 32%, var(--accent-soft), transparent 42%), #0b0e12; }
.phone { width: min(300px, 90%); padding: 18px; border: 7px solid #29313e; border-radius: 44px; background: #f6f7fb; color: #082650; box-shadow: 0 32px 70px rgba(0,0,0,.4); }
.phone-bar { width: 72px; height: 19px; margin: 0 auto 26px; border-radius: 999px; background: #080a0e; }
.phone-title { font-family: Outfit, sans-serif; font-size: 1.2rem; font-weight: 800; }
.phone-card { margin-top: 16px; padding: 18px; border: 1px solid #d9deea; border-radius: 18px; background: #fff; }
.phone-status { display: flex; align-items: center; gap: 10px; color: #24644e; font-weight: 800; }
.phone-status i { width: 12px; height: 12px; border-radius: 50%; background: #36c98e; box-shadow: 0 0 0 5px rgba(54,201,142,.16); }
.phone-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.phone-data span {
  display: grid;
  min-width: 0;
  min-height: 52px;
  padding: 8px 3px;
  place-items: center;
  border-radius: 10px;
  background: #f0f2f7;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.phone-control { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e1e5ee; font-size: .7rem; font-weight: 700; line-height: 1.2; }
.phone-control > span:first-child { min-width: 0; overflow-wrap: break-word; hyphens: none; }
.toggle { width: 38px; height: 22px; padding: 3px; border-radius: 999px; background: #082650; }
.phone-control .toggle { flex: 0 0 38px; }
.toggle::after { content: ''; display: block; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; background: #fff; }
.platform-badge { position: absolute; right: 24px; bottom: 24px; padding: 9px 12px; border: 1px solid var(--line); background: #11161d; color: var(--muted); font-size: .72rem; font-weight: 700; }
.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.signal-strip div { padding: 26px var(--page-gutter); border-right: 1px solid var(--line); }
.signal-strip div:last-child { border-right: 0; }
.signal-strip strong { display: block; color: var(--accent); font-family: Outfit, sans-serif; font-size: 1.1rem; }
.signal-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }
.section { padding-block: clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 42px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .96; letter-spacing: -.04em; }
.section-heading p:last-child { color: var(--muted); line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.step { min-height: 265px; padding: clamp(28px, 4vw, 46px); background: var(--surface); }
.step-number { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin-top: 36px; font-size: clamp(1.45rem, 2.4vw, 2.1rem); }
.step p { margin: 15px 0 0; color: var(--muted); line-height: 1.65; }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.data-card { padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.data-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-weight: 800; }
.data-card h3 { margin-top: 22px; font-size: 1.15rem; }
.data-card p { margin: 10px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.privacy-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; padding: clamp(34px, 6vw, 72px); border: 1px solid var(--line); background: linear-gradient(135deg, var(--accent-soft), transparent 45%), var(--surface); }
.privacy-panel h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: .98; }
body[data-integration="health-connect"] .privacy-panel { overflow-wrap: anywhere; }
.privacy-list { display: grid; gap: 16px; }
.privacy-list div { padding: 17px 0 17px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); line-height: 1.55; }
.privacy-list div::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.note { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface-2); color: var(--muted); font-size: .84rem; line-height: 1.6; }
.cta { text-align: center; padding-block: clamp(74px, 10vw, 130px); }
.cta h2 { max-width: 820px; margin-inline: auto; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .95; }
.cta p { max-width: 620px; margin: 24px auto 0; color: var(--muted); line-height: 1.6; }
.cta .hero-actions { justify-content: center; }
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .nav-inner { grid-template-columns: 1fr auto; gap: 14px; }
  .page-nav { display: none; }
  .nav-actions { grid-column: 2; }
  .header-cta { display: none; }
  .page-menu { display: block; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .device { min-height: 440px; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-strip div:nth-child(2) { border-right: 0; }
  .signal-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .privacy-panel { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .nav-inner { min-height: 66px; }
  .brand { font-size: 1rem; }
  .steps, .data-grid { grid-template-columns: 1fr; }
  .signal-strip div { padding: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
