/* Renna landing (r3nna.app). Same language as the app: near-black page, #141414 cells, Geist 400/500
   in lowercase, one accent per section, the "ondas" mark, elastic motion. */

:root {
  --page: #0b0b0a;
  --cell: #141414;
  --cell-2: #1b1b1a;
  --ink: #f4f4f2;
  --dim: rgba(244, 244, 242, 0.62);
  --dim2: rgba(244, 244, 242, 0.42);
  --line: rgba(244, 244, 242, 0.1);
  --teal: #22b8a7;
  --blue: #4c7bf4;
  --violet: #b05ce6;
  --orange: #f6922f;
  --yellow: #f5c638;
  --coral: #f0525a;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* iOS paints buttons system blue by default (and the mark inside uses currentColor). */
button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--dim);
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1,
h2,
h3 {
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(36px, 6vw, 72px);
}

h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  margin: 0;
}

.lede {
  color: var(--dim);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 34em;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ── nav: floating pill ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(760px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 17px;
  min-height: 44px;
}

.brand svg {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--dim);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(244, 244, 242, 0.06);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--dim);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: color 0.2s, background 0.2s;
}

.icon-btn:hover {
  color: var(--ink);
  background: rgba(244, 244, 242, 0.06);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.icon-btn .off {
  display: none;
}

.icon-btn[aria-pressed='false'] .on {
  display: none;
}

.icon-btn[aria-pressed='false'] .off {
  display: block;
}

/* ── buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  background: var(--ink);
  color: #0d0d0d;
  transition: transform 0.34s var(--out), background 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
  transition-duration: 0.08s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn.small {
  padding: 0 16px;
  font-size: 14px;
}

.btn.big {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn[aria-disabled='true'] {
  cursor: default;
}

.store small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.65;
  line-height: 1;
  margin-bottom: 2px;
}

.store span {
  text-align: left;
  line-height: 1.1;
}

/* ── the mark ──────────────────────────────────────────────────── */

.mark .ring1 {
  opacity: 0.3;
}

.mark .ring2 {
  opacity: 0.6;
}

.mark-play .center,
.mark-play .ring1,
.mark-play .ring2,
.mark-play .next {
  transform-box: fill-box;
  transform-origin: center;
}

.mark-play .center {
  animation: pop 0.6s var(--pop) both;
}

.mark-play .ring2 {
  animation: ripple 0.9s var(--out) 0.35s both;
}

.mark-play .ring1 {
  animation: ripple 1s var(--out) 0.75s both;
}

.mark-play .next {
  animation: land 0.7s var(--pop) 1.55s both;
}

@keyframes pop {
  from {
    transform: scale(0);
  }
}

@keyframes ripple {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}

@keyframes land {
  from {
    transform: translate(10px, -16px) scale(0);
  }
}

/* ── hero ──────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 150px 0 0;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -10%;
  width: min(1100px, 140vw);
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(34, 184, 167, 0.18), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero-mark {
  color: var(--ink);
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
  border-radius: 50%;
}

.hero-mark svg {
  width: 100%;
  height: 100%;
}

.hero h1 {
  font-size: clamp(44px, 8.4vw, 112px);
  max-width: 12em;
  margin: 20px auto 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero .lede {
  margin: 24px auto 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

/* stickers: pieces of the app floating around the hero */

.stickers {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 680px;
  pointer-events: none;
  z-index: 1;
}

.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--cell);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 18, 12, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
  font-size: 14.5px;
  white-space: nowrap;
  pointer-events: auto;
  cursor: default;
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.9s var(--out), scale 0.34s var(--out);
  animation: float 7s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.sticker:hover {
  scale: 1.06;
}

.sticker.light {
  background: var(--ink);
  color: #0d0d0d;
  border-color: transparent;
}

.sticker .ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 244, 242, 0.22);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}

.sticker.light .ring {
  border-color: rgba(13, 13, 13, 0.2);
}

.sticker .ring svg {
  width: 15px;
  height: 15px;
}

.sticker .ring::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
}

.sticker b {
  font-weight: 500;
}

.sticker .mono {
  font-size: 12px;
}

@keyframes float {
  50% {
    transform: translateY(-10px) rotate(var(--r, 0deg));
  }
}

/* phones */

