/* LavenderBook - the website that introduces the app.
   One Among Us's look: warm paper, brown ink, the trans flag.
   Everything here is served from this site: no font service, no CDN, no analytics. */

@font-face { font-family: 'Halant'; font-weight: 600; font-display: swap; src: url('fonts/Halant_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url('fonts/SourceSans3_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url('fonts/SourceSans3_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-display: swap; src: url('fonts/SourceSans3_700Bold.ttf') format('truetype'); }

:root {
  --paper: #FBF4EA;
  --card: #FFFCF7;
  --band: #FFEEDB;
  --sunk: #F2E5D3;
  --ink: #45311E;
  --ink-2: #70512A;
  --muted: #76593A;
  --line: #9C7E5A;
  --border: #E7D8C4;
  --blue-50: #EEF8FD;
  --blue-100: #E3F5FD;
  --blue-300: #A3DFF8;
  --blue-700: #17698F;
  --pink-100: #FFE8EE;
  --pink-200: #FFD3DE;
  --pink-300: #F9C0CC;
  --pink-700: #8A2A48;
  --sage-100: #E4F1E4;
  --sage-700: #356B41;
  --star: #F0A92E;
  --rose-50: #FDEEE8;
  --rose-700: #A0331C;
  --flag-blue: #5BCEFA;
  --flag-pink: #F5A9B8;
  --flag-white: #FFFFFF;
  --wash-blue: #DCF1FB;
  --wash-pink: #FCE3EA;

  --sh-card: 0 1px 2px rgba(112, 81, 42, 0.08);
  --sh-sticker: 0 2px 5px rgba(166, 134, 89, 0.32);
  --sh-float: 0 6px 16px -6px rgba(112, 81, 42, 0.35), 0 1px 3px rgba(112, 81, 42, 0.16);
  --sh-frame: 0 1px 2px rgba(112, 81, 42, 0.08), 0 24px 48px -28px rgba(69, 49, 30, 0.45);

  --f-display: 'Halant', Georgia, 'Times New Roman', serif;
  --f-text: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper) url('grain.svg');
  color: var(--ink);
  font: 400 17px/27px var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--blue-700); }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 2px; border-radius: 6px; }

svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- The trans flag ---------- */
.flagline { display: flex; height: 6px; position: relative; z-index: 60; }
.flagline i, .mini-flag i, .flag-rule i, .big-flag i { flex: 1; display: block; }
.flagline i:nth-child(1), .flagline i:nth-child(5),
.mini-flag i:nth-child(1), .mini-flag i:nth-child(5),
.flag-rule i:nth-child(1), .flag-rule i:nth-child(5),
.big-flag i:nth-child(1), .big-flag i:nth-child(5) { background: var(--flag-blue); }
.flagline i:nth-child(2), .flagline i:nth-child(4),
.mini-flag i:nth-child(2), .mini-flag i:nth-child(4),
.flag-rule i:nth-child(2), .flag-rule i:nth-child(4),
.big-flag i:nth-child(2), .big-flag i:nth-child(4) { background: var(--flag-pink); }
.flagline i:nth-child(3), .mini-flag i:nth-child(3), .flag-rule i:nth-child(3), .big-flag i:nth-child(3) { background: var(--flag-white); }

.mini-flag {
  display: inline-flex; flex-direction: column; width: 22px; height: 15px; border-radius: 3px;
  overflow: hidden; box-shadow: 0 0 0 1px rgba(69, 49, 30, 0.35); flex: none;
}
.flag-rule { display: flex; width: 48px; height: 5px; border-radius: 3px; overflow: hidden; margin: 12px auto 0; box-shadow: 0 0 0 1px rgba(69, 49, 30, 0.12); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 238, 219, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, box-shadow 200ms;
}
.top.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(69, 49, 30, 0.5); }
.top-inner {
  width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto;
  height: 68px; display: flex; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 24px/1 var(--f-display); letter-spacing: -0.2px; }
