:root {
  --background: #071426;
  --background-deep: #040b15;
  --background-soft: #0b1c31;
  --surface: rgba(15, 34, 56, 0.74);
  --surface-strong: #10243b;
  --surface-light: #ffffff;
  --surface-light-soft: #f3f9ff;
  --border: rgba(148, 198, 235, 0.2);
  --border-strong: rgba(125, 211, 252, 0.42);
  --text: #f7fbff;
  --text-soft: #c4d6e8;
  --text-muted: #839bb3;
  --text-dark: #0f172a;
  --text-dark-soft: #475569;
  --accent: #38bdf8;
  --accent-strong: #0284c7;
  --accent-deep: #0369a1;
  --teal: #2dd4bf;
  --teal-strong: #0d9488;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
  --indigo: #818cf8;
  --shadow-xl: 0 40px 100px rgba(0, 15, 38, 0.42);
  --shadow-card: 0 24px 70px rgba(4, 24, 48, 0.13);
  --radius-small: 12px;
  --radius-medium: 22px;
  --radius-large: 34px;
  --site-width: 1200px;
  --header-height: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background-deep);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  border: 0;
}

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

.site-shell {
  width: min(calc(100% - 40px), var(--site-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 10px;
  background: white;
  color: #071426;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

.page-glow,
.cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(100px);
}

.page-glow-one {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -180px;
  background: rgba(2, 132, 199, 0.17);
}

.page-glow-two {
  width: 420px;
  height: 420px;
  left: -180px;
  top: 45vh;
  background: rgba(45, 212, 191, 0.1);
}

.cursor-glow {
  width: 460px;
  height: 460px;
  opacity: .42;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, .12),
    transparent 68%
  );
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background .3s ease,
    border-color .3s ease,
    backdrop-filter .3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 15, 28, 0.78);
  border-color: rgba(148, 198, 235, .13);
  backdrop-filter: blur(22px) saturate(150%);
}

.header-shell {
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-icon {
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(2, 132, 199, .2);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -.025em;
}

.preview-pill {
  padding: 5px 9px;
  border: 1px solid rgba(56, 189, 248, .25);
  border-radius: 999px;
  color: #8bdcff;
  background: rgba(56, 189, 248, .09);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--text-soft);
  font-size: .91rem;
  font-weight: 600;
  transition: color .2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(148, 198, 235, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.language-button {
  min-width: 37px;
  padding: 7px 9px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  transition: all .2s ease;
}

.language-button.is-active {
  color: #06233b;
  background: #8bdcff;
  box-shadow: 0 5px 18px rgba(56, 189, 248, .2);
}

.github-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 198, 235, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  font-size: .83rem;
  font-weight: 700;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.github-button:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, .45);
  background: rgba(56, 189, 248, .1);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, .06);
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: white;
  transition: transform .25s ease;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 150px 0 58px;
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(2, 132, 199, .18),
      transparent 34%
    ),
    radial-gradient(
      circle at 30% 60%,
      rgba(45, 212, 191, .08),
      transparent 30%
    ),
    linear-gradient(155deg, #071426 0%, #091a2e 48%, #06111f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(148, 198, 235, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 198, 235, .08) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: 730px;
  height: 730px;
  right: -240px;
  top: 40px;
  animation: orbitFloat 16s ease-in-out infinite;
}

