:root {
  --red: #c4121a;
  --red-deep: #6e0c12;
  --red-hot: #e4232a;
  --black: #121212;
  --cream: #f4f0e8;
  --ink: #1c1917;
  --muted: #5c554e;
  --white: #fff;
  --line: rgba(28, 25, 23, 0.1);
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.1);
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

button, input { font: inherit; }

h1, h2, h3, .fact-num, .brand, .num {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

h1, h2, h3, p, ul { margin-top: 0; }

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 6.6rem);
  font-weight: 700;
  line-height: 0.86;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  font-weight: 700;
  line-height: 0.9;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

p { margin: 0 0 1rem; }

ul { padding: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

section[id] { scroll-margin-top: 5.5rem; }

.kicker {
  margin: 0 0 0.7rem;
  color: var(--red);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 40rem;
}

.band-white { background: var(--white); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.btn-small {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
}

.btn-light {
  background: var(--white);
  color: var(--red-deep);
}

.btn-light:hover { background: #ffe9e6; }

.btn-solid {
  background: linear-gradient(100deg, #d3121c 0%, #9d1016 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(157, 16, 22, 0.28);
}

.btn:hover { transform: translateY(-3px); }

.btn-solid:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn:disabled {
  background: #e7ddd8;
  color: #4e4742;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--red-deep);
  color: var(--white);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger { background: transparent; }

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav { display: none; }

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.4rem 1.25rem 1rem;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.site-nav a {
  padding: 0.9rem 0.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Hero */

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 32%, transparent 70%, rgba(0, 0, 0, 0.28)),
    radial-gradient(55% 80% at 78% 42%, rgba(255, 70, 60, 0.55), transparent 60%),
    linear-gradient(180deg, #6e0c12 0%, #a11218 38%, #e4232a 68%, #8d1218 100%);
  overflow: hidden;
  padding: 1.5rem 0 6.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 4px
  );
}

.hero-grid { position: relative; z-index: 1; }

.hero .lede {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 2rem;
}

.device-back { display: none; }

.device {
  background: #141414;
  border-radius: 2rem;
  padding: 0.45rem;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
}

.device-front { width: min(270px, 78vw); }

/* Facts */

.facts {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 0 0;
}

.curve {
  margin-top: -71px;
  line-height: 0;
}

.curve svg {
  display: block;
  width: 100%;
  height: 72px;
}

.fact-list {
  list-style: none;
  display: grid;
  gap: 1.4rem;
  margin: 0;
}

.fact-num {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.85;
  text-transform: none;
}

.fact-label {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}

.marquee {
  margin-top: 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 0.6rem;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 0.6rem;
}

.marquee span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* What */

.what { padding: 4.5rem 0; }

.logo-display {
  width: min(220px, 60%);
  margin-top: 0.5rem;
  border-radius: 22%;
  box-shadow: 0 22px 50px rgba(140, 16, 22, 0.22);
}

.pillars {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.num {
  display: block;
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pillars p { margin: 0; color: var(--muted); }

/* Languages */

.languages { padding: 4.5rem 0; }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.5rem;
}

.lang-switch button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button[lang="te"] { font-family: "Noto Sans Telugu", "Noto Sans", sans-serif; }
.lang-switch button[lang="hi"] { font-family: "Noto Sans", sans-serif; }

.lang-switch button[aria-checked="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.lang-sample {
  margin: 0;
  max-width: 16em;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-transform: none;
  font-family: Outfit, "Noto Sans", sans-serif;
}

.lang-sample:lang(te) { font-family: "Noto Sans Telugu", "Noto Sans", sans-serif; letter-spacing: 0; }
.lang-sample:lang(hi) { font-family: "Noto Sans", sans-serif; letter-spacing: 0; }

.lang-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

/* Interests */

.interests { padding: 4.5rem 0; }

.picker {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: 28px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.picker-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #ece7e1;
  color: #3f3a36;
  font-size: 0.88rem;
  font-weight: 600;
}

.picker-status .heart { width: 16px; height: 16px; }

.picker-status.is-ready {
  background: #2a2624;
  color: var(--white);
}

.picker-status.is-ready .heart { display: none; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0.7rem;
  border-radius: 18px;
  border: 1.5px solid rgba(28, 25, 23, 0.08);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  --tint: #f3eee8;
  --accent: #c4121a;
}

.topic .icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--accent);
}

.topic .icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic .label {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}

.topic .tick {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ddd6cf;
}

.topic[aria-pressed="true"] {
  background: var(--tint);
  border-color: var(--accent);
}

.topic[aria-pressed="true"] .icon { background: var(--white); }

.topic[aria-pressed="true"] .tick {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.2 6.4 11l6.1-6.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.topic[data-topic="politics"] { --tint: #ece8ff; --accent: #5b4cdb; }
.topic[data-topic="sports"] { --tint: #e5f8ee; --accent: #1f9d5a; }
.topic[data-topic="business"] { --tint: #fff1dc; --accent: #d4921a; }
.topic[data-topic="tech"] { --tint: #e7f0ff; --accent: #3b74e8; }
.topic[data-topic="health"] { --tint: #ffe4ef; --accent: #e24b8a; }
.topic[data-topic="entertainment"] { --tint: #f3e8ff; --accent: #8b5cf6; }
.topic[data-topic="jobs"] { --tint: #e3f7f2; --accent: #14967d; }
.topic[data-topic="weather"] { --tint: #e5f6ff; --accent: #3aa0d8; }
.topic[data-topic="local"] { --tint: #ffe4e4; --accent: #e23b3b; }

.picker .btn { width: 100%; margin-top: 0.9rem; }

/* Features */

.features { padding: 4.5rem 0; }

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.feature {
  background: var(--cream);
  border-radius: 24px;
  padding: 1.3rem 1.25rem 1.35rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature p { margin: 0; color: var(--muted); }

.feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tint-red { background: #fde8e6; color: #c4121a; }
.tint-purple { background: #ece8ff; color: #5b4cdb; }
.tint-pink { background: #ffe4ef; color: #e24b8a; }
.tint-amber { background: #fff1dc; color: #b47a10; }
.tint-blue { background: #e7f0ff; color: #3b74e8; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.chip {
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-on {
  background: var(--red);
  color: var(--white);
}

/* Tour */

.tour-section { padding: 4.5rem 0 5rem; }

.tour-head { max-width: 40rem; }

.screen-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(240px, 78vw);
  gap: 1.35rem 1.15rem;
  width: min(1120px, calc(100% - 3rem));
  margin: 2rem auto 0;
  padding-bottom: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.2rem;
  scrollbar-color: rgba(110, 12, 18, 0.45) transparent;
}

.screen {
  scroll-snap-align: start;
  min-width: 0;
}

.screen .device { width: 100%; }

.screen-step {
  margin: 0.95rem 0 0.15rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.screen h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  line-height: 0.95;
}

.screen p { margin: 0; color: var(--muted); font-size: 0.95rem; }

figure { margin: 0; }

/* Sign in */

.signin { padding: 1rem 0 4.5rem; }

.steps a {
  color: var(--red-deep);
  font-weight: 600;
}

/* Download */

.download {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 0 6.5rem;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(196, 18, 26, 0.14), transparent 52%),
    linear-gradient(180deg, #fff 0%, #f7f1ea 100%);
}

.download-grid { position: relative; }

.download .lede { margin-inline: auto; }

.download-stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: 1.5rem;
  min-height: 460px;
}

.orbit {
  position: absolute;
  top: 28px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(196, 18, 26, 0.22);
  animation: spin 22s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(110, 12, 18, 0.22);
}

.orbit::before { inset: 22px; }
.orbit::after { inset: 48px; animation: spin 14s linear infinite reverse; }

.download-phone {
  position: relative;
  z-index: 1;
  width: min(220px, 58vw);
  animation: floaty 4.6s ease-in-out infinite;
}

.store-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: -36px;
}

.store {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 240px;
  min-height: 68px;
  padding: 0.75rem 1.25rem 0.75rem 0.95rem;
  border-radius: 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.store::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.32) 48%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}

.store:hover {
  transform: translateY(-8px) scale(1.04);
  background: #1b1b1b;
  box-shadow: 0 20px 42px rgba(110, 12, 18, 0.28);
}

.store:hover::after { animation: sheen 0.7s ease; }

.store-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.35s ease;
}

.store:hover .store-icon { transform: scale(1.16) rotate(-8deg); }

.store-icon svg { width: 30px; height: 30px; display: block; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes sheen { to { transform: translateX(130%); } }

@keyframes rise {
  from { transform: translateY(22px); }
  to { transform: none; }
}

.store-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
  opacity: 0.82;
}

.store-name {
  display: block;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 560px) {
  .store { width: min(100%, 320px); }
}

.steps {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.steps li { margin: 0.45rem 0; }

.signin-visual {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.signin-visual .device { width: min(280px, 78vw); }

/* Close + footer */

.close {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 0 0 4.5rem;
}

.close-inner { position: relative; }

.close .lede {
  color: rgba(255, 255, 255, 0.78);
  margin-inline: auto;
}

.close-logo {
  width: 92px;
  height: 92px;
  margin: 15px auto 1.1rem;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 0 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.site-footer .brand { margin-bottom: 0.4rem; }

.site-footer p { margin: 0; max-width: 22rem; }

.social { margin-top: 1.15rem; }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-row a:hover {
  transform: translateY(-3px);
  background: var(--white);
  color: var(--red-deep);
}

.social-row svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-cols {
  display: grid;
  gap: 1.6rem;
}

.footer-label {
  margin: 0 0 0.75rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.policy-links {
  display: grid;
  gap: 0.55rem;
}

.site-footer nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.footer-base {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.site-footer a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.doc {
  padding: 3.2rem 0 5rem;
}

.doc-wrap { max-width: 740px; }

.doc h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
}

.doc h2,
.doc h3 {
  margin: 2rem 0 0.45rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.25;
}

.doc h3 {
  margin-top: 1.35rem;
  font-size: 1.12rem;
}

.doc p,
.doc li { color: var(--muted); }

.doc a {
  color: var(--red-deep);
  font-weight: 600;
}

.doc-updated {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-signoff {
  margin-top: 2rem;
  color: var(--ink);
  font-weight: 700;
}

.doc ul,
.doc ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.doc li + li { margin-top: 0.35rem; }
.doc li { margin: 0.35rem 0; }

.contact-page { padding: 2.4rem 0 4.5rem; }

.contact-layout {
  display: grid;
  align-items: stretch;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(28, 25, 23, 0.08);
}

.contact-info {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 46%),
    var(--red-deep);
  color: var(--white);
  padding: 2.4rem 2rem 2rem;
}

.contact-info .kicker { color: #ffc4c1; }

.contact-page h1 {
  color: var(--white);
  font-size: clamp(2.7rem, 5vw, 4rem);
  max-width: 9ch;
  line-height: 0.88;
}

.contact-info .lede {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.reach {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.reach li { display: grid; gap: 0.05rem; }

.reach li > span:first-child {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.reach a,
.reach li > span:last-child {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
}

.reach a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.contact-label {
  margin: 1.7rem 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contact-list {
  list-style: none;
  display: grid;
  margin: 0.35rem 0 0;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list h2 {
  margin: 0 0 0.15rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.3;
  color: var(--white);
}

.contact-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.contact-info a {
  color: var(--white);
  text-underline-offset: 0.18em;
}

.form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.4rem;
  max-width: 36rem;
}

.contact-form {
  margin-top: 0;
  max-width: none;
  align-content: start;
  background: var(--white);
  border-radius: 0;
  padding: 2.3rem 1.7rem 1.5rem;
  box-shadow: none;
}

.form-intro h2 {
  margin: 0 0 0.3rem;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.2;
  color: var(--ink);
}

.form-intro p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form textarea { min-height: 140px; resize: vertical; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #f7f4ef;
  border-color: rgba(28, 25, 23, 0.12);
}

.contact-form .btn { width: 100%; border-radius: 14px; }

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: 3px solid rgba(196, 18, 26, 0.28);
  outline-offset: 1px;
  border-color: var(--red);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

/* Desktop */

@media (min-width: 720px) {
  .fact-list { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  }

  .download-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 2rem;
    align-items: center;
    text-align: left;
  }

  .download .lede { margin-inline: 0; }
  .download-stage { margin-top: 0; }
  .store-row { justify-content: flex-start; }

  .site-nav a { position: relative; }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .site-nav a:hover::after { transform: scaleX(1); }

  .contact-info { padding: 2.8rem 2.4rem 2.3rem; }

  .contact-form {
    height: 100%;
    padding: 2.6rem 2.2rem 1.8rem;
    grid-template-rows: auto auto auto auto minmax(160px, 1fr) auto auto;
  }

  .message-field {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .message-field textarea {
    height: 100%;
    min-height: 0;
  }

  .wrap { width: min(1120px, calc(100% - 3rem)); }

  .nav-toggle { display: none; }

  .header-bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  .brand { order: 1; flex: none; }

  .site-nav {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
  }

  .header-actions {
    order: 3;
    flex: none;
    margin-left: 1.4rem;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0;
    background: transparent;
    color: var(--white);
    box-shadow: none;
  }

  .site-nav a {
    padding: 0;
    border: 0;
    color: var(--white);
    white-space: nowrap;
  }

  .site-nav .nav-download { display: none; }

  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

  .hero { padding: 2.2rem 0 8rem; }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 2rem;
    align-items: center;
  }

  .hero-visual {
    justify-content: flex-end;
    margin-top: 0;
  }

  .device-back {
    display: block;
    width: 220px;
    margin: 0 -86px 32px 0;
    position: relative;
    z-index: 1;
  }

  .device-front {
    width: 280px;
    position: relative;
    z-index: 2;
  }

  .what-grid,
  .interests-grid,
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }

  .interests-grid { align-items: start; }
  .picker { margin-top: 0; }
  .pillars { margin-top: 0; }

  .pillars article + article {
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
  }

  .feature-grid { grid-template-columns: repeat(3, 1fr); }

  .signin-visual { margin-top: 0; }

  .footer-grid {
    grid-template-columns: 0.8fr 1.6fr;
    align-items: start;
  }

  .footer-cols { grid-template-columns: 0.7fr 1.3fr; }
  .policy-links { grid-template-columns: 1fr 1fr; }

  .site-footer nav { align-items: flex-start; }
}

@media (min-width: 720px) {
  .screen-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
}

@media (min-width: 1400px) {
  .screen-row {
    width: min(1360px, calc(100% - 2.5rem));
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .header-actions .btn { display: none; }
  .topic .label { font-size: 0.7rem; }
}

.topic { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.topic:hover { transform: translateY(-4px); }

.screen .device { transition: transform 0.35s ease; }
.screen .device:hover { transform: translateY(-10px); }

.hero .device-front { animation: floaty 5.2s ease-in-out infinite; }
.hero .device-back { animation: floaty 6s ease-in-out infinite; }

.reveal.is-in { animation: rise 0.7s ease both; }

.download-stage:hover .download-phone {
  animation: none;
  transform: translateY(-16px) rotate(-3deg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
