/* The concierge's pages: one sheet for the landing and the chat. Colours come from the country's theme
   (html[data-theme]); everything is Geist. */
@font-face { font-family: Figtree; src: url(/assets/figtree.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url(/assets/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --sans: Figtree, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
/* Desliga: the same warm, light world as the landing (cream, plum ink, peach) */
html[data-theme='br'] {
  --bg: #fbf4ea; --paper: #fffcf7; --soft: #f3e6d4; --soft2: #ecdcc6; --line: #eadcc9;
  --ink: #2d2131; --ink2: #5c4b5d; --mute: #8e7f8c; --faint: #bfb1bd;
  --yes: #2d2131; --yes-ink: #fff8ef; --yes-soft: #fbe3d3; --leaf: #5f8f5a; --mine: #2d2131; --mine-ink: #fff8ef;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the mark: two rings and the space between them */
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.mark svg { width: 22px; height: 22px; flex: none; }
.mark .lens { fill: var(--yes); transition: transform .6s var(--ease); transform-origin: 15px 10px; }
.mark .ring { fill: none; stroke: var(--ink); stroke-width: 1.7; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--pill); border: 0;
  background: var(--ink); color: var(--paper); font-weight: 500; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.yes { background: var(--yes); color: var(--yes-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); cursor: pointer; color: var(--mute); font-size: 14px; }

/* ---------- landing */
.top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 clamp(16px, 4vw, 48px); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14.5px; }
.top nav a { text-decoration: none; color: var(--ink2); }
.top nav a.lang { color: var(--mute); }
.top nav a.btn { color: var(--paper); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 4px clamp(16px, 4vw, 48px) 40px; min-height: calc(min(100vh, 900px) - 64px); }
.hero h1 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; margin: 0 0 14px; max-width: 13em; }
.hero .sub { font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink2); margin: 0 0 22px; max-width: 30em; }
.hero .photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(100vh - 120px); justify-self: end; width: 100%; background: var(--soft); }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }

/* the concierge's first question, live on the landing */
.ask { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 16px; max-width: 520px; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -28px rgba(40,20,10,.28); }
.ask .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ask .who b { font-weight: 600; font-size: 15px; }
.ask .who small { color: var(--mute); font-size: 13px; }
.ask p { margin: 0 0 12px; font-size: 16px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--pill); padding: 9px 15px; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s, transform .12s var(--ease); text-align: left; }
.opt:hover { border-color: var(--ink2); }
.opt:active { transform: scale(.98); }
.opt.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ask .note { display: flex; align-items: center; gap: 7px; color: var(--mute); font-size: 13px; margin: 12px 2px 0; }
.ask .note svg { width: 14px; height: 14px; flex: none; color: var(--leaf); }

/* the face of the concierge: the mark in a circle */
.face { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; position: relative; }
.face svg { width: 20px; height: 20px; }
.face .lens { fill: var(--yes); }
.face .ring { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.face::after { content: ''; position: absolute; right: 0; bottom: 1px; width: 9px; height: 9px; border-radius: 50%; background: #3aa76d; box-shadow: 0 0 0 2px var(--paper); }
.face.big { width: 44px; height: 44px; }
.face.big svg { width: 26px; height: 26px; }

/* sections */
.band { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); }
.band h2 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.03em; line-height: 1.1; font-weight: 500; margin: 0 0 10px; max-width: 18em; }
.band .lead { color: var(--ink2); margin: 0 0 28px; max-width: 34em; font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }

