/* Leavr front page (leavr.link/). Only the front page uses this file; creator pages use style.css.
   Like the creator pages it loads nothing from other sites: the phone's own fonts, inline icons,
   and images from /assets. Mobile first: the base styles are for phones, wider screens add to them. */

:root {
  color-scheme: light;
  /* Brand colours (leavr.link brand concepts): a light Linen page, Bark text, Amber and Brick
     accents. The phone demo stays dark, like a real phone. */
  --bg: #FAF5EC;            /* Linen */
  --bg-raise: #F4ECDF;
  --card: #FFFFFF;
  --line: #EADFCF;          /* Linen Border */
  --line-strong: #D9CBB8;   /* Sand */
  --ink: #2A1C15;           /* Bark */
  --muted: #6B5A4E;         /* Umber */
  --accent: #F2B33D;        /* Amber: fills (main buttons, the leaf) */
  --accent-hover: #F6C463;
  --accent-ink: #2A1C15;
  --accent-text: #A33A1A;   /* Deep Brick: accent text and icons, readable on Linen */
  --accent-soft: rgba(242, 179, 61, .18);
  --accent-line: rgba(194, 68, 31, .28);
  --brick: #C2441F;         /* back leaf, hover, accents */
  --beta: #A33A1A;
  --beta-soft: #F6E3D8;     /* Blush */
  --hover: rgba(42, 28, 21, .05);
  --shadow: 0 1px 2px rgba(42, 28, 21, .04), 0 10px 30px -14px rgba(42, 28, 21, .18);
  --radius: 22px;
  --leaf: 22px 6px 22px 6px; /* round-sharp-round-sharp corners, like a leaf */
  --max: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
a { color: var(--accent-text); text-underline-offset: .18em; }
a:hover { color: var(--brick); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--bg); }

/* Icons: 24×24 line drawings that take the text colour */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.top-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.top-link:hover { color: var(--ink); background: var(--hover); }

/* ---------- Buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 auto; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 650; text-decoration: none; text-align: center;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--hover); color: var(--ink); }
@media (min-width: 560px) { .btn { flex: 0 0 auto; } }

/* ---------- Hero ---------- */
.hero {
  padding: 16px 0 44px;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(242, 179, 61, .30), transparent 70%),
    radial-gradient(50% 40% at 0% 0%, rgba(246, 227, 216, .95), transparent 70%);
}
.hero-grid { display: grid; gap: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 5px 12px; border: 1px solid var(--accent-line); border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 8px 1px; background: currentColor; }
h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 9.6vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
}
h1 .hl { color: var(--brick); }
.lede { margin: 18px 0 0; max-width: 34em; color: var(--muted); font-size: 17px; line-height: 1.6; }
@media (min-width: 720px) { .lede { font-size: 19px; } }
@media (min-width: 960px) {
  .hero { padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 56px; }
}

/* ---------- Phone demo ----------
   Everything inside the phone is sized in em, so the whole phone scales from one font-size.
   Screen 27em × 56em: status bar 3.4em, the app's browser bar 4.6em, then the web page (.view)
   from 8em down, 48em tall. The app's ••• button sits above the page at x 24.4em. */