.phone {
  position: relative;
  border-radius: 44px;
  padding: 7px;
  background: linear-gradient(160deg, #2a2a29, #121212 40%, #1e1e1d);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(244, 244, 242, 0.08) inset;
  flex: none;
}

.phone img {
  border-radius: 37px;
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  background: #0b0b0a;
}

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 2vw, 22px);
  margin-top: 72px;
  padding-bottom: 20px;
  z-index: 2;
}

.phones .phone {
  width: clamp(150px, 19vw, 236px);
  transition: transform 1.1s var(--out);
}

.phones .phone.center {
  width: clamp(190px, 25vw, 300px);
  z-index: 2;
}

.phones .phone:nth-child(1),
.phones .phone:nth-child(5) {
  transform: translateY(70px);
}

.phones .phone:nth-child(2),
.phones .phone:nth-child(4) {
  transform: translateY(28px);
}

.phones-fade {
  position: relative;
  margin-top: -160px;
  height: 160px;
  background: linear-gradient(transparent, var(--page));
  z-index: 3;
  pointer-events: none;
}

/* ── replaces ──────────────────────────────────────────────────── */

.replaces {
  padding-top: 90px;
  padding-bottom: 40px;
  text-align: center;
}

.replaces h2 {
  font-size: clamp(30px, 4.6vw, 56px);
}

.apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.apps li {
  list-style: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--dim);
  position: relative;
}

.apps li::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--out);
  transition-delay: calc(var(--i) * 0.12s + 0.3s);
}

.apps.in li::after {
  transform: scaleX(1);
}

.apps .is {
  background: var(--ink);
  color: #0d0d0d;
  border-color: transparent;
  font-weight: 500;
}

.apps .is::after {
  display: none;
}

/* ── section heads ─────────────────────────────────────────────── */

section {
  scroll-margin-top: 90px;
}

.section {
  padding-top: clamp(80px, 11vw, 140px);
}

.head {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
}

.head.center {
  text-align: center;
  justify-items: center;
}

/* ── feature cards (Tiimo-style) ───────────────────────────────── */

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

.feature .visual {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  background: var(--cell);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 34px;
}

.feature .visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 20%, color-mix(in srgb, var(--accent) 26%, transparent), transparent);
}

.feature .phone {
  width: 66%;
  border-radius: 38px;
}

.feature .phone img {
  border-radius: 32px;
}

.feature h3 {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature h3 .dot {
  background: var(--accent);
}

.feature p {
  color: var(--dim);
  margin-top: 8px;
  max-width: 30em;
}

/* ── the replan story (Uncle-Rudy-style) ───────────────────────── */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.story .phone {
  width: min(320px, 78%);
  margin: 0 auto;
}

.chat {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.bubble {
  max-width: 30em;
  padding: 16px 20px;
  border-radius: 22px;
  background: var(--cell);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.6s var(--out), transform 0.7s var(--pop);
}

.bubble.me {
  justify-self: end;
  background: var(--ink);
  color: #0d0d0d;
  border-color: transparent;
  border-bottom-right-radius: 8px;
}

.bubble.renna {
  border-bottom-left-radius: 8px;
}

.bubble .mono {
  display: block;
  margin-bottom: 6px;
}

.bubble.me .mono {
  color: rgba(13, 13, 13, 0.55);
}

.bubble ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.bubble li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.bubble li .mono {
  display: inline;
  margin: 0;
  min-width: 4.4em;
}

.tag {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--dim);
  margin-left: auto;
  white-space: nowrap;
}

.chat.in .bubble {
  opacity: 1;
  transform: none;
}

.chat.in .bubble:nth-child(2) {
  transition-delay: 0.7s;
}

.chat.in .bubble:nth-child(3) {
  transition-delay: 1.5s;
}

/* ── bento ─────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 14px;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  background: var(--cell);
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--out);
}

.tile:hover {
  transform: translateY(-3px);
}

.tile .cap {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.tile .cap b {
  display: block;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.tile .cap span {
  color: var(--dim);
  font-size: 14px;
}

.tile.wide {
  grid-column: span 2;
}

.tile.tall {
  grid-row: span 2;
}

.tile .shot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 62%;
  transform: translateX(-50%);
}

.tile .shot.phone {
  padding: 5px;
  border-radius: 30px;
}

.tile .shot.phone img {
  border-radius: 25px;
}

.tile.tall .cap,
.tile.has-shot .cap {
  padding-top: 18px;
  background: linear-gradient(transparent, var(--cell) 30%);
  margin: auto -24px -24px;
  padding: 60px 24px 24px;
}

/* widget mock */
.widget {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.w-card {
  flex: 1;
  border-radius: 20px;
  background: var(--cell-2);
  border: 1px solid var(--line);
  padding: 14px;
}

.w-card .mono {
  font-size: 11px;
}

.w-card b {
  display: block;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.w-card i {
  display: block;
  font-style: normal;
  color: var(--dim);
  font-size: 12.5px;
}

/* dynamic island */
.island {
  align-self: center;
  margin: 18px 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 0 0 1px rgba(244, 244, 242, 0.06);
}

.island .car {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(34, 184, 167, 0.18);
  color: var(--teal);
  display: grid;
  place-items: center;
}

.island .car svg {
  width: 16px;
  height: 16px;
}

.island b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--teal);
}

/* priorities mock */
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cell-2);
  border-radius: 14px;
  padding: 4px;
  margin: 10px 0 16px;
  border: 1px solid var(--line);
}

