@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #090b12;
  --surface: #141826;
  --surface-2: #1b2030;
  --ink: #f1f4fb;
  --muted: #949cb2;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #5b86ff;
  --accent-2: #9a7bff;
  --ring: rgba(91, 134, 255, 0.22);
  --radius: 18px;
  --shadow: 0 34px 80px -38px rgba(0, 0, 0, 0.85);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 22px; }

/* glow blobs */
.blob { position: fixed; border-radius: 50%; filter: blur(100px); opacity: .32; z-index: 0; pointer-events: none; }
.blob-1 { width: 520px; height: 520px; top: -200px; left: -140px;
  background: radial-gradient(circle, #4f7cff, transparent 65%); }
.blob-2 { width: 480px; height: 480px; top: -150px; right: -170px;
  background: radial-gradient(circle, #8b6cff, transparent 65%); }
body > *:not(.blob):not(.edge):not(.auth-overlay):not(.res-overlay):not(.nav) { position: relative; z-index: 1; }

/* nav */
.nav { padding: 20px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -.4px; }
.logo-svg { border-radius: 9px; box-shadow: 0 10px 22px -8px var(--ring); flex: none; display: block; }
.foot-brand svg { border-radius: 7px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; }
.nav-btn { cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; padding: 9px 17px;
  border-radius: 999px; border: 1px solid transparent; transition: .18s; color: #fff;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 22px -12px var(--ring); }
.nav-btn:hover { transform: translateY(-1px); }
.nav-btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.nav-btn.ghost:hover { border-color: var(--accent); }
@media (max-width: 720px) { .nav-links { display: none; } .nav-btn { padding: 8px 13px; font-size: 13px; } }

/* faint gradient bars down each side */
.edge { position: fixed; top: 0; bottom: 0; width: 2px; z-index: 0; pointer-events: none; opacity: .55; }
.edge-left { left: 0; background: linear-gradient(180deg, transparent, var(--accent) 35%, var(--accent-2) 65%, transparent); }
.edge-right { right: 0; background: linear-gradient(180deg, transparent, var(--accent-2) 35%, var(--accent) 65%, transparent); }
@media (max-width: 760px) { .edge { display: none; } }

/* hero — two columns: copy + live tool */
.hero { padding: 30px 0 22px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 46px; align-items: center; }
.hero-copy { text-align: left; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 4.6vw, 50px);
  font-weight: 700; line-height: 1.06; letter-spacing: -1.4px; }
h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { color: var(--muted); font-size: 17px; max-width: 480px; margin: 16px 0 0; }
.hero-points { list-style: none; margin: 20px 0 0; display: grid; gap: 9px; }
.hero-points li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 500; }
.hero-points li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.platforms { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-start; margin-top: 22px; }
.platforms span { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: 7px; }
.hero-tool .form-card { padding: 20px; }

/* photo dropzone */
.dropzone { border: 1.5px dashed var(--line); border-radius: 14px; background: var(--surface-2);
  margin-bottom: 16px; cursor: pointer; transition: .16s; overflow: hidden; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(91,134,255,.06); }
.dz-empty { display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 22px 16px; gap: 2px; }
.dz-icon { color: var(--accent); margin-bottom: 6px; line-height: 0; }
.dz-icon svg { width: 32px; height: 32px; }
.dz-empty strong { font-size: 15px; }
.dz-empty span { font-size: 13px; color: var(--muted); }
.dz-preview { position: relative; }
.dz-preview img { width: 100%; max-height: 220px; object-fit: contain; display: block; background: #0c0f18; }
.dz-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 8px;
  border: none; cursor: pointer; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; }
.dz-remove:hover { background: rgba(0,0,0,.78); }

/* category-specific smart fields */
.dyn-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dyn-fields:not(:empty) { margin-bottom: 16px; }
.dyn-fields .field { margin-bottom: 0; }
@media (max-width: 460px) { .dyn-fields { grid-template-columns: 1fr; } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-points { max-width: 300px; margin-left: auto; margin-right: auto; }
  .platforms { justify-content: center; }
}

/* tool */
.tool { padding-bottom: 60px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field em { color: var(--muted); font-style: normal; font-weight: 400; }
input, textarea, select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: .16s; resize: vertical;
}
input::placeholder, textarea::placeholder { color: #6b7388; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .row { grid-template-columns: 1fr; } }

.generate {
  margin-top: 8px; width: 100%; cursor: pointer; border: none;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: #fff;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  padding: 16px; border-radius: 13px; transition: .2s; box-shadow: 0 16px 34px -12px var(--ring);
}
.generate:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px var(--ring); }
.generate:disabled { opacity: .65; cursor: wait; transform: none; }

/* results */
.results { margin-top: 20px; }
.result-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: start; }
.result-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 760px) { .result-grid { grid-template-columns: 1fr; } }
.out { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; animation: rise .35s ease both; }

/* price card + live comparisons */
.price-card .price-est { display: flex; align-items: baseline; gap: 9px; margin-bottom: 2px; }
.price-card .price-est .plabel { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.price-card .price-est .pamount { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.5px; }
.market-panel { margin-top: 4px; }
.market-loading { font-size: 13px; color: var(--muted); }
.market-range { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.market-range .mlabel { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.market-range strong { color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.comps-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; margin: 12px 0 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.out .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.out .head h3 { font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.copy { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; transition: .15s; }
.copy:hover { border-color: var(--accent); }
.out .title-text { font-size: 18px; font-weight: 700; line-height: 1.35; }
.out .desc-text { white-space: pre-wrap; font-size: 15px; line-height: 1.65; color: #d7dcea; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; color: #aab9ff; background: rgba(91,134,255,.12);
  border: 1px solid rgba(91,134,255,.22); padding: 5px 11px; border-radius: 8px; }
.bullets { list-style: none; }
.bullets li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.spinner { text-align: center; color: var(--muted); padding: 22px; font-size: 14px; }
.spinner::after { content: "▍"; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- marketing sections ---------- */
.section { padding: 44px 0; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 58%); }
/* gradient divider line above each section */
.section::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1060px, 90%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,134,255,.55), rgba(154,123,255,.55), transparent); }
.container.wide { max-width: 1060px; }

/* suggested-price banner */
.price-out { display: flex; align-items: center; gap: 14px;
  background: linear-gradient(100deg, rgba(91,134,255,.14), rgba(154,123,255,.14));
  border: 1px solid rgba(91,134,255,.32); border-radius: var(--radius); padding: 16px 20px; animation: rise .35s ease both; }
.price-out .pemoji { color: var(--accent); line-height: 0; }
.price-out .pemoji svg { width: 26px; height: 26px; }
.price-out .plabel { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.price-out .pamount { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -.5px; }
.price-out .psub { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* what-affects-your-price tick/cross list */
.factors-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; animation: rise .35s ease both; }
.factors-title { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.factor { display: flex; align-items: center; gap: 11px; padding: 6px 0; font-size: 14.5px; }
.factor .fic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; flex: none; }
.factor.up .fic { background: rgba(61,220,132,.16); color: #5fe0a0; }
.factor.down .fic { background: rgba(255,107,107,.16); color: #ff7b7b; }

/* live market price check */
.market-btn { width: 100%; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14.5px;
  color: var(--accent); background: var(--surface); border: 1px solid rgba(91,134,255,.3); border-radius: 12px;
  padding: 12px; transition: .16s; }
.market-btn:hover { border-color: var(--accent); box-shadow: 0 6px 16px -10px var(--ring); }
.market-btn:disabled { opacity: .7; cursor: wait; }
.market-panel:not(:empty) { margin-top: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; animation: rise .35s ease both; }
.comps { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.comp { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline;
  padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.comp-site { font-weight: 700; }
.comp-price { color: var(--accent); font-weight: 700; font-family: 'Space Grotesk', sans-serif; text-align: right; }
.comp-note { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }

/* result top bar (ready + copy all) */
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ready-pill { font-size: 13px; font-weight: 700; color: #5fe0a0; background: rgba(61,220,132,.12);
  border: 1px solid rgba(61,220,132,.25); padding: 6px 13px; border-radius: 999px; }
.copy-all { cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13.5px;
  color: #fff; border: none; padding: 9px 17px; border-radius: 10px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 22px -12px var(--ring); transition: .18s; }
.copy-all:hover { transform: translateY(-1px); }

/* price card numbers */
.price-card .plabel { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.price-card .pamount { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.5px; margin-top: 2px; }
.price-card .psub { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- auth ---------- */
.nav-user { font-size: 13px; font-weight: 600; color: var(--muted); max-width: 150px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4,6,12,.72);
  backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; }
.auth-overlay[hidden] { display: none; }
.auth-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px 26px; position: relative; box-shadow: var(--shadow); animation: rise .3s ease both; }
.auth-close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--muted);
  font-size: 16px; cursor: pointer; line-height: 1; }
.auth-close:hover { color: var(--ink); }
.auth-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; letter-spacing: -.5px; }
.auth-sub { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.auth-tabs { display: flex; gap: 6px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.auth-tab { flex: 1; padding: 9px; border: none; background: none; color: var(--muted); font-family: inherit;
  font-weight: 600; font-size: 14px; border-radius: 9px; cursor: pointer; transition: .15s; }
.auth-tab.active { background: var(--accent); color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: 11px; }
.auth-input { width: 100%; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 12px 14px; color: var(--ink); font-size: 15px; font-family: inherit; }
.auth-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.auth-msg { font-size: 13px; min-height: 16px; }
.auth-submit { margin-top: 4px; cursor: pointer; border: none; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px; color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2));
  padding: 13px; border-radius: 12px; transition: .18s; }
.auth-submit:hover { transform: translateY(-1px); }
.auth-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.auth-pass-wrap { position: relative; }
.auth-pass-wrap .auth-input { padding-right: 42px; }
.auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none;
  color: var(--muted); cursor: pointer; padding: 7px; display: grid; place-items: center; }
.auth-eye svg { width: 18px; height: 18px; display: block; }
.auth-eye:hover, .auth-eye.on { color: var(--accent); }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.acct-row span { color: var(--muted); }
.acct-row strong { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#acctUpgrade { display: block; text-align: center; text-decoration: none; margin-top: 18px; }
.acct-logout { width: 100%; margin-top: 10px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 11px; transition: .15s; }
.acct-logout:hover { border-color: var(--accent); }
.auth-forgot { background: none; border: none; color: var(--muted); font-size: 13px; font-family: inherit;
  cursor: pointer; margin-top: 6px; width: 100%; text-align: center; }
.auth-forgot:hover { color: var(--accent); }

/* ---------- results popup ---------- */
.res-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(4,6,12,.78);
  backdrop-filter: blur(6px); overflow-y: auto; padding: 22px 14px; }
.res-overlay[hidden] { display: none; }
.res-card { position: relative; width: 100%; max-width: 640px; margin: 0 auto; background: var(--bg);
  border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 26px; box-shadow: var(--shadow); animation: rise .3s ease both; }
.res-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 32px; height: 32px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); cursor: pointer; font-size: 14px; }
.res-close:hover { color: var(--ink); border-color: var(--accent); }
#resBodyEl { display: flex; flex-direction: column; gap: 14px; }
.res-loading { text-align: center; padding: 48px 12px; }
.res-spinner { width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.res-loading p { font-weight: 600; font-size: 15px; }
.res-loading span { font-size: 13px; color: var(--muted); }

/* editable output + colour-coded gaps */
.editable { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; line-height: 1.65; outline: none; }
.editable:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.editable .gap { border-radius: 5px; padding: 1px 6px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.editable .gap.filled { color: #5fe0a0 !important; background: rgba(61,220,132,.16) !important; border: 1px solid rgba(61,220,132,.45) !important; }
.editable .gap.filled::after { content: "✓"; font-size: .8em; margin-left: 4px; }
.gap-input { font: inherit; border-radius: 5px; padding: 1px 6px; background: var(--surface-2);
  border: 1.5px solid; outline: none; min-width: 46px; }
.gap-legend { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.gap-legend-title { font-size: 12.5px; color: var(--muted); margin-bottom: 9px; }
.gap-legend-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.gap-chip { cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 700;
  border: 1px solid; border-radius: 999px; padding: 5px 12px; transition: .15s; }
.gap-chip:hover { filter: brightness(1.15); }
.gap-chip::before { content: "+ "; }
.gap-chip.done::before { content: "✓ "; }
.gap-chip.done { color: #5fe0a0 !important; border-color: rgba(61,220,132,.5) !important; background: rgba(61,220,132,.16) !important; }

/* logo pulse while generating */
.logo-svg.generating { animation: logopulse 1s ease-in-out infinite; }
@keyframes logopulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.9); } }
.market-credit { margin-top: 12px; opacity: .85; }

/* coming-soon toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500;
  padding: 13px 20px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transition: .25s; z-index: 50; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.section-head { text-align: center; margin-bottom: 30px; }

/* before / after demo */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.ba-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.ba-before { background: var(--surface-2); }
.ba-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ba-label.after { color: var(--accent); }
.ba-scribble { font-size: 16px; color: #c4cbdb; font-style: italic; }
.ba-title { font-weight: 700; font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
.ba-desc { font-size: 14px; color: #c4cbdb; line-height: 1.55; margin-bottom: 12px; }
.ba-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ba-tags span { font-size: 12px; font-weight: 600; color: #aab9ff; background: rgba(91,134,255,.12);
  border: 1px solid rgba(91,134,255,.22); padding: 4px 9px; border-radius: 7px; }
.ba-arrow { font-size: 30px; color: var(--accent); font-weight: 700; text-align: center; }
@media (max-width: 700px) { .ba { grid-template-columns: 1fr; } .ba-arrow { transform: rotate(90deg); } }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 700; letter-spacing: -1px; line-height: 1.1; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-ill { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent); background: rgba(91,134,255,.12); border: 1px solid rgba(91,134,255,.2); margin-bottom: 16px; }
.step-ill svg { width: 26px; height: 26px; }
.step-n { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ficon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: var(--accent); background: rgba(91,134,255,.12); border: 1px solid rgba(91,134,255,.2); margin-bottom: 13px; }
.feature .ficon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 16.5px; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.price-for { color: var(--muted); font-size: 13px; margin-top: 4px; }
.price-card li em { color: var(--muted); font-style: normal; font-size: 12px; }
.price-card.pro { border-color: rgba(91,134,255,.5); box-shadow: 0 0 0 1px rgba(91,134,255,.25), 0 30px 60px -30px var(--ring); }
.price-card h3 { font-size: 18px; margin-bottom: 8px; }
.price { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; letter-spacing: -1.5px; }
.price span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; margin: 18px 0 22px; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: 14.5px; color: #d7dcea; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-cta { display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: 15px;
  font-family: 'Space Grotesk', sans-serif; padding: 13px; border-radius: 12px; color: #fff;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 30px -14px var(--ring); transition: .18s; }
.price-cta:hover { transform: translateY(-2px); }
.price-cta.ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.pop { position: absolute; top: -11px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2));
  padding: 5px 11px; border-radius: 999px; }

/* faq */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.faq-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14px; }

@media (max-width: 640px) {
  .steps, .features, .pricing, .faq { grid-template-columns: 1fr; }
}

footer { color: var(--muted); font-size: 13.5px; padding: 34px 0 44px; border-top: 1px solid var(--line); text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 8px; }

/* ---------- account dashboard ---------- */
.acct-card { max-width: 540px; }
#acctUsage { font-size: 13px; color: var(--accent); }
.acct-listings-wrap { margin-top: 18px; }
.acct-listings-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.acct-listings-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.acct-count { font-size: 12.5px; color: var(--muted); }
.acct-listings { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.acct-empty { color: var(--muted); font-size: 13.5px; padding: 22px 8px; text-align: center; line-height: 1.6; }
.acct-listing { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 13px; transition: border-color .15s, transform .12s; }
.acct-listing:hover { border-color: var(--ring); }
.acct-listing-main { flex: 1; min-width: 0; cursor: pointer; }
.acct-listing-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-listing-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.acct-listing-del { flex: none; background: transparent; border: none; color: var(--muted); font-size: 15px;
  cursor: pointer; padding: 4px 6px; border-radius: 8px; line-height: 1; transition: color .15s, background .15s; }
.acct-listing-del:hover { color: #ff7b7b; background: rgba(255, 123, 123, 0.1); }

/* ---------- daily-limit screen ---------- */
.limit-box { text-align: center; padding: 26px 18px 10px; }
.limit-emoji { font-size: 44px; margin-bottom: 6px; }
.limit-box h2 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; margin-bottom: 10px; }
.limit-box p { color: var(--muted); font-size: 14.5px; max-width: 380px; margin: 0 auto 6px; line-height: 1.6; }
.limit-actions { display: flex; gap: 10px; justify-content: center; margin: 18px 0 6px; flex-wrap: wrap; }
.limit-actions .copy-all, .limit-actions .copy { text-decoration: none; cursor: pointer; }
.limit-reset { font-size: 12.5px; opacity: .8; margin-top: 8px; }

/* ---------- nav avatar (logged-in) ---------- */
.nav-avatar { width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px var(--ring); transition: transform .15s, box-shadow .15s; }
.nav-avatar:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 12px 26px -8px var(--ring); }

/* ---------- account: tabbed panel ---------- */
.acct-card { max-width: 500px; max-height: 88vh; overflow-y: auto; padding-top: 30px; }
.acct-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.acct-avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px -10px var(--ring); }
.acct-head-text { min-width: 0; }
.acct-email { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-badge { display: inline-block; margin-top: 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .2px;
  color: var(--accent); background: var(--ring); padding: 3px 10px; border-radius: 999px; }

.acct-tabs { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.acct-nav { flex: 1; padding: 9px 6px; border: none; background: none; color: var(--muted); font-family: inherit;
  font-weight: 600; font-size: 13.5px; border-radius: 9px; cursor: pointer; transition: .15s; }
.acct-nav:hover { color: var(--ink); }
.acct-nav.active { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; }

.acct-panel { display: none; animation: fadepanel .2s ease both; }
.acct-panel.active { display: block; }
@keyframes fadepanel { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* usage meter */
.usage { margin-bottom: 14px; }
.usage-bar { height: 7px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.usage-bar span { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s ease; }
.usage-text { margin-top: 7px; font-size: 12.5px; color: var(--muted); }

/* account tab buttons */
.acct-line-btn { width: 100%; margin-top: 14px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 11px; transition: .15s; }
.acct-line-btn:hover { border-color: var(--accent); }
.acct-pass-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

/* subscription cards */
.plan-cards { display: flex; flex-direction: column; gap: 12px; }
.plan-card { background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s; }
.plan-card.current { border-color: var(--accent); }
.plan-card.featured { background: linear-gradient(160deg, rgba(91,134,255,.1), rgba(154,123,255,.06)); border-color: rgba(154,123,255,.4); }
.plan-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
.plan-star { color: var(--accent-2); }
.plan-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; margin: 4px 0 10px; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-perks { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.plan-perks li { font-size: 13px; color: var(--muted); padding-left: 22px; position: relative; }
.plan-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-btn { width: 100%; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px;
  color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2)); border: none; padding: 11px; border-radius: 11px; transition: .15s; }
.plan-btn:hover:not(:disabled) { transform: translateY(-1px); }
.plan-btn:disabled { background: var(--surface); color: var(--muted); cursor: default; border: 1px solid var(--line); }

/* =====================================================================
   POLISH PASS — carry the account-panel cleanliness across the page
   ===================================================================== */

/* frosted, sticky nav */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 0;
  background: rgba(9, 11, 18, 0.72); backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(9, 11, 18, 0.88); }

/* gradient icon tiles — same family as the avatar */
.step-ill, .feature .ficon { color: #fff; border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px -12px var(--ring); }
.step-n { color: var(--accent-2); }

/* unified card hover lift */
.step, .feature, .ba-card, .price-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.step:hover, .feature:hover, .ba-card:hover {
  transform: translateY(-4px); border-color: var(--ring);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .8); }

/* eyebrow becomes a tidy chip */
.eyebrow { background: var(--surface); border: 1px solid var(--line);
  padding: 5px 13px; border-radius: 999px; }
.badge { box-shadow: 0 10px 24px -16px var(--ring); }

/* roomier section rhythm */
.section { padding: 62px 0; }
.section-head { margin-bottom: 38px; }

/* hero tool: soft gradient halo so it pops like a hero element */
.hero-tool { position: relative; }
.hero-tool::before { content: ""; position: absolute; inset: -6px; z-index: -1;
  border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(120% 120% at 70% 0%, rgba(154,123,255,.45), rgba(91,134,255,.3) 40%, transparent 70%);
  filter: blur(26px); opacity: .55; }

/* pricing — featured glow + hover, matching plan-card.featured */
.price-card:hover { transform: translateY(-5px); box-shadow: 0 34px 64px -34px rgba(0,0,0,.85); }
.price-card.pro { background: linear-gradient(165deg, rgba(91,134,255,.13), rgba(154,123,255,.07));
  transform: scale(1.035); }
.price-card.pro:hover { transform: scale(1.035) translateY(-5px); }
@media (max-width: 640px) {
  .price-card.pro { transform: none; }
  .price-card.pro:hover { transform: translateY(-5px); }
}

/* FAQ as a clean accordion */
.faq-item { padding: 0; overflow: hidden;
  transition: border-color .18s ease, background .18s ease; }
.faq-item:hover { border-color: var(--ring); }
.faq-item[open] { background: var(--surface-2); border-color: var(--ring); }
.faq-item summary { list-style: none; cursor: pointer; padding: 17px 20px;
  font-size: 15.5px; font-weight: 600; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--accent);
  font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; animation: fadepanel .2s ease both; }

/* before/after: nicer arrow + after-card accent edge */
.ba-after { border-color: rgba(91,134,255,.3);
  background: linear-gradient(165deg, rgba(91,134,255,.08), rgba(154,123,255,.04)); }
.ba-arrow { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- saved-listing thumbnails + back button ---------- */
.acct-listing { cursor: pointer; }
.acct-thumb { width: 46px; height: 46px; flex: none; border-radius: 10px; object-fit: cover;
  background: #0c0f18; border: 1px solid var(--line); }
.acct-thumb-empty { display: grid; place-items: center; color: var(--muted);
  background: var(--surface); }
.acct-thumb-empty svg { width: 22px; height: 22px; }

.res-back { display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 13.5px; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; margin-bottom: 16px; transition: .15s; }
.res-back:hover { border-color: var(--accent); transform: translateX(-2px); }
.res-thumb { display: block; width: 100%; max-height: 260px; object-fit: contain;
  background: #0c0f18; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 16px; }

/* ---------- demo "before" input mock ---------- */
.ba-photo { aspect-ratio: 16 / 10; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(91,134,255,.2), rgba(154,123,255,.12));
  border: 1px solid var(--line); color: var(--accent); margin-bottom: 12px; }
.ba-photo svg { width: 52px; height: 52px; opacity: .92; }
.ba-note { font-size: 14px; color: #c4cbdb; font-style: italic;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; }

/* ---------- reassurance line under generate ---------- */
.generate-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 11px; }

/* ---------- footer links ---------- */
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 18px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: .15s; }
.foot-links a:hover { color: var(--accent); }
.foot-copy { margin-top: 12px; font-size: 12.5px; color: #5b6378; }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { max-width: 760px; padding-top: 26px; padding-bottom: 70px; }
.legal-back { display: inline-block; color: var(--accent); text-decoration: none; font-weight: 600;
  font-size: 13.5px; margin-bottom: 18px; }
.legal-back:hover { text-decoration: underline; }
.legal h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -1px; margin-bottom: 6px; }
.legal-updated { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.legal h2 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: -.4px;
  margin: 30px 0 10px; }
.legal p { color: #cdd4e4; font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.legal ul { margin: 0 0 12px; padding-left: 4px; list-style: none; }
.legal li { color: #cdd4e4; font-size: 15px; line-height: 1.65; padding: 5px 0 5px 24px; position: relative; }
.legal li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal-foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- mobile pass ---------- */
@media (max-width: 560px) {
  .container, .container.wide { padding: 0 16px; }
  .hero { padding: 16px 0 8px; }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 26px; }
  .res-card { padding: 20px 15px 22px; border-radius: 16px; }
  .res-overlay { padding: 14px 10px; }
  .res-thumb { max-height: 220px; }
  .auth-card, .acct-card { padding: 24px 18px; }
  .acct-tabs { gap: 2px; }
  .acct-nav { font-size: 12.5px; padding: 9px 4px; }
  .hero-tool .form-card { padding: 16px; }
  .pricing, .features, .steps, .faq { gap: 12px; }
  .plan-price { font-size: 23px; }
  .badge { font-size: 12px; }
}

/* ---------- rotating demo: emoji, crossfade, dots ---------- */
.ba { position: relative; }
.ba-emoji { font-size: 58px; line-height: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.ba-photo, .ba-note, .ba-title, .ba-desc, .ba-tags { transition: opacity .24s ease; }
.ba-fade .ba-photo, .ba-fade .ba-note, .ba-fade .ba-title,
.ba-fade .ba-desc, .ba-fade .ba-tags { opacity: 0; }
.ba-dots { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  display: flex; gap: 7px; }
.ba-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: .25s; }
.ba-dot.on { background: linear-gradient(120deg, var(--accent), var(--accent-2)); transform: scale(1.25); }

/* ---------- reveal on scroll ---------- */
.reveal-init { opacity: 0; transform: translateY(18px); }
.reveal-init.reveal-in { opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; }
  .ba-photo, .ba-note, .ba-title, .ba-desc, .ba-tags { transition: none; }
}

/* ---------- tone gate hint (free plan) ---------- */
.tone-hint { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); }
.tone-hint a { color: var(--accent); text-decoration: none; font-weight: 600; }
.tone-hint a:hover { text-decoration: underline; }

/* ---------- bulk mode (Premium) ---------- */
.mode-switch { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.mode-btn { flex: 1; padding: 9px 6px; border: none; background: none; color: var(--muted);
  font-family: inherit; font-weight: 600; font-size: 13.5px; border-radius: 9px; cursor: pointer;
  transition: .15s; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.mode-btn:hover { color: var(--ink); }
.mode-btn.active { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; }
.mode-pill { font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px; background: var(--ring); color: var(--accent-2); }
.mode-btn.active .mode-pill { background: rgba(255,255,255,.2); color: #fff; }

.bulk-dz { margin-bottom: 14px; }
.bulk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.bulk-grid:not(:empty) { margin-bottom: 12px; }
.bulk-cell { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #0c0f18; }
.bulk-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bulk-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 7px;
  border: none; cursor: pointer; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; line-height: 1; }
.bulk-remove:hover { background: rgba(0,0,0,.82); }
.bulk-hint { font-size: 12.5px; color: var(--muted); }

.bulk-saved-note { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.bulk-result { display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; transition: border-color .15s; }
.bulk-result:hover { border-color: var(--ring); }
.bulk-result-thumb { width: 50px; height: 50px; flex: none; border-radius: 9px; object-fit: cover;
  background: #0c0f18; border: 1px solid var(--line); }
.bulk-result-main { flex: 1; min-width: 0; cursor: pointer; }
.bulk-result-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.bulk-result-meta { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.bulk-result-copy { flex: none; }

/* ---------- upgrade success popup ---------- */
.upgrade-success { text-align: center; padding: 30px 20px 14px; }
.us-check { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  font-size: 34px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 36px -12px var(--ring); animation: us-pop .4s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes us-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.us-pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--accent-2); background: var(--ring); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.upgrade-success h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; letter-spacing: -.5px; margin-bottom: 8px; }
.upgrade-success p { color: var(--muted); font-size: 14.5px; margin: 0 auto 20px; max-width: 360px; }
.us-perks { list-style: none; text-align: left; max-width: 320px; margin: 0 auto 24px;
  display: flex; flex-direction: column; gap: 11px; }
.us-perks li { font-size: 14.5px; padding-left: 30px; position: relative; }
.us-perks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #fff; font-size: 11px; font-weight: 800;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.us-cta { display: inline-block; cursor: pointer; font-size: 15px; padding: 12px 28px; }

/* manage-subscription button (paid users) */
.acct-manage { margin-top: 8px; }

/* prorated-upgrade note on plan cards */
.plan-note { font-size: 11.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* nav links: smaller + underlined */
.nav-links a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* homepage pricing buttons reflecting the user's current plan */
.price-cta.is-current { background: var(--surface-2); color: var(--ink); border: 1px solid var(--accent); box-shadow: none; cursor: default; }
.price-cta.is-included { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); box-shadow: none; cursor: default; pointer-events: none; }

/* account plan perks: already-unlocked (–) vs newly-gained (✓) */
.plan-perks li.have { color: var(--muted); opacity: .85; }
.plan-perks li.have::before { content: "–"; color: var(--muted); }
.plan-perks li.gain::before { content: "✓"; color: var(--accent); }

/* live proration display on the plan card */
.po-strike { text-decoration: line-through; opacity: .55; }
.po-due { color: var(--accent); font-weight: 700; }
.po-recur { display: block; margin-top: 2px; }
.po-why { display: block; margin-top: 4px; opacity: .8; font-size: 11px; }
