:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --ink: #0f2325;
  --ink-soft: #2e4547;
  --muted: #5d7274;
  --teal: #0b565a;
  --teal-deep: #073f42;
  --teal-mist: #edf6f5;
  --canvas: #fbfbf9;
  --paper: #ffffff;
  --linen: #f4f5f1;
  --line: rgba(15, 35, 37, 0.08);
  --line-strong: rgba(15, 35, 37, 0.14);
  --shadow-sm: 0 1px 2px rgba(10, 42, 45, 0.04);
  --shadow-device: 0 32px 70px -24px rgba(10, 46, 49, 0.24), 0 6px 18px -6px rgba(10, 46, 49, 0.08);
  --radius-md: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(56rem 30rem at 80% -8%, rgba(11, 86, 90, 0.075), transparent 60%),
    radial-gradient(44rem 24rem at 12% 2%, rgba(190, 224, 219, 0.22), transparent 58%),
    var(--canvas);
}

main {
  flex: 1;
}

a {
  color: var(--teal);
  text-decoration-color: rgba(11, 86, 90, 0.35);
  text-decoration-thickness: 1.25px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--teal-deep);
  text-decoration-color: var(--teal-deep);
}

a:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1020px, 100%);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.container-narrow {
  width: min(760px, 100%);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 249, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 680;
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}

.brand-link:hover {
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11, 86, 90, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 540;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 999px;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(15, 35, 37, 0.045);
}

.nav-links a[aria-current="page"] {
  color: var(--teal-deep);
  background: var(--teal-mist);
  font-weight: 620;
}

/* Minimal Landing Hero */

.hero {
  padding-block: clamp(48px, 7.5vw, 88px) clamp(40px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.042em;
  color: var(--ink);
}

.lead {
  margin: 0 0 30px;
  font-size: clamp(1.03rem, 1.8vw, 1.13rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #ffffff;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--linen);
  color: var(--ink);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(11, 86, 90, 0.5);
}

/* Minimal Device Mockup Frames */

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

.phone-frame {
  width: min(296px, 100%);
  padding: 9px;
  border-radius: 40px;
  background: #141c1d;
  box-shadow: var(--shadow-device);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

/* App Screens Gallery */

.section {
  padding-block: clamp(32px, 5.5vw, 64px);
}

.section-head {
  margin-bottom: 32px;
  max-width: 54ch;
}

.section-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 680;
  letter-spacing: -0.032em;
  line-height: 1.16;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.screen-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.screen-frame {
  width: min(260px, 100%);
  padding: 8px;
  border-radius: 34px;
  background: #141c1d;
  box-shadow: 0 22px 48px -20px rgba(10, 46, 49, 0.2), 0 2px 8px rgba(10, 46, 49, 0.06);
  transition: transform 220ms ease;
}

.screen-item:hover .screen-frame {
  transform: translateY(-4px);
}

.screen-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}

.screen-caption {
  margin-top: 18px;
  max-width: 28ch;
}

.screen-step {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.screen-caption h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 640;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.screen-caption p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Minimal Scope Banner */

.scope-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.scope-item h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 640;
  letter-spacing: -0.015em;
}

.scope-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Subpages (Privacy & Support) */

.page-wrap {
  padding-block: clamp(36px, 6vw, 64px) clamp(48px, 7vw, 80px);
}

.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  margin-bottom: 10px;
}

.page-meta {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.jump-nav a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 560;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.jump-nav a:hover {
  border-color: rgba(11, 86, 90, 0.28);
  background: var(--teal-mist);
  color: var(--teal-deep);
}

.doc-stack {
  display: grid;
  gap: 16px;
}

.doc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3.5vw, 32px);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 84px;
}

.doc-card.is-highlighted {
  border-color: rgba(11, 86, 90, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.doc-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 660;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.doc-card h3 {
  margin: 20px 0 8px;
  font-size: 0.98rem;
  font-weight: 640;
  color: var(--ink);
}

.doc-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.doc-card p:last-child,
.doc-card ul:last-child,
.doc-card ol:last-child {
  margin-bottom: 0;
}

.doc-card ul,
.doc-card ol {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.68;
}

.doc-card li + li {
  margin-top: 8px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-weight: 620;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--canvas);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table td:first-child {
  width: 34%;
  color: var(--ink);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 520;
}

.footer-links a:hover {
  color: var(--teal);
}

/* Responsive */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .screens-grid,
  .scope-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 60px;
  }

  .nav-links a {
    padding: 6px 10px;
    font-size: 0.88rem;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
  }

  .data-table td {
    border: 0;
    padding: 3px 0;
  }

  .data-table td:first-child {
    width: 100%;
  }
}