.hero-orbit-two {
  width: 520px;
  height: 520px;
  left: -330px;
  top: 280px;
  animation: orbitFloat 20s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-kicker,
.mini-kicker {
  color: #6fd3ff;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 9px 13px;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 999px;
  background: rgba(56, 189, 248, .075);
  font-size: .74rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(45, 212, 191, .09);
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3.4rem, 6.4vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.068em;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  padding-bottom: .09em;
  color: transparent;
  background:
    linear-gradient(
      96deg,
      #8bdcff 0%,
      #38bdf8 34%,
      #2dd4bf 75%,
      #a5f3fc 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 630px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 21px;
  border-radius: 15px;
  font-size: .92rem;
  font-weight: 780;
  transition:
    transform .22s var(--ease),
    box-shadow .22s ease,
    background .22s ease;
}

.primary-cta {
  color: #05243b;
  background: linear-gradient(135deg, #8bdcff, #39c6f6);
  box-shadow: 0 16px 42px rgba(2, 132, 199, .3);
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(2, 132, 199, .42);
}

.secondary-cta {
  border: 1px solid rgba(148, 198, 235, .22);
  color: white;
  background: rgba(255, 255, 255, .045);
}

.secondary-cta:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .09);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 31px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 650;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: #66d5ce;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.app-stage {
  position: absolute;
  top: 45px;
  right: -100px;
  width: min(750px, 57vw);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
}

.app-stage-glow {
  position: absolute;
  inset: 12% 4% -4%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(56, 189, 248, .25);
  filter: blur(60px);
}

.desktop-window,
.gallery-window {
  overflow: hidden;
  border: 1px solid rgba(148, 198, 235, .24);
  border-radius: 20px;
  background: #eaf5ff;
  box-shadow:
    0 55px 110px rgba(0, 7, 18, .53),
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}

.window-bar {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px;
  border-bottom: 1px solid rgba(100, 116, 139, .14);
  color: #64748b;
  background: rgba(251, 253, 255, .96);
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-controls span:nth-child(1) {
  background: #ff605c;
}

.window-controls span:nth-child(2) {
  background: #ffbd44;
}

.window-controls span:nth-child(3) {
  background: #00ca4e;
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #334155;
  font-size: .72rem;
  font-weight: 740;
}

.window-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0f766e;
  font-size: .64rem;
  font-weight: 700;
}

.window-live span:first-child,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

.hero-dashboard {
  width: 100%;
  height: auto;
}

.floating-status,
.glucose-mini-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(148, 198, 235, .24);
  background: rgba(8, 25, 43, .84);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 58px rgba(0, 10, 25, .36);
}

.floating-status {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 158px;
  padding: 12px 15px;
  border-radius: 17px;
  animation: floatCard 5.8s ease-in-out infinite;
}

.floating-status img {
  border-radius: 8px;
}

.floating-status div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-label {
  color: var(--text-muted);
  font-size: .64rem;
  font-weight: 650;
}

.floating-status strong {
  font-size: .78rem;
}

.floating-status-high {
  top: 5px;
  right: -5px;
}

.floating-status-private {
  right: -48px;
  bottom: 34px;
  animation-delay: -2s;
}

.glucose-mini-card {
  left: -72px;
  bottom: 22px;
  width: 268px;
  padding: 17px 18px 12px;
  border-radius: 19px;
  animation: floatCard 7s ease-in-out infinite reverse;
}

.mini-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: .65rem;
  font-weight: 650;
}

.mini-value-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
}

.mini-value-row strong {
  font-size: 2rem;
  letter-spacing: -.05em;
}

.mini-value-row span {
  color: var(--text-muted);
  font-size: .7rem;
}

.mini-value-row .trend-arrow {
  margin-left: auto;
  color: var(--teal);
  font-size: 1.3rem;
}

.mini-chart {
  width: 100%;
  height: 62px;
  margin-top: 5px;
  overflow: visible;
}

.mini-chart-fill {
  fill: url(#miniChartFill);
}

.mini-chart-line {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 3;
  stroke-linecap: round;
}

.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 78px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 198, 235, .12);
}

.hero-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.platform-strip span,
.export-pills span {
  padding: 7px 11px;
  border: 1px solid rgba(148, 198, 235, .15);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, .035);
  font-size: .67rem;
  font-weight: 690;
}

.section {
  position: relative;
  padding: 132px 0;
}

