/* SinglesHub visual system: warm editorial, confident contrast, human-scale motion. */
:root {
  color-scheme: light;
  --ink: #2c2034;
  --ink-soft: #51445a;
  --muted: #776f7b;
  --coral: #df6e56;
  --coral-deep: #bd4d3c;
  --bg: #fbf7f2;
  --paper: #fffdfa;
  --line: #e9e1e6;
  --lavender: #f0e9f2;
  --sage: #e9f0e8;
  --shadow-soft: 0 18px 50px #32213912;
  --shadow-card: 0 28px 70px #24162e2b;
  --radius-xl: 28px;
  --ease-out: cubic-bezier(.2,.8,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--bg); color: var(--ink); }
::selection { color: #fff; background: var(--coral-deep); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; transform: translateY(-160%); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: translateY(0); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #df6e56; outline-offset: 3px; }

.brand { display: inline-flex; align-items: center; color: var(--ink); font-size: 23px; letter-spacing: -1.1px; text-decoration: none; }
.brand .mark { display: grid; place-items: center; width: 37px; height: 37px; padding: 0; margin-right: 10px; border: 1px solid #ffffff24; border-radius: 13px; background: linear-gradient(145deg,#ee8a70,#cb5d50); box-shadow: 0 7px 16px #b94f412e; font-family: Georgia,serif; font-size: 20px; font-weight: 400; }
.brand span { color: var(--coral-deep); }
.primary { border: 1px solid transparent; border-radius: 14px; background: linear-gradient(135deg,#3b2a45,#251b30); box-shadow: 0 8px 20px #2c203426; transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background .22s; }
.primary:hover { transform: translateY(-2px); box-shadow: 0 13px 28px #2c20343b; }
.secondary { border: 1px solid #e6dce4; border-radius: 14px; background: #fffefa; transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; }
.secondary:hover { transform: translateY(-1px); border-color: #d7c4d4; box-shadow: 0 8px 20px #2c20340e; }
.site-nav { display: flex; align-items: center; gap: clamp(16px,2.6vw,38px); margin-left: auto; margin-right: clamp(18px,3vw,44px); }
.site-nav a, .site-nav button { padding: 8px 0; color: #655a6b; font-size: 12px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav button:hover { color: var(--coral-deep); }
.site-nav .nav-explore { border: 0; background: none; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: #df6e56; box-shadow: 0 0 0 4px #df6e5619; }
.visual-note { position: absolute; z-index: 4; display: inline-flex; align-items: center; padding: 11px 14px; border: 1px solid #ffffffd1; border-radius: 14px; background: #fffdfaeb; box-shadow: 0 12px 30px #31213917; color: var(--ink); font-size: 10px; font-weight: 700; backdrop-filter: blur(12px); animation: note-float 5s ease-in-out infinite; }
.note-top { top: 48px; left: -14px; }
.note-bottom { right: -10px; bottom: 46px; animation-delay: -2.4s; }
.canada-callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.canada-callout > div:first-child { position: relative; z-index: 1; }
.canada-stamp { display: grid; place-items: center; align-content: center; flex: 0 0 170px; width: 170px; height: 170px; border: 1px solid #fff9; border-radius: 50%; background: #fff9; box-shadow: 0 0 0 13px #ffffff45,0 0 0 28px #ffffff20; color: #73516f; text-align: center; transform: rotate(7deg); }
.canada-stamp span { font-family: Manrope,sans-serif; font-size: 56px; font-weight: 800; line-height: .95; letter-spacing: -.08em; }
.canada-stamp small { margin-top: 9px; font-size: 9px; font-weight: 700; line-height: 1.35; letter-spacing: 1px; text-transform: uppercase; }

/* Home: a clear promise first, then a tangible preview of the product. */
.landing { overflow: clip; background: var(--bg); }
.landing header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: min(100%,1500px); min-height: 86px; margin: 0 auto; padding: 16px clamp(20px,5.5vw,82px); }
.landing header > .secondary { padding: 11px 19px; font-weight: 700; }
.landing .hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.07fr) minmax(350px,.93fr); align-items: center; gap: clamp(32px,5vw,86px); width: min(100%,1500px); min-height: 600px; margin: 0 auto; padding: 42px clamp(20px,5.5vw,82px) 78px; }
.landing .hero::before { position: absolute; z-index: -1; top: -35px; right: -110px; width: min(60vw,770px); height: 650px; border-radius: 52% 48% 48% 52%; background: radial-gradient(ellipse at 45% 45%,#f3d5c9 0, #f6e7dd 34%,#f2eaf1 57%,transparent 74%); content: ""; filter: blur(2px); }
.landing .hero::after { position: absolute; z-index: -1; right: 15%; bottom: 45px; width: 120px; height: 120px; border: 1px solid #c07e6e35; border-radius: 50%; content: ""; }
.hero-copy { max-width: 660px; }
.hero h1 { max-width: 700px; margin: 21px 0 20px; font-size: clamp(48px,6.1vw,82px); line-height: 1.01; letter-spacing: -.065em; }
.hero h1 em { display: inline-block; padding-right: .06em; color: var(--coral-deep); font-weight: 500; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #e8d8d6; border-radius: 999px; background: #fffaf6d9; color: #8f514b; font-size: 10px; letter-spacing: 1.2px; }
.hero-lead { max-width: 500px !important; margin: 0 0 10px !important; font-size: clamp(18px,2vw,23px) !important; font-weight: 700 !important; line-height: 1.45 !important; }
.hero-copy > p.muted { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.hero .actions { gap: 11px; margin-top: 27px; }
.hero .actions .primary, .hero .actions .secondary { min-height: 50px; padding: 14px 21px; font-size: 14px; }
.hero .actions .hero-link { display: inline-flex; align-items: center; justify-content: center; padding: 14px 21px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.promise-strip { gap: 8px; margin-top: 24px; }
.promise-strip span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-color: #e8e0e2; background: #fffdf9d9; color: var(--ink-soft); font-size: 10px; letter-spacing: .1px; }
.promise-strip span::before { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); content: ""; }
.hero p.launch-note { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.hero-visual { position: relative; min-width: 0; padding: 20px 6px 12px; }
.hero-art { position: relative; z-index: 1; align-items: center; justify-content: center; gap: 0; min-height: 450px; perspective: 1100px; }
.hero-art::before { position: absolute; top: 50%; left: 50%; width: 390px; height: 390px; transform: translate(-50%,-50%); border: 1px solid #ffffffd1; border-radius: 50%; box-shadow: 0 0 0 22px #ffffff48,0 0 0 52px #ffffff20; content: ""; }
.hero-art .card { z-index: 1; width: 47%; aspect-ratio: .73; border: 6px solid #fffdfa; border-radius: 28px; box-shadow: var(--shadow-card); transition: transform .55s var(--ease-out); }
.hero-art .card:first-child { transform: translate(9%,2%) rotate(-8deg); }
.hero-art .card:nth-child(2) { z-index: 2; margin: 48px 0 0 -3%; transform: translate(-4%,0) rotate(7deg); }
.hero-art .card:first-child:hover { transform: translate(4%,0) rotate(-4deg) translateY(-8px); }
.hero-art .card:nth-child(2):hover { transform: translate(-4%,0) rotate(3deg) translateY(-8px); }
.hero-art .card::after { background: linear-gradient(180deg,#21132900 42%,#211329d9 100%); }
.hero-art .card .info { bottom: 20px; left: 17px; }
.hero-art .card .info h3 { font-size: clamp(18px,2vw,25px); }
.hero-art .card .info p { font-size: 11px; }
.hero-art .card .badge { top: 15px; left: 15px; padding: 8px 11px; color: var(--ink); font-size: 10px; }
.hero-art .card .sample { top: 15px; right: 15px; padding: 7px 9px; background: #2c2034bd; font-size: 9px; letter-spacing: .8px; text-transform: uppercase; }
.hero-visual > p { position: relative; z-index: 3; margin: 5px 0 0; color: #716878; font-size: 10px; letter-spacing: .2px; }

.difference-banner { padding: clamp(44px,6vw,76px) 22px; background: var(--ink); }
.difference-banner .eyebrow { color: #ffc0a8; }
.difference-banner h2 { max-width: 900px; margin: 18px auto 13px; color: #fffaf6; font-size: clamp(30px,4vw,50px); letter-spacing: -.04em; }
.difference-banner h2 em { color: #ffad91; }
.difference-banner p { max-width: 660px; margin: 0 auto; color: #e1d8e4; font-size: 14px; line-height: 1.75; }
.features { gap: 17px; padding-top: 54px; padding-bottom: 46px; }
.feature { min-height: 235px; padding: 27px; border: 1px solid #e9e0e4; border-radius: 22px; background: var(--paper); box-shadow: 0 8px 25px #382b3f08; transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.feature .eyebrow { color: var(--coral-deep); }
.feature h3 { margin: 15px 0 9px; font-size: 21px; line-height: 1.24; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.feature:nth-child(2) { background: #fff0e9; }
.feature:nth-child(3) { background: #eef2ea; }

.how-it-works { width: min(100%,1300px); margin: 0 auto; padding: 36px clamp(20px,6vw,82px) 76px; }
.section-heading { max-width: 690px; margin: 0 auto 28px; text-align: center; }
.section-heading .eyebrow { color: var(--coral-deep); }
.section-heading h2 { margin: 12px 0; font-family: Manrope,sans-serif; font-size: clamp(30px,4vw,44px); letter-spacing: -.05em; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.how-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.how-step { position: relative; overflow: hidden; min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fffdfa; }
.how-step { display: grid; grid-template-columns: 32px 1fr; gap: 0 13px; }
.how-step > b { grid-row: span 2; }
.how-step > div { grid-column: 2; }
.how-step::after { position: absolute; right: -22px; bottom: -42px; width: 116px; height: 116px; border: 1px solid #df6e5625; border-radius: 50%; box-shadow: 0 0 0 14px #df6e5608,0 0 0 30px #df6e5605; content: ""; }
.how-step b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: var(--lavender); color: #745778; font-size: 12px; }
.how-step h3 { margin: 19px 0 8px; font-size: 18px; letter-spacing: -.5px; }
.how-step p { max-width: 320px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.canada-callout { position: relative; overflow: hidden; margin: 0 auto 70px; width: min(1300px,calc(100% - 2*clamp(20px,6vw,82px))); padding: clamp(30px,4vw,52px); border: 1px solid #e3d7e7; border-radius: 28px; background: radial-gradient(circle at 85% 12%,#f7d6c9 0,transparent 32%),linear-gradient(115deg,#eee6f1,#fbede3); }
.canada-callout h2 { max-width: 530px; margin: 13px 0; font-size: clamp(34px,4vw,49px); line-height: 1.04; letter-spacing: -.055em; }
.canada-callout p { max-width: 490px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.canada-callout .primary { min-height: 48px; }
.landing footer { align-items: center; justify-content: space-between; gap: 14px 25px; min-height: 82px; padding: 20px clamp(20px,6vw,82px); background: #fffdfa; color: var(--ink-soft); }
.landing footer button { padding: 5px 0; color: inherit; font-size: 12px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.landing footer button:hover { text-decoration-color: currentColor; }

/* Inside the product: calmer controls, clear hierarchy and legible safety actions. */
.shell { background: var(--bg); }
.sidebar { z-index: 4; border-color: #ece4e8; background: #fffdfa; box-shadow: 8px 0 28px #35243e05; }
.sidebar .brand { white-space: nowrap; }
.sidebar nav { gap: 6px; }
.nav-item { position: relative; min-height: 47px; border-radius: 13px; color: #665b6b; transition: background .2s,color .2s,transform .2s; }
.nav-item:hover { transform: translateX(2px); background: #f7f0f3; }
.nav-item.active { background: #f0e9f2; color: #5c3d62; }
.nav-item.active::before { position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; border-radius: 3px; background: var(--coral); content: ""; }
.topbar { position: sticky; top: 0; z-index: 3; min-height: 80px; border-color: #e9e1e6; background: #fffdfae8; backdrop-filter: blur(16px); }
.topbar h2 { font-size: 24px; }
.tag { border: 1px solid #e6dde6; background: #f7f0f3; color: #5f5064; }
.content { width: min(100%,1540px); margin: 0 auto; padding-top: 28px; padding-bottom: 58px; }
.notice { border: 1px solid #e3d6e5; border-radius: 14px; background: #f2ebf3; color: #58475f; }
.discover-welcome { position: relative; isolation: isolate; overflow: hidden; min-height: 142px; border: 1px solid #e6dbe8; border-radius: 24px; background: radial-gradient(ellipse at 84% 10%,#f4d8cb 0,transparent 35%),linear-gradient(115deg,#f3ebf3,#fff3eb); box-shadow: 0 12px 32px #382b3f08; }
.discover-welcome::after { position: absolute; z-index: -1; right: -30px; bottom: -98px; width: 230px; height: 230px; border: 1px solid #9e7ba12b; border-radius: 50%; box-shadow: 0 0 0 23px #ffffff24,0 0 0 48px #ffffff12; content: ""; }
.discover-welcome h3 { max-width: 680px; font-size: clamp(24px,3vw,34px); letter-spacing: -.055em; }
.discover-welcome p { max-width: 580px; color: var(--ink-soft); }
.welcome-orbit { border-color: #bc8f9c66; background: #ffffff80; box-shadow: 0 10px 28px #774f6a16; }
.filters { padding: 17px; border: 1px solid #e9e1e6; border-radius: 20px; background: #fffdfa; box-shadow: 0 8px 24px #382b3f07; }
.filters .tabs { margin-bottom: 14px; }
.pill { border-color: #e7dfe5; background: #fff; color: #645b69; transition: background .18s,color .18s,border-color .18s,transform .18s; }
.pill:hover { transform: translateY(-1px); border-color: #d6c2d5; }
.pill.selected { border-color: var(--ink); background: var(--ink); color: #fff; }
.distance { min-height: 62px; border-color: #e9e1e6; border-radius: 15px; background: #fbf8f5; }
.distance label { color: var(--ink-soft); font-weight: 700; }
.distance strong { min-width: 65px; padding: 7px 10px; border-radius: 10px; background: #f0e9f2; color: #674e6d; text-align: center; font-size: 12px; }
input[type=range] { height: 7px; padding: 0; border: 0; border-radius: 999px; background: linear-gradient(90deg,#df6e56,#d49aa0,#8a6d91); accent-color: var(--coral); }
input[type=range]::-webkit-slider-thumb { width: 21px; height: 21px; border: 4px solid #fff; border-radius: 50%; background: var(--coral); box-shadow: 0 2px 9px #35243e3b; -webkit-appearance: none; }
input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: 4px solid #fff; border-radius: 50%; background: var(--coral); box-shadow: 0 2px 9px #35243e3b; }
select, input:not([type=range]), textarea { border-color: #e4dbe3; border-radius: 12px; background: #fffefa; }
select:hover, input:not([type=range]):hover, textarea:hover { border-color: #cdbbcf; }
.grid { gap: 17px; }
.grid .card { border-radius: 23px; box-shadow: 0 12px 34px #35243e17; transition: transform .3s var(--ease-out),box-shadow .3s var(--ease-out); }
.grid .card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px #35243e27; }
.grid .card::after { background: linear-gradient(180deg,#1d122000 38%,#1d1220e8 100%); }
.grid .card .badge { box-shadow: 0 4px 12px #19112019; }
.grid .card .info { bottom: 70px; }
.round { width: 45px; height: 45px; border: 1px solid #ffffffbc; box-shadow: 0 5px 14px #1a112333; transition: transform .18s var(--ease-out),box-shadow .18s; }
.round:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 9px 20px #1a11234a; }
.round.like { background: var(--coral); }
.round.like:hover { background: var(--coral-deep); }
.panel, .empty { border-color: #e9e1e6; border-radius: 20px; background: #fffdfa; box-shadow: 0 8px 24px #382b3f06; }
.panel h4 { letter-spacing: -.3px; }
.empty { padding: 56px 22px; }
.empty h3 { letter-spacing: -.05em; }
.chat-layout { gap: 16px; }
.thread { border-color: #ebe3e8; border-radius: 15px; background: #fffdfa; transition: border-color .2s,background .2s,transform .2s; }
.thread:hover { transform: translateY(-1px); border-color: #d9c6d8; background: #fbf7fa; }
.messages { border: 1px solid #eee6e9; border-radius: 18px; background: linear-gradient(180deg,#fcf9f6,#fffdfa); }
.bubble { border-radius: 18px 18px 5px 18px; background: #efe6f0; }
.first-hello { border: 1px solid #e9d7d5; background: linear-gradient(110deg,#fff0e5,#f2eaf2); }
.mobile-nav { box-shadow: 0 -9px 28px #35243e0d; backdrop-filter: blur(16px); }
.mobile-nav button { min-width: 54px; min-height: 46px; border-radius: 12px; color: #786d7b; }
.mobile-nav button.active { background: #f2eaf2; color: #65466b; }
.mobile-nav b { font-weight: 600; }

/* Modals and moments should feel warm, deliberate, and easy to act on. */
dialog { border: 1px solid #ede4e9; border-radius: 26px; background: #fffdfa; box-shadow: 0 30px 100px #21132152; }
dialog h2 { letter-spacing: -.055em; }
dialog .close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #eee5e9; border-radius: 50%; background: #fff; }
dialog .form { margin-top: 20px; }
dialog .form label { color: var(--ink-soft); font-weight: 650; }
dialog .form small, dialog .muted { color: var(--muted); }
dialog .form input, dialog .form select, dialog .form textarea { min-height: 46px; }
.match-celebration { padding: 25px 12px 17px; }
.match-celebration h2 { color: var(--ink); font-size: clamp(37px,8vw,52px); letter-spacing: -.065em; }
.match-celebration h2 em { color: var(--coral-deep); }
.match-portraits img, .your-avatar { border-radius: 25px; }
#toast { bottom: max(26px,env(safe-area-inset-bottom)); box-shadow: 0 10px 35px #1c122b3d; }

/* Policy and safety pages use the same visual language as the product. */
.legal-page { min-height: 100vh; background: radial-gradient(ellipse at 85% 0,#f1e2e8 0,transparent 35%),var(--bg); }
.legal-page > header { display: flex; align-items: center; width: min(100%,1100px); margin: 0 auto; }
.legal { max-width: 940px; margin: 26px auto 70px !important; padding: clamp(24px,5vw,58px) clamp(20px,6vw,70px) !important; border: 1px solid #e9e1e6; border-radius: 28px; background: #fffdfa; box-shadow: var(--shadow-soft); }
.legal h1 { max-width: 700px; color: var(--ink); font-size: clamp(34px,5vw,48px) !important; letter-spacing: -.06em; line-height: 1.08; }
.legal h2 { margin-top: 32px; padding-top: 21px; border-top: 1px solid #eee7eb; color: var(--ink); font-family: Manrope,sans-serif; font-size: 19px; letter-spacing: -.035em; }
.legal p { color: #5e5663; font-size: 14px; line-height: 1.85; }
.legal .notice { color: #58475f; }
.legal a { color: #9a4b49; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-page > header .brand { color: var(--ink); }

/* Small, consistent transitions; honor motion and touch preferences. */
.content, .landing main > section { animation: sh-arrive .55s var(--ease-out) both; }
.content { animation-duration: .38s; }
.landing main > section:nth-child(2) { animation-delay: .05s; }
.landing main > section:nth-child(3) { animation-delay: .1s; }
.landing main > section:nth-child(4) { animation-delay: .15s; }
@keyframes sh-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes note-float { 50% { translate: 0 -7px; } }

@media (max-width: 1000px) {
  .landing .hero { grid-template-columns: minmax(0,1fr) minmax(300px,.82fr); gap: 22px; min-height: 550px; }
  .hero-art { min-height: 400px; }
  .features { padding-left: 24px; padding-right: 24px; }
  .shell { grid-template-columns: 205px minmax(0,1fr); }
  .content { padding-right: 22px; padding-left: 22px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .landing header { min-height: 72px; padding: 13px 20px; }
  .landing header > .secondary { padding: 10px 14px; font-size: 12px; }
  .landing .brand { font-size: 21px; }
  .site-nav { gap: 11px; margin-right: 8px; }
  .site-nav a, .site-nav button { display: none; }
  .landing .hero { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 32px 22px 44px; }
  .landing .hero::before { top: 240px; right: -150px; width: 600px; height: 500px; }
  .landing .hero::after { display: none; }
  .hero h1 { max-width: 560px; margin: 17px 0 14px; font-size: clamp(43px,11.8vw,64px); line-height: 1.02; letter-spacing: -.06em; }
  .hero .eyebrow { font-size: 9px; }
  .hero-lead { font-size: 18px !important; }
  .hero-copy > p.muted { font-size: 14px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 21px; }
  .hero .actions button { min-height: 48px; padding: 12px 10px !important; font-size: 12px !important; }
  .hero .actions .hero-link { display: flex; }
  .promise-strip { gap: 6px; margin-top: 17px; }
  .promise-strip span { padding: 7px 9px; font-size: 9px; }
  .hero p.launch-note { margin-top: 10px; font-size: 10px; }
  .hero-visual { max-width: 470px; width: 100%; margin: -2px auto 0; padding: 0 8px; }
  .hero-art { min-height: 320px; padding: 4px 8px 0; }
  .hero-art::before { width: 255px; height: 255px; box-shadow: 0 0 0 15px #ffffff45,0 0 0 32px #ffffff20; }
  .hero-art .card { width: 46%; border-width: 4px; border-radius: 22px; }
  .hero-art .card:nth-child(2) { margin-top: 32px; }
  .hero-art .card .info { bottom: 12px; left: 11px; }
  .hero-art .card .info h3 { font-size: 16px; }
  .hero-art .card .info p { margin: 3px 0; font-size: 9px; }
  .hero-art .card .badge { top: 10px; left: 10px; padding: 6px 8px; font-size: 8px; }
  .hero-art .card .sample { top: 10px; right: 10px; padding: 5px 6px; font-size: 7px; }
  .difference-banner { padding: 39px 23px; }
  .difference-banner h2 { font-size: clamp(26px,7.2vw,34px); }
  .difference-banner p { font-size: 12px; }
  .features { grid-template-columns: 1fr; gap: 11px; padding: 28px 20px 22px; margin-bottom: 20px; }
  .feature { min-height: 0; padding: 22px; }
  .feature h3 { margin-top: 12px; font-size: 19px; }
  .how-it-works { padding: 28px 20px 38px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 31px; }
  .how-grid { grid-template-columns: 1fr; gap: 9px; }
  .how-step { display: grid; grid-template-columns: 36px 1fr; min-height: 0; gap: 0 12px; padding: 17px; }
  .how-step > b { grid-column: 1; grid-row: 1; }
  .how-step > div { grid-column: 2; grid-row: 1; }
  .how-step h3 { margin: 1px 0 5px; font-size: 16px; }
  .how-step p { grid-column: 2; font-size: 11px; }
  .canada-callout { width: calc(100% - 40px); margin-bottom: 40px; padding: 28px 23px; border-radius: 23px; }
  .canada-callout { gap: 14px; }
  .canada-stamp { flex-basis: 85px; width: 85px; height: 85px; box-shadow: 0 0 0 7px #ffffff45; }
  .canada-stamp span { font-size: 33px; }
  .canada-stamp small { margin-top: 4px; font-size: 6px; }
  .canada-callout h2 { font-size: 35px; }
  .canada-callout p { font-size: 12px; }
  .landing footer { justify-content: flex-start; gap: 10px 18px; padding: 20px; font-size: 11px; }
  .landing footer .muted { flex-basis: 100%; }
  .shell { display: block; }
  .sidebar { display: none; }
  .topbar { min-height: 65px; padding: 14px 17px; }
  .topbar h2 { font-size: 21px; }
  .content { padding: 16px 14px 102px; }
  .discover-welcome { grid-template-columns: 48px 1fr; padding: 17px 14px; gap: 11px; }
  .discover-welcome h3 { margin: 8px 0 5px; font-size: 22px; }
  .discover-welcome p { font-size: 12px; }
  .discover-welcome .secondary { grid-column: 2; justify-self: start; margin: 0; padding: 9px 12px; font-size: 11px; }
  .welcome-orbit { width: 48px; height: 54px; }
  .filters { margin: 14px 0; padding: 12px; }
  .tabs { gap: 6px; }
  .pill { padding: 9px 12px; font-size: 11px; }
  .distance { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 12px; }
  .distance input { grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 24px; }
  .distance strong { grid-column: 2; grid-row: 1; }
  .selects { gap: 7px; }
  .selects select { flex: 1 1 44%; width: calc(50% - 5px); min-height: 42px; font-size: 11px; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .grid .card { border-radius: 19px; }
  .grid .card .info { bottom: 59px; left: 11px; right: 8px; }
  .grid .card .info h3 { font-size: 17px; }
  .grid .card .info p { font-size: 10px; }
  .card-actions { bottom: 10px; left: 9px; right: 9px; }
  .round { width: 36px; height: 36px; font-size: 17px; }
  .card .badge { top: 9px; left: 9px; padding: 6px 8px; font-size: 8px; }
  .mobile-nav { justify-content: space-around; gap: 2px; padding: 7px 4px max(7px,env(safe-area-inset-bottom)); }
  .mobile-nav button { min-width: 0; flex: 1; min-height: 48px; gap: 2px; font-size: 9px; }
  .mobile-nav b { font-size: 18px; }
  .chat-layout { grid-template-columns: 1fr; }
  .threads { display: flex; gap: 8px; overflow: auto; padding-bottom: 3px; }
  .thread { flex: 0 0 140px; min-width: 0; }
  .composer { align-items: stretch; gap: 7px; }
  .composer .primary { padding: 12px 15px; }
  .invite-hero { padding: 27px 17px; }
  .invite-hero > h3 { font-size: 34px; }
  .referral-path { grid-template-columns: 1fr; gap: 8px; }
  .region-grid { grid-template-columns: 1fr; }
  .region-tile { padding: 15px; }
  .two { grid-template-columns: 1fr; }
  dialog { padding: 24px 19px; border-radius: 22px; }
  .match-celebration h2 { font-size: 38px; }
  .legal { margin: 12px 12px 34px !important; padding: 25px 20px !important; border-radius: 21px; }
  .legal h2 { margin-top: 24px; padding-top: 18px; font-size: 17px; }
  .legal p { font-size: 13px; line-height: 1.75; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .grid .card:hover, .hero-art .card:hover, .feature:hover, .primary:hover, .secondary:hover, .nav-item:hover { transform: none; }
}

/* Human-first details: inviting without putting a gimmick on anyone’s profile. */
.invite-panel { position: relative; overflow: hidden; max-width: 860px; padding: clamp(26px,5vw,54px); }
.invite-panel::before { position: absolute; top: -130px; right: -100px; width: 340px; height: 340px; border: 1px solid #d9c6d933; border-radius: 50%; box-shadow: 0 0 0 24px #fff4,0 0 0 52px #fff2; content: ""; pointer-events: none; }
.invite-panel > * { position: relative; }
.invite-panel > .eyebrow { color: var(--coral-deep); }
.invite-panel > h3 { max-width: 660px; margin: 18px 0 10px; font-size: clamp(32px,5vw,54px); line-height: 1.04; letter-spacing: -.055em; }
.invite-panel > h3 br + * { color: var(--coral-deep); }
.invite-panel > p { max-width: 590px; color: var(--ink-soft); line-height: 1.75; }
.invite-panel .invite-count { display: flex; align-items: baseline; gap: 11px; margin: 24px 0; }
.invite-count strong { color: var(--coral-deep); font: 800 42px/1 Manrope,sans-serif; letter-spacing: -.06em; }
.invite-count span { color: var(--muted); font-size: 12px; }
.invite-panel .referral-path { margin: 25px 0; }
.invite-panel .step { border: 1px solid #e9e1e6; border-radius: 18px; background: #fffdfa; }
.invite-orbit { animation: invite-breathe 7s ease-in-out infinite; }
.invite-orbit .orb { display: grid; place-items: center; border: 1px solid #ffffffd9; background: linear-gradient(145deg,#fffdfa,#f3e7ef); box-shadow: 0 8px 22px #382b3f18; color: #6a4b70; font-family: Manrope,sans-serif; font-size: 13px; font-weight: 800; }
.profile-panel .form small { display: block; margin-top: -5px; color: var(--muted); font-size: 11px; line-height: 1.6; }
@keyframes invite-breathe { 50% { transform: translateY(-5px) rotate(2deg); } }
@media (max-width: 760px) {
  .invite-panel { padding: 24px 19px; }
  .invite-panel .referral-path { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) { .invite-orbit { animation: none; } }

/* Full profiles make a like an informed choice; safety controls remain obvious. */
.card .info .card-interest { margin-top: 9px; color: #fff4e9; font-weight: 700; }
.card .info .card-topics { color: #f4e8ed; font-size: 10px; }
.member-detail { overflow: hidden; margin: -12px; border-radius: 19px; background: #fffdfa; }
.member-detail-photo { display: block; width: 100%; max-height: 360px; object-fit: cover; background: #f2e8e9; }
.member-detail-copy { padding: clamp(18px,4vw,30px); }
.member-detail-copy > .eyebrow { color: var(--coral-deep); letter-spacing: .8px; }
.member-detail-copy h2 { margin: 9px 0 13px; font-size: clamp(28px,5vw,42px); }
.member-bio { color: var(--ink-soft); line-height: 1.75; white-space: pre-wrap; }
.member-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.member-details > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fbf7f4; }
.member-details dt { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.member-details dd { margin: 5px 0 0; font-size: 13px; font-weight: 700; }
.detail-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 23px; }
.detail-chip { padding: 7px 11px; border: 1px solid #e5d9e5; border-radius: 99px; background: #f3edf4; color: #5d4761; font-size: 11px; }
.member-actions { margin: 12px 0; }
.report-details { padding-top: 12px; border-top: 1px solid var(--line); }
.report-details summary { color: #8e453d; font-size: 13px; font-weight: 700; cursor: pointer; }
@media(max-width: 520px) { .member-details { grid-template-columns: 1fr; } .member-detail-photo { max-height: 290px; } }

/* Discovery reads like a calm profile feed, not a deck you must swipe through. */
:is(#livegrid,#grid).grid { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; gap: 18px; }
:is(#livegrid,#grid).grid .card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(250px, .78fr); grid-template-rows: 1fr auto; min-height: 355px; aspect-ratio: auto; border: 1px solid #e8dfe4; border-radius: 24px; background: #fffdfa; box-shadow: 0 13px 38px #35243e12; }
:is(#livegrid,#grid).grid .card::after { display: none; }
:is(#livegrid,#grid).grid .card .portrait { position: relative; inset: auto; grid-column: 1; grid-row: 1 / span 2; width: 100%; height: 100%; min-height: 355px; object-fit: cover; }
:is(#livegrid,#grid).grid .card .badge { top: 15px; left: 15px; box-shadow: 0 5px 18px #24162e2b; }
:is(#livegrid,#grid).grid .card .info { position: static; grid-column: 2; grid-row: 1; align-self: end; padding: 28px 25px 14px; color: var(--ink); }
:is(#livegrid,#grid).grid .card .info h3 { font-size: clamp(23px,3vw,32px); line-height: 1.1; }
:is(#livegrid,#grid).grid .card .info p { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
:is(#livegrid,#grid).grid .card .info .card-interest { color: var(--coral-deep); font-weight: 700; }
:is(#livegrid,#grid).grid .card .info .card-topics { color: var(--muted); }
:is(#livegrid,#grid).grid .card-actions { position: static; grid-column: 2; grid-row: 2; justify-content: flex-start; gap: 12px; padding: 0 24px 24px; }
:is(#livegrid,#grid).grid .card-actions .round { border-color: #e8dfe4; box-shadow: 0 5px 15px #35243e0d; }
:is(#livegrid,#grid).grid .card-actions .round.more { background: #f1eaf2; color: #5a4260; }
:is(#livegrid,#grid).grid .card:hover { transform: translateY(-3px); box-shadow: 0 20px 48px #35243e1d; }
@media (max-width: 760px) {
  :is(#livegrid,#grid).grid { grid-template-columns: minmax(0, 1fr); }
  :is(#livegrid,#grid).grid .card { grid-template-columns: 1fr; grid-template-rows: 280px auto auto; min-height: 0; }
  :is(#livegrid,#grid).grid .card .portrait { grid-column: 1; grid-row: 1; width: 100%; min-height: 0; height: 280px; }
  :is(#livegrid,#grid).grid .card .info { grid-column: 1; grid-row: 2; padding: 18px 18px 8px; }
  :is(#livegrid,#grid).grid .card-actions { grid-column: 1; grid-row: 3; padding: 8px 18px 18px; }
}
