/* RemindBy — black and white, calm, roomy. */
:root {
  --ink: #141414;
  --body: #3d3d3d;
  --muted: #5c5c5c;
  --line: #e6e6e4;
  --line-strong: #cfcfcf;
  --soft: #f6f6f4;
  --bubble: #f3f3f1;
  --radius: 20px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; }
a { color: var(--ink); }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.3px; text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 12px; min-height: 44px; } /* buttons arrive after JS; keep the header height fixed (no layout shift) */
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1.5px solid #dcdcdc; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); padding: 0; }
.text-link { font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 4px; background: none; border: 0; cursor: pointer; font-family: var(--font); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 22px; border: 1.5px solid var(--ink); font: 600 15px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-lg { height: 48px; padding: 0 24px; border-radius: 24px; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; height: 52px; border-radius: 26px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: default; }
.chip { height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid #dcdcdc; background: #fff; font: 15px var(--font); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; padding: 88px 24px 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 20px; }
.dl-size { font-weight: 500; font-size: 13px; opacity: .75; margin-left: 2px; }
#dl-btn[hidden] { display: none; }
.menu-wrap { position: relative; }
.menu { position: absolute; top: 56px; left: 0; z-index: 20; width: 220px; background: #fff; border: 1px solid #dcdcdc; border-radius: 16px; box-shadow: 0 12px 32px rgba(20,20,20,.12); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.menu[hidden] { display: none; }
.menu-item { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; font: 15px var(--font); color: var(--ink); cursor: pointer; text-align: left; text-decoration: none; }
.menu-item:hover { background: #f3f3f1; }
.ask { width: 100%; max-width: 760px; height: 64px; border: 1.5px solid var(--line-strong); border-radius: 32px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 28px; background: #fff; box-shadow: 0 2px 12px rgba(20,20,20,.06); }
.ask:focus-within { border-color: var(--ink); }
.ask input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 18px var(--font); color: var(--ink); }
.ask input::placeholder { color: #767676; }
.ask input:focus { outline: none; }
.go { width: 48px; height: 48px; border-radius: 24px; border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.go svg { stroke-width: 2.4; }
.slogan { margin: 18px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.visitor-line { margin: 10px 0 0; font-size: 15px; text-align: center; }
.visitor-line a { font-weight: 600; }

/* Dynamic view */
.view { width: 100%; max-width: 808px; margin: 0 auto; padding: 0 24px 72px; }
.view:empty { display: none; }
.label { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; }
.row .end { margin-left: auto; color: var(--muted); font-size: 15px; white-space: nowrap; }
.row strong { font-weight: 500; }
.panel { border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.panel h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.25; letter-spacing: -.3px; }
.big-answer { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.3; letter-spacing: -.3px; }
.muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.source { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fafaf9; }
.thumb { width: 56px; height: 72px; flex-shrink: 0; border-radius: 8px; border: 1px solid #dcdcdc; background: #fff; object-fit: cover; }
.fields { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.fields dt { color: var(--muted); }
.fields dd { margin: 0; overflow-wrap: anywhere; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.step-n { width: 28px; height: 28px; border-radius: 14px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.step.done .step-n { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0 0 10px; color: var(--body); font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pending { display: inline-flex; align-items: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border: 2px solid #d6d6d6; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* Plans (visitors) */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plans.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.plan { border: 1px solid #dcdcdc; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.plan.main { border: 2px solid var(--ink); }
.plan h3 { margin: 0; font-family: var(--display); font-size: 20px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 40px; letter-spacing: -1px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--body); }
.ticks li { display: flex; gap: 10px; }
.ticks svg { margin-top: 2px; stroke-width: 2.2; }
.fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }

/* How it works */
.hiw { background: var(--soft); padding: 72px 24px 80px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.section-title { margin: 0 0 32px; font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -.5px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { margin: 0; font-family: var(--display); font-size: 20px; }
.card p, .card ol { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.card ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.card strong { color: var(--ink); }
.card-link { font-size: 15px; font-weight: 600; margin-top: auto; }
.card-btn { margin-top: auto; align-self: flex-start; }

/* Chat */
.chat { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 80%; font-size: 16px; line-height: 1.5; white-space: pre-wrap; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 20px 20px 6px 20px; padding: 14px 18px; }
.msg.bot, .msg.team { align-self: flex-start; display: flex; flex-direction: column; gap: 6px; }
.msg .who { font-size: 13px; font-weight: 600; color: var(--muted); }
.msg.team .who { color: var(--ink); }
.msg .bubble { background: var(--bubble); border-radius: 20px 20px 20px 6px; padding: 14px 18px; }
.msg.team .bubble { background: #fff; border: 1.5px solid var(--ink); }
.msg.sys { align-self: center; max-width: 100%; font-size: 13px; color: var(--muted); text-align: center; }
.composer { display: flex; gap: 8px; align-items: center; height: 60px; border: 1.5px solid var(--line-strong); border-radius: 30px; padding: 0 6px 0 22px; }
.composer:focus-within { border-color: var(--ink); }
.composer input { flex: 1; min-width: 0; border: 0; font: 16px var(--font); background: transparent; }
.composer input:focus { outline: none; }

/* Toast + sheet */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px; z-index: 60; max-width: calc(100% - 32px); display: flex; gap: 10px; align-items: center; }
.toast[hidden] { display: none; }
.toast .spinner { border-color: #555; border-top-color: #fff; }
.sheet { border: 0; border-radius: 24px; padding: 28px; max-width: 520px; width: calc(100% - 32px); }
.sheet::backdrop { background: rgba(20,20,20,.4); }
.sheet h2 { margin: 0 0 8px; font-family: var(--display); font-size: 22px; }
.sheet textarea, .sheet input[type="text"], .sheet input[type="email"], .sheet input[type="date"], .sheet input[type="time"] { width: 100%; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; font: 16px var(--font); margin: 8px 0 16px; }
.sheet textarea { min-height: 120px; resize: vertical; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding: 24px; max-width: 1200px; margin: 0 auto; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }

.prose { max-width: 680px; }
.prose h2 { font-family: var(--display); font-size: 28px; margin: 0 0 16px; }
.prose h3 { font-family: var(--display); font-size: 19px; margin: 24px 0 8px; }
.prose li { margin-bottom: 8px; }
.prose p, .prose li { font-size: 16px; color: var(--body); }

@media (max-width: 767px) {
  .hero { padding: 40px 16px 24px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn, .menu-wrap { flex: 1; }
  .menu-wrap .btn { width: 100%; height: 52px; }
  .ask { height: 60px; padding-left: 20px; }
  .ask input { font-size: 16px; }
  .cards, .plans { grid-template-columns: 1fr; gap: 12px; }
  .hiw { padding: 48px 16px 56px; }
  .section-title { font-size: 26px; }
  .view { padding: 0 16px 56px; }
  .panel { padding: 24px 20px; }
  .top { padding: 12px 16px; }
  .logo { font-size: 18px; }
  .msg { max-width: 88%; }
}

/* Leave a little space above a section that was scrolled into view. */
#view { scroll-margin-top: 16px; }

/* Account: delete archive, tucked away. */
.danger { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.danger summary { cursor: pointer; color: var(--muted, #5c5c5c); font-size: 15px; }

/* "or" divider before Continue with Google / Apple */
.or { display: flex; align-items: center; gap: 12px; color: var(--muted, #5c5c5c); font-size: 14px; margin: 4px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line, #e6e6e4); }
.provider-btn { justify-content: center; }

/* ---------- First visit (visitor home) ---------- */
.promise { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin: -40px 0 34px; max-width: 900px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.promise-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -2px; }
.promise-sub { margin: 0; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; color: var(--body); max-width: 680px; }
.promise-sub strong { color: var(--ink); }
.ask.demo { border-color: var(--ink); box-shadow: 0 8px 28px rgba(20,20,20,.10); }
.ask.demo input::placeholder { color: var(--ink); opacity: 1; }

.visit { display: flex; flex-direction: column; gap: 24px; padding-bottom: 72px; }
.visit .slogan-big { margin: 8px 0 16px; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -1.2px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.visit .slogan-big span + span { color: #767676; }
.panel-x { border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.panel-x.dark { background: var(--ink); color: #fff; }
.panel-x.light { background: var(--soft); }
.panel-x .kicker { margin: 0; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 1px; color: var(--muted); }
.panel-x.dark .kicker { color: #bdbdbd; }
.panel-x h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.8px; }
.panel-x .lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.panel-x.dark .lead { color: #d6d6d6; }
.panel-x .intro { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.story { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.story figure { margin: 0; flex: 1 1 240px; max-width: 320px; display: flex; flex-direction: column; gap: 10px; }
.story figcaption { font-size: 13px; color: var(--muted); }
.panel-x.dark figcaption { color: #bdbdbd; }
.story .arrow { flex: 0 0 auto; stroke: #8a8a8a; stroke-width: 2; }
.story .result { flex: 2 1 380px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.receipt { background: #fff; color: var(--ink); border-radius: 6px; padding: 22px 20px; transform: rotate(-2deg); box-shadow: 0 18px 40px rgba(0,0,0,.45); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.6; display: flex; flex-direction: column; gap: 2px; }
.receipt .name { font-weight: 600; font-size: 17px; text-align: center; letter-spacing: 2px; }
.receipt .c { text-align: center; color: var(--muted); }
.receipt .ln { display: flex; justify-content: space-between; }
.receipt .rule { border-top: 1px dashed #9a9a9a; margin: 8px 0 4px; }
.receipt .total { font-weight: 600; }
.bubble-q { margin: 0; align-self: flex-start; max-width: 100%; background: #2a2a2a; border-radius: 20px 20px 20px 6px; padding: 14px 18px; font-size: 17px; line-height: 1.45; }
.answer-x { background: #fff; color: var(--ink); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.answer-x .lbl { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.answer-x .big { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.5px; }
.answer-x .txt { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.chip-src { margin: 6px 0 0; align-self: flex-start; display: flex; align-items: center; gap: 8px; border: 1px solid #d6d6d6; border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--body); }
.bill { background: #fff; border: 1px solid #e0e0de; border-radius: 6px; padding: 22px 20px; transform: rotate(1.5deg); box-shadow: 0 14px 30px rgba(20,20,20,.12); display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.bill .name { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .5px; }
.bill .c { color: var(--muted); }
.bill .ln { display: flex; justify-content: space-between; }
.bill .sep { border-top: 1px solid #ececea; padding-top: 10px; }
.bill .strong { font-weight: 600; }
.bill .due { display: flex; justify-content: space-between; align-items: center; border: 2.5px solid var(--ink); border-radius: 8px; padding: 8px 10px; margin: 2px -6px 0; font-weight: 600; }
.bill .found { align-self: flex-end; margin-top: -4px; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.notice { background: #fff; border-radius: 20px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 6px 18px rgba(20,20,20,.08); }
.notice .ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.notice .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notice .s { font-size: 13px; color: var(--muted); }
.notice strong { font-size: 17px; }
.notice .d { font-size: 15px; color: var(--body); }
.cal { width: 52px; flex: 0 0 52px; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cal .m { width: 100%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 0; }
.cal .n { font-family: var(--display); font-weight: 700; font-size: 22px; padding: 2px 0; }
.asks { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding: 24px 0; }
.asks h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.6px; }
.asks ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; }
.asks li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; font-size: 16px; }
.start-x { border: 2px solid var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.start-x .copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.start-x h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.6px; }
.start-x .copy p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.start-x .ctas { flex: 0 1 auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 240px; }
.start-x .ctas .btn { height: 52px; justify-content: center; }
.start-x .fine { margin: 2px 0 0; }
@media (max-width: 767px) { .promise { margin: -8px 0 26px; } .start-x .ctas { width: 100%; } }
.promise[hidden] { display: none; }
.promise-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (max-width: 767px) { .promise-cta, .promise-cta .btn { width: 100%; } }
/* The first-visit page uses the full content width. */
.view:has(> .visit) { max-width: 1248px; }
.view.wide { max-width: 1248px; }

/* Ask by voice */
.ask .mic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 24px; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ask .mic:hover { background: var(--soft); }
.ask .mic:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ask.listening { border-color: var(--ink); }
.ask.listening .mic { background: var(--ink); color: #fff; animation: mic-pulse 1.4s ease-out infinite; }
.ask.listening input::placeholder, .ask.busy input::placeholder { color: var(--ink); opacity: 1; }
@keyframes mic-pulse { 0% { box-shadow: 0 0 0 0 rgba(20,20,20,.35); } 100% { box-shadow: 0 0 0 14px rgba(20,20,20,0); } }
@media (prefers-reduced-motion: reduce) { .ask.listening .mic { animation: none; } }

/* Install steps & free day */
.steps-x { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps-x li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.steps-x .n { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; display: block; }
.trial-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid var(--ink); border-radius: 18px; padding: 14px 18px; margin-bottom: 20px; }
.trial-bar p { margin: 0; }
.choice { display: flex; flex-direction: column; gap: 10px; }
.choice .btn { justify-content: center; }

/* ---------- Use-case pages (/bill-reminder-app etc.) ---------- */
.lp { max-width: 1248px; margin: 0 auto; padding: 48px 24px 24px; }
.lp-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 900px; margin: 0 auto 48px; }
.lp-hero .promise-title { font-size: clamp(36px, 6vw, 64px); }
.lp-ctas { justify-content: center; }
.panel-x .h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.8px; }
.lp-h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.6px; text-align: center; }
.lp-steps { padding: 24px 0 8px; }
.lp-step-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-step-list li { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.lp-step-list .n { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-step-list h3 { margin: 2px 0 6px; font-family: var(--display); font-size: 20px; }
.lp-step-list p { margin: 0; color: var(--body); }
.faq { max-width: 820px; margin: 0 auto; width: 100%; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style-position: outside; }
.faq details p { margin: 10px 0 0; color: var(--body); line-height: 1.6; }
.related { text-align: center; padding: 8px 0 24px; }
.related div, .uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.related a, .uses a { color: var(--ink); font-weight: 500; }
.foot .uses { flex-basis: 100%; order: 3; justify-content: flex-start; font-size: 14px; }
@media (max-width: 767px) { .lp { padding-top: 28px; } .lp-step-list { grid-template-columns: 1fr; } }

/* ---------- Sharing ---------- */
.share-site { text-align: center; padding: 8px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.share-site h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.4px; }
.share-site p { margin: 0 0 10px; color: var(--muted); }
.panel .share-site { text-align: left; align-items: flex-start; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.panel .share-site h2 { font-size: 20px; }
.share-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.panel .share-chips { justify-content: flex-start; }
.share-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); background: #fff; font-weight: 500; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.share-chip svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.share-chip:hover, .share-chip:focus-visible { background: var(--ink); color: #fff; }
.share-chip[hidden] { display: none; }
.answer-tools { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 15px; gap: 6px; display: inline-flex; align-items: center; }
.btn-sm svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 16px; height: 16px; }
.share-sheet textarea { width: 100%; box-sizing: border-box; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; font: 16px/1.5 var(--font); resize: vertical; margin: 4px 0 12px; }
.share-sheet .share-chips { justify-content: flex-start; margin-bottom: 14px; }
.share-photo { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 500; }
.share-photo input { width: 20px; height: 20px; accent-color: var(--ink); }

/* Until the app has rendered the page, keep room for it so the static sections below
   don't jump when the content arrives (Core Web Vitals: CLS). */
body:not(.routed) #view:empty { display: block; min-height: 100vh; }