.seg span {
  text-align: center;
  padding: 9px 4px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--dim);
  transition: background 0.4s var(--out), color 0.3s;
}

.seg span.on {
  background: var(--ink);
  color: #0d0d0d;
}

/* key dates mock */
.dates {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.dates div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--cell-2);
  border: 1px solid var(--line);
  font-size: 14px;
}

.dates .mono {
  margin-left: auto;
  font-size: 11.5px;
}

.dates .done {
  color: var(--dim2);
  text-decoration: line-through;
}

.big-number {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 6px 0 18px;
}

.big-number small {
  font-size: 18px;
  color: var(--dim);
  letter-spacing: -0.02em;
}

/* ── adhd principles ───────────────────────────────────────────── */

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.principle {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.principle .mono {
  color: var(--teal);
}

.principle b {
  display: block;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
  line-height: 1.25;
}

.principle p {
  color: var(--dim);
  font-size: 15px;
}

/* ── privacy ───────────────────────────────────────────────────── */

.privacy {
  border-radius: 32px;
  background: var(--cell);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.privacy::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 40px solid rgba(244, 244, 242, 0.03);
  box-shadow: 0 0 0 70px rgba(244, 244, 242, 0.02);
}

.privacy h2 {
  font-size: clamp(32px, 4.6vw, 56px);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex: none;
  margin-top: 2px;
}

.link {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-color: rgba(244, 244, 242, 0.35);
}

.link:hover {
  text-decoration-color: var(--teal);
}

/* ── price ─────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.plan {
  border-radius: var(--radius);
  background: var(--cell);
  padding: 28px;
  border: 2px solid transparent;
  position: relative;
}

.plan.best {
  border-color: var(--teal);
}

.plan .badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--teal);
  color: #141414;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan .price {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 14px 0 6px;
  font-variant-numeric: tabular-nums;
}

.plan .price small {
  font-size: 18px;
  color: var(--dim);
  letter-spacing: -0.01em;
}

.plan p {
  color: var(--dim);
  font-size: 14.5px;
}

.plan p.price {
  color: var(--ink);
  font-size: 54px;
}

.included {
  max-width: 820px;
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  color: var(--dim);
  font-size: 14.5px;
}

.included span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.included svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

/* ── faq ───────────────────────────────────────────────────────── */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 20px;
  background: var(--cell);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  min-height: 44px;
}

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

.faq summary i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 244, 242, 0.22);
  position: relative;
  flex: none;
  transition: transform 0.45s var(--pop);
}

.faq summary i::before,
.faq summary i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary i {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 24px 22px;
  color: var(--dim);
  max-width: 44em;
}

/* ── final + footer ────────────────────────────────────────────── */

.final {
  position: relative;
  text-align: center;
  padding: clamp(110px, 14vw, 180px) 0 0;
  overflow: hidden;
}

.final h2 {
  max-width: 11em;
  margin: 0 auto;
}

.final .hero-cta {
  margin-top: 30px;
}