.section-dark {
  background:
    radial-gradient(
      circle at 75% 40%,
      rgba(2, 132, 199, .12),
      transparent 34%
    ),
    linear-gradient(180deg, #071426, #09192b);
}

.section-light {
  color: var(--text-dark);
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 15px;
  font-size: .72rem;
}

.section-light .section-kicker,
.language-section .section-kicker {
  color: var(--accent-strong);
}

.section-heading h2,
.language-copy h2,
.privacy-copy h2,
.download-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.section-heading p,
.language-copy > p,
.privacy-copy > p,
.download-heading p {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.section-light .section-heading p,
.language-copy > p {
  color: var(--text-dark-soft);
}

.presence-showcase {
  display: grid;
  grid-template-columns: minmax(330px, .85fr) minmax(480px, 1.15fr);
  gap: 70px;
  align-items: center;
  padding: 56px;
  border: 1px solid rgba(148, 198, 235, .15);
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .055),
      rgba(255, 255, 255, .018)
    );
  box-shadow: var(--shadow-xl);
}

.mini-kicker {
  font-size: .66rem;
}

.presence-copy h3,
.feature-card h3 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.presence-copy > p,
.feature-card p {
  margin: 19px 0 0;
  color: var(--text-soft);
  font-size: .98rem;
  line-height: 1.68;
}

.state-list {
  display: grid;
  gap: 9px;
  margin-top: 31px;
}

.state-button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  text-align: left;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.state-button:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, .035);
}

.state-button.is-active {
  border-color: rgba(125, 211, 252, .24);
  background: rgba(56, 189, 248, .08);
}

.state-button img {
  border-radius: 8px;
}

.state-button span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.state-button strong {
  font-size: .82rem;
}

.state-button small {
  color: var(--text-muted);
  font-size: .7rem;
}

.presence-demo {
  min-height: 510px;
  padding: 70px 36px 34px;
  border: 1px solid rgba(148, 198, 235, .16);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(56, 189, 248, .16),
      transparent 32%
    ),
    linear-gradient(150deg, #10223a, #071321);
  transition: background .35s ease;
}

.presence-demo[data-presence-demo="high"] {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(245, 158, 11, .18),
      transparent 32%
    ),
    linear-gradient(150deg, #2a2114, #071321);
}

.presence-demo[data-presence-demo="low"] {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(239, 68, 68, .17),
      transparent 32%
    ),
    linear-gradient(150deg, #28151a, #071321);
}

.presence-demo[data-presence-demo="privacy"] {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(59, 130, 246, .19),
      transparent 32%
    ),
    linear-gradient(150deg, #10203b, #071321);
}

.mock-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 39px;
  margin-bottom: 16px;
  padding-inline: 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(1, 5, 10, .72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  font-size: .65rem;
}

.mock-menu-left,
.mock-menu-right {
  display: flex;
  align-items: center;
  gap: 13px;
}

.mock-menu-left span,
.mock-menu-right span {
  color: #b5c3d3;
}

.mock-menu-right img {
  border-radius: 6px;
}

.presence-popover {
  width: min(350px, 100%);
  margin-left: auto;
  padding: 21px;
  border: 1px solid rgba(148, 198, 235, .18);
  border-radius: 22px;
  background: rgba(11, 26, 45, .94);
  box-shadow: 0 35px 75px rgba(0, 7, 18, .43);
}

.popover-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.popover-brand img {
  border-radius: 11px;
}

.popover-brand div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.popover-brand strong {
  font-size: .86rem;
}

.popover-brand span,
.popover-reading span,
.popover-reading small,
.popover-state {
  color: var(--text-muted);
  font-size: .67rem;
}

.popover-reading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 20px;
  border: 1px solid rgba(148, 198, 235, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.popover-reading > div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 3px 7px;
}

.popover-reading > div > span {
  grid-column: 1 / -1;
}

.popover-reading strong {
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -.055em;
}

.popover-trend {
  color: var(--teal) !important;
  font-size: 1.8rem !important;
}

.popover-state {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.popover-state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.presence-popover button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border-radius: 12px;
  color: #05243b;
  background: #78d8ff;
  font-size: .74rem;
  font-weight: 780;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feature-card {
  min-width: 0;
  overflow: hidden;
  padding: 34px;
  border: 1px solid #d5e7f8;
  border-radius: 27px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
}

.feature-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 42px;
  padding: 38px 38px 0;
}

.feature-card-reverse {
  grid-template-columns: 1.25fr .75fr;
}

.feature-card-reverse .feature-card-copy {
  order: 2;
}

