/* ExploreView — B-series Design Standard (approved Nov 5, 2026) */
:root {
  --cta: #C2185B;
  --cta-hover: #A3134C;
  --select: #0E7C86;
  --select-hover: #0B6870;
  --select-soft: #E3F5F4;
  --select-ink: #0B4F55;
  --ink: #0B1F4F;
  --bg: #FCF7F1;
  --card: #FFFFFF;
  --text: #2B2320;
  --text-strong: #1F1A18;
  --text-2: #3C3330;
  --muted: #5E5652;
  --line: #EDE4D9;
  --line-2: #DCD6CE;
  --field: #C9BDB0;
  --track: #E7E1D9;
  --yellow: #FFC20E;
  --error: #B42318;
  --radius: 14px;
  --maxw: 560px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: var(--select-ink); }
a:hover { color: #08393D; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--select); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.boot { padding: 40vh 0 0; text-align: center; color: var(--muted); }

.shell { max-width: var(--maxw); margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; }
.shell.has-tabs { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

/* Header + logo */
.hdr { height: 64px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; }
.hdr-left { display: flex; align-items: center; gap: 2px; min-width: 0; }
.hdr-pad { width: 12px; }
.iconbtn { width: 44px; height: 44px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--ink); border-radius: 12px; text-decoration: none; }
.iconbtn:hover { background: rgba(11,31,79,0.06); color: var(--ink); }
.iconbtn.back { color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 0.3em; font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.01em; line-height: 1; color: var(--ink); white-space: nowrap; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo .balloon { display: block; width: 1.17em; height: 1.52em; flex-shrink: 0; }
.logo .globe { display: inline-block; width: 1.12ex; height: 1.12ex; vertical-align: -0.05ex; margin: 0 0.03em; }
.logo.sm { font-size: 18px; }

/* Buttons */
.btn { min-height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius); text-decoration: none; font-size: 19px; font-weight: 700; padding: 0 18px; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-hover); color: #fff; }
.btn-select { background: var(--select); color: #fff; }
.btn-select:hover { background: var(--select-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--select-ink); border: 1.5px solid var(--select); min-height: 52px; font-size: 17px; }
.btn-outline:hover { background: var(--select-soft); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; color: var(--select-ink); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 2px; }
.textlink { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }

/* Landing */
.collage { position: relative; height: 250px; max-width: 390px; margin: 0 auto; }
.collage img { position: absolute; object-fit: cover; border: 4px solid #fff; border-radius: 8px; box-shadow: 0 6px 16px rgba(43,35,32,0.16); background: #EFE6DA; }
.collage .c0 { left: 4%; top: 18px; width: 33%; height: 168px; transform: rotate(-5deg); }
.collage .c2 { right: 4%; top: 26px; width: 33%; height: 168px; transform: rotate(5deg); }
.collage .c1 { left: 32%; top: 6px; width: 36%; height: 190px; transform: rotate(2deg); box-shadow: 0 8px 20px rgba(43,35,32,0.2); z-index: 1; }
.hero { margin: -18px 12px 0; position: relative; z-index: 2; background: #fff; border-radius: 22px; padding: 20px 16px 18px; box-shadow: 0 -2px 18px rgba(43,35,32,0.08); display: flex; flex-direction: column; gap: 12px; }
.hero.nocollage { margin-top: 12px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.8px; color: var(--text-strong); text-transform: uppercase; }
.eyebrow .bar { display: inline-block; width: 26px; height: 3px; margin-left: 4px; vertical-align: middle; background: var(--yellow); border-radius: 2px; }
.hero h1 { margin: 0; font-size: 35px; line-height: 1.05; letter-spacing: -1px; font-weight: 800; color: var(--ink); }
.hero p { margin: 0; font-size: 16px; color: var(--text-2); }
.benefits { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; text-align: center; }
.benefits li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-strong); }
.benefits li + li { border-left: 1px solid var(--line); }
.section { padding: 28px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.section h2 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); }
.section .sub { margin: 0; font-size: 15px; color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.mini img, .mini .ph { width: 100%; height: 116px; object-fit: cover; display: block; }
.mini div { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 4px; }
.mini h3 { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 800; color: var(--text-strong); }
.mini span { font-size: 13px; color: var(--text-2); }
.pad { padding: 22px 16px 0; }
.foot { margin: 24px 16px 0; padding: 14px 0 24px; border-top: 1px solid #E3D9CD; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 16px; }
.foot a { min-height: 44px; display: flex; align-items: center; font-size: 15px; }

/* Onboarding */
.step { padding: 4px 20px 32px; display: flex; flex-direction: column; gap: 16px; }
.steprow { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; color: var(--text-strong); }
.steprow .n { font-weight: 600; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.track { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; }
.track > div { height: 100%; background: var(--select); border-radius: 999px; }
.title { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.title h1 { margin: 0; font-size: 32px; line-height: 1.08; letter-spacing: -0.8px; font-weight: 800; color: var(--ink); }
.title p { margin: 0; font-size: 16px; color: var(--text-2); }
.countrow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.count { font-size: 14px; font-weight: 800; color: var(--select-ink); white-space: nowrap; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; padding-top: 4px; }
.chip { position: relative; min-height: 52px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--text-strong); font-size: 15px; font-weight: 600; text-align: left; }
.chip:hover { border-color: #B8B0A6; }
.chip[aria-pressed="true"] { border: 1.5px solid var(--select); background: var(--select-soft); color: var(--select-ink); font-weight: 700; }
.chip .tick { display: none; position: absolute; right: -6px; top: -7px; width: 22px; height: 22px; border-radius: 999px; background: var(--select); border: 2px solid #fff; align-items: center; justify-content: center; }
.chip[aria-pressed="true"] .tick { display: flex; }
.chip[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.ico { flex-shrink: 0; }
.hint { margin: -4px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.limit { margin: 0; font-size: 14px; color: var(--select-ink); font-weight: 700; text-align: center; }
.more { align-self: center; min-height: 44px; display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--select-ink); background: none; border: 0; }

.opts { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.opt { position: relative; min-height: 76px; padding: 12px 14px; display: flex; align-items: center; gap: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt:has(input:checked) { border: 1.5px solid var(--select); background: var(--select-soft); }
.opt:has(input:focus-visible) { outline: 3px solid var(--select); outline-offset: 2px; }
.opt .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.opt .t1 { font-size: 17px; font-weight: 800; color: var(--text-strong); }
.opt .t2 { font-size: 14px; line-height: 1.35; color: var(--text-2); }
.opt .radio { width: 24px; height: 24px; border-radius: 999px; border: 2px solid #B8B0A6; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.opt:has(input:checked) .radio { width: 28px; height: 28px; border: 0; background: var(--select); }
.opt .radio svg { display: none; }
.opt:has(input:checked) .radio svg { display: block; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.field label .opt-l { font-weight: 400; color: var(--muted); }
.field .note { font-size: 13px; color: var(--muted); }
.input { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 12px; background: #fff; font: inherit; font-size: 17px; color: var(--text-strong); }
.input:focus { border-color: var(--select); outline: none; box-shadow: 0 0 0 3px rgba(14,124,134,0.2); }
.input-ico { position: relative; }
.input-ico svg { position: absolute; left: 14px; top: 16px; }
.input-ico .input { padding-left: 44px; }
.err { color: var(--error); font-size: 14px; font-weight: 600; margin: 0; }

/* Discoveries */
.banner { margin: 0 16px; padding: 18px 18px 16px; border-radius: 18px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.banner h1 { margin: 0; font-size: 30px; line-height: 1.08; letter-spacing: -0.6px; font-weight: 800; }
.banner p { margin: 0; font-size: 15px; line-height: 1.4; color: #DCE4F5; }
.banner a { align-self: flex-start; min-height: 40px; display: flex; align-items: center; font-size: 14px; font-weight: 700; color: #fff; }
.list { padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.toprow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.toprow h1 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); }
.toprow span { font-size: 14px; font-weight: 700; color: var(--select-ink); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text-strong); font-size: 15px; font-weight: 600; }
.pill[aria-pressed="true"] { border-color: var(--select); background: var(--select); color: #fff; font-weight: 700; }
.meta { margin: 0; font-size: 13px; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card > a { display: block; text-decoration: none; color: inherit; }
.card img, .card .ph { width: 100%; height: 170px; object-fit: cover; display: block; background: #EFE6DA; }
.ph { display: flex !important; align-items: center; justify-content: center; }
.card .body { padding: 12px 16px 6px; display: flex; flex-direction: column; gap: 4px; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; color: var(--muted); text-transform: uppercase; }
.card h3 { margin: 0; font-size: 19px; line-height: 1.22; font-weight: 800; color: var(--text-strong); }
.place { font-size: 14px; color: var(--text-2); }
.why { font-size: 13px; font-weight: 700; color: var(--select-ink); }
.card .row { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 6px 16px; gap: 8px; }
.credit { font-size: 12px; color: #6E6662; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.save { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--text-strong); background: none; border: 0; border-radius: 12px; }
.save[aria-pressed="true"] { color: var(--cta); }
.save[aria-pressed="true"] svg { fill: currentColor; }
.joincard { background: #fff; border: 1.5px solid var(--cta); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.joincard h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.joincard p { margin: 0; font-size: 15px; color: var(--text-2); }
.qcard { background: #fff; border: 1.5px solid var(--select); border-radius: 16px; padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.qcard .q1 { font-size: 12px; font-weight: 700; color: var(--select-ink); }
.qcard h2 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 800; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.soft-btn { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 700; color: var(--text); padding: 0 6px; }
.soft-btn.white { background: #fff; border-color: #DDD3C7; }
.soft-btn[aria-pressed="true"] { border: 1.5px solid var(--select); background: var(--select-soft); color: var(--select-ink); }
.notnow { align-self: flex-start; min-height: 40px; padding: 0; border: 0; background: none; font-size: 14px; color: var(--muted); text-decoration: underline; }
.empty { background: #fff; border: 1px dashed #B9AC9E; border-radius: 16px; padding: 24px 18px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty h2 { margin: 0; font-size: 19px; color: var(--ink); }
.empty p { margin: 0; color: var(--text-2); font-size: 15px; }

/* Detail */
.dhero { position: relative; }
.dhero img, .dhero .ph { width: 100%; height: 260px; object-fit: cover; display: block; background: #EFE6DA; }
.dhero .tag { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(11,31,79,0.88); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; }
.dmain { padding: 18px 20px 40px; display: flex; flex-direction: column; gap: 18px; }
.dmain h1 { margin: 0; font-size: 28px; line-height: 1.12; letter-spacing: -0.6px; font-weight: 800; color: var(--ink); }
.because { align-self: flex-start; margin-top: 4px; padding: 6px 10px; border-radius: 999px; background: var(--select-soft); color: var(--select-ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.lbl { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.fact span:first-child { font-size: 12px; font-weight: 700; color: var(--muted); }
.fact span:last-child { font-size: 15px; font-weight: 700; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.box p { margin: 0; font-size: 14px; color: var(--text-2); }
.small-c { font-size: 13px !important; color: var(--muted) !important; text-align: center; }
.rel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rel a { text-decoration: none; color: var(--text-strong); display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.rel img, .rel .ph { width: 100%; height: 100px; object-fit: cover; border-radius: 12px; background: #EFE6DA; }
.report { align-self: center; background: none; border: 0; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: underline; }

/* Centered states */
.center { padding: 40px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.center h1 { margin: 0; font-size: 32px; line-height: 1.08; letter-spacing: -0.8px; font-weight: 800; color: var(--ink); }
.center p { margin: 0; font-size: 17px; color: var(--text-2); }
.center .p2 { font-size: 15px; color: var(--muted); }
.disc { width: 88px; height: 88px; border-radius: 999px; background: var(--select-soft); display: flex; align-items: center; justify-content: center; }
.stack { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tagchip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--select); background: var(--select-soft); color: var(--select-ink); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* Join */
.join { padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 16px; }
.join h1 { margin: 0; font-size: 34px; line-height: 1.06; letter-spacing: -0.9px; font-weight: 800; color: var(--ink); }
.join .lead { margin: 0; font-size: 16px; color: var(--text-2); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--text-strong); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.join form { display: flex; flex-direction: column; gap: 14px; }
.join .field label { font-weight: 700; }
.already { margin: -4px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; color: var(--text-2); }
.legal { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }

/* Profile */
.prof { padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 22px; }
.prof h1 { margin: 0; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.6px; }
.prof h2 { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; font-weight: 700; }
.switch input { width: 22px; height: 22px; accent-color: var(--select); }
.saved-ok { color: var(--select-ink); font-weight: 700; font-size: 14px; }

/* Tab bar */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs-in { max-width: var(--maxw); margin: 0 auto; height: 72px; padding: 6px 24px 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--text-2); font-size: 12px; font-weight: 600; }
.tabs a[aria-current="page"] { color: var(--select-ink); font-weight: 800; }

/* Menu sheet */
.scrim { position: fixed; inset: 0; background: rgba(11,31,79,0.4); z-index: 40; display: flex; justify-content: flex-end; }
.sheet { width: min(320px, 86vw); height: 100%; background: var(--bg); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: -8px 0 24px rgba(0,0,0,0.12); }
.sheet .top { display: flex; justify-content: space-between; align-items: center; height: 52px; margin-bottom: 8px; }
.sheet a, .sheet button.item { min-height: 52px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; text-decoration: none; color: var(--text-strong); font-weight: 700; font-size: 17px; background: none; border: 0; text-align: left; }
.sheet a:hover, .sheet button.item:hover { background: #fff; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; z-index: 60; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.demo-flag { background: var(--yellow); color: #1F1A18; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }
.spinner { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

@media (min-width: 600px) {
  .shell { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

.optin { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--text-2); cursor: pointer; }
.optin input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--select); }
