:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #0b1720;
  background: #f7fbfd;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #0b1720;
  --ink-soft: #253743;
  --muted: #52636e;
  --brand: #006a9d;
  --brand-dark: #004f77;
  --green: #477416;
  --green-bright: #83b823;
  --blue-soft: #eef9ff;
  --green-soft: #eff8e9;
  --surface: #ffffff;
  --surface-soft: #f2f8fa;
  --page: #f7fbfd;
  --border: rgba(9, 67, 90, 0.14);
  --border-strong: rgba(9, 67, 90, 0.23);
  --shadow-sm: 0 12px 34px rgba(17, 88, 121, 0.08);
  --shadow: 0 24px 80px rgba(17, 88, 121, 0.14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-size: 1rem;
  line-height: 1.62;
}

body.marketing-page {
  background: #ffffff;
}

::selection {
  color: var(--ink);
  background: #ccefff;
}

img {
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-dark);
}

a:focus-visible,
summary:focus-visible,
.button:focus-visible,
.app-store-button:focus-visible,
.secondary-button:focus-visible,
.nav-store:focus-visible {
  outline: 3px solid #007bb5;
  outline-offset: 4px;
  border-radius: 8px;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.75rem, 6.4vw, 5.15rem);
  font-weight: 790;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.wide-container,
.container {
  width: calc(100% - 40px);
  margin-inline: auto;
}

.wide-container {
  max-width: 1180px;
}

.container {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: max(12px, env(safe-area-inset-left));
  z-index: 1000;
  padding: 11px 16px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 10px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

/* Shared navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 770;
  letter-spacing: -0.016em;
  text-decoration: none;
}

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

.app-mark {
  display: block;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(17, 88, 121, 0.1);
}

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

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 690;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--blue-soft);
}

.nav-links .nav-store {
  min-height: 44px;
  margin-left: 8px;
  padding-inline: 17px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(11, 23, 32, 0.15);
}

.nav-links .nav-store:hover {
  color: #ffffff;
  background: #1b303e;
}

.short-label {
  display: none;
}

/* Marketing hero */

.marketing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(71, 190, 239, 0.18), transparent 30%),
    radial-gradient(circle at 91% 77%, rgba(131, 184, 35, 0.17), transparent 31%),
    linear-gradient(145deg, #f7fcff 0%, #ffffff 49%, #f5fbed 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  min-height: 760px;
  gap: clamp(44px, 6vw, 96px);
  padding-block: clamp(70px, 9vw, 126px);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.79rem;
  font-weight: 810;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-lead,
.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.25vw, 1.3rem);
  line-height: 1.58;
}

.hero-lead {
  margin: 24px 0 0;
}

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

.app-store-button,
.secondary-button,
.button,
.text-button,
.mac-teaser {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 15px;
  font-weight: 730;
  line-height: 1.12;
  text-decoration: none;
}

.app-store-button {
  min-width: 181px;
  gap: 10px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(11, 23, 32, 0.18);
}

.app-store-button:hover {
  color: #ffffff;
  background: #1b303e;
  transform: translateY(-1px);
}

.app-store-button small {
  display: block;
  margin-bottom: 1px;
  font-size: 0.63rem;
  font-weight: 560;
  letter-spacing: 0.02em;
}

.apple-symbol {
  font-size: 1.85rem;
  line-height: 1;
}

.secondary-button,
.button,
.text-button {
  padding: 12px 19px;
}

.secondary-button,
.text-button {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-strong);
}

.secondary-button:hover,
.text-button:hover {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(0, 106, 157, 0.38);
}

.mac-teaser {
  gap: 10px;
  padding: 9px 15px;
  color: var(--ink-soft);
  background: rgba(242, 248, 250, 0.88);
  border: 1px solid var(--border-strong);
}

.mac-teaser svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--brand-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mac-teaser > span {
  display: grid;
  text-align: left;
}

.mac-teaser small {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.mac-teaser strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.15;
}

.button {
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: 0 9px 24px rgba(0, 79, 119, 0.17);
}