/* an example conversation, revealed as you reach it */
.convo { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(16px, 2.4vw, 28px); display: grid; gap: 14px; }
.convo .m { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.convo.seen .m { opacity: 1; transform: none; }
.convo.seen .m:nth-child(2) { transition-delay: .9s; }
.convo.seen .m:nth-child(3) { transition-delay: 1.8s; }
.convo .tag { font-size: 12.5px; color: var(--mute); }

/* messages (shared by the example and the chat) */
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg .body { min-width: 0; }
.msg .text { font-size: 16px; line-height: 1.6; color: var(--ink); }
.msg .text p { margin: 0 0 .7em; }
.msg .text p:last-child { margin-bottom: 0; }
.msg .text strong { font-weight: 600; }
.msg .text ul, .msg .text ol { margin: .2em 0 .7em; padding-left: 1.2em; }
.msg.mine { justify-content: flex-end; }
.msg.mine .text { background: var(--mine); color: var(--mine-ink); padding: 11px 16px; border-radius: 20px 20px 6px 20px; max-width: min(78%, 480px); white-space: pre-wrap; }
.msg.her .face { margin-top: 2px; }

/* a draft for the partner: copy or send */
.draft { margin: .6em 0 .8em; border-left: 3px solid var(--yes); background: var(--yes-soft); border-radius: 4px 14px 14px 4px; padding: 12px 14px; }
.draft q { quotes: none; display: block; font-size: 15.5px; color: var(--ink); }
.draft .acts { display: flex; gap: 14px; margin-top: 8px; }
.draft .acts button, .draft .acts a { background: none; border: 0; padding: 0; font-size: 13.5px; font-weight: 500; color: var(--yes); cursor: pointer; text-decoration: none; }

.privacy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin-top: 8px; }
.privacy div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.privacy svg { width: 22px; height: 22px; color: var(--leaf); margin-top: 2px; }
.privacy b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.privacy span { color: var(--ink2); font-size: 15px; }

/* plans */
.plans { display: grid; gap: 12px; }
.plan { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; cursor: pointer; text-align: left; width: 100%; transition: border-color .15s; position: relative; }
.plan .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--faint); display: grid; place-items: center; }
.plan.on { border-color: var(--ink); }
.plan.on .dot { border-color: var(--ink); }
.plan.on .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.plan b { display: block; font-weight: 600; font-size: 16px; }
.plan small { color: var(--mute); font-size: 13.5px; }
.plan .price { text-align: right; font-weight: 600; font-size: 17px; white-space: nowrap; }
.plan .price small { display: block; font-weight: 400; }
.plan .best { position: absolute; top: -10px; left: 52px; background: var(--leaf); color: #fff; font-size: 11.5px; font-weight: 500; padding: 2px 9px; border-radius: var(--pill); }
.terms { color: var(--mute); font-size: 13.5px; margin: 12px 2px 0; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mute); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--ink2); max-width: 44em; }

.foot { border-top: 1px solid var(--line); margin-top: 24px; }
.foot .in { max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 48px) calc(36px + var(--safe-b)); display: grid; gap: 14px; color: var(--mute); font-size: 13.5px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot a { text-decoration: none; }
.foot .help { max-width: 70em; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; gap: 18px; }
  .hero .photo { order: -1; aspect-ratio: 16 / 10; max-height: 30vh; border-radius: 22px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); margin-bottom: 10px; }
  .hero .sub { margin-bottom: 16px; font-size: 16px; }
  .split, .privacy { grid-template-columns: 1fr; }
  .top nav .hide-s { display: none; }
}
@media (max-width: 860px) and (max-height: 760px) { .hero .photo { max-height: 24vh; } }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 64px; }
.doc h1 { font-size: 34px; letter-spacing: -.03em; font-weight: 500; }
.doc h2 { font-size: 20px; margin-top: 2em; font-weight: 600; }
.doc p, .doc li { color: var(--ink2); }

