@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/Cinzel-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #192842;
  --navy-deep: #0e1929;
  --navy-soft: #223552;
  --ink: #ffffff;
  --muted: #d5dbe4;
  --soft: #aeb9c9;
  --gold: #c5a55a;
  --gold-light: #e1cb91;
  --gold-ink: #101927;
  --line: rgba(197, 165, 90, 0.27);
  --line-soft: rgba(255, 255, 255, 0.12);
  --surface: rgba(25, 40, 66, 0.88);
  --surface-strong: rgba(14, 25, 41, 0.94);
  --max: 82rem;
  --reading: 77rem;
  --shadow: 0 1.5rem 4rem rgba(2, 8, 16, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 18rem;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(197, 165, 90, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 165, 90, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% -12rem, rgba(58, 83, 119, 0.5), transparent 40rem);
  background-position: center top;
  background-size: 6rem 6rem, 6rem 6rem, auto;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

a {
  color: var(--gold-light);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

a[href^="mailto:"] {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

a:focus-visible,
button:focus-visible {
  outline: 0.2rem solid #ffffff;
  outline-offset: 0.25rem;
  border-radius: 0.15rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  transform: translateY(-180%);
}

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

.site-header {
  width: min(100% - 3rem, var(--max));
  min-height: 5.8rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(197, 165, 90, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 2.15rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-name,
.brand-product {
  display: block;
  text-transform: uppercase;
}

.brand-name {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(0.72rem, 1.3vw, 0.94rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
}

.brand-product {
  margin-top: 0.2rem;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 0.78rem 0.72rem;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.site-nav .main-site-link {
  margin-left: 0.35rem;
  padding-inline: 1.05rem;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

main {
  width: min(100% - 3rem, var(--reading));
  margin-inline: auto;
}

.hero {
  position: relative;
  max-width: 66rem;
  margin-inline: auto;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.4rem, 7vw, 5.5rem);
  text-align: center;
}

.hero::before {
  content: "";
  display: block;
  width: min(10rem, 35vw);
  height: 1px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  line-height: 1.18;
  text-wrap: balance;
  text-transform: uppercase;
}

h1 {
  max-width: 62rem;
  margin: 0.8rem auto 1.25rem;
  font-size: clamp(2.45rem, 6.7vw, 5rem);
  letter-spacing: 0.035em;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  letter-spacing: 0.08em;
}

h3 {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.4rem;
}

.lede {
  max-width: 54rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.8;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.65rem;
}

.tag {
  display: inline-block;
  padding: 0.34rem 0.75rem;
  border: 1px solid rgba(197, 165, 90, 0.55);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #d3b56b, #b99549);
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: rgba(25, 40, 66, 0.45);
  color: var(--gold-light);
}

.button:hover {
  background: #e0c77f;
  color: var(--gold-ink);
}

.button.secondary:hover {
  background: rgba(197, 165, 90, 0.12);
  color: #ffffff;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: start;
  padding-bottom: 5rem;
}

.content,
.panel,
.callout {
  min-width: 0;
}

.content > section,
.panel,
.callout {
  position: relative;
  padding: clamp(1.4rem, 3.5vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: 0.18rem;
  background: linear-gradient(145deg, var(--surface), rgba(14, 25, 41, 0.84));
  box-shadow: var(--shadow);
}

.content > section::before,
.panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 3.25rem;
  height: 1px;
  background: var(--gold);
}

.content > section + section {
  margin-top: 1rem;
}

.content > section > :last-child,
.panel > :last-child,
.callout > :last-child {
  margin-bottom: 0;
}

.content strong {
  color: #ffffff;
  font-weight: 650;
}

.panel {
  position: sticky;
  top: 1rem;
  background: var(--surface-strong);
}

.panel h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.panel ul {
  list-style: none;
  padding-left: 0;
}

.panel li + li {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line-soft);
}

.muted {
  color: var(--muted);
}

.small {
  color: var(--soft);
  font-size: 0.83rem;
  line-height: 1.6;
}

.callout {
  margin: 1.25rem 0;
  border-color: rgba(197, 165, 90, 0.52);
  background: var(--surface-strong);
}

.callout strong {
  color: var(--gold-light);
}

.ios-page {
  width: min(100% - 3rem, var(--max));
}

.ios-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.65fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.ios-hero h1 {
  margin-inline: 0;
  font-size: clamp(2.45rem, 5.7vw, 4.8rem);
  text-align: left;
}

.ios-hero .lede {
  margin-inline: 0;
}

.ios-hero .meta,
.ios-hero .button-row {
  justify-content: flex-start;
}

.availability-note {
  max-width: 46rem;
  margin-top: 1.25rem;
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.65;
}

.availability-note strong {
  color: var(--gold-light);
}

.device-stage {
  position: relative;
  isolation: isolate;
  max-width: 21rem;
  margin: 0 auto;
  text-align: center;
}

.device-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 25rem;
  height: 25rem;
  max-width: 55vw;
  max-height: 55vw;
  margin: 9rem 0 0 -2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.2), transparent 68%);
}

.device-frame {
  overflow: hidden;
  padding: 0.45rem;
  border: 1px solid rgba(225, 203, 145, 0.7);
  border-radius: 2.8rem;
  background: #05090f;
  box-shadow: 0 2rem 5rem rgba(2, 8, 16, 0.42);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.35rem;
}

.device-stage figcaption {
  margin-top: 1rem;
  color: var(--soft);
  font-size: 0.75rem;
  line-height: 1.6;
}

.feature-section,
.ios-commercial,
.independence-note {
  padding: clamp(3.25rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 54rem;
  margin-bottom: 2.25rem;
}

.section-intro h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-intro p {
  color: var(--muted);
}

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

.feature-card,
.privacy-card,
.independence-note {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface), rgba(14, 25, 41, 0.84));
  box-shadow: var(--shadow);
}

.feature-number {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin-top: 1.4rem;
}

.feature-card p,
.privacy-card p,
.independence-note p {
  color: var(--muted);
}

.feature-card > :last-child,
.privacy-card > :last-child,
.independence-note > :last-child {
  margin-bottom: 0;
}

.ios-commercial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.ios-commercial h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.commercial-list {
  padding-left: 0;
  list-style: none;
}

.commercial-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}

.commercial-list strong {
  display: inline-block;
  min-width: 5.2rem;
  color: var(--gold-light);
}

.privacy-card {
  border-color: rgba(197, 165, 90, 0.55);
  background: var(--surface-strong);
}

.privacy-card h2,
.independence-note h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.independence-note {
  max-width: 62rem;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--gold);
}

