:root {
  --bg: #f8f5ef;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5a6070;
  --primary: #3157c9;
  --primary-dark: #2442a0;
  --primary-soft: #eaf0ff;
  --accent: #ef7d57;
  --success: #24804f;
  --success-soft: #e4f5eb;
  --warn-soft: #fff6dc;
  --danger: #b3261e;
  --border: #e3ddd2;
  --border-strong: #cfc7b9;
  --focus: #f2a900;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(31, 36, 48, .06), 0 4px 14px rgba(31, 36, 48, .06);
  --shadow-hover: 0 2px 4px rgba(31, 36, 48, .08), 0 10px 28px rgba(31, 36, 48, .12);
  --base: 18px;
  /* Soft tile colors for icons */
  --t0: #fde8d7; --t1: #e3ecff; --t2: #e2f5ea; --t3: #f1e6fb; --t4: #fff1c4; --t5: #dcf3f5;
  --font-body: "Atkinson Hyperlegible", -apple-system, "Segoe UI", Roboto, Verdana, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
}
html[data-size="xl"] { --base: 22px; }
html[data-contrast="high"] {
  --bg: #ffffff; --surface: #ffffff; --text: #000000; --muted: #1a1a1a;
  --primary: #0a3d91; --primary-dark: #062a66; --border: #000000; --border-strong: #000000;
  --shadow: none; --shadow-hover: none;
}