/* ================= the chat ================= */
body.app { height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.bar { flex: none; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); z-index: 5; }
.bar .id { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.bar .id b { font-weight: 600; font-size: 15.5px; display: block; line-height: 1.2; }
.bar .id small { color: var(--mute); font-size: 12.5px; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exit .short { display: none; }
.bar .id small svg { width: 11px; height: 11px; color: var(--leaf); }
.icon { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink2); flex: none; text-decoration: none; }
.icon:hover { background: var(--soft); }
.icon svg { width: 20px; height: 20px; }
.exit { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 500; color: var(--ink2); text-decoration: none; cursor: pointer; }

.progress { flex: none; height: 3px; background: var(--soft); }
.progress i { display: block; height: 100%; width: 0; background: var(--yes); transition: width .5s var(--ease); }

.thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.thread .in { max-width: 700px; margin: 0 auto; padding: 22px 16px 12px; display: grid; gap: 18px; }
.day { text-align: center; color: var(--faint); font-size: 12px; }
.msg.enter { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* the reading: the first real answer */
.reading { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 16px; position: relative; }
.reading::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 22px 0 0 22px; background: var(--yes); }
.reading .head { font-size: 12.5px; color: var(--mute); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.steps { display: grid; gap: 8px; margin: 2px 0 2px; }
.steps div { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--mute); transition: color .3s; }
.steps div i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.steps div.done { color: var(--ink2); }
.steps div.done i { background: var(--leaf); border-color: var(--leaf); }
.steps div.done i::after { content: ''; width: 7px; height: 4px; border: 1.6px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.typing { display: inline-flex; gap: 4px; padding: 10px 0 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.caret::after { content: ''; display: inline-block; width: 7px; height: 1.05em; vertical-align: -.15em; background: var(--yes); margin-left: 2px; border-radius: 1px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* cards inside the thread */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.card p { margin: 0 0 12px; color: var(--ink2); font-size: 15px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 0; cursor: pointer; font-size: 15px; color: var(--ink2); }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--faint); margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; background: var(--paper); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--paper); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--ink); }
.helpcard { border-color: color-mix(in srgb, var(--yes) 35%, var(--line)); background: var(--yes-soft); }
.helpcard p { color: var(--ink); }
.paycard .value { display: grid; gap: 8px; margin: 4px 0 16px; padding: 0; list-style: none; }
.paycard .value li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--ink2); }
.paycard .value svg { width: 18px; height: 18px; color: var(--leaf); margin-top: 2px; }
.paycard .btn { margin-top: 14px; }
.paycard .terms { text-align: center; }
.waiting { display: flex; align-items: center; gap: 12px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--soft2); border-top-color: var(--yes); animation: spin 0.9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* the bottom: answers to the questions, or the composer */
.dock { flex: none; border-top: 1px solid var(--line); background: var(--bg); padding: 12px 14px calc(12px + var(--safe-b)); }
.dock .in { max-width: 700px; margin: 0 auto; }
.dock .opts { justify-content: flex-start; }
.dock .row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.dock .hint { color: var(--mute); font-size: 13px; margin: 0 0 8px 2px; }
.scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; }
.scale button { height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 500; font-size: 15px; }
.scale button:hover { border-color: var(--ink2); }
.scale-ends { display: flex; justify-content: space-between; color: var(--mute); font-size: 12.5px; margin-top: 6px; }
.compose { display: flex; align-items: flex-end; gap: 8px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; padding: 6px 6px 6px 16px; transition: border-color .15s; }
.compose:focus-within { border-color: var(--ink2); }
.compose textarea { flex: 1; border: 0; outline: 0; resize: none; background: transparent; font: 400 16px/1.45 var(--sans); color: var(--ink); padding: 8px 0; max-height: 160px; min-height: 24px; }
.compose textarea::placeholder { color: var(--faint); }
.send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; flex: none; transition: opacity .15s, transform .12s; }
.send:disabled { opacity: .25; }
.send svg { width: 18px; height: 18px; }
.suggest { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 10px; padding: 0 14px; }
.suggest::-webkit-scrollbar { display: none; }
.suggest .opt { white-space: nowrap; font-size: 14px; padding: 7px 13px; }
.left { color: var(--mute); font-size: 12.5px; text-align: center; margin: 8px 0 0; min-height: 18px; }

