:root {
  color-scheme: light;
  --canvas: #fbfcfa;
  --surface: #ffffff;
  --surface-soft: #f3f7f5;
  --ink: #0d1b3a;
  --ink-muted: #51616c;
  --teal-deep: #0f5b5a;
  --teal: #2aa39a;
  --mint: #e6f3ef;
  --line: #d9e3df;
  --line-strong: #bfceca;
  --shadow: 0 24px 70px rgba(13, 27, 58, 0.12);
  --shadow-soft: 0 12px 34px rgba(13, 27, 58, 0.08);
  --radius: 10px;
  --radius-lg: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 10%, rgba(42, 163, 154, 0.09), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--canvas) 44%, #f4f8f6 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

img,
svg {
  display: block;
}

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

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(217, 227, 223, 0.82);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  color: var(--ink);
}

.brand img,
.footer-brand img {
  border-radius: 7px;
}

.brand span {
  font-size: 20px;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 690;
}

.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.hero {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: clamp(40px, 6vw, 82px);
  padding: 56px 0;
}

.hero-copy {
  min-width: 0;
  max-width: 640px;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6.8vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 820;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
}

.lede {
  max-width: 560px;
  color: var(--ink-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.button svg,
.mail-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.button.primary {
  background: var(--teal-deep);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 91, 90, 0.22);
}

.button.secondary {
  color: var(--teal-deep);
  background: transparent;
}

.device-stage {
  display: flex;
  justify-content: center;
  padding: 22px 0;
}

.phone {
  position: relative;
  width: min(100%, 336px);
  aspect-ratio: 0.492;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(145deg, #12151c, #0c1020);
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #06080d;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: linear-gradient(180deg, #fffefd, #f5f8f6);
  padding: 52px 15px 13px;
}

.app-topbar,
.preview-row,
.app-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-topbar {
  margin-bottom: 8px;
  font-size: 15px;
}

.app-topbar div {
  display: grid;
  gap: 1px;
}

.app-topbar small,
.app-topbar span {
  color: var(--ink-muted);
  font-size: 12px;
}

.sample-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 91, 90, 0.09);
  color: var(--teal-deep);
  font-size: 10px;
  font-weight: 820;
}

.safe-panel,
.preview-row,
.attention-card,
.mini-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(13, 27, 58, 0.06);
}

.app-card {
  position: relative;
}

.safe-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.panel-label,
.preview-row small {
  display: block;
  color: var(--ink-muted);
  font-size: 11px;
}

.safe-panel strong {
  display: block;
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.05;
}

.progress-ring {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 58%, transparent 59%),
    conic-gradient(var(--teal-deep) 0 72%, #dce8e5 72% 100%);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
}

.attention-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin-bottom: 10px;
  padding: 11px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(230, 243, 239, 0.78), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.attention-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.18;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b35442;
  box-shadow: 0 0 0 5px rgba(179, 84, 66, 0.10);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.mini-card {
  min-height: 72px;
  padding: 10px;
  border-radius: var(--radius);
}

.mini-card .row-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  font-size: 13px;
}

.mini-card strong,
.mini-card small {
  display: block;
}

.mini-card strong {
  font-size: 17px;
  line-height: 1.15;
}

.mini-card small {
  color: var(--ink-muted);
  font-size: 10px;
}

.preview-row {
  min-height: 52px;
  gap: 12px;
  margin-top: 7px;
  padding: 9px 10px;
  border-radius: var(--radius);
}

.row-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 800;
}

.preview-row div {
  flex: 1;
}

.preview-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.14;
}

.sparkline {
  width: 56px;
  height: 24px;
  background:
    linear-gradient(135deg, transparent 42%, var(--teal-deep) 43% 48%, transparent 49%),
    linear-gradient(155deg, transparent 38%, var(--teal) 39% 44%, transparent 45%);
}