* { box-sizing: border-box; }
html { font-size: var(--base); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 12px; z-index: 30; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
a { color: var(--primary); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 15;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1040px; margin: 0 auto; padding: 12px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #f4a261); font-size: 1.25rem;
  box-shadow: 0 3px 10px rgba(239, 125, 87, .35);
}
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
}
nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
nav a.active { background: var(--primary); color: #fff; }
.badge {
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: .72rem; padding: 1px 8px; font-weight: 700;
}

.banner {
  background: var(--warn-soft); border-bottom: 1px solid #ecd58f;
  padding: 10px 20px; text-align: center; font-size: .95rem;
}
.banner a { color: var(--primary-dark); font-weight: 700; margin-left: 8px; }

main { max-width: 920px; margin: 0 auto; padding: 36px 20px 64px; }
main:focus { outline: none; }
.footer {
  text-align: center; color: var(--muted); padding: 28px 20px; font-size: .92rem;
  border-top: 1px solid var(--border); background: var(--surface);
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 2.1rem; line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 28px 0 10px; }
h3 { font-size: 1.12rem; margin: 18px 0 6px; }
p.lead { font-size: 1.12rem; color: var(--muted); margin-top: 0; max-width: 46em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem;
  min-height: 54px; padding: 10px 26px;
  border-radius: 999px; border: 2px solid var(--primary);
  background: var(--primary); color: #fff; cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 8px rgba(49, 87, 201, .25);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--surface); color: var(--primary); box-shadow: none; }
.btn.secondary:hover { background: var(--primary-soft); }
.btn.success { background: var(--success); border-color: var(--success); box-shadow: 0 2px 8px rgba(36, 128, 79, .25); }
.btn.danger { background: var(--surface); color: var(--danger); border-color: #e6b3af; box-shadow: none; }
.btn.danger:hover { background: #fdeceb; }
.btn.small { min-height: 46px; padding: 6px 18px; font-size: .92rem; }
.btn:disabled { opacity: .55; cursor: wait; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.spread { justify-content: space-between; }

/* Icon tiles: colored rounded squares behind emoji */
.tile {
  flex-shrink: 0; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 18px; font-size: 1.9rem;
  background: var(--tile, var(--t1));
}
.tile.sm { width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; }

/* ---------- Home ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff4ea 0%, #eef2ff 100%);
  border: 1px solid var(--border); border-radius: 28px;
  padding: 44px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
}
.hero h1 { font-size: 2.5rem; }
.hero p.lead { color: #454b5a; }
.hero-art { position: relative; height: 220px; }
.hero-art span {
  position: absolute; display: grid; place-items: center; border-radius: 24px;
  background: #fff; box-shadow: var(--shadow-hover); font-size: 2.4rem;
}
.hero-art span:nth-child(1) { width: 100px; height: 100px; left: 10%; top: 6%; transform: rotate(-6deg); }
.hero-art span:nth-child(2) { width: 120px; height: 120px; left: 42%; top: 28%; font-size: 3rem; background: var(--accent); }
.hero-art span:nth-child(3) { width: 88px; height: 88px; left: 16%; top: 58%; transform: rotate(5deg); }
.hero-art span:nth-child(4) { width: 76px; height: 76px; left: 74%; top: 2%; transform: rotate(8deg); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); background: #fff; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}

.big-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.big-choice {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 24px; text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.big-choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.big-choice strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; display: block; color: var(--text); }
.big-choice span.desc { color: var(--muted); font-size: .95rem; }
.big-choice .go { margin-top: auto; color: var(--primary); font-weight: 700; }

.section-title { margin-top: 44px; }
.idea-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.idea-strip a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px 8px 8px;
  font-weight: 700; font-size: .95rem; box-shadow: var(--shadow);
}
.idea-strip a:hover { border-color: var(--primary); }
.idea-strip .tile { width: 34px; height: 34px; border-radius: 999px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 26px; margin: 18px 0; box-shadow: var(--shadow);
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-align: left; font: inherit; color: var(--text);
  background: var(--surface); border: 2px solid var(--border); border-radius: 22px;
  padding: 20px; cursor: pointer; min-height: 170px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.pick[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.pick strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin: 10px 0 2px; }
.pick span.desc { color: var(--muted); font-size: .92rem; }

/* ---------- Wizard ---------- */
.wizard-head { margin-bottom: 26px; }
.progress { height: 10px; border-radius: 999px; background: #ebe5da; overflow: hidden; margin: 12px 0 10px; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #6a86e6); transition: width .3s; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.steps li { color: var(--muted); font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: 6px; padding-right: 10px; }
.steps li .dot {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem;
  background: #ebe5da; color: var(--muted);
}
.steps li.done { color: var(--success); }
.steps li.done .dot { background: var(--success); color: #fff; }
.steps li.current { color: var(--primary-dark); }
.steps li.current .dot { background: var(--primary); color: #fff; }
.step-count { font-weight: 700; color: var(--accent); margin: 0; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.nav-buttons { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

label.field { display: block; font-weight: 700; font-size: 1.05rem; margin: 22px 0 8px; }
.hint { color: var(--muted); margin: -2px 0 10px; font-size: .95rem; }
input[type="text"], input[type="password"], input[type="email"], input[type="time"], textarea, select {
  font: inherit; width: 100%; padding: 13px 16px;
  border: 2px solid var(--border-strong); border-radius: 14px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); outline: none; }

.tip { background: var(--primary-soft); border-radius: 16px; padding: 16px 18px; margin: 16px 0; }
.tip-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 700; background: #fff; border: 1px solid #c7d4f7;
  color: var(--primary-dark); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 44px;
}
.chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Big yes/no toggles */
.toggle {
  display: flex; align-items: center; gap: 18px; width: 100%;
  background: var(--surface); border: 2px solid var(--border); border-radius: 20px;
  padding: 18px 20px; margin: 12px 0; cursor: pointer; font: inherit; text-align: left; color: var(--text);
  box-shadow: var(--shadow); transition: border-color .15s, background .15s;
}
.toggle:hover { border-color: var(--border-strong); }
.toggle .text { flex: 1; }
.toggle .text strong { display: block; font-size: 1.05rem; }
.toggle .text span { color: var(--muted); font-size: .95rem; }
.switch {
  width: 64px; height: 36px; border-radius: 999px; background: #cfc8bc; position: relative; flex-shrink: 0;
  transition: background .15s;
}
.switch::after {
  content: ""; position: absolute; left: 4px; top: 4px; width: 28px; height: 28px;
  border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-state { font-weight: 700; font-size: .85rem; color: var(--muted); min-width: 2.2em; text-align: right; }
.toggle-state::before { content: "Off"; }
.toggle[aria-checked="true"] { border-color: var(--success); background: var(--success-soft); }
.toggle[aria-checked="true"] .switch { background: var(--success); }
.toggle[aria-checked="true"] .switch::after { left: 32px; }
.toggle[aria-checked="true"] .toggle-state { color: var(--success); }
.toggle[aria-checked="true"] .toggle-state::before { content: "On"; }
/* Radio-style choices show a dot instead of a switch */
.toggle[role="radio"] .switch { width: 30px; height: 30px; background: #fff; border: 2px solid var(--border-strong); }
.toggle[role="radio"] .switch::after { display: none; }
.toggle[role="radio"][aria-checked="true"] .switch { border: 9px solid var(--success); }

.when-options { display: grid; gap: 4px; }
.when-extra { margin: 6px 0 0; display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.when-extra label { font-weight: 700; display: block; margin-bottom: 4px; }
.when-extra input, .when-extra select { width: auto; min-width: 200px; }

/* ---------- Answers ---------- */
.answer {
  background: #fff; border: 1px solid var(--border); border-top: 5px solid var(--success);
  border-radius: 20px; padding: 24px 26px; margin-top: 20px; box-shadow: var(--shadow);
}
.answer h1, .answer h2, .answer h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.answer p { margin: 8px 0; }
.answer ul, .answer ol { padding-left: 1.4em; }
.answer li { margin: 4px 0; }
.answer-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.thinking {
  display: flex; align-items: center; gap: 16px; margin-top: 20px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px;
}
.spinner { width: 32px; height: 32px; border: 4px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { background: #fdeceb; border: 1px solid #f0b9b4; border-radius: 16px; padding: 18px; margin-top: 18px; }

/* ---------- Helper list ---------- */
.helper-card { display: flex; gap: 20px; align-items: flex-start; }
.helper-card .body { flex: 1; }
.helper-card h2 { margin: 2px 0 4px; }
.helper-card .meta { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700;
  border-radius: 999px; padding: 3px 12px; background: #f1ede6; color: var(--muted); margin-right: 6px;
}
.pill.auto { background: var(--success-soft); color: var(--success); }
.pill.web { background: var(--primary-soft); color: var(--primary-dark); }
.empty { text-align: center; padding: 48px 20px; }
.empty .tile { margin: 0 auto 8px; width: 84px; height: 84px; font-size: 2.6rem; border-radius: 24px; }

.note .meta { color: var(--muted); font-size: .9rem; }
.note.unread { border-color: #f5c3b0; box-shadow: 0 0 0 3px #fde8df, var(--shadow); }
.note .answer { box-shadow: none; }

/* Learn page */
.concept { display: flex; gap: 20px; align-items: flex-start; }
.concept h2 { margin-top: 4px; }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: #fff; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.25); z-index: 40;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 30px 24px; }
  .hero-art { display: none; }
  .hero h1 { font-size: 2rem; }
  .big-choices { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --base: 17px; }
  .topbar-inner { padding: 10px 16px; }
  main { padding: 22px 16px 50px; }
  h1 { font-size: 1.75rem; }
  .btn { width: 100%; }
  .nav-buttons .btn { width: auto; flex: 1; }
  .helper-card, .concept { flex-direction: column; gap: 10px; }
  .toggle { padding: 16px; gap: 12px; }
  .toggle .tile { display: none; }
  .steps li .label { display: none; }
  .steps li.current .label { display: inline; }
}

@media print {
  .topbar, .banner, .footer, .answer-tools, .nav-buttons { display: none; }
  body { background: #fff; }
}

/* ---------- Accounts and billing ---------- */
.top-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.usage-pill {
  font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap;
  background: var(--success-soft); color: var(--success); border-radius: 999px; padding: 6px 14px;
}
.usage-pill.low { background: #fde8df; color: #b4472a; }
.narrow { max-width: 620px; margin: 0 auto; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 10px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; margin: 0; padding: 28px 24px; }
.plan h2 { margin: 0; }
.plan.popular { border: 2px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-hover); }
.plan-flag {
  position: absolute; top: -14px; left: 24px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 4px 12px;
}
.price { color: var(--muted); margin: 6px 0 14px; }
.price strong { font-family: var(--font-head); font-size: 2.3rem; color: var(--text); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.checks li { padding-left: 32px; position: relative; margin: 10px 0; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--success-soft); color: var(--success); font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}
.plan .btn { width: 100%; }

.meter-label { margin: 18px 0 8px; font-size: 1.05rem; }
.meter { height: 16px; border-radius: 999px; background: #ebe5da; overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--success), #4caf7a); }
.meter.low > span { background: linear-gradient(90deg, #d9603b, var(--accent)); }

.member { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 1px solid var(--border); }
.member:last-child { border-bottom: 0; }
.welcome, .limit { display: flex; gap: 18px; align-items: center; }
.welcome { background: var(--success-soft); border-color: #bfe3cc; }
.limit { background: #f6f1ff; border-color: #ddd0f5; align-items: flex-start; }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.stat { margin: 0; padding: 18px 20px; }
.stat span { color: var(--muted); font-size: .88rem; display: block; }
.stat strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 700; }

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .welcome, .limit { flex-direction: column; align-items: flex-start; }
}

/* Grouped ideas and details */
.group-title { font-size: 1.15rem; margin: 30px 0 12px; color: var(--muted); }
.group-title:first-of-type { margin-top: 10px; }
.pick-tags { margin-top: auto; padding-top: 10px; font-size: .82rem; font-weight: 700; color: var(--accent); }
.details { background: #fffdf9; }
.details label.field:first-of-type { margin-top: 10px; }

/* Legal pages and account deletion */
.legal h2 { font-size: 1.2rem; margin-top: 28px; }
.legal li { margin: 6px 0; }
.danger-zone { border-color: #f0c9c5; margin-top: 36px; }
.footer a { color: var(--muted); font-weight: 700; }

/* Email scam checks */
.method-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.method-head h2 { margin: 0 0 2px; }
.address-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 14px; }
.address-row code, .mono-inline {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; overflow-wrap: anywhere;
  background: var(--primary-soft); color: var(--primary-dark); border-radius: 10px; padding: 10px 14px;
}
.mono-inline { padding: 2px 8px; }
.steps-list { padding-left: 1.4em; margin: 0 0 12px; }
.steps-list li { margin: 6px 0; }
.email-tip { display: flex; gap: 16px; align-items: flex-start; background: var(--primary-soft); border-color: #c7d4f7; margin-top: 24px; }
@media (max-width: 600px) { .method-head, .email-tip { flex-direction: column; align-items: flex-start; } .address-row .btn { width: auto; } }

/* Connect your email */
.connected-list { display: grid; gap: 10px; margin: 6px 0 14px; }
.connected { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--success-soft); border-radius: 14px; padding: 12px 16px; }
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.provider {
  font: inherit; color: var(--text); cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--surface); border: 2px solid var(--border); border-radius: 18px; padding: 16px 10px;
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s, box-shadow .15s; min-height: 120px; justify-content: center;
}
.provider:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-hover); }
.provider.suggested { border-color: var(--primary); background: var(--primary-soft); }
.provider:disabled { opacity: .5; cursor: default; }
.p-icon { font-size: 1.8rem; }
.p-name { font-weight: 700; }
.p-sub { font-size: .82rem; color: var(--muted); font-weight: 700; }
.provider.suggested .p-sub { color: var(--primary-dark); }
.connect-panel { margin-top: 18px; background: #fffdf9; border: 2px solid var(--primary); border-radius: 20px; padding: 22px; }
.big-steps { padding-left: 1.4em; margin: 14px 0; }
.big-steps > li { margin: 0 0 20px; }
.big-steps > li::marker { font-weight: 700; color: var(--primary); }
.sub-steps { margin: 8px 0 0; padding-left: 1.2em; }
.sub-steps li { margin: 4px 0; }

/* One-click sign-in */
.sso-buttons { display: grid; gap: 10px; }
.sso-btn { justify-content: flex-start; width: 100%; color: var(--text); border-color: var(--border-strong); }
.sso-btn:hover { border-color: var(--primary); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 20px 0 0; font-size: .9rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Photos for the Scam Checker and bill explainer */
.photo-box { margin: 8px 0 18px; }
.photo-btn { width: 100%; justify-content: center; font-size: 1.15rem; padding: 18px 20px; }
.photo-box .hint { margin: 8px 0 0; }
.photo-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.photo-list:empty { display: none; }
.photo-item { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.photo-item img { width: 140px; height: 180px; object-fit: contain; border-radius: 12px; border: 1px solid var(--border); background: var(--surface, #fff); }
