:root {
  color-scheme: light;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --ink: #0c2f38;
  --ink-soft: #184551;
  --muted: #54707a;
  --river: #0a7180;
  --river-dark: #064f5b;
  --aqua: #62c9d4;
  --sky: #dff5f7;
  --foam: #f6fbfa;
  --sand: #f4f1e8;
  --white: #ffffff;
  --line: #c9dfe1;
  --focus: #f6b73c;
  --warning: #fff2cf;
  --success: #ddf3eb;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow: 0 20px 55px rgba(6, 79, 91, 0.12);
  --shadow-strong: 0 28px 80px rgba(3, 42, 50, 0.25);
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: var(--river-dark); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(201, 223, 225, 0.75);
  background: rgba(246, 251, 250, 0.94);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}
.brand span { font-size: 1.05rem; letter-spacing: -0.025em; }
.desktop-nav { display: flex; align-items: center; gap: 3px; font-size: 0.9rem; font-weight: 750; }
.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
}
.desktop-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 16px;
  background: var(--river-dark);
  color: var(--white);
}
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(310px, calc(100vw - 30px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-strong);
}
.mobile-menu nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.announcement {
  padding: 9px 20px;
  background: var(--sky);
  color: var(--river-dark);
  text-align: center;
  font-size: 0.87rem;
  font-weight: 700;
}
.announcement a { font-weight: 800; }