.brand img { width: 24px; height: auto; }
.byline { display: inline-flex; align-items: center; gap: 7px; padding-left: 14px; border-left: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--blue-700); }
.open-top { margin-left: 8px; }
.leave-hint { color: var(--muted); font-size: 13px; white-space: nowrap; }
.leave {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; background: #E5484D; color: #fff; cursor: pointer;
  font: 700 15px/1 var(--f-text); box-shadow: 0 4px 12px -4px rgba(160, 51, 28, 0.6);
}
.leave:hover { background: #D93D42; }
.leave svg.i { width: 18px; height: 18px; }

/* ---------- Buttons (stickers) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 14px;
  border: 1.5px solid var(--ink); background: var(--band); color: var(--ink);
  font: 600 16px/20px var(--f-text); white-space: nowrap; text-decoration: none; cursor: pointer;
  box-shadow: var(--sh-sticker);
  transition: transform 90ms ease-out, box-shadow 140ms ease-out, background-color 140ms;
}
.btn:hover { box-shadow: var(--sh-float); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.97); box-shadow: 0 1px 2px rgba(166, 134, 89, 0.32); }
.btn-primary { background: var(--blue-300); }
/* The main button: the trans flag as a sticker frame round a cream label, the
   words on the cream, and a pink arrow sticker that turns blue and nudges on
   hover. The flag is the frame, never behind the words. */
.flag-btn {
  display: inline-flex; padding: 7px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--ink);
  background: linear-gradient(180deg, #5BCEFA 0 20%, #F5A9B8 20% 40%, #FFFFFF 40% 60%, #F5A9B8 60% 80%, #5BCEFA 80% 100%);
  box-shadow: 0 3px 0 var(--ink), 0 18px 30px -14px rgba(245, 169, 184, 0.85), 0 12px 26px -16px rgba(91, 206, 250, 0.8);
  transition: transform 160ms cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 160ms ease-out;
}
.flag-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink), 0 24px 38px -14px rgba(245, 169, 184, 0.9), 0 16px 32px -16px rgba(91, 206, 250, 0.85); }
.flag-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink), 0 10px 18px -12px rgba(245, 169, 184, 0.8); }
.flag-btn-inner {
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 7px 0 22px;
  border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink);
  color: var(--ink); font: 600 25px/1 var(--f-display); letter-spacing: -0.2px; white-space: nowrap;
}
.flag-btn-inner img { width: 24px; height: auto; }
.flag-btn-go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--pink-300); box-shadow: inset 0 0 0 1.5px var(--ink); margin-left: 4px;
  transition: background-color 200ms ease-out;
}
.flag-btn-go svg.i { width: 22px; height: 22px; stroke-width: 2.2; transition: transform 200ms ease-out; }
.flag-btn:hover .flag-btn-go { background: var(--blue-300); }
.flag-btn:hover .flag-btn-go svg.i { transform: translateX(3px); }
.flag-btn-sm { padding: 4px; box-shadow: 0 2px 0 var(--ink); }
.flag-btn-sm .flag-btn-inner { height: 30px; padding: 0 14px; font: 600 15px/1 var(--f-text); letter-spacing: 0; }
.flag-btn-sm:hover { box-shadow: 0 3px 0 var(--ink), 0 10px 18px -10px rgba(245, 169, 184, 0.9); }
.btn-sm { border-radius: 999px; padding: 0 16px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 15px; border-radius: 12px; }

/* ---------- Type ---------- */
.display {
  font: 600 clamp(44px, 7.2vw, 80px)/1.02 var(--f-display); letter-spacing: -1.2px;
  text-wrap: balance;
}
.title { font: 600 clamp(32px, 4.4vw, 50px)/1.08 var(--f-display); letter-spacing: -0.6px; text-wrap: balance; }
.heading { font: 600 clamp(26px, 2.6vw, 32px)/1.15 var(--f-display); letter-spacing: -0.3px; }
.card-title { font: 600 22px/28px var(--f-display); letter-spacing: -0.1px; }
.display em, .title em { font-style: normal; color: var(--blue-700); position: relative; white-space: nowrap; }
.display em::after {
  content: ''; position: absolute; left: -1%; right: -1%; bottom: 0.34em; height: 0.26em; z-index: -1;
  background: linear-gradient(90deg, var(--flag-blue), var(--flag-pink)); opacity: 0.45; border-radius: 6px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow { font: 700 13px/16px var(--f-text); letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); }
