/* RĀNA Sites. Brand: black, white, Styrene A, one accent (#525DFF). */
@font-face { font-family: "Styrene A"; src: url("/fonts/StyreneA-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Styrene A"; src: url("/fonts/StyreneA-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Styrene A"; src: url("/fonts/StyreneA-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Styrene A"; src: url("/fonts/StyreneA-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Styrene's web cut lacks + $ & ( ) ' " / % @ # * and curly quotes; DM Sans fills only those. */
@font-face { font-family: "DM Sans Fallback"; src: url("/fonts/DMSans-fallback.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0022-002B, U+002F, U+0040, U+00B7, U+2018-201F, U+2022, U+2026; }

/* Tokens. The root size follows the viewport (width and height), so every rem value below scales continuously. */
:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --dim: rgba(255, 255, 255, 0.64);
  --quiet: rgba(255, 255, 255, 0.5);
  --rule: rgba(255, 255, 255, 0.16);
  --fill: rgba(255, 255, 255, 0.05);
  --accent: #525dff;
  --wrap: 78rem;
  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --hh: 4.2rem;
  --r: 0.6rem;
  --rb: 0.4rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --rvt: opacity 0.9s var(--ease) calc(var(--n, 0) * 0.09s), transform 0.9s var(--ease) calc(var(--n, 0) * 0.09s);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(14px, 0.58vw + 0.78vh, 21px); background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.04rem/1.6 "Styrene A", "DM Sans Fallback", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: rgba(82, 93, 255, 0.5); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.logo { height: 1.9rem; width: auto; aspect-ratio: 4080 / 861; display: block; }
.logo-lg { width: clamp(13rem, 30vw, 34rem); height: auto; aspect-ratio: 4080 / 861; display: block; }

/* Display type: bold sentence case, dim sentence with the key phrase lit */
.display { font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: var(--quiet); text-wrap: balance; }
.display b { font-weight: 700; color: var(--fg); }
.h-xl { font-size: clamp(1.9rem, 1.1rem + 2vw, 4rem); }
.h-lg { font-size: clamp(1.9rem, 1rem + 2.6vw, 4rem); }
.lede { font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.4rem); color: var(--dim); max-width: 56ch; }

/* Reveals: fade and rise. Only hidden when JS is running and motion is allowed. */
.rv { transition: var(--rvt); }
.js .rv:not(.in) { opacity: 0; transform: translateY(2.2rem); }

/* Section backgrounds that drift (moved by the scroll loop) */
.bgfx { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; display: block; border-radius: 50%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(82, 93, 255, 0.26), rgba(82, 93, 255, 0)); will-change: translate; }
.o1 { width: 54vw; right: -14vw; top: -10vw; }
.o2 { width: 34vw; left: -12vw; bottom: -12vw; opacity: 0.7; }
.o3 { width: 50vw; left: -16vw; top: 10%; }
.o4 { width: 46vw; right: -16vw; top: 4%; }
.o5 { width: 44vw; left: -14vw; bottom: -8%; }
.o6 { width: 56vw; left: 22vw; top: -12vw; }
.o7 { width: 34vw; right: -10vw; bottom: -10vw; opacity: 0.7; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.1rem; padding: 0.8rem 1.6rem; border: 1.5px solid var(--fg); border-radius: var(--rb); background: var(--fg); color: #000; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.btn:hover { background: transparent; color: var(--fg); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--fg); border-color: rgba(255, 255, 255, 0.45); }
.btn.ghost:hover { border-color: var(--fg); background: var(--fg); color: #000; }
.btn.sm { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn.xl { min-height: 4.2rem; padding: 1rem 2.6rem; font-size: 1.3rem; }
.btn.ghost.xl { font-size: 1.05rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 1.8rem; height: var(--hh); }
.brand { display: flex; align-items: center; text-decoration: none; }
.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a { font-size: 0.95rem; color: var(--dim); text-decoration: none; }
.nav a:hover { color: var(--fg); }
.top .login { font-size: 0.95rem; color: var(--dim); text-decoration: none; white-space: nowrap; }
.top .login:hover { color: var(--fg); }
@media (max-width: 860px) { .nav { display: none; } .top .login { margin-left: auto; font-size: 0.88rem; } .top .btn { margin-left: 0; } .top .wrap { gap: 1.1rem; } }

/* Hero: exactly one screen, header included */
.hero { position: relative; overflow: clip; display: flex; align-items: center; min-height: calc(100vh - var(--hh)); min-height: calc(100svh - var(--hh)); padding: 2.4rem 0 3rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr); gap: clamp(2rem, 4.5vw, 5.5rem); align-items: center; max-width: calc(68rem + 2 * var(--pad)); }
/* The copy column is a size container: the headline and price scale to it, so line one always fits. */
.hero-copy { container-type: inline-size; }
@media (min-width: 961px) and (min-height: 640px) { .hero { height: calc(100vh - var(--hh)); height: calc(100svh - var(--hh)); min-height: 0; padding: 1rem 0; } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.where { font-size: 0.95rem; color: var(--dim); margin-bottom: clamp(0.8rem, 1.6vh, 1.4rem); display: flex; align-items: center; gap: 0.6rem; }
.where::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); flex: none; }
.hero-logo { margin-bottom: clamp(1.4rem, 3.6vh, 2.8rem); }
.hero h1 { font-size: clamp(1.6rem, 1rem + 1.6vw, 3.4rem); font-size: min(6.9cqi, clamp(1.8rem, 1.1rem + 1.9vw, 3.7rem)); line-height: 1.08; margin-bottom: clamp(1.6rem, 4.2vh, 3.2rem); }
.hero h1 .ln { display: block; white-space: nowrap; }
.pricebox { display: flex; align-items: center; gap: 0.9rem 1.5rem; margin-bottom: clamp(1.5rem, 3.8vh, 2.9rem); }
.pb-box { position: relative; flex: none; display: flex; align-items: center; gap: 0.9rem; background: var(--fg); color: #000; border-radius: var(--r); padding: 1.15rem 1.8rem; }
.pb-amt { font-size: clamp(2.5rem, 1.75rem + 2.3vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.pb-per { font-size: 0.95rem; font-weight: 700; line-height: 1.2; }
.pb-note { flex: 1 1 0; min-width: 0; max-width: 17em; font-size: clamp(1rem, 0.8rem + 0.35vw, 1.2rem); line-height: 1.35; color: var(--dim); text-wrap: balance; }
/* On a phone-width column the note drops under the price box */
@container (max-width: 26rem) { .pricebox { flex-direction: column; align-items: flex-start; } .pb-note { flex: none; max-width: none; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.fine { margin-top: 1rem; font-size: 0.9rem; color: var(--quiet); }
.fine b { color: var(--fg); font-weight: 500; }
/* Introductory rate: tag on the price box, regular price struck through */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pb-tag { position: absolute; top: -0.8rem; left: 1.6rem; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.2; padding: 0.25rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.was { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.4rem; }
.reg { font-size: 0.72rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.pb-per s { color: #d93a14; text-decoration-thickness: 0.1em; }
.pb-per .reg { color: rgba(0, 0, 0, 0.58); }

/* Letter blur-in for the hero headline (one moment, on load) */
.bt .ch { display: inline-block; animation: bt-in 0.6s ease-in-out var(--d, 0s) backwards; }
.bt .w { display: inline-block; white-space: nowrap; }
@keyframes bt-in { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }

/* Hero demo: ask for a change, watch it happen */
.demo { position: relative; }
.demo-site { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: #f6f3ec; color: #1b1b1b; font-family: Georgia, "Times New Roman", serif; }
.demo-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.75rem; background: #e7e3da; }
.demo-bar i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #c9c3b6; }
.demo-bar span { margin-left: 0.5rem; flex: 1; background: #f6f3ec; border-radius: var(--rb); padding: 0.2rem 0.6rem; font: 0.75rem/1.4 ui-sans-serif, system-ui, sans-serif; color: #6b6558; }
.demo-banner { max-height: 0; overflow: hidden; background: #1f3d2b; color: #f6f3ec; font: 600 0.82rem/1.2 ui-sans-serif, system-ui, sans-serif; text-align: center; transition: max-height 0.5s, padding 0.5s; }
.demo-banner.on { max-height: 3.2rem; padding: 0.65rem; }
.demo-body { padding: 1.6rem 1.5rem 4.4rem; }
.demo-logo { font: 700 0.8rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #1f3d2b; margin-bottom: 1.3rem; }
.demo-h { font-size: clamp(1.4rem, 1rem + 1.1vw, 2.3rem); line-height: 1.12; font-weight: 400; margin-bottom: 0.6rem; min-height: 2.3em; }
.demo-p { font: 0.88rem/1.5 ui-sans-serif, system-ui, sans-serif; color: #5a5548; margin-bottom: 1.1rem; max-width: 34ch; }
.demo-row { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; font: 0.82rem/1.4 ui-sans-serif, system-ui, sans-serif; }
.demo-btn { background: #1f3d2b; color: #f6f3ec; padding: 0.6rem 1rem; border-radius: var(--rb); font-weight: 600; }
.demo-hours b { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5f5a4d; font-weight: 600; }
.flash { animation: flash 1.4s ease-out; border-radius: 0.25rem; }
@keyframes flash { 0% { background: rgba(82, 93, 255, 0.45); box-shadow: 0 0 0 0.4rem rgba(82, 93, 255, 0.45); } 100% { background: transparent; box-shadow: 0 0 0 0.4rem transparent; } }
.demo-thread { position: relative; margin: -2.8rem 0 0 auto; width: min(21rem, 90%); background: #0b0b0b; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: calc(var(--r) * 1.6); padding: 1rem; box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.6); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .demo:not(.ready) .demo-thread { opacity: 0; transform: translateY(6rem); }
.demo-thread header { font-size: 0.78rem; color: var(--quiet); text-align: center; margin-bottom: 0.75rem; }
.demo-msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; height: 9.4rem; overflow: hidden; }
.msg { flex: none; max-width: 88%; padding: 0.55rem 0.8rem; border-radius: 1rem; font-size: 0.9rem; line-height: 1.35; animation: msg-in 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.msg.me { align-self: flex-end; background: var(--accent); border-bottom-right-radius: 0.3rem; }
.msg.us { align-self: flex-start; background: #232323; border-bottom-left-radius: 0.3rem; }
@keyframes msg-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
.demo-try { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
.demo-try p { font-size: 0.78rem; color: var(--quiet); margin-bottom: 0.5rem; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.demo-chips button { font-size: 0.82rem; color: var(--fg); background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--rb); padding: 0.45rem 0.75rem; cursor: pointer; transition: background 0.7s ease, color 0.7s ease, border-color 0.7s ease; }
.demo-chips button:hover:not(:disabled) { background: var(--fg); color: #000; transition-duration: 0.2s; }
.demo-chips button:disabled { background: #000; color: rgba(255, 255, 255, 0.28); border-color: rgba(255, 255, 255, 0.1); cursor: default; transition-duration: 0.25s; }

/* Proof strip */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.7rem 0; }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 3rem; }
.proof p { font-size: 1.05rem; color: var(--dim); flex: 1 1 24rem; max-width: 62ch; }
.proof p b { color: var(--fg); font-weight: 500; }
.logos { display: flex; align-items: center; gap: 2.2rem; }
.logos img { height: 1.9rem; width: auto; opacity: 0.85; }

/* Sections */
.sec { position: relative; overflow: clip; padding: clamp(4rem, 9vw, 9rem) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec.full { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.sec-head { margin-bottom: clamp(2rem, 4.5vw, 4rem); }
.sec-head .display { max-width: 22ch; }
.sec-head .lede { margin-top: 1.3rem; }

/* Which one are you: the gray explanation slides in on hover or focus (on touch, as it scrolls into view) */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.7rem, 1.6vw, 1.4rem); align-items: start; }
.three > li { padding: clamp(1.2rem, 2.2vw, 2.2rem); border: 1px solid var(--rule); border-radius: var(--r); background: var(--fill); outline-offset: 4px; transition: var(--rvt), border-color 0.3s, background 0.3s; }
.three > li:hover, .three > li:focus-within { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.08); }
.three q { display: block; quotes: "\201C" "\201D"; font-size: clamp(1.25rem, 0.9rem + 1vw, 2rem); font-weight: 700; line-height: 1.22; text-wrap: balance; }
.why-wrap { display: grid; grid-template-rows: 1fr; margin-top: 0.9rem; transition: grid-template-rows 0.6s var(--ease), opacity 0.6s var(--ease), margin 0.6s var(--ease); }
.why-wrap p { min-height: 0; overflow: hidden; color: var(--dim); font-size: 1.02rem; }
.js .three .why-wrap { grid-template-rows: 0fr; opacity: 0; margin-top: 0; }
.js .three > li.open .why-wrap, .js .three > li:focus-within .why-wrap { grid-template-rows: 1fr; opacity: 1; margin-top: 0.9rem; }
@media (hover: hover) { .js .three > li:hover .why-wrap { grid-template-rows: 1fr; opacity: 1; margin-top: 0.9rem; } }
@media (max-width: 820px) { .three { grid-template-columns: 1fr; } }

/* Included */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { display: grid; gap: 0.6rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.9rem; padding: 1.1rem 1.3rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--fill); }
.checks svg { width: 1.4rem; height: 1.4rem; margin-top: 0.2rem; color: var(--accent); }
.checks b { display: block; font-weight: 700; font-size: 1.15rem; }
.checks span { color: var(--dim); font-size: 1rem; }

/* 24 hours: one full screen */
.asks { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.asks li { padding: 0.75rem 1.1rem; border-radius: var(--r); background: #1a1a1a; font-size: 1rem; }
.asks li:nth-child(3n + 2) { background: var(--accent); }
.clock { font-size: clamp(4rem, 10.5vw, 13rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.035em; }
.clock small { display: block; font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.4rem); font-weight: 500; letter-spacing: 0; color: var(--dim); margin-top: 1.1rem; max-width: 30ch; line-height: 1.45; }

/* Pricing: a staircase rising left to right. Each plan stands on the one before it. */
.stairs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.7rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.7rem 1.3rem 1.4rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--fill); margin-top: calc((4 - var(--i)) * 2.9rem); }
.plan.rec { background: rgba(82, 93, 255, 0.13); border-color: rgba(82, 93, 255, 0.75); }
.plan .tag { position: absolute; top: -0.8rem; left: 1.2rem; background: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; font-weight: 700; }
.plan .amt { font-size: clamp(1.9rem, 1rem + 1.5vw, 3rem); font-weight: 700; line-height: 1; margin: 0.9rem 0 0.9rem; letter-spacing: -0.02em; }
.plan .amt .was { font-size: 1rem; font-weight: 500; line-height: 1.2; letter-spacing: 0; margin-bottom: 0.3rem; }
.plan .amt s { color: #ff5a36; text-decoration-thickness: 0.09em; }
.plan .amt .reg { color: var(--quiet); }
.intro-strip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-bottom: 1.6rem; padding: 0.55rem 1rem 0.55rem 0.6rem; border: 1px solid rgba(82, 93, 255, 0.6); border-radius: 999px; background: rgba(82, 93, 255, 0.12); font-size: 0.95rem; }
.intro-strip b { background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.plan .amt small { display: block; font-size: 0.85rem; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-top: 0.4rem; }
.plan .line { font-size: 0.95rem; color: var(--dim); margin-bottom: 1rem; }
.plan .plus { font-size: 0.8rem; font-weight: 700; color: var(--fg); margin-bottom: 0.6rem; }
.plan ul { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; }
.plan li { font-size: 0.9rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); padding-left: 1rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.38rem; height: 0.38rem; border-radius: 50%; background: var(--accent); }
.plan .btn { margin-top: auto; width: 100%; }
.setup { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 1rem; color: var(--dim); }
.setup b { color: var(--fg); font-weight: 700; }
/* App callout under the plans: one large accent button */
.app-cta { margin-top: 2.4rem; }
.app-cta a { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 1.6rem 1.5rem 2rem; border-radius: var(--r); background: var(--accent); color: #fff; text-decoration: none; box-shadow: 0 1rem 2.8rem rgba(82, 93, 255, 0.38); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.app-cta a:hover { transform: translateY(-0.15rem); box-shadow: 0 1.4rem 3.2rem rgba(82, 93, 255, 0.55); }
.app-cta a:active { transform: scale(0.99); }
.app-cta strong { font-size: clamp(1.35rem, 1rem + 1.1vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.app-go { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0.8rem 1.8rem; border-radius: var(--rb); background: #fff; color: #000; font-weight: 700; font-size: 1rem; white-space: nowrap; }
/* Tablets and phones: the five cards become a horizontal swipe row */
@media (max-width: 1000px) {
  .stairs { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); margin: 0 calc(-1 * var(--pad)); padding: 1.2rem var(--pad) 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .plan { flex: 0 0 clamp(15rem, 40vw, 19rem); scroll-snap-align: start; margin-top: 0; }
}
@media (max-width: 700px) { .plan { flex-basis: min(78vw, 19rem); } }

/* Examples */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2.2rem); }
.ex { display: flex; flex-direction: column; align-items: flex-start; height: 100%; text-decoration: none; }
/* The three cards arrive from different depths, then settle on one line */
.js .examples .ex.rv:not(.in) { transform: translateY(calc(2.4rem + var(--n, 0) * 2.6rem)); }
.ex figure { width: 100%; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: #111; }
.ex img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s var(--ease); }
.ex:hover img { transform: scale(1.04); }
.ex .plan-name { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; margin-top: 1.1rem; padding: 0.4rem 0.8rem; border: 1px solid rgba(82, 93, 255, 0.65); border-radius: var(--rb); background: rgba(82, 93, 255, 0.16); font-size: 0.88rem; line-height: 1.3; color: var(--dim); }
.ex .plan-name b { color: var(--fg); font-weight: 700; }
.ex h3 { font-size: 1.4rem; font-weight: 700; margin: 0.8rem 0 0.4rem; }
.ex p { font-size: 1rem; color: var(--dim); }
.ex h3 + p { margin-bottom: 1.1rem; }
.ex .go { margin-top: auto; display: inline-flex; align-items: center; padding: 0.6rem 1.25rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.95rem; box-shadow: 0 0.5rem 1.4rem rgba(82, 93, 255, 0.35); }
.ex:hover .go { background: #fff; color: #000; }
/* One small, quick hop every 20 seconds. The first comes just after the card appears. */
.ex.in .go, html:not(.js) .ex .go { animation: bob 20s ease-out calc(1.2s + var(--bd, 0s)) infinite; }
@keyframes bob { 0%, 2.6%, 100% { transform: translateY(0); } 0.8% { transform: translateY(-0.3rem); } 1.6% { transform: translateY(0); } 2.1% { transform: translateY(-0.09rem); } }
@media (max-width: 900px) { .examples { grid-template-columns: 1fr; max-width: 30rem; } }

/* Process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.steps li { counter-increment: s; padding: 1.4rem 1.3rem 1.5rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--fill); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--fg); color: #000; font-weight: 700; font-size: 1rem; margin-bottom: 1.1rem; }
.steps h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; }
.steps p { font-size: 1rem; color: var(--dim); }
.steps a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.steps-note { margin-top: 1.6rem; font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.4rem); color: var(--dim); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Why us */
.why .big { font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); line-height: 1.38; font-weight: 500; }
.why .big b { font-weight: 700; }
.local { display: flex; align-items: center; gap: 1.3rem; margin-top: 1.8rem; padding: 1.2rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--fill); }
.local img { width: 5rem; height: 5rem; border-radius: 50%; border: 3px solid var(--fg); object-fit: cover; flex: none; }
.local b { display: block; font-size: 1.15rem; }
.local span { color: var(--dim); font-size: 1rem; }
.focus { margin-top: 1.6rem; font-size: 1.15rem; color: var(--dim); }
.towns { margin-top: 1.3rem; color: var(--quiet); font-size: 0.95rem; }
.facts { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--fill); }
.facts li { display: flex; justify-content: space-between; gap: 1.2rem; padding: 1.05rem 1.3rem; border-top: 1px solid var(--rule); font-size: 1.05rem; }
.facts li:first-child { border-top: 0; }
.facts li span:last-child { color: var(--dim); text-align: right; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 56rem; }
.faq details { border: 1px solid var(--rule); border-radius: var(--r); background: var(--fill); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.2rem; padding: 1.2rem 1.4rem; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "DM Sans Fallback", system-ui, sans-serif; font-weight: 400; font-size: 1.6rem; line-height: 1; flex: none; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.4rem 1.4rem; color: var(--dim); max-width: 64ch; }

/* Closing: one full screen */
.contact { text-align: center; }
.talk { display: flex; flex-direction: column; align-items: center; max-width: 52rem; margin: 0 auto; }
.talk .display { max-width: 16ch; }
.talk .lede { margin: 1.4rem auto 0; }
.talk .cta-row { justify-content: center; margin-top: 2.2rem; }
.bot-note { margin-top: 2rem; display: flex; gap: 0.8rem; align-items: flex-start; text-align: left; font-size: 1rem; color: var(--dim); max-width: 40rem; }
.bot-note svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--accent); margin-top: 0.15rem; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 2.2rem 0 7rem; font-size: 0.9rem; color: var(--quiet); }
/* One centered line: Made with (drawn heart) by the logo, then who RĀNA is. It wraps to two centered lines on a phone. */
.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; justify-content: center; align-items: center; text-align: center; }
.made { display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap; }
.made-heart { width: 0.95em; height: 0.87em; color: #ff4d5a; flex: none; }
/* The macron on the A makes the logo's box taller than its letters, so it is lifted to sit level with the words. */
.made .logo { height: 1.5em; width: auto; margin-left: 0.1em; translate: 0 -9.5%; }
@media (max-width: 700px) { .foot-sep { display: none; } }
.foot a { color: var(--dim); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bt .ch, .msg, .flash, .ex .go { animation: none !important; }
  [data-px], [data-ps] { translate: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .why-wrap { grid-template-rows: 1fr !important; opacity: 1 !important; margin-top: 0.9rem !important; }
  * { transition: none !important; }
}