.site-footer {
  width: 100%;
  padding: 3.25rem max(1.5rem, calc((100vw - var(--max)) / 2)) 2rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 16, 28, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 1.5fr) repeat(2, minmax(9rem, 0.75fr));
  gap: 2.5rem;
}

.footer-brand {
  max-width: 29rem;
}

.footer-brand .brand {
  margin-bottom: 1.15rem;
}

.footer-brand p,
.footer-legal {
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.site-footer nav {
  display: grid;
  gap: 0.62rem;
}

.site-footer nav a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--gold-light);
}

.footer-legal {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}

.footer-legal p {
  margin-bottom: 0.35rem;
}

@media (max-width: 62rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding-block: 1.25rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-nav .main-site-link {
    margin-left: auto;
  }

  .ios-hero {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.52fr);
  }

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

@media (max-width: 48rem) {
  .site-header,
  main {
    width: min(100% - 2rem, var(--reading));
  }

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

  .panel {
    position: static;
  }

  .ios-page {
    width: min(100% - 2rem, var(--reading));
  }

  .ios-hero,
  .ios-commercial {
    grid-template-columns: 1fr;
  }

  .ios-hero-copy {
    text-align: center;
  }

  .ios-hero h1 {
    text-align: center;
  }

  .ios-hero .lede {
    margin-inline: auto;
  }

  .ios-hero .meta,
  .ios-hero .button-row {
    justify-content: center;
  }

  .availability-note {
    margin-inline: auto;
  }

  .device-stage {
    width: min(19rem, 82vw);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 34rem) {
  body {
    font-size: 0.96rem;
    background-size: 4rem 4rem, 4rem 4rem, auto;
  }

  .brand-name {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .site-nav {
    gap: 0.1rem;
    letter-spacing: 0.12em;
  }

  .site-nav a {
    padding-inline: 0.48rem;
  }

  .site-nav .main-site-link {
    width: 100%;
    margin: 0.45rem 0 0;
    text-align: center;
  }

  .hero {
    padding-top: 3.75rem;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.45rem);
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
  }

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

  .ios-buttons {
    display: grid;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #ffffff;
    color: #111111;
    font-family: Arial, sans-serif;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .panel,
  .button-row,
  .skip-link {
    display: none;
  }

  main {
    width: 100%;
  }

  .hero {
    padding: 0 0 1rem;
    text-align: left;
  }

  .hero::before {
    display: none;
  }

  h1,
  h2,
  h3,
  .content > section {
    color: #111111;
  }

  .content > section {
    padding: 0 0 1rem;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .content > section::before {
    display: none;
  }

  a,
  a:visited {
    color: #111111;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    overflow-wrap: anywhere;
  }
}
