/* Page styles. Class names avoid site.css's .steps/.step/.faq, which carry simpleup.ca's scroll-story layout. */
img { height: auto; }
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero h1 { max-width: 13ch; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 38ch; margin: 18px 0 28px; }
.hero-chip { width: min(260px, 70%); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--c-money); font-weight: 900; }

.paste { background: var(--plum); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.paste h2 { color: #fff; font-size: clamp(28px, 4.2vw, 48px); max-width: 20ch; }
.paste h2 .serif { color: #ffb088; }
.paste > div > p { color: #e3d6f2; margin: 0 0 20px; max-width: 46ch; }
.got { margin: 14px 0 0; color: #ffb088; font-weight: 700; }
.paste img { width: 150px; }

.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.pain .q { font-weight: 900; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.pain .q::before { content: "“"; color: var(--orange); }
.pain .q::after { content: "”"; color: var(--orange); }
.pain .a { color: var(--muted); margin: 0; }
.pain .a b { color: var(--orange-ink); }

.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.how3-i { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.how3-i::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; margin-bottom: 12px; }
.how3-i h3 { font-size: 21px; margin-bottom: 6px; }
.how3-i p { color: var(--muted); margin: 0; }

.bill { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.bill button { font: 700 15px var(--font); border: 0; background: none; color: var(--muted); padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.bill button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.bill small { color: var(--c-money); font-weight: 900; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; margin-bottom: 2px; }
.plan .for { color: var(--muted); font-size: 15px; margin: 0; }
.plan .amt { font-size: 46px; font-weight: 900; letter-spacing: -.03em; margin: 12px 0 0; }
.plan .amt small { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.per { font-size: 14px; color: var(--muted); min-height: 22px; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--c-money); font-weight: 900; }
.plan li.hl { font-weight: 700; }
.plan .btn { width: 100%; }
.picked { margin: 0 0 10px; font-size: 14px; color: var(--orange-ink); font-weight: 700; }

.credits { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; background: var(--world-soft); border-radius: var(--radius); padding: 24px; }
.credits h3 { font-size: 21px; margin-bottom: 6px; }
.credits p { color: var(--muted); margin: 0; }
.cost { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cost li { display: flex; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: 12px; padding: 12px 16px; }
.cost b { color: var(--orange-ink); white-space: nowrap; }

.addons { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.addon { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.addon b { display: block; }
.addon span { color: var(--muted); font-size: 15px; }
.addon s { margin-right: 6px; }
.addon .deal { color: var(--orange-ink); font-weight: 900; }
.addon .flag { display: table; margin-top: 6px; color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; background: var(--orange); padding: 2px 8px; border-radius: 999px; }
.flag { display: inline-block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; background: var(--orange); color: #fff; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.new { border-left: 3px solid var(--orange); padding: 2px 0 2px 16px; }
.new time { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.new h3 { font-size: 18px; margin: 4px 0; }
.new p { color: var(--muted); margin: 0; font-size: 15px; }

.qa { max-width: 860px; margin-inline: auto; }
.qa .sec-head { text-align: center; margin-inline: auto; }
.qa .eyebrow { justify-content: center; }
.qa details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.qa summary { font-weight: 900; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; padding: clamp(40px, 6vw, 72px) 0; }
.final h2 { font-size: clamp(30px, 4.6vw, 52px); max-width: 22ch; margin-inline: auto; }
.final .hero-cta { justify-content: center; }
.final img { width: 120px; margin: 0 auto 18px; }

.fam { background: var(--bg-2); padding: 56px 0 28px; }
.fam-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 24px; }
.fam-head img { height: 28px; width: auto; }
.fam-head .logo-dark { display: none; }
:root[data-theme="dark"] .fam-head .logo-light { display: none; }
:root[data-theme="dark"] .fam-head .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fam-head .logo-light { display: none; }
  :root:not([data-theme="light"]) .fam-head .logo-dark { display: block; }
}
.fam-head p { margin: 0; color: var(--muted); }
.fam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fam-card { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s var(--ease), box-shadow .2s; }
.fam-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fam-card b { font-size: 17px; }
.fam-card span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.fam-card i { font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.fam-card.here { border-color: var(--orange); }
.fam-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.fam-base nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fam-base a { color: var(--muted); }

@media (max-width: 900px) {
  .pains, .how3, .plans, .news, .credits { grid-template-columns: 1fr; }
  .paste { grid-template-columns: 1fr; }
  .paste img { display: none; }
  .fam-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 520px) { .fam-grid { grid-template-columns: 1fr; } }

/* v4 */
.rebuild { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 8px; background: #fff; border-radius: 16px; padding: 6px; max-width: 640px; }
.rebuild input { min-width: 0; border: 0; outline: 0; font: 400 16px var(--font); color: #1b0b30; padding: 12px 12px; background: transparent; border-radius: 10px; }
.rebuild input + label + input { border-left: 1px solid #e6dff0; border-radius: 0; }
.rebuild input:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.rebuild .btn { padding: 12px 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.got:empty { display: none; }
.fine-dark { font-size: 13px; color: #b9a8cf !important; margin: 12px 0 0 !important; }
.fine-dark a { color: #e3d6f2; }
.extras { margin-top: 36px; border-top: 1px dashed var(--line-strong); padding-top: 24px; }
.extras-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.extras-head h3 { font-size: 19px; margin: 0; }
.extras-head p { margin: 0; color: var(--muted); }
.addons { margin-top: 14px; }
.addon { background: var(--surface-2); }
.final .muted { margin-top: -6px; }
@media (max-width: 700px) {
  .rebuild { grid-template-columns: 1fr; }
  .rebuild input + label + input { border-left: 0; border-top: 1px solid #e6dff0; }
}

/* production additions (2026-11-14) */
.login { margin-left: 8px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.login:hover { color: var(--ink); }
.picked-plan { margin: 12px 0 0; color: #fff; font-weight: 700; }
.note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.note h2 { font-size: clamp(26px, 3.4vw, 38px); }
.note > div p { color: var(--muted); }
.note-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.note-form .wide { grid-column: 1 / -1; }
.note-form input, .note-form textarea { font: 400 16px var(--font); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 100%; }
.note-form textarea { resize: vertical; }
.note-form .btn { justify-self: start; }
.note-status { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--orange-ink); }
.note-status:empty { display: none; }
.note-fine { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .note { grid-template-columns: 1fr; } .login { display: none; } }
@media (max-width: 520px) { .note-form { grid-template-columns: 1fr; } }