.button:hover {
  color: #ffffff;
  background: #003e5e;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(131, 184, 35, 0.13);
  content: "";
  transform: translateY(-50%);
}

.hero-disclaimer {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 620;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 640px;
}

.phone-shot {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #dff4ff;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}

.hero-phone {
  width: min(100%, 348px);
}

.hero-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-orb-blue {
  top: 3%;
  right: -8%;
  width: 350px;
  height: 350px;
  background: linear-gradient(145deg, rgba(82, 196, 242, 0.38), rgba(33, 153, 198, 0.09));
}

.hero-orb-green {
  bottom: 3%;
  left: -5%;
  width: 290px;
  height: 290px;
  background: linear-gradient(145deg, rgba(168, 218, 84, 0.34), rgba(96, 156, 35, 0.08));
}

.floating-status {
  position: absolute;
  right: -2%;
  bottom: 8%;
  z-index: 4;
  display: grid;
  width: min(360px, calc(100% - 12px));
  padding: 14px 16px 15px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 17px;
  box-shadow: 0 16px 42px rgba(17, 88, 121, 0.17);
  font-size: 0.78rem;
  line-height: 1.25;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.floating-status strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.82rem;
}

.status-legend {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(166px, 1.2fr);
  align-items: start;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-legend li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  font-weight: 650;
}

.status-dot {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 0.03em;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(11, 23, 32, 0.17);
}

.status-blue { background: #269abe; }
.status-green { background: #86b823; }
.status-yellow { background: #f1c900; }
.status-red { background: #d90000; }

/* Marketing content */

.fact-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.fact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 30px;
}

.fact-strip-grid > div {
  display: grid;
  gap: 2px;
  padding-inline: clamp(20px, 4vw, 50px);
  border-left: 1px solid var(--border);
}

.fact-strip-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact-strip-grid > div:last-child {
  padding-right: 0;
}

.fact-strip strong {
  color: var(--ink);
  font-size: 1.04rem;
  letter-spacing: -0.012em;
}

.fact-strip span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section {
  padding-block: clamp(88px, 10vw, 138px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(38px, 6vw, 60px);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.section-heading.centered > p:last-child {
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(76, 189, 236, 0.09), transparent 42%),
    #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:nth-child(2n) {
  background:
    radial-gradient(circle at 100% 0, rgba(131, 184, 35, 0.1), transparent 42%),
    #ffffff;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 52px rgba(17, 88, 121, 0.12);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin-top: 34px;
  font-size: 1.23rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding-inline: 10px;
  color: var(--brand-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 106, 157, 0.13);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.feature-card:nth-child(2n) .feature-number {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(71, 116, 22, 0.13);
}

.showcase-section {
  padding-block: clamp(88px, 11vw, 148px);
  overflow: hidden;
  background: var(--blue-soft);
  border-block: 1px solid var(--border);
}

.showcase-section.showcase-alt {
  background: var(--green-soft);
  border-top: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(52px, 9vw, 120px);
}

.showcase-grid.reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
}

.showcase-grid.reverse .showcase-phone {
  order: 2;
}

.showcase-grid.reverse .showcase-copy {
  order: 1;
}

.showcase-phone {
  width: clamp(270px, 29vw, 365px);
  justify-self: center;
}

.showcase-copy {
  max-width: 650px;
}

.showcase-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 0.14em;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  content: "\2713";
}

.showcase-alt .check-list li::before {
  background: var(--green);
}

.device-section {
  padding-bottom: clamp(100px, 12vw, 160px);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.device-grid article {
  min-height: 190px;
  padding: 29px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.device-grid h3 {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 6px 12px;
  color: var(--brand-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.device-grid article:nth-child(2) h3 {
  color: var(--green);
  background: var(--green-soft);
}

.device-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.device-title > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.device-grid .device-coming-soon {
  background: linear-gradient(145deg, #ffffff, var(--surface-soft));
}

.device-grid p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.source-band {
  padding-block: clamp(68px, 8vw, 104px);
  background:
    radial-gradient(circle at 4% 15%, rgba(49, 174, 224, 0.14), transparent 27%),
    linear-gradient(135deg, #e6f7ff, #f2faeb);
  border-block: 1px solid var(--border);
}

.source-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(40px, 8vw, 100px);
}

.source-band h2 {
  max-width: 700px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.source-band-grid > p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  padding-block: clamp(74px, 9vw, 120px);
  background: #ffffff;
}

.final-cta-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 0 0, rgba(78, 193, 239, 0.17), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(131, 184, 35, 0.15), transparent 32%),
    #f8fcfe;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.final-cta-card > img {
  display: block;
  width: clamp(78px, 9vw, 110px);
  height: auto;
  border: 1px solid var(--border);
  border-radius: 25%;
  box-shadow: 0 12px 30px rgba(17, 88, 121, 0.13);
}

.final-cta-card h2 {
  max-width: 650px;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.final-cta-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

/* Legal and support pages */

.legal-hero,
.hero {
  padding: 20px 0 clamp(58px, 8vw, 88px);
  background:
    radial-gradient(circle at 8% 0, rgba(59, 184, 234, 0.15), transparent 30%),
    radial-gradient(circle at 94% 100%, rgba(131, 184, 35, 0.13), transparent 29%),
    linear-gradient(150deg, #f5fbff, #ffffff 56%, #f7fbf1);
  border-bottom: 1px solid var(--border);
}

.hero-small {
  padding-bottom: clamp(54px, 7vw, 78px);
}

.legal-heading,
.hero-copy {
  margin-top: clamp(56px, 8vw, 88px);
}

.legal-heading h1,
.hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
}

.lead {
  margin: 18px 0 0;
}

.updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 620;
}

main.legal {
  padding-block: 28px clamp(54px, 7vw, 84px);
}

.card {
  margin: 16px 0;
  padding: clamp(24px, 5vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card h2 {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.card p:first-of-type {
  margin-top: 0;
}

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

.card p,
.notice p {
  max-width: 70ch;
}

.contact-card {
  background:
    radial-gradient(circle at 100% 0, rgba(56, 180, 230, 0.1), transparent 38%),
    #ffffff;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 13px !important;
  padding: 5px 11px;
  color: var(--brand-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 106, 157, 0.13);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 810;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.email {
  margin: 12px 0 20px !important;
  font-size: clamp(1.12rem, 4vw, 1.42rem);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin: 18px 0 0;
  padding: 20px 22px;
  color: var(--ink-soft);
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 17px;
}

.notice p {
  margin: 5px 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 15px;
}

.faq-list summary {
  position: relative;
  min-height: 52px;
  padding: 15px 48px 15px 17px;
  color: var(--ink);
  font-weight: 710;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 500;
  content: "+";
  transform: translateY(-52%);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-list details p {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--muted);
}

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

.privacy-points > div {
  padding: 17px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 15px;
}

.privacy-points dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 760;
}

.privacy-points dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.contact-actions {
  margin-top: 22px;
}

.link-row {
  margin-top: 20px;
}

.compact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.compact-card h2 {
  margin-bottom: 6px;
}

.compact-card p {
  margin: 0;
}

.legal .card,
.legal .notice {
  scroll-margin-top: 20px;
}

.legal h3 + p {
  margin-top: 0;
}

/* Shared footer */

.site-footer {
  padding-block: 38px;
  color: var(--muted);
  background: #f1f7f9;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.legal-footer {
  padding-block: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 24px 36px;
}

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

.footer-brand img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.footer-brand div {
  display: grid;
  line-height: 1.35;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-brand span {
  font-size: 0.84rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-footer nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.site-footer p,
.footer p {
  margin: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    min-height: 700px;
    gap: 38px;
  }

  .hero-phone {
    width: min(100%, 320px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .final-cta-card .app-store-button {
    grid-column: 2;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: minmax(220px, 1fr) minmax(280px, auto);
  }

  .site-footer .footer-grid > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 68px 82px;
  }

  .hero-content {
    max-width: 730px;
  }

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

  .hero-phone {
    width: min(80vw, 315px);
  }

  .floating-status {
    right: max(2%, 10px);
  }

  .showcase-grid,
  .showcase-grid.reverse {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .showcase-grid .showcase-copy,
  .showcase-grid.reverse .showcase-copy {
    order: 1;
    max-width: 690px;
  }

  .showcase-grid .showcase-phone,
  .showcase-grid.reverse .showcase-phone {
    order: 2;
  }

  .showcase-phone {
    width: min(76vw, 325px);
  }

  .source-band-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer .footer-grid > p {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  .wide-container,
  .container {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.75rem);
    line-height: 1.01;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .topbar {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 13px 11px;
    gap: 9px 12px;
  }

  .brand {
    font-size: 0.97rem;
  }

  .app-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2px;
  }

  .marketing-page .topbar {
    flex-wrap: nowrap;
  }

  .marketing-page .nav-links {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .nav-links a {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .marketing-nav {
    justify-content: space-between;
  }

  .marketing-nav .nav-store {
    margin-left: auto;
  }

  .legal-hero,
  .hero {
    padding-top: 10px;
    padding-bottom: 54px;
  }

  .legal-heading,
  .hero-copy {
    margin-top: 44px;
  }

  .hero-grid {
    padding-block: 52px 72px;
    gap: 34px;
  }

  .hero-lead,
  .lead {
    font-size: 1.06rem;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .trust-list {
    display: grid;
    gap: 9px;
  }

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

  .hero-phone {
    width: min(80vw, 278px);
  }

  .hero-orb-blue {
    width: 265px;
    height: 265px;
  }

  .hero-orb-green {
    width: 225px;
    height: 225px;
  }

  .floating-status {
    right: 0;
    bottom: 3%;
    max-width: 235px;
  }

  .status-legend {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .fact-strip-grid {
    grid-template-columns: 1fr;
    padding-block: 8px;
  }

  .fact-strip-grid > div,
  .fact-strip-grid > div:first-child,
  .fact-strip-grid > div:last-child {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .fact-strip-grid > div:first-child {
    border-top: 0;
  }

  .section,
  .showcase-section {
    padding-block: 62px;
  }

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

  .feature-card {
    min-height: 0;
    padding: 24px;
  }

  .feature-card h3 {
    margin-top: 26px;
  }

  .showcase-grid,
  .showcase-grid.reverse {
    gap: 38px;
  }

  .showcase-phone {
    width: min(76vw, 292px);
  }

  .device-grid article {
    min-height: 0;
    padding: 24px;
  }

  .final-cta-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .final-cta-card .app-store-button {
    grid-column: auto;
  }

  main.legal {
    padding-top: 15px;
  }

  .card {
    margin: 12px 0;
    padding: 22px;
    border-radius: 19px;
  }

  .notice {
    padding: 18px;
  }

  .compact-card,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px 22px;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 9px;
  }

  .brand > span:last-child {
    max-width: 164px;
  }

  .marketing-nav .nav-store {
    padding-inline: 14px;
  }

  .full-label {
    display: none;
  }

  .short-label {
    display: inline;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .app-store-button,
  .hero-actions .secondary-button,
  .hero-actions .mac-teaser {
    width: 100%;
  }

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

  .hero-phone {
    width: min(82vw, 258px);
  }

  .floating-status {
    right: 50%;
    width: max-content;
    max-width: calc(100% - 8px);
    transform: translateX(50%);
  }

  .final-cta-card {
    justify-items: center;
    text-align: center;
  }

  .final-cta-card .app-store-button {
    width: 100%;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .app-store-button:hover,
  .feature-card:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .phone-shot,
  .card,
  .feature-card,
  .device-grid article,
  .final-cta-card {
    border: 1px solid CanvasText;
  }

  .trust-list li::before,
  .check-list li::before,
  .status-dot {
    forced-color-adjust: none;
  }
}