.feature-card-reverse .feature-media {
  order: 1;
}

.feature-card .mini-kicker {
  color: var(--accent-strong);
}

.feature-card p {
  color: var(--text-dark-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-icon-blue {
  color: #0369a1;
  background: #e0f2fe;
}

.feature-icon-green {
  color: #15803d;
  background: #dcfce7;
}

.feature-icon-indigo {
  color: #4f46e5;
  background: #e0e7ff;
}

.feature-icon-teal {
  color: #0f766e;
  background: #ccfbf1;
}

.feature-media {
  align-self: end;
  overflow: hidden;
  border: 1px solid #d7e7f6;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 22px 50px rgba(15, 50, 84, .15);
}

.feature-media img {
  width: 100%;
}

.diary-media {
  border-radius: 20px 20px 0 0;
}

.notification-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 15px;
  border: 1px solid #d6e6f5;
  border-radius: 17px;
  background: #f7fbff;
  box-shadow: 0 12px 28px rgba(15, 50, 84, .08);
}

.notification-preview img {
  border-radius: 12px;
}

.notification-preview div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-preview strong {
  font-size: .8rem;
}

.notification-preview span {
  color: var(--text-dark-soft);
  font-size: .7rem;
  line-height: 1.4;
}

.export-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.export-pills span {
  border-color: #d2e5f7;
  color: #0369a1;
  background: #f0f9ff;
}

.gallery-section {
  background:
    radial-gradient(
      circle at 45% 50%,
      rgba(56, 189, 248, .1),
      transparent 38%
    ),
    #061221;
}

.gallery-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(148, 198, 235, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.gallery-tab {
  padding: 10px 17px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-muted);
  background: transparent;
  font-size: .76rem;
  font-weight: 720;
  transition: all .2s ease;
}

.gallery-tab.is-active {
  color: #06233b;
  background: #83ddff;
}

.gallery-window {
  max-width: 1050px;
  margin-inline: auto;
}

.gallery-window > img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: top;
}

.window-version {
  margin-left: auto;
  color: #64748b;
  font-size: .66rem;
  font-weight: 650;
}

.language-section {
  color: var(--text-dark);
  background:
    linear-gradient(
      125deg,
      rgba(221, 246, 255, 1),
      rgba(238, 242, 255, 1)
    );
}

.language-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 78px;
}

.language-points {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.language-points div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(100, 116, 139, .16);
}

.language-points span {
  color: var(--accent-strong);
  font-size: .72rem;
  font-weight: 800;
}

.language-points p {
  margin: 0;
  color: var(--text-dark);
  font-size: .88rem;
  font-weight: 680;
}

.language-media {
  position: relative;
}

.language-media img {
  width: 100%;
  border: 1px solid rgba(125, 170, 207, .4);
  border-radius: 27px;
  box-shadow: 0 35px 70px rgba(15, 58, 94, .2);
}

.language-badge {
  position: absolute;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  font-size: .74rem;
  font-weight: 780;
  box-shadow: 0 14px 32px rgba(15, 58, 94, .2);
}

.language-badge-en {
  top: -18px;
  left: -20px;
  background: #0284c7;
  transform: rotate(-4deg);
}

.language-badge-it {
  right: -17px;
  bottom: 28px;
  background: #0d9488;
  transform: rotate(4deg);
}

.privacy-section {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 40%,
      rgba(59, 130, 246, .15),
      transparent 38%
    ),
    #071426;
}

.privacy-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 62px;
  padding: 64px;
  border: 1px solid rgba(148, 198, 235, .16);
  border-radius: 36px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .055),
      rgba(255, 255, 255, .015)
    );
  box-shadow: var(--shadow-xl);
}

.privacy-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 17px;
  color: #8bdcff;
  background: rgba(56, 189, 248, .1);
}

.privacy-symbol svg {
  width: 27px;
  height: 27px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  margin-top: 33px;
}

.privacy-grid div {
  padding-top: 17px;
  border-top: 1px solid rgba(148, 198, 235, .14);
}

.privacy-grid strong,
.privacy-grid span {
  display: block;
}

