:root {
  --ink: #151515;
  --muted: #62605c;
  --paper: #f7f3ea;
  --porcelain: #fffaf1;
  --line: rgba(21, 21, 21, 0.14);
  --blue: #3f8ee8;
  --gold: #ffc107;
  --rose: #f3b6c8;
  --green: #1e7b63;
  --shadow: 0 24px 80px rgba(22, 18, 10, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, var(--paper), #efe7da 52%, #fff8ea);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(rgba(21, 21, 21, 0.16) 0.6px, transparent 0.6px),
    linear-gradient(135deg, rgba(63, 142, 232, 0.13), transparent 38%, rgba(255, 193, 7, 0.12) 82%);
  background-size: 12px 12px, 100% 100%;
  mix-blend-mode: multiply;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--porcelain);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links,
.hero-actions,
.hero-facts,
.provider-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(21, 21, 21, 0.9);
  border-radius: 50%;
  background: var(--porcelain);
  object-fit: cover;
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-links {
  justify-self: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.header-actions {
  justify-self: end;
  gap: 10px;
}

.locale-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.7);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--porcelain);
  font-weight: 850;
  box-shadow: 5px 5px 0 var(--gold);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--gold);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  box-shadow: 4px 4px 0 var(--gold);
}

.button-secondary {
  background: var(--porcelain);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--blue);
}

.button-invert {
  background: var(--porcelain);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--gold);
}

.hero {
  display: grid;
  min-height: calc(100svh - 74px);
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: clamp(34px, 7vw, 88px) clamp(18px, 5vw, 64px) 58px;
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 6vw, 6rem);
    line-height: 0.84;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: keep-all;
}

h2 {
  margin: 0;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin: 20px 0 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.1;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #2d2b28;
  font-size: clamp(1.28rem, 2.4vw, 2.2rem);
  font-weight: 760;
  line-height: 1.12;
}

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

.hero-facts {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-facts span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid #111;
  border-radius: 34px;
  background: #fefefe;
  box-shadow: var(--shadow);
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
}

.phone-primary {
    position: absolute;
    right: 16%;
    top: 0;
    width: min(40vw, 302px);
    transform: rotate(-5deg);
}

.phone-secondary {
    position: absolute;
    right: 0;
    top: 132px;
    width: min(31vw, 244px);
    transform: rotate(7deg);
}

.provider-strip {
  flex-wrap: wrap;
  gap: 0;
  margin: 0 clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.provider-strip span {
  flex: 1 1 180px;
  padding: 17px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 900;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 64px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--ink);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 7px 7px 0 rgba(21, 21, 21, 0.13);
}

.feature-card:nth-child(2) {
  background: rgba(243, 182, 200, 0.28);
}

.feature-card:nth-child(3) {
  background: rgba(63, 142, 232, 0.16);
}

.feature-index {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 900;
}

.feature-card p,
.showcase-copy p,
.privacy-panel p,
.faq p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background: #141414;
  color: var(--porcelain);
}

.showcase .eyebrow {
  color: var(--gold);
}

.showcase-copy p {
  color: rgba(255, 250, 241, 0.72);
}

.screenshot-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.rail-phone {
  border-width: 8px;
  border-radius: 28px;
}

.rail-phone:nth-child(2) {
  margin-top: 42px;
}

.rail-phone:nth-child(3) {
  margin-top: 84px;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
}

.privacy-panel {
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--ink);
  background: var(--blue);
  color: #fff;
  box-shadow: 10px 10px 0 var(--gold);
}

.privacy-panel .eyebrow,
.privacy-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.76);
  font-weight: 850;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.faq > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -48px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.76);
}

summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.download-band {
  display: grid;
  gap: 28px;
  justify-items: start;
  margin: 0 clamp(18px, 5vw, 64px) clamp(34px, 6vw, 70px);
  padding: clamp(34px, 6vw, 70px);
  background: var(--ink);
  color: var(--porcelain);
}

.site-footer {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .showcase,
  .privacy,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .phone-primary {
    left: 6%;
    right: auto;
    width: min(64vw, 302px);
  }

  .phone-secondary {
    right: 5%;
    width: min(48vw, 234px);
  }

  .faq > .eyebrow {
    margin-bottom: -18px;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding: 14px 16px;
  }

  .brand span:last-child,
  .button-small {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-lede {
    margin-top: 18px;
  }

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

  .button {
    width: 100%;
  }

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

  .phone {
    border-width: 7px;
    border-radius: 26px;
  }

  .phone-primary {
    left: 0;
    width: 62vw;
  }

  .phone-secondary {
    top: 92px;
    width: 52vw;
  }

  .provider-strip span {
    flex-basis: 50%;
  }

  .screenshot-rail {
    display: flex;
    gap: 14px;
    margin-inline: -18px;
    overflow-x: auto;
    padding: 6px 18px 24px;
    scroll-snap-type: x mandatory;
  }

  .rail-phone {
    flex: 0 0 68%;
    margin-top: 0 !important;
    scroll-snap-align: center;
  }

  .privacy-panel,
  .download-band {
    box-shadow: 6px 6px 0 var(--gold);
  }
}