.giant {
  font-weight: 500;
  font-size: clamp(120px, 30vw, 420px);
  letter-spacing: -0.07em;
  line-height: 0.8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 244, 242, 0.1);
  background: linear-gradient(rgba(244, 244, 242, 0.07), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 90px;
  user-select: none;
  pointer-events: none;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-left: auto;
}

.foot nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 0;
}

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

/* ── legal pages ───────────────────────────────────────────────── */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
}

.legal h1 {
  font-size: clamp(40px, 7vw, 72px);
}

.legal .updated {
  margin-top: 14px;
}

.legal h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 44px 0 12px;
}

.legal p {
  color: var(--dim);
  margin-top: 12px;
}

/* ── reveal on scroll ──────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--out), transform 0.9s var(--out);
  transition-delay: var(--delay, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── responsive ────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .features {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

  .principles {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }

  .story,
  .privacy {
    grid-template-columns: 1fr;
  }

  .story .phone {
    order: 2;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav .sound {
    margin-left: auto;
  }

  .nav-links + .btn {
    margin-left: auto;
  }

  .hero {
    padding-top: 118px;
  }

  .phones .phone:nth-child(1),
  .phones .phone:nth-child(5) {
    display: none;
  }

  .phones {
    gap: 8px;
  }

  .phones .phone {
    width: 26vw;
    padding: 4px;
    border-radius: 26px;
  }

  .phones .phone img {
    border-radius: 22px;
  }

  .phones .phone.center {
    width: 40vw;
  }

  .stickers {
    display: none;
  }

  .plans,
  .bento {
    grid-template-columns: 1fr;
  }

  .tile.wide {
    grid-column: auto;
  }

  .tile.tall {
    grid-row: span 1;
    min-height: 420px;
  }

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

  .foot nav {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal,
  .bubble {
    opacity: 1;
    transform: none;
  }
}

/* ── guides ────────────────────────────────────────────────────── */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px var(--gutter) 40px;
}

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

.article .dot {
  background: var(--accent, var(--teal));
}

.crumbs {
  margin-bottom: 26px;
}

.crumbs a {
  color: var(--dim);
  text-decoration: none;
}

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

.article h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  margin-top: 16px;
}

.article .updated {
  margin-top: 14px;
}

.article h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.035em;
  margin: 52px 0 14px;
}

.article p {
  color: rgba(244, 244, 242, 0.78);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 14px;
}

.article p.intro {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--ink);
  margin-top: 26px;
}

.bullets,
.steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.bullets li,
.steps li {
  position: relative;
  padding: 14px 18px 14px 50px;
  border-radius: 16px;
  background: var(--cell);
  color: rgba(244, 244, 242, 0.85);
  line-height: 1.5;
}

.bullets li::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 244, 242, 0.22);
  display: grid;
  place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink);
}

.renna-box {
  margin: 56px 0 0;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--cell);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 45%, transparent);
  position: relative;
  overflow: hidden;
}

.renna-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--accent, var(--teal)) 16%, transparent), transparent);
  pointer-events: none;
}

.renna-box > * {
  position: relative;
}

.renna-box .btn {
  margin-top: 22px;
}

.article .faq {
  max-width: none;
}

.article .faq .answer {
  margin-top: 0;
  font-size: 16px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 960px) {
  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 0;
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--cell);
  text-decoration: none;
  transition: transform 0.5s var(--out), background 0.3s;
}

.guide-card:hover {
  transform: translateY(-3px);
  background: var(--cell-2);
}

.guide-card .dot {
  background: var(--accent, var(--teal));
}

.guide-card b {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.guide-card .more {
  margin-top: auto;
  color: var(--dim);
  font-size: 14px;
}

.guide-card:hover .more {
  color: var(--ink);
}

.table-wrap {
  margin-top: 16px;
  border-radius: 18px;
  background: var(--cell);
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 520px;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table-wrap thead th {
  font-family: 'Geist Mono', monospace;
  font-weight: 400;
  font-size: 12px;
  color: var(--dim);
}

.table-wrap tbody th {
  font-weight: 500;
  white-space: nowrap;
}

.table-wrap td {
  color: rgba(244, 244, 242, 0.78);
}

.table-wrap tr:last-child th,
.table-wrap tr:last-child td {
  border-bottom: 0;
}