.privacy-grid strong {
  margin-bottom: 6px;
  font-size: .82rem;
}

.privacy-grid span {
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.5;
}

.privacy-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.privacy-ring {
  position: absolute;
  border: 1px solid rgba(96, 165, 250, .22);
  border-radius: 50%;
}

.privacy-ring-one {
  width: 370px;
  height: 370px;
  animation: slowSpin 26s linear infinite;
}

.privacy-ring-two {
  width: 270px;
  height: 270px;
  border-style: dashed;
  animation: slowSpin 19s linear infinite reverse;
}

.privacy-center {
  z-index: 2;
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(96, 165, 250, .24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(59, 130, 246, .16), rgba(8, 25, 43, .9));
  box-shadow: 0 0 70px rgba(59, 130, 246, .18);
}

.privacy-center img {
  border-radius: 18px;
}

.privacy-center strong {
  margin-top: 10px;
  font-size: .9rem;
}

.privacy-center span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: .64rem;
}

.privacy-chip {
  position: absolute;
  padding: 9px 13px;
  border: 1px solid rgba(148, 198, 235, .18);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(9, 29, 50, .88);
  backdrop-filter: blur(12px);
  font-size: .67rem;
  font-weight: 720;
}

.privacy-chip-one {
  top: 42px;
  left: 22px;
}

.privacy-chip-two {
  top: 120px;
  right: -5px;
}

.privacy-chip-three {
  bottom: 42px;
  left: 55px;
}

.download-section {
  color: var(--text-dark);
  background: #f4f9fe;
}

.download-panel {
  padding: 60px;
  border: 1px solid #d4e6f6;
  border-radius: 36px;
  background: white;
  box-shadow: var(--shadow-card);
}

.download-heading {
  display: flex;
  justify-content: space-between;
  gap: 45px;
}

.download-heading > div:first-child {
  max-width: 730px;
}

.download-heading p {
  color: var(--text-dark-soft);
}

.release-status {
  height: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  background: #f0fdf4;
  font-size: .7rem;
  font-weight: 740;
  white-space: nowrap;
}

.release-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 42px;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 23px;
  border: 1px solid #dceaf7;
  border-radius: 23px;
  background: #f9fcff;
  transition:
    transform .22s var(--ease),
    box-shadow .22s ease,
    border-color .22s ease;
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: #a8d8f4;
  box-shadow: 0 18px 40px rgba(15, 58, 94, .1);
}

.platform-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0f172a;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 58, 94, .08);
}

.platform-icon svg {
  width: 22px;
  height: 22px;
}

.platform-icon-windows {
  color: #0078d4;
}

.download-platform {
  color: var(--accent-strong);
  font-size: .65rem;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 4px 0 0;
  font-size: 1rem;
}

.download-card p {
  margin: 4px 0 0;
  color: var(--text-dark-soft);
  font-size: .7rem;
}

.download-placeholder {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #b8d4eb;
  border-radius: 12px;
  color: #7891a8;
  background: #edf6fd;
  font-size: .69rem;
  font-weight: 720;
}

.download-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  margin-top: 29px;
  padding-top: 24px;
  border-top: 1px solid #e1ecf6;
}

.download-footer p {
  max-width: 730px;
  margin: 0;
  color: var(--text-dark-soft);
  font-size: .72rem;
  line-height: 1.6;
}

.download-footer a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-strong);
  font-size: .72rem;
  font-weight: 760;
  white-space: nowrap;
}

.safety-section {
  padding: 28px 0 90px;
  background: #f4f9fe;
}

.safety-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  color: #7c2d12;
  background: #fff7ed;
}

.safety-icon {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffedd5;
}

.safety-icon svg {
  width: 22px;
  height: 22px;
}

.safety-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: .86rem;
}

.safety-card p {
  margin: 0;
  color: #9a3412;
  font-size: .72rem;
  line-height: 1.6;
}