.ink-em { font-style: normal; color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 40px; isolation: isolate; }
.hero-glow {
  position: absolute; inset: -6px 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 52% at 18% 22%, rgba(91, 206, 250, 0.28), transparent 70%),
    radial-gradient(40% 50% at 84% 16%, rgba(245, 169, 184, 0.34), transparent 70%),
    radial-gradient(60% 50% at 50% 40%, rgba(255, 255, 255, 0.85), transparent 75%);
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card);
  box-shadow: var(--sh-sticker); font-weight: 600; font-size: 15px; margin-bottom: 28px;
}
.hero .display { max-width: 900px; }
.hero .lead { max-width: 680px; margin-top: 24px; }
.launch-block { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.launch-caption { color: var(--muted); font-size: 14px; letter-spacing: 0.1px; text-align: center; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 12px;
  border: 1.5px dashed rgba(69, 49, 30, 0.5); border-radius: 16px; background: var(--card);
  color: var(--ink-2); cursor: not-allowed; user-select: none;
}
.store .device { width: 32px; height: 32px; flex: none; }
.store > span { display: flex; flex-direction: column; font: 600 16px/1.1 var(--f-text); white-space: nowrap; }
.store small { font: 600 11px/1.2 var(--f-text); letter-spacing: 0.8px; text-transform: uppercase; color: var(--line); }

.hero-visual { position: relative; margin-top: 64px; padding: 0 0 40px; }
.browser {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--card);
  border: 1.5px solid var(--ink); box-shadow: var(--sh-frame);
}
.hero-visual .browser { width: 88%; }
.browser-bar {
  display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px;
  background: var(--band); border-bottom: 1.5px solid var(--ink);
}
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.25px solid var(--ink); background: var(--card); }
.dots i:nth-child(1) { background: var(--flag-blue); }
.dots i:nth-child(2) { background: var(--flag-pink); }
.address {
  flex: 1; max-width: 420px; margin-inline: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 26px; border-radius: 8px; background: var(--card); border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.address svg.i { width: 13px; height: 13px; }

.phone {
  position: relative; border-radius: 44px; padding: 10px; background: var(--ink);
  box-shadow: var(--sh-frame), inset 0 0 0 2px #5d4630;
}
.phone img { border-radius: 34px; }
.phone::before {
  content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 22px; border-radius: 12px; background: var(--ink); z-index: 2; opacity: 0.0;
}
.phone-hero { position: absolute; right: 0; bottom: 0; width: 25%; min-width: 180px; }
.sticker-note {
  position: absolute; left: -10px; bottom: 6%; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: var(--sh-float); font-weight: 600; font-size: 15px; transform: rotate(-2.5deg);
}
.sticker-note::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0; background: var(--flag-blue); }
.sticker-note svg.i { color: var(--sage-700); width: 18px; height: 18px; }

/* ---------- Numbers ---------- */
.numbers { padding: 36px 0 24px; }
.numbers-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 20px; padding: 22px 22px 20px;
  box-shadow: var(--sh-sticker); display: flex; flex-direction: column; gap: 4px;
}
.stat strong { font: 600 44px/1 var(--f-display); letter-spacing: -0.8px; color: var(--ink); white-space: nowrap; }
.stat:nth-child(1) { background: var(--blue-100); }
.stat:nth-child(2) { background: var(--pink-100); }
.stat:nth-child(3) { background: #fff; }
.stat:nth-child(4) { background: var(--band); }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 120px 0 0; position: relative; }
.section-head { text-align: center; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 72px; }
.section-head .eyebrow { display: flex; flex-direction: column; align-items: center; }
.section-wash { padding-bottom: 40px; }
.section-wash::before {
  content: ''; position: absolute; inset: 40px 0 0; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(220, 241, 251, 0.55) 18%, rgba(252, 227, 234, 0.45) 70%, transparent);
}

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 120px; }
.feature-flip .feature-text { order: 2; }
.feature-flip .feature-media { order: 1; }
.feature-text { display: flex; flex-direction: column; gap: 18px; }
.feature-text > p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.feature-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--blue-300); box-shadow: var(--sh-sticker);
  font: 600 17px/1 var(--f-display);
}
.feature:nth-of-type(2) .feature-num { background: var(--pink-300); }
.feature:nth-of-type(3) .feature-num { background: #fff; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg.i {
  width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700); stroke-width: 2.6;
}

