:root {
  --red: #e8354a;
  --red-deep: #c42a3c;
  --navy: #001125;
  --navy-2: #0a1825;
  --cream: #faf9f5;
  --paper: #ffffff;
  --ink: #16181a;
  --muted: #6b6e72;
  --line: #e6e3dc;
  --black: #111214;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }

/* ---------- Wordmark ---------- */
.wordmark { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; text-decoration: none; line-height: 1; }
.wordmark::after { content: ""; display: inline-block; width: .12em; height: .12em; border-radius: 50%; background: var(--red); margin-left: .06em; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; color: #fff; transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.topbar .wordmark { font-size: 2rem; color: inherit; }
.topbar.solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.topbar.solid .wordmark { color: var(--red); }
#nav { display: flex; gap: 28px; align-items: center; font-weight: 500; font-size: .95rem; }
#nav a { text-decoration: none; opacity: .92; }
#nav a:hover { opacity: 1; }
#nav a.active { text-decoration: underline; text-underline-offset: 6px; }
.badge { background: var(--red); color: #fff; border-radius: 99px; padding: 0 7px; font-size: .72rem; margin-left: 4px; }

main { min-height: 70vh; }
main.padded { padding: 96px 16px 64px; max-width: 1180px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; border-radius: 99px; padding: 12px 34px; cursor: pointer; font-weight: 600;
  background: linear-gradient(90deg, var(--red), var(--red-deep)); color: #fff; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232, 53, 74, .35); }
.btn.sm { padding: 8px 22px; }
.btn.outline { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn.outline:hover { box-shadow: none; }
.btn.dark { background: var(--black); }
.btn.dark:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.btn.white { background: #fff; color: var(--ink); width: 100%; font-weight: 500; }
.btn.block { width: 100%; }
.btn:disabled { background: #d9d9d9; color: #fff; cursor: default; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; background: var(--navy); }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); background-size: cover; background-position: center; }
.scene.on { opacity: 1; animation: kenburns 7s linear forwards; }
.scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.05), rgba(0,0,0,.35)); }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.08); } }
.hero-inner { position: relative; z-index: 2; padding: 0 16px; }
.hero .wordmark { font-size: clamp(4rem, 13vw, 9.5rem); display: block; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .tagline { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.6rem); margin: 6px 0 26px; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.hero-dots button.on { width: 26px; background: #fff; }
.hero .scroll-cue { position: absolute; bottom: 64px; left: 50%; width: 1px; height: 40px; background: rgba(255,255,255,.6); animation: cue 2s ease-in-out infinite; z-index: 2; }
@keyframes cue { 0%, 100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- Sections ---------- */
.section { padding: 110px 24px; text-align: center; position: relative; overflow: hidden; }
.section h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 22px; }
.section p { max-width: 560px; margin: 0 auto 16px; font-size: .98rem; }
.section.paper { background: var(--paper); }
.section.navy { background: var(--navy); color: #fff; }
.small-print { font-size: .85rem; font-weight: 600; }
.small-print a { color: var(--red); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Reaching lines in the mindset section */
.reach { position: absolute; top: 120px; width: 34vw; max-width: 440px; height: 140px; transition: transform 1.6s var(--ease), opacity 1.6s var(--ease); opacity: 0; }
.reach.left { left: 0; transform: translateX(-60%); }
.reach.right { right: 0; transform: translateX(60%) scaleX(-1); }
.mindset.in .reach.left { transform: translateX(0); opacity: 1; }
.mindset.in .reach.right { transform: translateX(0) scaleX(-1); opacity: 1; }
.reach path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.reach circle { fill: var(--red); }

/* Testimonials */
.testimonials { color: #fff; padding: 140px 24px; background: radial-gradient(ellipse at 30% 30%, #2d8a9a 0%, #0f5967 40%, #062f3a 100%); }
.testimonials::before { content: ""; position: absolute; inset: -20%; background: repeating-radial-gradient(circle at 70% 60%, rgba(255,255,255,.08) 0 2px, transparent 2px 38px); animation: ripple 18s linear infinite; }
@keyframes ripple { to { transform: rotate(360deg); } }
.quote-card { position: relative; max-width: 640px; margin: 0 auto; background: rgba(10, 24, 37, .82); padding: 34px 40px; border-radius: 4px; min-height: 190px; }
.quote { position: absolute; inset: 34px 40px; opacity: 0; transition: opacity .8s var(--ease); }
.quote.on { opacity: 1; position: relative; inset: auto; }
.quote p { max-width: none; font-size: .95rem; }
.quote cite { display: block; text-align: right; font-style: normal; font-weight: 600; font-size: .85rem; }

/* Benefits */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1080px; margin: 0 auto; text-align: left; }
.benefits h3 { font-style: italic; font-size: 1.6rem; margin: 26px 0 6px; }
.benefits p { margin: 0; max-width: 460px; font-size: .92rem; }
.arch { aspect-ratio: 3/4; border-radius: 999px 999px 0 0; overflow: hidden; background: linear-gradient(160deg, #3a3a3a, #0d0d0d); position: relative; }
.arch img, .circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch .art, .circle .art { position: absolute; inset: 0; }

/* Values accordion */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1080px; margin: 0 auto; text-align: left; }
.circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; background: linear-gradient(180deg, #d7a77c 0%, #b07b52 45%, #4d3a2e 100%); }
.acc button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.9rem; padding: 6px 0; }
.acc button::after { content: "›"; color: var(--red); font-size: 1.4rem; transition: transform .3s var(--ease); }
.acc .item.open button::after { transform: rotate(90deg); }
.acc .body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc .item.open .body { max-height: 160px; }
.acc .body p { margin: 4px 0 14px; max-width: 420px; font-size: .92rem; }

/* CTA band */
.cta { color: #fff; padding: 120px 24px; background: linear-gradient(120deg, #2b0d12 0%, #6e1f2a 45%, #1a0b0e 100%); }
.cta .find { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.cta .free { font-family: var(--serif); font-style: italic; font-size: 1.9rem; margin: 8px auto 24px; }
.benefits .arch { width: 100%; max-width: 400px; justify-self: center; }

/* Footer */
.footer { background: var(--cream); padding: 64px 32px 32px; text-align: center; border-top: 1px solid var(--line); }
.footer .wordmark { color: var(--red); font-size: 2.2rem; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 18px 0 36px; font-size: .82rem; }
.langs a { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; text-align: left; font-size: .82rem; }
.foot-grid a { display: block; margin-bottom: 6px; }
.foot-grid .legal { font-weight: 700; text-transform: uppercase; font-size: .78rem; }
.copyright { margin-top: 32px; font-size: .75rem; color: var(--muted); }

/* ---------- Auth ---------- */
.splash { min-height: 100vh; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.splash .wordmark { font-size: 3rem; }
.splash .lede { font-size: .92rem; margin: 10px 0 26px; }
.splash .arch { width: 190px; margin: 0 auto 30px; border: 1px solid rgba(255,255,255,.2); }
.splash .stack { display: grid; gap: 12px; width: min(340px, 90vw); margin: 0 auto; }
.splash .help { display: block; margin-top: 16px; font-size: .85rem; }
.spinner { width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; margin: 10px auto 0; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-page { min-height: 100vh; padding: 110px 16px 40px; background: var(--cream); }
.auth-card { width: min(420px, 100%); margin: 0 auto; background: var(--paper); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.08); padding: 28px 30px 32px; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.auth-card .head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 18px; }
.auth-card .head .wordmark { color: var(--red); font-size: 1.9rem; }
.auth-card .back { position: absolute; left: 0; background: none; border: 0; font-size: 1.3rem; cursor: pointer; padding: 4px; }
.auth-card h1 { font-size: 1.75rem; margin: 0 0 4px; }
.auth-card .sub { color: var(--muted); font-size: .85rem; margin: 0 0 20px; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin: 14px 0 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.check { display: flex; align-items: center; gap: 10px; border: 1px solid #cfcfcf; border-radius: 6px; padding: 12px; margin: 16px 0; font-size: .85rem; }
.check input { width: 20px; height: 20px; accent-color: #2f9e44; }
.code { display: flex; gap: 8px; margin: 8px 0 6px; }
.code input { width: 100%; aspect-ratio: 1; text-align: center; font-size: 1.1rem; border: 1px solid #cfcfcf; border-radius: 8px; padding: 0; }
.code input:focus { outline: none; border-color: var(--ink); }
.links { display: flex; justify-content: space-between; font-size: .78rem; margin: 14px 0 18px; }
.links a { text-decoration: underline; cursor: pointer; }
.choices { display: grid; gap: 10px; }
.choice { border: 1px solid #cfcfcf; border-radius: 8px; padding: 13px 14px; cursor: pointer; background: #fff; text-align: left; transition: border-color .2s, background .2s; }
.choice.selected { border-color: var(--red); background: #fff3f4; }
.progress { height: 3px; background: #eee; border-radius: 99px; overflow: hidden; margin: -6px 0 18px; }
.progress > div { height: 100%; background: var(--red); transition: width .4s var(--ease); }

/* ---------- Member area ---------- */
.browse { display: grid; grid-template-columns: 230px 1fr; gap: 28px; }
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 18px; align-self: start; position: sticky; top: 88px; }
.filters h3 { margin: 0 0 8px; font-size: 1.4rem; }
.filters label { display: block; font-size: .8rem; font-weight: 600; margin: 12px 0 4px; }
.filters select { width: 100%; padding: 8px; border-radius: 6px; border: 1px solid #cfcfcf; background: #fff; }
.filters input[type=range] { width: 100%; accent-color: var(--red); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tile { position: relative; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; text-decoration: none; color: #fff; display: block; animation: rise .5s var(--ease) both; }
.tile .photo { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.tile:hover .photo { transform: scale(1.05); }
.tile .photo .initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 5rem; opacity: .9; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); }
.tile .meta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; }
.tile .meta strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; display: block; line-height: 1.1; }
.tile .meta .dot { display: inline-block; width: 9px; height: 9px; background: var(--red); border-radius: 50%; margin-left: 4px; vertical-align: middle; }
.chip { display: inline-block; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 3px; padding: 1px 7px; font-size: .72rem; font-weight: 600; margin-left: 6px; }
.tile .corner { position: absolute; top: 8px; z-index: 2; font-size: .68rem; font-weight: 600; border-radius: 3px; padding: 2px 7px; }
.tile .corner.left { left: 8px; background: rgba(0,0,0,.55); }
.tile .corner.right { right: 44px; background: rgba(0,0,0,.45); }
.tile .corner.online { background: #2f9e44; }
.fav { position: absolute; top: 6px; right: 6px; z-index: 3; border: 0; background: rgba(0,0,0,.35); color: #fff; border-radius: 99px; width: 30px; height: 30px; cursor: pointer; }
.fav.on { background: var(--red); }
.muted { color: var(--muted); }
.page-title { font-size: 2.2rem; margin: 0 0 18px; }

.profile { display: grid; grid-template-columns: 360px 1fr; gap: 36px; }
.profile .arch { aspect-ratio: 3/4; }
.profile .arch .initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 7rem; color: #fff; }
.profile h1 { font-size: 2.6rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 4px 12px; font-size: .82rem; }
dl.facts { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.row { display: flex; gap: 10px; align-items: center; margin-top: 22px; flex-wrap: wrap; }

.inbox { display: grid; grid-template-columns: 290px 1fr; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); min-height: 520px; overflow: hidden; }
.threads { border-right: 1px solid var(--line); overflow-y: auto; }
.thread { display: flex; gap: 10px; padding: 12px 14px; text-decoration: none; border-bottom: 1px solid var(--line); align-items: center; }
.thread.active { background: #fff3f4; }
.thread .mini { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; color: #fff; font-family: var(--serif); flex: none; }
.chat { display: flex; flex-direction: column; }
.chat .msgs { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 70%; padding: 9px 15px; border-radius: 18px; background: #f1efea; animation: rise .3s var(--ease); }
.bubble.me { align-self: flex-end; background: var(--red); color: #fff; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.composer input { flex: 1; padding: 10px 16px; border-radius: 99px; border: 1px solid #cfcfcf; }

.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; z-index: 50; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; width: min(380px, 92vw); padding: 26px; border-radius: 8px; position: relative; animation: rise .4s var(--ease); }
.modal .close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 1.3rem; cursor: pointer; }
.meter { height: 4px; background: #eee; border-radius: 99px; margin: 8px 0 18px; }
.meter > div { height: 100%; background: var(--red); border-radius: 99px; }

/* ---------- Stories ---------- */
.stories-section { padding: 70px 24px 50px; }
.stories-wrap { margin-bottom: 18px; }
.stories { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 10px; scrollbar-width: none; justify-content: safe center; }
.stories::-webkit-scrollbar { display: none; }
.story { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 6px; font-size: .78rem; font-weight: 500; flex: none; width: 84px; text-align: center; }
.story .ring { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--red), #f7a072, var(--red-deep), var(--red)); transition: transform .25s var(--ease); }
.story:hover .ring { transform: scale(1.06); }
.story.seen .ring { background: #d6d3cc; }
.story img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); display: block; }
.browse .stories { justify-content: flex-start; }
.browse .story img { border-color: var(--cream); }

.viewer { position: fixed; inset: 0; z-index: 60; background: rgba(0, 8, 20, .92); display: grid; place-items: center; animation: fade .25s; }
.viewer-frame { position: relative; width: min(420px, 100vw); height: min(92vh, 760px); border-radius: 12px; overflow: hidden; background: #000; animation: rise .35s var(--ease); }
.viewer-frame > img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 5s linear; }
.bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.bars span { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 99px; overflow: hidden; }
.bars i { display: block; height: 100%; width: 0; background: #fff; }
.viewer .close { position: absolute; top: 18px; right: 12px; z-index: 4; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }
.viewer .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; color: #fff; padding: 60px 22px 26px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.viewer .caption strong { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; display: block; }
.viewer .caption p { margin: 4px 0 0; font-size: .92rem; }
.viewer .nav { position: absolute; top: 0; bottom: 0; width: 40%; background: none; border: 0; cursor: pointer; z-index: 2; }
.viewer .prev { left: 0; }
.viewer .next { right: 0; }

@media (max-width: 820px) {
  .topbar { padding: 12px 16px; }
  #nav { gap: 14px; font-size: .85rem; }
  #nav .hide-sm { display: none; }
  .benefits, .values, .browse, .profile, .inbox, .foot-grid { grid-template-columns: 1fr; }
  .reach { display: none; }
  .filters { position: static; }
  .threads { border-right: 0; border-bottom: 1px solid var(--line); max-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Info pages ---------- */
.page-hero { background: var(--navy); color: #fff; text-align: center; padding: 170px 24px 100px; }
.page-hero .kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--red); margin: 0 0 14px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 20px; font-style: italic; }
.page-hero p { max-width: 620px; margin: 0 auto; opacity: .85; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; max-width: 1080px; margin: 0 auto; text-align: left; }
.cards.two { max-width: 820px; }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.section.paper .info-card { background: var(--cream); }
.section:not(.paper) .info-card { background: var(--paper); }
.info-card h3 { font-size: 1.45rem; font-style: italic; margin: 0 0 10px; }
.info-card p { margin: 0; font-size: .92rem; max-width: none; }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; text-align: left; display: grid; gap: 30px; }
.step { display: flex; gap: 22px; align-items: flex-start; }
.step .num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; }
.step h3 { font-size: 1.5rem; font-style: italic; margin: 6px 0 6px; }
.step p { margin: 0; max-width: none; font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; text-align: left; }
.checklist li { position: relative; padding-left: 28px; font-size: .95rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
@media (max-width: 760px) {
  .page-hero { padding: 130px 16px 70px; }
  .checklist { grid-template-columns: 1fr; }
}
.auth-error { color: var(--red-deep); background: #fdecee; border-radius: 8px; padding: 8px 12px; font-size: .88rem; margin: 6px 0 12px; }
.auth-error[hidden] { display: none; }

.btn.social { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; }
.btn.social svg { flex: none; }
.choices.multi { display: flex; flex-wrap: wrap; gap: 10px; }
.choices.multi .choice { width: auto; padding: 10px 16px; }
.linklike { all: unset; cursor: pointer; color: var(--red); font-size: .85rem; text-decoration: underline; }
textarea { width: 100%; border: 1px solid #cfcfcf; border-radius: 6px; padding: 12px; resize: vertical; }

/* ---------- Join journey (questions first, then account) ---------- */
.journey-label { text-align: center; color: var(--red); font-size: .85rem; margin: 0 0 8px; opacity: .85; }
.journey { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; color: var(--red); }
.journey .bar { flex: 1; height: 5px; background: #f6d6da; border-radius: 99px; overflow: hidden; }
.journey .bar > div { height: 100%; background: var(--red); border-radius: 99px; transition: width .4s var(--ease); }
.journey .heart { flex: none; }
.auth-card h1.q { font-size: 2rem; margin: 18px 0 12px; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choices.cols-2 .choice, .choices.cols-3 .choice { text-align: center; padding: 14px 8px; }
#who-form .btn.block { margin-top: 26px; }
.foot-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 18px 0 0; }
.foot-note a { text-decoration: underline; }
.dob { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 10px; }
.age-line { color: var(--muted); font-size: .85rem; min-height: 1.3em; margin: 10px 0 6px; }
.social-stack { display: grid; gap: 12px; margin: 26px 0 8px; }
.btn.pill { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: var(--ink); border: 1px solid #1a1a1a; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn.pill:hover { background: #faf9f5; box-shadow: none; }
.btn.pill:disabled { background: #f4f4f4; color: #999; border-color: #ddd; }

.method-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #f3f1ec; border-radius: 99px; padding: 4px; margin: 16px 0 2px; }
.method-toggle button { border: 0; background: transparent; border-radius: 99px; padding: 9px 8px; font-size: .82rem; cursor: pointer; color: var(--muted); }
.method-toggle button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.auth-ok { color: #1f7a3a; background: #e8f6ec; border-radius: 8px; padding: 8px 12px; font-size: .88rem; margin: 6px 0 12px; }
.auth-ok[hidden], .field[hidden] { display: none; }

/* ---------- Member area ---------- */
.ic { width: 20px; height: 20px; flex: none; }
.small { font-size: .82rem; }
.notice { color: var(--red-deep); background: #fdecee; border-radius: 8px; padding: 9px 12px; font-size: .86rem; margin: 8px 0 12px; }
.notice.info { color: var(--navy); background: #eef1f6; }
.notice[hidden], .ok[hidden] { display: none; }
.notice a { color: inherit; font-weight: 600; }
.ok { color: #1f7a3a; font-weight: 600; font-size: .9rem; }
.link { all: unset; cursor: pointer; color: var(--red); font-size: .85rem; text-decoration: underline; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.card h2 { font-size: 1.5rem; margin: 0 0 6px; }

/* Signed-in nav */
#nav.member { gap: 6px; }
#nav .nav-item { display: grid; justify-items: center; gap: 1px; font-size: .78rem; padding: 4px 12px 6px; position: relative; border-bottom: 2px solid transparent; }
#nav .nav-item.active { text-decoration: none; border-color: var(--red); color: var(--red); }
#nav .nav-item .badge { position: absolute; top: -2px; left: calc(50% + 4px); margin: 0; font-size: .64rem; padding: 0 5px; }
#nav .nav-cta, #nav .nav-boost { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; margin-left: 8px; font-size: .85rem; }
#nav .nav-boost { margin-left: 0; }
#nav .nav-cta .ic, #nav .nav-boost .ic { width: 16px; height: 16px; }
.me-menu { position: relative; margin-left: 6px; }
.me-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-weight: 500; padding: 4px; }
.me-btn .ic { width: 16px; height: 16px; }
.me-avatar, .menu-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--serif); flex: none; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.18); padding: 16px; display: grid; gap: 10px; z-index: 40; animation: rise .25s var(--ease); }
.menu[hidden] { display: none; }
.menu-head { display: flex; gap: 12px; align-items: center; }
.menu-avatar { width: 56px; height: 56px; font-size: 1.4rem; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-grid .btn { padding: 7px 8px; font-size: .78rem; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; justify-content: center; text-align: center; }
.menu-grid .ic { width: 14px; height: 14px; }
#nav .menu a { opacity: 1; }
.menu .btn.block { text-align: center; }
.menu-link { all: unset; display: flex; gap: 10px; align-items: center; cursor: pointer; padding: 6px 2px; font-size: .9rem; }
.menu-link:hover { color: var(--red); }
.menu-link .ic { width: 18px; height: 18px; }

.promo-strip { display: block; text-align: center; background: var(--navy); color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 10px; margin: 0 0 18px; font-size: .92rem; }
.promo-strip u { font-weight: 700; }
.grid.big { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile .corner.boosted { background: #f2b705; color: #2a2100; }

/* Modals */
.modal.wide { width: min(520px, 94vw); }
.modal-back.dyn { overflow-y: auto; padding: 16px 0; }
.modal-title { display: flex; gap: 10px; align-items: center; font-size: 1.55rem; margin: 0 28px 10px 0; }
.modal-title .ic { color: var(--red); width: 24px; height: 24px; }
.modal .count { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin: 6px 0 16px; }
.modal .row.two { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.modal-mark { color: var(--red); font-size: 1.9rem; }
.perks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; }
.perks b { display: block; font-size: .92rem; }
.perks span { font-size: .82rem; color: var(--muted); }
.up-head { margin: -26px -26px 14px; padding: 26px 26px 18px; background: linear-gradient(120deg, #fff 30%, #f1eee7); border-radius: 8px 8px 0 0; position: relative; }
.up-head .wordmark { color: var(--red); font-size: 2rem; }
.up-head h2 { font-size: 1.9rem; margin: 6px 0 0; }
.up-head h2 em { font-style: italic; }
.pill-tag { position: absolute; right: 52px; top: 22px; display: inline-flex; gap: 6px; align-items: center; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: .85rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pill-tag .ic { width: 16px; height: 16px; color: #b8860b; }
.compare { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .9rem; }
.compare th { text-align: center; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td { padding: 7px 8px; text-align: center; }
.compare tbody tr:nth-child(odd) { background: #f4f2ed; }
.compare td .ic { width: 14px; height: 14px; color: #aaa; }
.ideas { background: #f1efea; border-radius: 10px; padding: 14px; margin: 12px 0 16px; text-align: center; font-size: .88rem; }
.ideas p { margin: 0 0 10px; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.idea { background: linear-gradient(160deg, #2b3440, #0f1720); color: #fff; border-radius: 8px; aspect-ratio: 1.1; display: grid; place-content: center; gap: 4px; font-size: .78rem; font-weight: 600; }
.idea span { font-size: 1.9rem; }
.file-btn { text-align: center; }
.file-btn.busy { opacity: .6; pointer-events: none; }
.rules { font-size: .8rem; color: var(--muted); margin: 14px 0 0; padding-left: 18px; }

/* Interests */
.ihead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.itabs { display: flex; gap: 6px; }
.itab { text-decoration: none; padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; }
.itab.on { color: var(--red); border-color: var(--red); }
.itab .badge { border-radius: 4px; }
.sort { font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.sort select, .mail-head select { padding: 7px 10px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; }
.ilist { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; position: relative; overflow: hidden; }
.irow { display: grid; grid-template-columns: 90px 1fr 210px 150px; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.iphoto { position: relative; display: block; }
.iphoto-img { width: 90px; height: 90px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 2.2rem; }
.icount { position: absolute; right: 4px; bottom: 4px; color: #fff; font-size: .68rem; background: rgba(0,0,0,.45); border-radius: 3px; padding: 0 4px; }
.imain p { margin: 2px 0; font-size: .9rem; }
.iname { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.iname a { text-decoration: none; }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: #c8c8c8; display: inline-block; flex: none; }
.online-dot.on { background: #37b24d; }
.vdot { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--red); color: #fff; font-size: .62rem; font-family: var(--sans); vertical-align: middle; }
.row.tight { margin-top: 10px; gap: 8px; }
.row.tight .btn { padding: 6px 14px; font-size: .8rem; }
.ifacts { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .82rem; margin: 0; }
.ifacts dt { font-weight: 600; }
.ifacts dd { margin: 0; }
.iwhen { text-align: right; }
.new-tag { display: block; width: max-content; margin: 0 0 4px auto; border: 1px solid var(--red); color: var(--red); border-radius: 4px; font-size: .68rem; padding: 0 6px; }
.inote { text-align: center; font-size: .82rem; font-weight: 600; margin: 0; padding: 14px; }
.empty { padding: 26px; text-align: center; margin: 0; }
.ilist.locked .irow { filter: blur(7px); pointer-events: none; user-select: none; }
.lock-over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(250,249,245,.35); }
.lock-over > div { background: #fff; border-radius: 12px; padding: 22px 26px; box-shadow: 0 10px 40px rgba(0,0,0,.12); max-width: 320px; }
.lock-over h3 { margin: 8px 0 4px; font-size: 1.4rem; }
.lock-over .ic { width: 28px; height: 28px; color: var(--red); }

/* Inbox */
.mailbox { display: grid; grid-template-columns: 230px 1fr; gap: 28px; }
.folders { display: grid; gap: 2px; align-content: start; }
.folder { all: unset; cursor: pointer; display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; }
.folder.on { background: var(--paper); font-weight: 600; box-shadow: 0 1px 0 var(--line); }
.search-mail { display: flex; margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.search-mail input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; background: none; }
.search-mail button { border: 0; background: none; cursor: pointer; padding: 0 10px; color: var(--muted); }
.mail-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.mail-head .page-title { margin: 0 auto 0 0; font-size: 1.9rem; }
.check { display: flex; align-items: center; gap: 6px; font-size: .88rem; }
.tip { display: flex; align-items: center; gap: 12px; background: #e9e7e2; border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; font-size: .9rem; }
.tip span { flex: 1; }
.tip a { color: var(--red); }
.mails { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mail { display: flex; gap: 14px; align-items: center; padding: 14px 16px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .2s; }
.mail:hover { background: #fbfaf7; }
.mail.unread { background: #fff6f7; }
.mail.unread strong::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: middle; }
.mail-photo { width: 72px; height: 72px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 1.8rem; flex: none; }
.mail-body { flex: 1; min-width: 0; }
.mail-body p { margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-x { border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.mail-x:hover { background: #eee; color: var(--ink); }
.convo { max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 420px; }
.convo-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.convo-head .who { display: flex; gap: 10px; align-items: center; text-decoration: none; flex: 1; }
.convo .msgs { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.seen { align-self: flex-end; font-size: .72rem; color: var(--muted); margin-top: -4px; }
.back-link { text-decoration: none; font-size: 1.4rem; padding: 2px 8px; }

/* Edit profile */
.edit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.edit-head .page-title { margin: 0; display: flex; align-items: center; gap: 10px; }
.warn { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red-deep); color: #fff; font: 700 .8rem var(--sans); }
.edit-grid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; margin-top: 12px; }
.primary-photo { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; aspect-ratio: 3/4; border-radius: 10px; background: #c9ccd1; position: relative; overflow: hidden; display: block; }
.silhouette { position: absolute; left: 12%; bottom: 0; width: 76%; fill: #9aa0a8; }
.primary-tag { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; border-radius: 4px; padding: 2px 8px; }
.photo-actions { text-align: right; margin-top: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.thumb { aspect-ratio: 3/4; border-radius: 8px; position: relative; }
.thumb button { position: absolute; top: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.thumb button[data-primary] { left: 4px; }
.thumb button[data-remove] { right: 4px; }
.add-photo { aspect-ratio: 3/4; border: 0; border-radius: 8px; background: linear-gradient(160deg, #eceae4 55%, #e2dfd8 55%); cursor: pointer; display: grid; place-content: center; gap: 4px; font-size: .74rem; color: var(--muted); }
.add-photo span { font-size: 2.2rem; line-height: 1; color: var(--ink); }
.edit-form { display: grid; gap: 16px; align-content: start; }
.edit-form .row { margin-top: 0; }
.ess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Profile gallery */
.gallery { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery button { width: 58px; height: 58px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; }
.gallery button.on { border-color: var(--red); }

/* Plans */
.plans { max-width: 560px; margin: 0 auto; }
.plans-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 10px; }
.plans-head .back-link { position: absolute; left: 0; }
.plans-head .wordmark { color: var(--red); font-size: 2.2rem; }
.plans .label { font: 600 1rem var(--sans); margin: 22px 0 10px; }
.periods { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 99px; padding: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.periods button { border: 0; background: none; border-radius: 99px; padding: 10px 6px; cursor: pointer; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
.periods button.on { background: linear-gradient(90deg, var(--red), var(--red-deep)); color: #fff; font-weight: 600; }
.periods small { font-size: .66rem; background: rgba(0,0,0,.08); border-radius: 4px; padding: 1px 5px; }
.plan { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1.5px solid transparent; border-radius: 10px; padding: 18px; margin-bottom: 14px; position: relative; }
.plan.on { border-color: var(--red); background: #fff5f6; }
.plan .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); }
.plan.on .radio { border-color: var(--red); background: radial-gradient(var(--red) 45%, transparent 50%); }
.plan-main strong { display: block; font: 400 1.8rem var(--serif); }
.plan-price { text-align: right; font-size: .85rem; display: grid; justify-items: end; gap: 2px; }
.plan-price b { font-size: 1.05rem; }
.plan-price em { font-style: normal; background: #f1efea; border-radius: 4px; padding: 1px 6px; font-size: .75rem; margin-top: 4px; }
.plan-tag { position: absolute; right: 14px; top: -11px; background: #dff3ec; color: #12573f; font-size: .75rem; font-weight: 600; border-radius: 4px; padding: 2px 8px; }

.settings { display: grid; gap: 16px; max-width: 720px; }

@media (max-width: 820px) {
  #nav .nav-item { padding: 4px 6px; }
  #nav .nav-item span:not(.badge) { display: none; }
  .mailbox, .edit-grid { grid-template-columns: 1fr; }
  .folders { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .search-mail { margin-top: 0; }
  .irow { grid-template-columns: 72px 1fr; }
  .iphoto-img { width: 72px; height: 72px; }
  .ifacts, .iwhen { grid-column: 2; text-align: left; }
  .new-tag { margin-left: 0; }
  .ess-grid { grid-template-columns: 1fr; }
  .mail-photo { width: 56px; height: 56px; }
  .menu { position: fixed; right: 8px; left: 8px; width: auto; top: 64px; }
  .plan { grid-template-columns: 22px 1fr; }
  .plan-price { grid-column: 2; justify-items: start; text-align: left; }
}
.browse > section { min-width: 0; }
.modal .row.two .btn { padding: 12px 10px; white-space: nowrap; }
.convo-head .mini { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; color: #fff; font-family: var(--serif); flex: none; }
@media (max-width: 820px) {
  #nav .nav-cta.hide-sm, #nav .nav-boost.hide-sm { display: none; }
  .topbar .wordmark { white-space: nowrap; font-size: 1.7rem; }
  .itab { padding: 10px 10px; white-space: nowrap; font-size: .9rem; }
}
.mailbox > section, .mailbox > aside { min-width: 0; }