.hero-product {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(98, 201, 212, 0.32), transparent 26%),
    linear-gradient(145deg, #052f38 0%, #075968 55%, #087988 100%);
  color: var(--white);
}
.hero-product::after {
  content: "";
  position: absolute;
  inset: auto -5% -78px;
  z-index: -1;
  height: 155px;
  border-radius: 50% 50% 0 0;
  background: var(--foam);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(44px, 8vw, 92px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 999px; background: currentColor; }
.hero-product h1 { max-width: 12ch; margin-top: 15px; font-size: clamp(3rem, 6.2vw, 5.5rem); }
.hero-product .lead { max-width: 700px; margin: 20px 0 0; color: #d9f0f2; font-size: clamp(1.03rem, 1.7vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid var(--river-dark);
  border-radius: var(--radius-sm);
  background: var(--river-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
}
.button.light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button.ghost { border-color: rgba(255, 255, 255, 0.5); background: rgba(255,255,255,0.08); color: var(--white); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.store-button { text-align: left; }
.store-button small { display: block; font-size: 0.65rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.store-button strong { display: block; font-size: 1rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; color: #d9f0f2; font-size: 0.83rem; font-weight: 700; }
.trust-line li::before { content: "\2713"; margin-right: 8px; color: var(--aqua); }

.hero-visual { position: relative; min-height: 570px; }
.hero-art {
  position: absolute;
  inset: 30px -70px auto -10px;
  z-index: -1;
  opacity: 0.34;
  filter: saturate(0.9);
}
.phone {
  position: absolute;
  width: min(300px, 62vw);
  aspect-ratio: 1 / 2;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 36px;
  background: #071f25;
  box-shadow: var(--shadow-strong);
}
.phone img {
  width: 100%;
  height: 100%;
  border-radius: 27px;
  object-fit: cover;
  object-position: center;
}
.phone-map { top: 0; left: 0; transform: rotate(-5deg); }
.phone-search { right: 0; bottom: 0; transform: rotate(5deg); }

section { padding-block: clamp(68px, 8vw, 104px); }
.section-head { max-width: 830px; margin-bottom: clamp(32px, 5vw, 50px); }
.section-head .eyebrow, .page-hero .eyebrow { color: var(--river); }
.section-head h2 { margin-top: 12px; font-size: clamp(2.2rem, 4.7vw, 4rem); }
.section-head p { max-width: 750px; margin: 17px 0 0; color: var(--muted); font-size: 1.08rem; }

.condition-section { padding-top: 36px; }
.condition-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.condition-board h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.condition-board p { max-width: 650px; margin: 12px 0 0; color: var(--muted); }
.condition-list { min-width: 300px; margin: 0; padding: 0; list-style: none; }
.condition-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.condition-list li:last-child { border-bottom: 0; }
.condition-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--river); }
.condition-dot.watch { background: #f0b338; }
.condition-dot.low { background: #c95f57; }
.condition-list span:last-child { color: var(--muted); font-size: 0.8rem; }
.demo-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--warning);
  color: #714f00;
  font-size: 0.72rem;
  font-weight: 800;
}

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(6, 79, 91, 0.07);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--river-dark);
  font-weight: 900;
}
.card h3 { font-size: 1.42rem; }
.card p { margin: 12px 0 0; color: var(--muted); }
.card a { display: inline-flex; margin-top: 18px; font-weight: 800; }
.card ul { margin: 15px 0 0; padding-left: 20px; color: var(--muted); }
.card li + li { margin-top: 7px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(38px, 7vw, 78px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split h2 { margin-top: 12px; font-size: clamp(2.15rem, 4.6vw, 3.8rem); }
.split p { margin: 16px 0 0; color: var(--muted); }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.check-list li + li { margin-top: 11px; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: var(--river-dark);
  font-size: 0.72rem;
  font-weight: 900;
}
.screenshot-frame {
  max-width: 330px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 38px;
  background: #082b34;
  box-shadow: var(--shadow);
}
.screenshot-frame img {
  width: 100%;
  aspect-ratio: 1 / 2;
  border-radius: 29px;
  object-fit: cover;
  object-position: center;
}
.feature-art {
  width: 100%;
  height: auto;
  aspect-ratio: 5000 / 2625;
  align-self: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 34px);
  align-items: start;
}
.screenshot-row figure { margin: 0; }
.screenshot-row img {
  width: min(100%, 300px);
  aspect-ratio: 1 / 2;
  margin-inline: auto;
  padding: 8px;
  border-radius: 32px;
  background: #082b34;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}
.screenshot-row figcaption { max-width: 300px; margin: 14px auto 0; color: var(--muted); text-align: center; font-size: 0.88rem; }

.band { border-block: 1px solid var(--line); background: var(--sky); }
.band.dark { border: 0; background: var(--river-dark); color: var(--white); }
.band.dark p { color: #d5edef; }
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid rgba(201,223,225,0.35);
}
.fact-strip > div { padding: 26px; text-align: center; }
.fact-strip > div + div { border-left: 1px solid rgba(201,223,225,0.35); }
.fact-strip > div strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.fact-strip > div span { display: block; margin-top: 5px; font-size: 0.82rem; }
.fact { padding: 26px; text-align: center; }
.fact + .fact { border-left: 1px solid rgba(201,223,225,0.35); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.fact span { display: block; margin-top: 5px; color: #d5edef; font-size: 0.82rem; }

.page-hero {
  padding: clamp(60px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(150deg, var(--sky), var(--foam) 65%);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: 0.84rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #8eaaaf; }
.breadcrumbs a { color: inherit; }
.page-hero h1 { max-width: 14ch; margin-top: 13px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .lead { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.18rem); }
.page-hero .actions { margin-top: 24px; }

.prose-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(34px, 7vw, 78px); align-items: start; }
.in-page-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  list-style: none;
}
.in-page-nav strong { display: block; margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.in-page-nav a { min-height: 38px; display: flex; align-items: center; color: var(--muted); font-size: 0.9rem; }
.prose { min-width: 0; }
.prose article + article { margin-top: 68px; padding-top: 68px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h3 { margin-top: 28px; font-size: 1.35rem; }
.prose p { margin: 15px 0 0; color: var(--muted); }
.prose ul, .prose ol { margin: 15px 0 0; padding-left: 23px; color: var(--muted); }
.prose li + li { margin-top: 8px; }
.prose .callout {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--river);
  border-radius: 6px var(--radius-sm) var(--radius-sm) 6px;
  background: var(--white);
}
.prose .callout p { margin: 0; }
.updated { margin-top: 12px; color: var(--muted); font-size: 0.86rem; }

.guide-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.guide-index a {
  min-height: 86px;
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-decoration: none;
  font-weight: 800;
}
.guide-index span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.86rem; font-weight: 500; }

.data-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--sky); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.safety {
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid #ecd69f;
  border-radius: var(--radius-md);
  background: var(--warning);
}
.safety h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.safety p { margin: 12px 0 0; color: #624d1a; }

.cta-section { padding-top: 0; }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 6vw, 62px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #052f38, #087988);
  color: var(--white);
  box-shadow: var(--shadow-strong);
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -70px -170px auto;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(98,201,212,0.2);
}
.cta-panel h2 { max-width: 760px; font-size: clamp(2.1rem, 4.7vw, 3.8rem); }
.cta-panel p { max-width: 720px; margin: 15px 0 0; color: #d7eff1; }

.media-downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.download-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.download-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; background: var(--sky); }
.download-card strong { display: block; margin-top: 13px; }
.download-card a { display: inline-flex; margin-top: 8px; font-weight: 800; }

.soft-section { border-block: 1px solid var(--line); background: var(--sand); }
.section-heading { max-width: 830px; margin-bottom: clamp(32px, 5vw, 50px); }
.section-heading .eyebrow { color: var(--river); }
.section-heading h2 { margin-top: 12px; font-size: clamp(2.2rem, 4.7vw, 4rem); }
.section-heading p { max-width: 750px; margin: 17px 0 0; color: var(--muted); }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.media-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(6, 79, 91, 0.07);
}
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 12px; background: var(--sky); }
.media-card h3 { margin-top: 18px; font-size: 1.3rem; }
.media-card p { margin: 9px 0 0; color: var(--muted); }
.media-card a { display: inline-flex; margin-top: 12px; font-weight: 800; }
pre { max-width: 100%; overflow-x: auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink); color: var(--white); font-size: 0.84rem; }

footer { padding: 40px 0; background: #062f38; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, auto)); gap: 30px; }
.footer-brand p { max-width: 390px; margin: 10px 0 0; color: #d1e8ea; font-size: 0.9rem; }
.footer-column strong { display: block; margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-column a { min-height: 34px; display: flex; align-items: center; color: #d1e8ea; text-decoration: none; font-size: 0.9rem; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(201,223,225,0.25); color: #b8d3d6; font-size: 0.82rem; }

@media (hover: hover) {
  .desktop-nav a:hover, .mobile-menu nav a:hover { background: var(--sky); color: var(--river-dark); }
  .desktop-nav .nav-cta:hover { background: var(--river); color: var(--white); }
  .button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(3,42,50,0.2); }
  .card:hover { border-color: #8ebdc2; transform: translateY(-2px); box-shadow: var(--shadow); }
  .guide-index a:hover { border-color: var(--river); }
  .footer-column a:hover { color: var(--white); text-decoration: underline; }
}
.desktop-nav a, .mobile-menu nav a, .button, .card, .guide-index a, .footer-column a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-product::after { display: none; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .condition-board { grid-template-columns: 1fr; }
  .condition-list { min-width: 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split.reverse > :first-child { order: initial; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .site-header { background: rgba(246,251,250,0.98); backdrop-filter: none; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-product { padding-top: 60px; }
  .hero-product h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-visual { min-height: 490px; }
  .phone { width: min(265px, 64vw); }
  .card-grid, .screenshot-row, .guide-index, .media-downloads, .media-grid { grid-template-columns: 1fr; }
  .screenshot-row { gap: 34px; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; border-top: 1px solid rgba(201,223,225,0.35); }
  .fact:nth-child(4) { border-top: 1px solid rgba(201,223,225,0.35); }
  .prose-layout { grid-template-columns: 1fr; }
  .in-page-nav { position: static; }
}

@media (max-width: 520px) {
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .brand span { display: none; }
  .announcement { padding-inline: 14px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 425px; }
  .phone { width: min(230px, 64vw); border-radius: 28px; }
  .phone img { border-radius: 21px; }
  .phone-search { right: -3px; }
  .fact-strip, .footer-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-top: 1px solid rgba(201,223,225,0.35); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