/* the menu: a sheet from the side (desk) or the bottom (phone) */
.scrim { position: fixed; inset: 0; background: rgba(20, 12, 10, .32); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 20; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 21; background: var(--bg); top: 0; right: 0; bottom: 0; width: min(420px, 100vw); transform: translateX(102%); transition: transform .32s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 50px -30px rgba(0,0,0,.4); }
.sheet.on { transform: none; }
.sheet .head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 6px 20px; }
.sheet .head b { font-size: 18px; font-weight: 600; }
.sheet .body { overflow-y: auto; padding: 6px 20px calc(24px + var(--safe-b)); display: grid; gap: 22px; align-content: start; }
.group h4 { margin: 0 0 8px; font-size: 12.5px; color: var(--mute); font-weight: 500; }
.rowlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; font-size: 15.5px; text-decoration: none; color: var(--ink); }
.rowlink small { color: var(--mute); font-size: 13.5px; }
.rowlink.danger { color: var(--yes); }
.toggle { appearance: none; width: 42px; height: 26px; border-radius: 13px; background: var(--soft2); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.toggle:checked { background: var(--leaf); }
.toggle:checked::after { transform: translateX(16px); }
.field { display: grid; gap: 8px; }
.field input { height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 14px; font: inherit; color: var(--ink); outline: 0; }
.field input:focus { border-color: var(--ink2); }
.small { color: var(--mute); font-size: 13.5px; margin: 0; }
.confirm { background: var(--yes-soft); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }

/* the four-week plan */
.weeks { display: grid; gap: 12px; }
.week { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.week .n { font-size: 12.5px; color: var(--mute); }
.week h5 { margin: 2px 0 4px; font-size: 16.5px; font-weight: 600; }
.week p { margin: 0 0 8px; color: var(--ink2); font-size: 14.5px; }
.week label { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.week label.done span { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--faint); }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--pill); font-size: 14px; opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; z-index: 30; }
.toast.on { opacity: 1; transform: translateX(-50%); }

@media (max-width: 600px) {
  .sheet { top: auto; left: 0; width: 100%; max-height: 88dvh; border-radius: 22px 22px 0 0; transform: translateY(102%); box-shadow: 0 -20px 50px -30px rgba(0,0,0,.4); }
  .sheet.on { transform: none; }
  .thread .in { padding: 18px 14px 10px; }
  .scale { grid-template-columns: repeat(6, 1fr); }
  .exit { padding: 0 11px; font-size: 12.5px; }
  .exit .long { display: none; } .exit .short { display: inline; }
  .bar { gap: 8px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .convo .m { opacity: 1; transform: none; } }
.week input, .weeks input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--faint); margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; background: var(--paper); }
.week input:checked { background: var(--leaf); border-color: var(--leaf); }
.week input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.week.shut { background: var(--soft); border-style: dashed; }
.week.shut h5 { color: var(--ink2); }
.plancard .weeks { margin: 6px 0 4px; }

/* research cards between the first questions */
.card.factcard { border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 12px 14px; margin-left: 44px; max-width: 520px; }
.card.factcard p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.card.factcard .fact-from { font-size: 12px; font-weight: 600; color: var(--yes); margin-bottom: 4px; }
.card.factcard .fact-src { font-size: 12px; color: var(--mute); margin-top: 6px; }

/* Clara's face is her painted light */
.face { overflow: visible; background: none; }
.face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.bar .id b, .card h3, .paycard h3 { font-family: 'Bricolage Grotesque', var(--sans); letter-spacing: -.02em; }

/* the paywall: calm, one question, the price per day first */
.paycard { padding: 22px 18px 18px; border-radius: 26px; }
.paycard h3 { font-size: 24px; line-height: 1.1; margin: 0 0 4px; }
.paycard .lead { color: var(--ink2); margin: 0 0 12px; }
.paycard .recap { display: inline-block; margin: 0 0 14px; padding: 7px 12px; border-radius: 999px; background: var(--yes-soft); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.paycard .payask { font-family: 'Bricolage Grotesque', var(--sans); font-weight: 650; font-size: 17px; letter-spacing: -.01em; margin: 4px 0 14px; }
.paycard .plans { gap: 14px; margin-bottom: 16px; }
.paycard .plan { padding: 15px 16px; border-radius: 18px; background: var(--paper); }
.paycard .plan .price { font-family: 'Bricolage Grotesque', var(--sans); font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.paycard .plan .price small { font-family: var(--sans); font-size: 12px; letter-spacing: 0; color: var(--mute); font-weight: 500; }
.paycard .plan .best { background: var(--yes-soft); color: var(--ink); font-weight: 600; left: 50px; }
.paycard .value { margin: 0 0 6px; }
.paycard .terms { font-size: 12.5px; color: var(--mute); margin: 10px 0 0; }
.paycard .based { text-align: center; font-size: 12px; color: var(--mute); margin: 6px 0 0; }
.paycard .based { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: left; line-height: 1.35; }
.paycard .based img { height: 22px; width: auto; flex: none; }
.paycard .based span { max-width: 30em; }
