:root {
  --ink: #14202b;
  --muted: #64717c;
  --paper: #ffffff;
  --mist: #eef8f7;
  --sea: #0d7c86;
  --deep-sea: #074e59;
  --sun: #f4b860;
  --coral: #cf5f54;
  --line: #d7e5e4;
  --shadow: 0 24px 60px rgba(8, 52, 59, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(230, 247, 246, 0.88) 0%, #ffffff 620px),
    #ffffff;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(13, 124, 134, 0.16);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--deep-sea);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100svh - 72px);
  padding: clamp(44px, 8vw, 92px) clamp(18px, 6vw, 86px) 40px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3.5rem, 12vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 630px;
  color: #344853;
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--deep-sea);
  color: #ffffff;
}
.button-secondary {
  border-color: var(--line);
  background: #d7d7d7;
  color: var(--deep-sea);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #101820;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 390px);
  min-height: 660px;
  padding: 18px;
  border: 10px solid #101820;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 247, 0.86)),
    var(--paper);
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px 14px;
  color: #344853;
  font-size: 0.78rem;
  font-weight: 700;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--line);
}

.app-header img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
}

.app-header strong,
.app-header span {
  display: block;
}

.app-header strong {
  font-size: 1.2rem;
}

.app-header span {
  color: var(--muted);
  font-size: 0.9rem;
}

.app-panel {
  padding-top: 28px;
}

.app-panel h2 {
  font-size: 1.6rem;
  line-height: 1.08;
}

.category-stack {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.category-stack span {
  display: block;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #263d48;
  font-weight: 750;
}

.category-stack .active {
  border-color: rgba(13, 124, 134, 0.35);
  background: rgba(13, 124, 134, 0.11);
  color: var(--deep-sea);
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 6vw, 86px);
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: end;
}

.section-copy {
  max-width: 820px;
}

.section-copy.narrow {
  max-width: 760px;
}

.section-copy p:not(.eyebrow),
.safety-band p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.intro-grid article,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.intro-grid article {
  padding: 20px;
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 2.4rem;
  font-weight: 900;
}

.intro-grid p {
  margin: 0;
  color: #415660;
}

.demo-section {
  background: #ffffff;
}

.flow-diagram {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) auto minmax(260px, 0.95fr) auto minmax(320px, 1.25fr);
  gap: 18px;
  margin-top: 34px;
  align-items: center;
}

.flow-card {
  position: relative;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(8, 52, 59, 0.08);
}

.flow-card > h3 {
  margin-top: 18px;
}

.flow-card > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.flow-step {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--deep-sea);
  color: #ffffff;
  font-weight: 900;
}

.flow-arrow {
  display: inline-flex;
  min-width: 62px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--deep-sea);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flow-arrow::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: 8px;
  background: var(--sea);
  box-shadow: 8px -5px 0 -3px var(--sea), 8px 5px 0 -3px var(--sea);
}

.mini-screen,
.detail-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 247, 0.78)),
    #ffffff;
}

.mini-screen {
  padding: 16px;
}

.mini-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mini-header img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.mini-header strong,
.mini-header span {
  display: block;
}

.mini-header strong {
  font-size: 0.96rem;
}

.mini-header span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.mini-nav {
  margin-bottom: 14px;
  color: var(--deep-sea);
  font-weight: 900;
}

.mini-screen h3 {
  font-size: 1.05rem;
  line-height: 1.18;
}

.mini-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.mini-list span {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #344853;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
}

.mini-list .selected {
  border-color: rgba(13, 124, 134, 0.35);
  background: rgba(13, 124, 134, 0.12);
  color: var(--deep-sea);
}

.mini-list .muted-choice {
  border-style: dashed;
  background: rgba(238, 248, 247, 0.5);
  color: var(--muted);
}

.detail-preview {
  padding: 18px;
}

.detail-label {
  margin-bottom: 8px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-preview h3 {
  font-size: 1.75rem;
  line-height: 1.05;
}

.detail-preview section,
.detail-preview .tip,
.detail-preview .success {
  margin-top: 18px;
}

.detail-preview h4 {
  margin: 0 0 7px;
  color: var(--deep-sea);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-preview p,
.detail-preview li {
  color: #405661;
  line-height: 1.55;
}

.detail-preview ul,
.detail-preview ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.tip {
  padding: 18px;
  border: 1px solid rgba(244, 184, 96, 0.7);
  border-radius: var(--radius);
  background: rgba(244, 184, 96, 0.16);
}

.success {
  padding: 18px;
  border-left: 4px solid var(--sea);
  background: var(--mist);
}

.features {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(238, 248, 247, 0.72), rgba(255, 255, 255, 0.96));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.feature-grid article {
  padding: 22px;
}

.safety-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  background: var(--deep-sea);
  color: #ffffff;
}

.safety-band .eyebrow,
.safety-band h2,
.safety-band p {
  color: #ffffff;
}

.safety-band p {
  max-width: 760px;
  opacity: 0.86;
}

.support {
  background: #ffffff;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-row {
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  min-height: 56px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  appearance: none;
  background: #101820;
  color: #ffffff;
  font: inherit;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(8, 52, 59, 0.14);
  cursor: pointer;
}

.store-button:hover,
.store-button:focus-visible {
  background: var(--deep-sea);
}

.store-button-android {
  anchor-name: --android-store-button;
}

.store-popover {
  position-anchor: --android-store-button;
  position: absolute;
  inset: auto;
  top: anchor(top);
  left: anchor(right);
  max-width: min(280px, calc(100vw - 36px));
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(8, 52, 59, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(8, 52, 59, 0.2);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  translate: -18px calc(-100% - 8px);
}

.store-popover::backdrop {
  background: transparent;
}

.store-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.05;
}

.store-button small {
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 650;
}

.store-button strong {
  font-size: 1.12rem;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--deep-sea);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro-band,
  .flow-diagram,
  .safety-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .phone-shell {
    min-height: 560px;
  }

  .flow-arrow {
    justify-content: flex-start;
    padding-left: 18px;
  }

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

@media (max-width: 560px) {
  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .store-button {
    width: 100%;
  }

  .flow-card {
    padding: 14px;
  }
}

.support ul li {
  padding: 10px;
}