.app-tabs {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.app-tabs span {
  width: auto;
  height: auto;
  min-width: 36px;
  padding-top: 12px;
  border-radius: 999px;
  background:
    linear-gradient(var(--teal-deep), var(--teal-deep)) top center / 24px 4px no-repeat;
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 760;
  text-align: center;
}

.app-tabs span:not(:first-child) {
  background:
    linear-gradient(#c9d5d1, #c9d5d1) top center / 24px 4px no-repeat;
  color: #71817c;
}

.privacy-band {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 36px;
  align-items: start;
  margin: 0 -20px;
  padding: 64px 52px;
  border: 1px solid rgba(217, 227, 223, 0.72);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(230, 243, 239, 0.96), rgba(255, 255, 255, 0.82)),
    var(--surface-soft);
}

.section-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 91, 90, 0.10);
  color: var(--teal-deep);
}

.section-icon svg,
.policy-document section::before,
.support-checklist li::before {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.proof-grid article {
  padding-right: 28px;
  border-right: 1px solid rgba(191, 206, 202, 0.82);
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid p,
.section-heading p,
.policy-document p,
.support-hero p,
.support-checklist li small {
  color: var(--ink-muted);
}

.daily-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: clamp(32px, 6vw, 74px);
  padding: 72px 0 84px;
}

.section-heading {
  max-width: 380px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item span {
  color: var(--ink);
  font-weight: 760;
}

.feature-item small {
  color: var(--ink-muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 24px 26px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #071d3c;
  color: #ffffff;
}

.site-footer a,
.site-footer p {
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  opacity: 0.78;
}

.footer-links {
  color: #ffffff;
}

.document-page {
  min-height: calc(100vh - 76px - 94px);
  padding: 72px 0 84px;
}

.support-page {
  max-width: 760px;
  margin: 0 auto;
}

.support-hero {
  text-align: center;
}

.support-hero h1,
.privacy-page h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.support-hero p {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 18px;
}

.mail-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto 42px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-align: left;
}

.mail-card svg {
  width: 32px;
  height: 32px;
  color: var(--teal-deep);
}

.mail-card strong,
.mail-card small {
  display: block;
}

.mail-card strong {
  font-size: clamp(20px, 3vw, 27px);
}

.mail-card small {
  color: var(--ink-muted);
}

.support-checklist {
  max-width: 560px;
  margin: 0 auto;
}

.support-checklist h2 {
  font-size: 19px;
}

.support-checklist ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.support-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-muted);
}

.support-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #ffffff;
  font-size: 13px;
  font-weight: 820;
}

.privacy-page {
  max-width: 820px;
  margin: 0 auto;
}

.policy-document {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 58px);
}

.policy-document header {
  margin-bottom: 38px;
  text-align: center;
}

.policy-document header p {
  margin-bottom: 0;
}

.policy-document section {
  position: relative;
  padding-left: 42px;
  margin-top: 28px;
}

.policy-document section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 7px rgba(15, 91, 90, 0.10);
}

.policy-document h2 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.22;
}

.policy-document p {
  margin-bottom: 0;
  font-size: 16px;
}

.policy-document a {
  color: var(--teal-deep);
  font-weight: 740;
}

@media (max-width: 900px) {
  .hero,
  .daily-section,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .device-stage {
    justify-content: flex-start;
  }

  .privacy-band {
    margin: 0;
    padding: 36px 28px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .proof-grid article {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(191, 206, 202, 0.82);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: calc(100% - 28px);
    overflow-x: hidden;
  }

  .site-header {
    min-height: 68px;
  }

  .brand span {
    font-size: 18px;
  }

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(36px, 9.8vw, 42px);
    line-height: 1.04;
  }

  .lede {
    max-width: 31ch;
    font-size: 17px;
  }

  .hero-actions,
  .site-footer,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .phone {
    width: min(100%, 300px);
  }

  .daily-section {
    padding: 54px 0 62px;
  }

  .document-page {
    padding: 48px 0 64px;
  }

  .mail-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .policy-document section {
    padding-left: 0;
  }

  .policy-document section::before {
    display: none;
  }
}