.demo {
  margin: 0; display: grid; justify-items: center; gap: 14px;
  background: radial-gradient(closest-side, rgba(242, 179, 61, .28), transparent) 50% 38% / 100% 75% no-repeat;
}
.phone {
  position: relative;
  font-size: clamp(8px, calc((100vw - 48px) / 28.6), 10px);
  width: 28.6em; padding: .8em; border-radius: 4.7em;
  background: linear-gradient(160deg, #4a372b, #1d130e 28%, #140d09 70%, #3a2a20);
  box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .14), 0 3em 6em -1.5em rgba(42, 28, 21, .45);
}
@media (min-width: 960px) { .phone { font-size: 9.5px; } }
.phone::before, .phone::after { content: ""; position: absolute; width: .3em; border-radius: .2em; background: #3a2a20; }
.phone::before { left: -.25em; top: 12em; height: 5.5em; }
.phone::after { right: -.25em; top: 15em; height: 8em; }

.screen { position: relative; height: 56em; border-radius: 3.9em; overflow: hidden; isolation: isolate; background: #1d130e; color: #fff; line-height: 1.3; }
.island { position: absolute; z-index: 5; top: .85em; left: 50%; width: 8.4em; height: 2.4em; margin-left: -4.2em; border-radius: 1.2em; background: #000; }
.status { display: flex; align-items: center; justify-content: space-between; height: 3.4em; padding: .3em 2.3em 0 3em; background: #1c1c1f; }
.status .time { font-size: 1.35em; font-weight: 600; }
.status .sys { display: flex; align-items: center; gap: .45em; }
.status svg { height: 1.1em; width: auto; fill: #fff; }
.appbar {
  display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 5.2em; align-items: center;
  height: 4.6em; background: #1c1c1f; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.appbar .x { justify-self: center; width: 1.5em; height: 1.5em; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.appbar .addr { text-align: center; min-width: 0; }
.appbar .addr b { display: block; font-size: 1.25em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar .addr span { display: inline-flex; align-items: center; gap: .3em; font-size: 1.05em; color: rgba(255, 255, 255, .55); }
.appbar .addr svg { width: .8em; height: .95em; fill: currentColor; }
.appbar .dots { justify-self: center; display: flex; gap: .32em; }
.appbar .dots i { width: .5em; height: .5em; border-radius: 50%; background: #fff; }

.view { position: absolute; left: 0; right: 0; top: 8em; bottom: 0; overflow: hidden; border-radius: 0 0 3.9em 3.9em; }

/* The creator's page, behind */
.cp { position: absolute; inset: 0; background: #2A1C15; }
.cp-hero {
  position: relative; height: 22em; overflow: hidden;
  background:
    radial-gradient(55% 45% at 72% 28%, rgba(242, 179, 61, .55), transparent 70%),
    linear-gradient(165deg, #C2441F, #7a2a12 55%, #2A1C15);
}
.cp-hero::before, .cp-hero::after { content: ""; position: absolute; left: 50%; background: #4a1c0c; }
.cp-hero::before { top: 5em; width: 7.2em; height: 8.6em; margin-left: -3.6em; border-radius: 50%; }
.cp-hero::after { bottom: -2em; width: 18em; height: 11em; margin-left: -9em; border-radius: 9em 9em 0 0; }
.cp-fade { position: absolute; left: 0; right: 0; top: 12em; height: 10.2em; background: linear-gradient(rgba(42, 28, 21, 0), #2A1C15); }
.cp-id { position: relative; margin-top: -4.4em; text-align: center; }
.cp-id b { display: block; font-size: 2.2em; letter-spacing: -.02em; }
.cp-id span { display: block; font-size: 1.25em; color: rgba(255, 255, 255, .6); }
.cp-soc { display: flex; justify-content: center; gap: .9em; margin-top: 1.3em; }
.cp-soc i { width: 3.4em; height: 3.4em; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cp-card { position: relative; height: 12em; margin: 1.8em 1.6em 0; border-radius: 1.8em; overflow: hidden; background: linear-gradient(150deg, #F2B33D, #C2441F); }
.cp-card span { position: absolute; top: 1.1em; left: 1.1em; padding: .3em .8em; border-radius: 1em; background: #F6E3D8; color: #A33A1A; font-size: 1.1em; font-weight: 600; }
.cp-card b { position: absolute; left: 1.2em; bottom: .9em; font-size: 1.6em; text-transform: uppercase; letter-spacing: .02em; }
.cp-btn { display: grid; place-items: center; height: 4.8em; margin: 1.1em 1.6em 0; border-radius: 1.6em; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.cp-btn b { font-size: 1.35em; font-weight: 600; }

/* The guide on top: the page dims except round the corner under the app's ••• menu */
.dim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 24.4em 0, rgba(20, 13, 9, 0) 4.2em, rgba(20, 13, 9, .84) 12em); }
.ring, .pulse {
  position: absolute; z-index: 2; left: 24.4em; top: 0;
  width: 6em; height: 6em; margin: -3em 0 0 -3em; border-radius: 50%;
  border: .3em solid var(--accent); pointer-events: none;
}
.ring { box-shadow: 0 0 1.4em rgba(242, 179, 61, .7), inset 0 0 1em rgba(242, 179, 61, .35); }
.pulse { opacity: 0; }
/* The arm photo points straight up (160×1538, fingertip near the top, 118px from the left).
   Shown mirrored like the real pages, and turned from the shoulder: the bottom middle of the
   image, which sits off the page's left edge at (-8.54em, 41.89em). At 38° the fingertip rests
   at (21em, 2em), pointing up and right at the ••• button. */
.arm {
  position: absolute; z-index: 3; left: -11.14em; top: -8.11em;
  width: 5.2em; height: 50em; max-width: none;
  transform-origin: 50% 100%; transform: rotate(38deg) scaleX(-1);
  filter: drop-shadow(-.9em .3em .7em rgba(0, 0, 0, .55));
  pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.tip {
  position: absolute; z-index: 4; left: 1.6em; right: 1.6em; bottom: 3.4em;
  padding: 1.4em 1.6em 1.5em; border-radius: 2.6em .6em 2.6em .6em; /* a leaf */
  background: #fff; color: #111;
  box-shadow: 0 0 0 .35em var(--accent), 0 0 3.2em rgba(242, 179, 61, .5), 0 1.2em 3em rgba(0, 0, 0, .6);
}
.tip b { display: block; font-size: 1.75em; line-height: 1.3; letter-spacing: -.01em; }
.tip .key { display: inline-block; padding: 0 .35em; border-radius: .6em .15em .6em .15em; background: #111; color: #fff; letter-spacing: .06em; }
.tip small { display: block; margin-top: .45em; font-size: 1.3em; color: #555; }

.demo-cap { color: var(--muted); font-size: 14px; text-align: center; }
.replay {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: none;
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.replay:hover { background: var(--hover); }
.replay .i { width: 16px; height: 16px; stroke-width: 2.2; }

/* The animation: a moment of the plain page, then it dims and the arm swings up from below,
   overshoots the menu a little, swings back and settles. Plays once (the page's script waits
   until it's on screen). With Reduce Motion it stays still on the finished picture. */
@media (prefers-reduced-motion: no-preference) {
  .demo.run .dim { animation: demo-in .5s .5s both; }
  .demo.run .arm { animation: demo-swing 1.9s .8s both, demo-in .2s .8s both; }
  .demo.run .ring { animation: demo-in .3s 1.45s both; }
  .demo.run .pulse { animation: demo-pulse 1.3s 1.45s 2 ease-out both; }
  .demo.run .tip { animation: demo-tip .55s 2.15s both cubic-bezier(.2, 1.3, .4, 1); }
  .demo.wait * { animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) { .pulse { display: none; } }
@keyframes demo-in { from { opacity: 0; } }
@keyframes demo-swing {
  0% { transform: rotate(122deg) scaleX(-1); animation-timing-function: cubic-bezier(.3, .55, .45, 1); }
  45% { transform: rotate(31deg) scaleX(-1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  73% { transform: rotate(40deg) scaleX(-1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { transform: rotate(38deg) scaleX(-1); }
}
@keyframes demo-pulse {
  0% { transform: scale(.6); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes demo-tip { from { opacity: 0; transform: translateY(1.2em) scale(.94); } }

/* ---------- Sections ---------- */
.section { padding: 48px 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding: 64px 0; } }
.section-head { max-width: 40em; margin-bottom: 24px; }
h2 { margin: 0; font-size: clamp(28px, 6.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
h3 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.card { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.card p { margin: 8px 0 0; color: var(--muted); }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.url { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); font-weight: 750;
}
/* Phones: the number sits beside the title */
.steps .card { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 14px; align-items: center; }
.steps .card p { grid-column: 2; }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .steps .card { display: block; }
  .step-num { margin-bottom: 16px; }
}

/* Features */
.features { display: grid; gap: 14px; }
.features .ico { margin-bottom: 16px; }
.feature-main { display: grid; gap: 22px; }
/* Phones: the icon sits beside the title */
@media (max-width: 719px) {
  .features .card:not(.feature-main), .feature-main > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; align-items: center; }
  .features .ico { margin-bottom: 0; }
  .features .card p { grid-column: 1 / -1; margin-top: 12px; }
}
.feature-main .key { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--ink); color: var(--bg); letter-spacing: .06em; }
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .feature-main { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 36px; padding: 32px; }
  .feature-main h3 { font-size: 22px; }
  .feature-main p { font-size: 17px; }
}

/* The arrows picture in the first feature (the other half of the A/B test) */
.art { display: block; width: 100%; max-width: 340px; height: auto; justify-self: center; }
.art .frame { fill: #1d130e; stroke: rgba(255, 255, 255, .14); }
.art .bar { fill: #1c1c1f; }
.art .ui { fill: rgba(255, 255, 255, .09); }
.art .x { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.art .dot { fill: #fff; }
.art .glow { fill: none; stroke: var(--accent); stroke-width: 10; stroke-opacity: .2; stroke-linecap: round; }
.art .line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.art .head { fill: #fff; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.art .halo { fill: none; stroke: var(--accent); stroke-width: 3; }

.beta-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 48px 0 16px; }
.beta-head h3 { font-size: 21px; }
.beta-head p { margin: 0; color: var(--muted); }
.tag {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--accent-line); border-radius: 999px;
  background: var(--beta-soft); color: var(--beta); font-size: 11px; font-weight: 700; letter-spacing: .07em; line-height: 1.6;
  text-transform: uppercase; vertical-align: 2px; white-space: nowrap;
}
.beta-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.beta-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.beta-item .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); }
.beta-item h4 { margin: 0; font-size: 16px; line-height: 1.4; }
.beta-item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .beta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .beta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

/* Built for agencies, and privacy: text beside a card */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.split .section-head { margin-bottom: 0; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.ticks .i { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-text); stroke-width: 2.2; }
.ticks b { color: var(--ink); font-weight: 650; }

.roles { padding: 8px; }
.roles h3 { padding: 14px 14px 6px; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.roles ul { list-style: none; margin: 0; padding: 0; }
.role { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; }
.role + .role { border-top: 1px solid var(--line); }
.role p { margin: 0; color: var(--muted); font-size: 15px; }
.role b { display: block; color: var(--ink); font-size: 17px; }

.label { margin: 28px 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 14px; font-size: 14px; }
.privacy-card { padding: 26px 24px; }
.privacy-card .ticks { margin-top: 0; gap: 16px; }
.small { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 650; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { margin-top: -3px; transform: rotate(-135deg); }
.faq summary:hover h3 { color: var(--accent-text); }
.faq details p { margin: -4px 0 22px; max-width: 42em; color: var(--muted); }

/* Last call to action */
.final { text-align: center; background: linear-gradient(var(--bg), #F6E3D8); }
.final p { margin: 12px auto 0; max-width: 32em; color: var(--muted); font-size: 17px; }
.final .cta { justify-content: center; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot .brand { font-size: 18px; }
.foot .brand svg { width: 26px; height: 26px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a, .copy { color: var(--muted); font-size: 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Read by screen readers, not shown */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* ---------- Brand type and leaf shapes ---------- */
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif; }
h1, h2, h3, .wm { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 800; letter-spacing: -.015em; }
h4 { font-family: inherit; }
.btn, .top-link, .replay { border-radius: 18px 5px 18px 5px; }
.card, .beta-item, .chips li { border-radius: var(--leaf); }
.ico { border-radius: 14px 4px 14px 4px; }
/* A little leaf on the main buttons, which lifts away on hover (the logo's "leaving" moment) */
.btn-primary::after {
  content: ""; width: 11px; height: 11px; margin-left: 10px; border-radius: 11px 2px;
  background: currentColor; opacity: .75; transition: transform .25s ease;
}
.btn-primary:hover::after { transform: translate(3px, -3px) rotate(-12deg); }
@media (prefers-reduced-motion: reduce) { .btn-primary::after { transition: none; } }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost:hover { background: var(--brick); border-color: var(--brick); color: #FAF5EC; }
.tag { color: var(--beta); }
/* The wordmark: lea + the leaf V + r, with ".link" in amber */
.wm { display: inline-flex; align-items: baseline; color: var(--ink); white-space: nowrap; }
.wm .v { width: .92em; height: .92em; margin: 0 .01em 0 .02em; align-self: center; transform: translateY(.04em); }
.wm .tld { color: var(--brick); }
.hl { color: var(--brick); }
.top .brand { font-size: 27px; }
.foot .brand { font-size: 24px; }

/* Bubbles are leaves too: badges, chips and numbers */
.eyebrow, .tag { border-radius: 12px 3px 12px 3px; }
.step-num { border-radius: 18px 5px 18px 5px; }
.cp-card span, .cp-btn { border-radius: 1.2em .3em 1.2em .3em; }