.feature-media { position: relative; }
.media-duo { padding: 0 0 48px; }
.media-duo .browser { width: 86%; }
.phone-small { position: absolute; right: -1%; bottom: 0; width: 30%; }
.media-pair { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.media-pair .phone { width: 44%; max-width: 280px; }
.phone-offset { margin-top: 64px; }

/* Ribbons: the app's kinds of place */
.ribbons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ribbon {
  display: inline-flex; align-items: center; height: 28px; padding: 0 18px 0 12px;
  font: 600 13px/1 var(--f-text); letter-spacing: 0.2px; white-space: nowrap;
  background: var(--rb-bg); color: var(--rb-fg); border-radius: 14px 0 0 14px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%);
}
.rb-hub { --rb-bg: #FAE3F7; --rb-fg: #8E1F7E; }
.rb-night { --rb-bg: #FBE7D9; --rb-fg: #8A3B0F; }
.rb-support { --rb-bg: #FCE4EC; --rb-fg: #9B1C4C; }
.rb-queer { --rb-bg: #EEF2D9; --rb-fg: #4F5E12; }
.rb-health { --rb-bg: #DDF3EA; --rb-fg: #10664A; }
.rb-trans { --rb-bg: #DFF0FB; --rb-fg: #0F5C86; }
.rb-shelter { --rb-bg: #EEE5FB; --rb-fg: #5B2DA3; }
.rb-food { --rb-bg: #FDF0D5; --rb-fg: #7A4E00; }

/* The review form, drawn */
.review-card {
  max-width: 470px; margin-inline: auto; background: var(--paper) url('grain.svg');
  border: 1.5px solid var(--ink); border-radius: 26px; padding: 22px 20px 20px;
  box-shadow: var(--sh-frame); display: flex; flex-direction: column; gap: 14px;
  transform: rotate(1.2deg);
}
.rc-head { text-align: center; display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.rc-place { color: var(--muted); font-size: 14px; }
.rc-title { font: 600 26px/1.1 var(--f-display); }
.rc-q { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px; box-shadow: var(--sh-card); display: flex; flex-direction: column; gap: 10px; }
.rc-prompt { font-weight: 600; font-size: 16px; line-height: 1.35; }
.rc-prompt small { font-weight: 400; color: var(--muted); font-size: 13px; }
.rc-stars { display: flex; justify-content: center; gap: 8px; }
.rc-stars svg.star { width: 34px; height: 34px; fill: var(--star); stroke: var(--ink); stroke-width: 1.3; }
.rc-hint { text-align: center; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.rc-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
.rc-seg span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; font-weight: 600; font-size: 15px; background: var(--band); }
.rc-seg span + span { border-left: 1.5px solid var(--ink); }
.rc-seg span.on { background: var(--blue-300); }
.rc-seg svg.i { width: 16px; height: 16px; stroke-width: 2.4; }
.rc-lined {
  min-height: 92px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--line);
  font-size: 15px; line-height: 26px;
  background: repeating-linear-gradient(transparent 0 25px, var(--border) 25px 26px) var(--card);
  background-position: 0 6px;
}
.caret { display: inline-block; width: 1.5px; height: 18px; background: var(--blue-700); vertical-align: -3px; margin-right: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rc-post { display: flex; justify-content: flex-end; }
.rc-post .btn { pointer-events: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 20px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 26px 26px 0; box-shadow: var(--sh-card), 0 18px 40px -30px rgba(69, 49, 30, 0.35);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-card), 0 26px 50px -30px rgba(69, 49, 30, 0.45); }
.card > p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; }
.card-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--blue-300); box-shadow: var(--sh-sticker);
}
.card-icon.rose { background: #FDDCD3; color: var(--rose-700); border-color: var(--rose-700); }
.card-icon.pink { background: var(--pink-300); }
.card:nth-child(4) .card-icon { background: #fff; }
.card:nth-child(5) .card-icon { background: var(--pink-300); }
.card:nth-child(6) .card-icon { background: var(--band); }

.privacy-demo { margin: 6px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.pd-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--border); border-radius: 14px; }
.pd-place { font-weight: 600; }
.alias { font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); white-space: nowrap; }
.alias.pink { background: var(--pink-100); color: var(--pink-700); }
.alias.sage { background: var(--sage-100); color: var(--sage-700); }
.pd-foot { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; padding: 2px 4px; }
.pd-foot svg.i { width: 16px; height: 16px; }

.examples { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.examples li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--border); }
.examples q { quotes: '\201C' '\201D'; font-weight: 600; min-width: 92px; }
.examples svg.i { width: 16px; height: 16px; color: var(--line); }
.examples .ribbon { height: 26px; font-size: 12.5px; margin-left: auto; }
.shot-crop { margin: 8px -26px 0; padding: 0 26px; flex: 1; display: flex; align-items: flex-end; }
.shot-crop img { border-radius: 18px 18px 0 0; border: 1.5px solid var(--ink); border-bottom: 0; box-shadow: var(--sh-float); width: 100%; }
.shot-short img { border-radius: 16px 16px 0 0; }

.leave-demo { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }
.leave.fake { cursor: default; pointer-events: none; }
.keys { display: inline-flex; gap: 6px; }
kbd {
  font: 600 13px/1 var(--f-text); padding: 8px 10px; border-radius: 8px; background: var(--card);
  border: 1.5px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
}

.caution-demo {
  margin: 8px 0 28px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  border-left: 4px solid var(--rose-700); color: var(--ink);
  background: repeating-linear-gradient(-45deg, #FBE3D9 0 10px, var(--rose-50) 10px 20px);
}
.caution-demo svg.i { color: var(--rose-700); margin-top: 2px; }
.caution-demo span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.45; }
.caution-demo strong { font-size: 15px; }

.contacts-demo { margin: 8px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.cd-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cd-head strong { font: 600 21px/1.2 var(--f-display); }
.cd-list { border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--sh-card); }
.cd-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.cd-row + .cd-row { border-top: 1px solid var(--border); }
.cd-row > svg.i { width: 18px; height: 18px; color: var(--ink-2); }
.cd-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.cd-row small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.cd-row svg.out { width: 15px; height: 15px; color: var(--muted); }
.rb-online { --rb-bg: #E8EEF6; --rb-fg: #34557A; height: 24px; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.chip { font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--band); box-shadow: var(--sh-sticker); }
.chip:nth-child(2) { background: var(--blue-100); }
.chip:nth-child(3) { background: var(--pink-100); }
.chip:nth-child(4) { background: #fff; }

.card-looks { grid-column: 1 / -1; flex-direction: row; gap: 36px; padding: 30px 30px 0; min-height: 360px; }
.looks-text { width: 300px; flex: none; display: flex; flex-direction: column; gap: 12px; padding-bottom: 30px; }
.looks-text p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.looks { position: relative; flex: 1; min-height: 320px; }
.phone-mini { position: absolute; bottom: -120px; width: 190px; border-radius: 34px; padding: 8px; transition: transform 300ms ease-out; }
.phone-mini img { border-radius: 24px; }
.phone-mini figcaption {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 600 13px/1 var(--f-text); padding: 6px 10px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); color: var(--ink);
}
.l1 { left: 2%; transform: rotate(-6deg); }
.l2 { left: 26%; transform: rotate(-2deg) translateY(-18px); }
.l3 { left: 50%; transform: rotate(2deg) translateY(-18px); }
.l4 { left: 74%; transform: rotate(6deg); }
.card-looks:hover .l1 { transform: rotate(-8deg) translateY(-8px); }
.card-looks:hover .l4 { transform: rotate(8deg) translateY(-8px); }

.card-free { background: linear-gradient(160deg, var(--blue-100), #fff 45%, var(--pink-100)); padding-bottom: 28px; justify-content: center; }
.card-free .card-title { font-size: 28px; line-height: 1.15; }

/* ---------- The flag ---------- */
.flag-card {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 32px; padding: 48px;
  box-shadow: var(--sh-frame);
}
.flag-heart { width: 100%; max-width: 420px; height: auto; overflow: visible; margin-inline: auto; display: block; filter: drop-shadow(0 20px 24px rgba(245, 169, 184, 0.45)) drop-shadow(0 8px 14px rgba(69, 49, 30, 0.14)); }
.flag-heart .beat { transform-origin: 200px 190px; transform: rotate(-4deg); animation: beat 2.8s ease-in-out infinite; }
.flag-heart .sparkles path { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.flag-heart .sparkles path + path { animation-delay: 1.4s; }
@keyframes beat { 0%, 100% { transform: rotate(-4deg) scale(1); } 12% { transform: rotate(-4deg) scale(1.045); } 24% { transform: rotate(-4deg) scale(0.99); } 36% { transform: rotate(-4deg) scale(1.03); } 50% { transform: rotate(-4deg) scale(1); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(0.7) rotate(20deg); opacity: 0.75; } }
.flag-copy { display: flex; flex-direction: column; gap: 16px; }
.flag-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ---------- Launch ---------- */
.launch-card {
  max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 64px 40px 48px; border-radius: 36px; border: 1.5px solid var(--ink);
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(91, 206, 250, 0.3), transparent 70%),
    radial-gradient(60% 70% at 100% 100%, rgba(245, 169, 184, 0.38), transparent 70%),
    #fff;
  box-shadow: var(--sh-frame);
}
.launch-book { width: 56px; margin-bottom: 4px; transform: rotate(-6deg); filter: drop-shadow(0 6px 10px rgba(69, 49, 30, 0.25)); }
.launch-card .lead { max-width: 560px; }
.launch-card .flag-btn { margin-top: 12px; }
.stores-big { margin-top: 10px; }
.version { font-size: 14px; color: var(--muted); }
.tip { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--border); font-size: 14px; color: var(--ink-2); text-align: left; }
.tip svg.i { color: var(--sage-700); width: 18px; height: 18px; }

/* ---------- For organisations ---------- */
.org-card {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding: 48px; border-radius: 32px; border: 1.5px solid var(--ink);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(245, 169, 184, 0.35), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(91, 206, 250, 0.22), transparent 70%),
    var(--card);
  box-shadow: var(--sh-frame);
}
.org-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.org-copy .title { font-size: clamp(30px, 3.6vw, 42px); }
.org-copy .title em { white-space: normal; color: var(--pink-700); }
.org-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.6; }
.mail-btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; padding: 8px 22px 8px 8px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); text-decoration: none;
  box-shadow: 0 3px 0 var(--ink), 0 16px 28px -14px rgba(245, 169, 184, 0.9);
  transition: transform 160ms cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 160ms ease-out;
}
.mail-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink), 0 22px 34px -14px rgba(245, 169, 184, 0.95); }
.mail-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.mail-btn-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pink-300); box-shadow: inset 0 0 0 1.5px var(--ink); flex: none; }
.mail-btn-icon svg.i { width: 22px; height: 22px; }
.mail-btn > span:last-child { display: flex; flex-direction: column; font: 600 21px/1.15 var(--f-display); overflow-wrap: anywhere; }
.mail-btn small { font: 600 12px/1.3 var(--f-text); letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); }
.org-art { display: flex; justify-content: center; }
.org-note {
  position: relative; width: 100%; max-width: 380px; padding: 22px 22px 20px 26px; border-radius: 18px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-float);
  display: flex; flex-direction: column; gap: 10px; transform: rotate(2.5deg);
}
.org-note::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 4px 4px 0; background: linear-gradient(#5BCEFA 0 50%, #F5A9B8 50% 100%); }
.org-note-from { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-700); }
.org-note-name { font: 600 24px/1.15 var(--f-display); }
.org-note-line { color: var(--muted); font-size: 15px; line-height: 1.5; }
.org-note .ribbons { margin-top: 2px; }
.org-note .ribbon { height: 24px; font-size: 12px; }
.org-note-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sage-700); font-weight: 600; margin-top: 2px; }
.org-note-check svg.i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--sage-100); stroke-width: 2.6; }