.site-footer {
  padding: 70px 0 48px;
  border-top: 1px solid rgba(148, 198, 235, .12);
  background: #040b15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand p {
  margin: 20px 0 16px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.footer-brand > span {
  color: #60758b;
  font-size: .68rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 65px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: white;
  font-size: .72rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .74rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #8bdcff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease);
}

.reveal-delay-one {
  transition-delay: .12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(28px) rotate(5deg);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

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

  .mobile-menu-button {
    display: grid;
    gap: 5px;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(148, 198, 235, .18);
    border-radius: 19px;
    background: rgba(5, 15, 28, .96);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(22px);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: all .25s ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-nav a {
    padding: 12px 11px;
    border-radius: 10px;
  }

  .mobile-nav a:hover {
    background: rgba(255, 255, 255, .05);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .app-stage {
    right: -50px;
    width: min(840px, 91vw);
  }

  .presence-showcase,
  .language-grid,
  .privacy-card {
    grid-template-columns: 1fr;
  }

  .presence-demo {
    min-height: 480px;
  }

  .privacy-copy {
    max-width: 760px;
  }

  .privacy-visual {
    min-height: 390px;
  }

  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-shell,
  .header-shell {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .site-header {
    height: var(--header-height);
  }

  .brand-icon {
    width: 37px;
    height: 37px;
  }

  .preview-pill,
  .github-button span {
    display: none;
  }

  .github-button {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }

  .hero {
    min-height: auto;
    padding: 122px 0 42px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .hero-trust {
    gap: 13px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .app-stage {
    top: 40px;
    right: -75px;
    width: 700px;
    max-width: none;
    transform: scale(.68);
    transform-origin: top right;
  }

  .floating-status {
    display: none;
  }

  .glucose-mini-card {
    left: 0;
    bottom: 2px;
    width: 230px;
  }

  .hero-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 35px;
  }

  .platform-strip {
    justify-content: flex-start;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .language-copy h2,
  .privacy-copy h2,
  .download-heading h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .section-heading p,
  .language-copy > p,
  .privacy-copy > p,
  .download-heading p {
    font-size: .96rem;
  }

  .presence-showcase,
  .privacy-card,
  .download-panel {
    padding: 28px 20px;
    border-radius: 25px;
  }

  .presence-demo {
    min-height: 400px;
    padding: 55px 14px 20px;
  }

  .mock-menu-left span:not(.apple-symbol) {
    display: none;
  }

  .feature-grid,
  .download-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 27px 22px;
  }

  .feature-card-wide,
  .feature-card-reverse {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 27px 22px 0;
  }

  .feature-card-reverse .feature-card-copy,
  .feature-card-reverse .feature-media {
    order: initial;
  }

  .feature-media {
    margin-inline: -4px;
  }

  .language-grid {
    gap: 46px;
  }

  .language-badge-en {
    left: -5px;
  }

  .language-badge-it {
    right: -5px;
  }

  .privacy-visual {
    min-height: 340px;
    transform: scale(.84);
    margin-inline: -30px;
  }

  .download-heading,
  .download-footer {
    flex-direction: column;
  }

  .download-card:last-child {
    grid-column: auto;
  }

  .release-status {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .footer-links {
    gap: 35px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: .95rem;
  }

  .language-switch {
    display: none;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-visual {
    min-height: 395px;
  }

  .app-stage {
    right: -90px;
    transform: scale(.54);
  }

  .glucose-mini-card {
    width: 205px;
    padding-inline: 14px;
  }

  .gallery-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .privacy-visual {
    transform: scale(.72);
    margin: -40px -70px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

/* Official preview download links */

.download-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #0284c7;
  border-radius: 12px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #0284c7 0%,
      #0369a1 100%
    );
  box-shadow: 0 12px 25px rgba(2, 132, 199, .18);
  font-size: .72rem;
  font-weight: 780;
  transition:
    transform .2s var(--ease),
    box-shadow .2s ease,
    background .2s ease;
}

.download-button:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(
      135deg,
      #0ea5e9 0%,
      #0284c7 100%
    );
  box-shadow: 0 17px 34px rgba(2, 132, 199, .28);
}

.download-button:focus-visible {
  outline: 3px solid rgba(56, 189, 248, .35);
  outline-offset: 3px;
}

.download-button svg {
  flex: 0 0 auto;
}

