:root {
  color-scheme: light dark;
  --ink: light-dark(#281d2b, #f3ead9);
  --muted: light-dark(#675e70, #c7b9bc);
  --paper: light-dark(#f8f3e8, #171116);
  --paper-deep: light-dark(#efe4d0, #2a2025);
  --cream: light-dark(#fffaf0, #21191d);
  --plum: light-dark(#5a2856, #d2a0ca);
  --plum-action: light-dark(#5a2856, #70406b);
  --plum-dark: light-dark(#2b1a29, #21151f);
  --navy: light-dark(#17345b, #203d63);
  --brass: light-dark(#a67525, #d9b36c);
  --line: light-dark(#d9ccb4, #4a3b40);
  --card: light-dark(rgba(255, 250, 240, 0.62), rgba(42, 31, 37, 0.72));
  --page-grid-x: light-dark(rgba(96, 72, 45, 0.018), rgba(232, 207, 168, 0.018));
  --page-grid-y: light-dark(rgba(96, 72, 45, 0.014), rgba(232, 207, 168, 0.012));
  --policy-wash-start: light-dark(rgba(248, 243, 232, 0.92), rgba(23, 17, 22, 0.92));
  --policy-wash-end: light-dark(rgba(248, 243, 232, 0.98), rgba(23, 17, 22, 0.98));
  --shadow: 0 30px 70px light-dark(rgba(46, 28, 35, 0.16), rgba(0, 0, 0, 0.4));
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, var(--page-grid-x) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, var(--page-grid-y) 0 1px, transparent 1px 5px),
    var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

h1,
h2,
h3 {
  line-height: 1.03;
}

h1 {
  max-width: 9ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8vw, 8.3rem);
  font-weight: 500;
}

h1 em {
  color: var(--plum);
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.75rem;
  font-weight: 500;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  border-radius: 7px;
  color: white;
  background: var(--plum);
  transform: translateY(-150%);
}

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

.section-shell,
.site-header {
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 3px 9px rgba(46, 28, 35, 0.2);
  object-fit: cover;
}

nav {
  display: flex;
  gap: 30px;
  justify-self: center;
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--plum);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.header-actions .button {
  white-space: nowrap;
}

.theme-picker {
  position: relative;
}

.theme-picker summary {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--ink);
  place-items: center;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.theme-picker summary::-webkit-details-marker {
  display: none;
}

.theme-picker summary::marker {
  content: "";
}

.theme-picker summary:hover,
.theme-picker[open] summary {
  color: var(--plum);
  background: var(--paper-deep);
}

.theme-picker summary:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

.theme-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon-moon,
.theme-picker[data-resolved-theme="dark"] .theme-icon-sun {
  display: none;
}

.theme-picker[data-resolved-theme="dark"] .theme-icon-moon {
  display: block;
}

.theme-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.theme-menu button {
  position: relative;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.theme-menu button:hover,
.theme-menu button:focus-visible {
  color: var(--plum);
  background: var(--paper-deep);
  outline: none;
}

.theme-menu button[aria-pressed="true"]::after {
  position: absolute;
  right: 12px;
  content: "✓";
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--plum-action);
  border-radius: 9px;
  color: white;
  background: var(--plum-action);
  box-shadow: 0 9px 20px rgba(90, 40, 86, 0.17);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #6c3767;
  box-shadow: 0 12px 28px rgba(90, 40, 86, 0.24);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
}

.button-secondary {
  color: var(--plum);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--plum);
  background: var(--paper-deep);
  box-shadow: none;
}

.button-light {
  border-color: #f8f3e8;
  color: #2b1a29;
  background: #f8f3e8;
  box-shadow: none;
}

.button-light:hover,
.button-light:focus-visible {
  color: #2b1a29;
  background: #ffffff;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(600px, 1.3fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  min-height: 780px;
  padding-block: 84px 100px;
  overflow: hidden;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.55;
}

.provider-support {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-download-actions {
  display: grid;
  gap: 10px;
}

.text-link {
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-note {
  margin: 17px 0 0;
  color: #776d76;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 18px 0 18px 10px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  right: -15%;
  bottom: 0;
  width: 80%;
  height: 72%;
  border-radius: 50% 12% 46% 28%;
  background: var(--paper-deep);
  content: "";
  transform: rotate(-5deg);
}

.screen-frame {
  width: min(900px, 100%);
  overflow: hidden;
  border: 1px solid rgba(49, 34, 46, 0.22);
  border-radius: 17px;
  background: #251a24;
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}

.hero-screenshot {
  width: 100%;
  aspect-ratio: 1497 / 920;
  object-fit: cover;
  object-position: center 3.5%;
}

.screen-top {
  display: flex;
  align-items: center;
  height: 39px;
  padding: 0 14px;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
  background: #231921;
}

.screen-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b18448;
}

.screen-top b {
  margin-left: auto;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drive-section,
.feature-section,
.screens-section {
  padding-block: 120px;
}

.drive-section {
  border-top: 1px solid var(--line);
}

.drive-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.drive-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

.drive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.drive-grid article {
  min-height: 310px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.drive-grid h3 {
  margin-top: 48px;
}

.drive-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.drive-grid code {
  color: var(--ink);
  font-weight: 800;
}

.drive-disclosure {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-deep);
}

.drive-disclosure p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
}

.drive-disclosure strong {
  color: var(--ink);
}

.drive-disclosure .button {
  flex: 0 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

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

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.13;
}

.feature-card h3 {
  max-width: 15ch;
  margin-top: 58px;
}

.feature-card p {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-number {
  color: var(--brass);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.feature-card-plum,
.feature-card-navy {
  border-color: transparent;
  color: #fff9ec;
  box-shadow: 0 22px 50px rgba(34, 22, 34, 0.11);
}

.feature-card-plum {
  background: var(--plum);
}

.feature-card-navy {
  background: var(--navy);
}

.feature-card-plum p,
.feature-card-navy p {
  color: rgba(255, 249, 236, 0.74);
}

.feature-card-plum .feature-number,
.feature-card-navy .feature-number {
  color: #dfc38b;
}

.privacy-band {
  color: #fff8e9;
  background:
    radial-gradient(circle at 14% 20%, rgba(221, 182, 112, 0.1), transparent 22%),
    linear-gradient(125deg, var(--plum-dark), #40233e);
}

.privacy-band-inner {
  display: grid;
  grid-template-columns: auto minmax(250px, 1fr) minmax(300px, 0.9fr) auto;
  gap: 45px;
  align-items: center;
  min-height: 330px;
}

.privacy-band h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.privacy-band p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 248, 233, 0.72);
}

.privacy-seal {
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border: 1px solid #b98942;
  border-radius: 50%;
  color: #daba7e;
  text-align: center;
  transform: rotate(-8deg);
}

.privacy-seal span {
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.privacy-seal strong {
  color: #fff3d5;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 60px);
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}

.phone-gallery figure {
  margin: 0;
}

.phone-frame {
  max-height: 670px;
  padding: 7px;
  border: 1px solid rgba(40, 29, 43, 0.3);
  border-radius: 34px;
  background: #191217;
  box-shadow: 0 28px 55px rgba(54, 35, 44, 0.2);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  border-radius: 27px;
}

.phone-frame-raised {
  margin-top: 70px;
}

.phone-gallery figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  text-align: center;
}

.final-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding-block: 100px 110px;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 11ch;
}

.final-cta > div:last-child {
  display: grid;
  justify-items: start;
}

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

.final-cta p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding-block: 30px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
}

.privacy-page {
  background:
    linear-gradient(var(--policy-wash-start), var(--policy-wash-end)),
    repeating-linear-gradient(90deg, rgba(96, 72, 45, 0.06) 0 1px, transparent 1px 5px);
}

.policy-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.policy-hero {
  max-width: 980px;
  padding: 115px 0 88px;
}

.policy-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 8vw, 7rem);
}

.policy-intro {
  max-width: 780px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
}

.policy-date {
  margin: 32px 0 0;
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  overflow: hidden;
}

.policy-summary article {
  min-height: 250px;
  padding: 32px;
  background: var(--cream);
}

.policy-summary article:nth-child(2) {
  color: white;
  background: var(--navy);
}

.policy-summary span {
  color: var(--brass);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.policy-summary h2 {
  margin: 56px 0 12px;
  font-size: 1.75rem;
}

.policy-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-summary article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(55px, 9vw, 130px);
  justify-content: center;
  padding-block: 110px 130px;
}

.policy-nav {
  position: sticky;
  top: 28px;
  align-self: start;
  display: grid;
  gap: 11px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-nav strong {
  margin-bottom: 8px;
  color: var(--brass);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.policy-nav a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--plum);
}

.policy-content section {
  padding-bottom: 74px;
  scroll-margin-top: 30px;
}

.policy-content section + section {
  padding-top: 74px;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 5vw, 3.45rem);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 1.02rem;
}

.policy-content li + li {
  margin-top: 9px;
}

.policy-content a {
  color: var(--plum);
  font-weight: 700;
  text-underline-offset: 3px;
}

.policy-callout {
  margin: 34px 0;
  padding: 28px 30px;
  border-left: 4px solid #c2974f;
  color: white;
  background: var(--navy);
}

.policy-callout > strong {
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.policy-callout p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.9rem;
}

.policy-callout a {
  display: inline-block;
  margin: 5px 20px 0 0;
  color: #f0d59f;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

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

  .privacy-band-inner {
    grid-template-columns: auto 1fr;
    padding-block: 65px;
  }

  .drive-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .drive-grid {
    grid-template-columns: 1fr;
  }

  .drive-grid article {
    min-height: 0;
  }

  .drive-disclosure {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-band-inner > p {
    grid-column: 2;
  }

  .privacy-band-inner > .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header,
  .policy-shell {
    width: min(100% - 34px, 640px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 6rem);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-block: 64px 78px;
  }

  .hero-visual {
    padding: 0;
  }

  .screen-frame {
    border-radius: 10px;
    transform: none;
  }

  .screen-top {
    height: 27px;
  }

  .drive-section,
  .feature-section,
  .screens-section {
    padding-block: 82px;
  }

  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

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

  .feature-card {
    min-height: 285px;
    padding: 32px;
  }

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

  .privacy-band-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .privacy-seal {
    width: 88px;
    height: 88px;
  }

  .privacy-band-inner > p,
  .privacy-band-inner > .button {
    grid-column: 1;
  }

  .phone-gallery {
    gap: 12px;
  }

  .phone-frame {
    padding: 3px;
    border-radius: 18px;
  }

  .phone-frame img {
    border-radius: 14px;
  }

  .phone-frame-raised {
    margin-top: 35px;
  }

  .phone-gallery figcaption {
    font-size: 0.76rem;
  }

  .final-cta {
    padding-block: 75px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .policy-hero {
    padding-block: 75px 65px;
  }

  .policy-summary {
    grid-template-columns: 1fr;
  }

  .policy-summary article {
    min-height: 210px;
  }

  .policy-summary h2 {
    margin-top: 36px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-block: 80px;
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 470px) {
  .wordmark {
    font-size: 1.25rem;
  }

  .site-header .button-small {
    min-height: 37px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .site-header .header-actions .button-secondary {
    display: none;
  }

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

  .phone-gallery {
    grid-auto-columns: 78%;
    grid-auto-flow: column;
    grid-template-columns: none;
    width: 100%;
    padding: 8px 0 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }

  .phone-gallery figure {
    scroll-snap-align: center;
  }

  .phone-frame-raised {
    margin-top: 0;
  }

  .policy-content ul {
    padding-left: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