/* ---------- Credit ---------- */
.credit { padding-bottom: 120px; }
.credit-card { max-width: 760px; display: flex; gap: 28px; align-items: flex-start; }
.credit-card img { width: 72px; flex: none; }
.credit-card > div { display: flex; flex-direction: column; gap: 10px; }
.credit-card p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.6; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link svg.i { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.foot { background: var(--band); border-top: 1px solid var(--border); padding: 36px 0; }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--f-display); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--blue-700); }
.foot-note { margin-left: auto; color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.heart-btn { display: inline-grid; place-items: center; padding: 4px; margin: -4px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.heart { width: 20px; height: 18px; transform: rotate(-12deg) translateY(-1px); transform-origin: center; transition: transform 300ms ease-out; }
.heart-btn:hover .heart { transform: rotate(-4deg) scale(1.15); }
.heart-btn.squish .heart { animation: squish 260ms ease-out; }
@keyframes squish { 0% { transform: rotate(-12deg) scale(1); } 40% { transform: rotate(-6deg) scale(1.35, 0.8); } 100% { transform: rotate(-12deg) scale(1); } }

/* The easter egg: five taps on the heart and it says something. */
.mrrp {
  position: fixed; z-index: 90; pointer-events: none; transform: translate(-50%, -100%);
  padding: 10px 20px 12px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink), 0 16px 28px -12px rgba(245, 169, 184, 0.9);
  font: 600 34px/1 var(--f-display); letter-spacing: -0.3px; white-space: nowrap;
  animation: mrrp 1700ms cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.mrrp span {
  background: linear-gradient(90deg, #2A9FD6, #E0708A 50%, #2A9FD6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mrrp::after {
  content: ''; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; margin-left: -8px;
  background: var(--card); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg); border-bottom-right-radius: 4px;
}
@keyframes mrrp {
  0% { opacity: 0; transform: translate(-50%, -80%) scale(0.3) rotate(-8deg); }
  18% { opacity: 1; transform: translate(-50%, -110%) scale(1.08) rotate(3deg); }
  30% { transform: translate(-50%, -112%) scale(1) rotate(-2deg); }
  75% { opacity: 1; transform: translate(-50%, -150%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, -175%) scale(0.92) rotate(0deg); }
}
.mini-heart {
  position: fixed; z-index: 89; pointer-events: none; width: 16px; height: 15px;
  animation: burst 1100ms ease-out forwards;
}
@keyframes burst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.4); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.foot-legal { flex-basis: 100%; color: var(--line); font-size: 12px; line-height: 1.5; }

/* ---------- Back to the top (from one-among.us) ---------- */
.to-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 40;
  display: flex; align-items: center; justify-content: center;
  box-sizing: content-box; width: 25px; height: 25px; padding: 10px;
  background: #FFEEDB; color: #70512A; border: 1px solid #70512A; border-radius: 999px;
  box-shadow: rgba(166, 134, 89, 0.32) 0 2px 5px; cursor: pointer;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0; pointer-events: none; transform: translateY(12px);
}
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top.on:hover { transform: translateY(-5px); box-shadow: rgba(166, 134, 89, 0.84) 0 10px 10px -5px; }
.to-top.on:active { transform: translateY(-2.5px); box-shadow: rgba(166, 134, 89, 0.84) 0 10px 10px -2.5px; }
.to-top svg.i { width: 20px; height: 20px; stroke-width: 1.5; }

@keyframes mrrp-calm { 0%, 100% { opacity: 0; } 15%, 80% { opacity: 1; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.js .reveal.shown { opacity: 1; transform: none; }
.float-slow { animation: float 7s ease-in-out infinite; }
.float-slower { animation: float 8s ease-in-out 1.2s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-slow, .float-slower, .caret, .flag-heart .beat, .flag-heart .sparkles path { animation: none; }
  .mrrp { animation: mrrp-calm 1700ms ease-out forwards; }
  .mini-heart { display: none; }
  .heart-btn.squish .heart { animation: none; }
  .to-top { transition: opacity 150ms; }
  .btn, .card, .phone-mini { transition: none; }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .byline, .leave-hint { display: none; }
}
@media (max-width: 1023px) {
  .feature { grid-template-columns: 1fr; gap: 40px; margin-bottom: 96px; }
  .feature-flip .feature-text { order: 1; }
  .feature-flip .feature-media { order: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-tall { grid-row: span 2; }
  .card-looks { flex-direction: column; gap: 8px; }
  .looks-text { width: auto; padding-bottom: 0; }
  .flag-card { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .org-card { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .flag-heart { max-width: 320px; }
  .numbers-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .open-top { margin-left: auto; }
}
@media (max-width: 639px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .top-inner { height: 60px; gap: 10px; }
  .brand { font-size: 21px; }
  .open-top { display: none; }
  .leave { margin-left: auto; height: 38px; padding: 0 14px; }
  .hero { padding-top: 44px; }
  .eyebrow-chip { font-size: 13px; padding: 6px 12px 6px 8px; margin-bottom: 22px; text-align: left; }
  .flag-btn:not(.flag-btn-sm) { width: 100%; }
  .flag-btn:not(.flag-btn-sm) .flag-btn-inner { flex: 1; justify-content: space-between; height: 54px; font-size: 21px; padding-left: 18px; }
  .launch-caption { max-width: 300px; }
  .store { flex: 1; min-width: 140px; justify-content: center; padding: 0 12px; }
  .hero-visual { margin-top: 44px; padding-bottom: 28px; }
  .hero-visual .browser { width: 100%; }
  .browser-bar { height: 30px; }
  .address { height: 20px; font-size: 11px; }
  .phone-hero { width: 34%; min-width: 0; right: -4px; bottom: -6px; padding: 6px; border-radius: 26px; }
  .phone-hero img { border-radius: 21px; }
  .sticker-note { font-size: 13px; padding: 8px 12px; left: 0; bottom: -16px; }
  .numbers-row { gap: 10px; }
  .stat { padding: 16px; border-radius: 16px; }
  .stat strong { font-size: 34px; }
  .stat:nth-child(4) strong { font-size: 30px; }
  .section { padding-top: 84px; }
  .section-head { margin-bottom: 44px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .media-pair { gap: 14px; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .phone-small { width: 38%; }
  .phone-offset { margin-top: 40px; }
  .card-tall { grid-row: span 1; }
  .looks { min-height: 210px; }
  .phone-mini { width: 112px; bottom: -70px; padding: 5px; border-radius: 22px; }
  .phone-mini img { border-radius: 18px; }
  .phone-mini figcaption { font-size: 11px; padding: 4px 8px; top: -28px; }
  .l1 { left: -2%; } .l2 { left: 22%; } .l3 { left: 46%; } .l4 { left: 70%; }
  .flag-card { padding: 26px; border-radius: 26px; }
  .launch-card { padding: 44px 20px 32px; border-radius: 28px; }
  .org-card { padding: 26px; border-radius: 26px; }
  .mail-btn { width: 100%; padding-right: 14px; }
  .mail-btn > span:last-child { font-size: 18px; }
  .org-note { transform: rotate(1.5deg); }
  .credit-card { flex-direction: column; gap: 16px; }
  .foot-note { margin-left: 0; }
  .review-card { transform: none; }
  .to-top { right: 16px; bottom: 16px; }
}
