/* MyRésumé Page — public home page only (loaded after main.css). */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--light { background: #fff; color: #3730a3; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.kicker { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.sub { margin: 28px 0 12px; font-size: 1.1rem; color: var(--ink); }
.topbar-inner .nav { margin-left: auto; }
.topbar-inner > .btn { flex: none; }

/* hero */
.hh {
  padding: clamp(36px, 8vw, 88px) 0 clamp(44px, 8vw, 96px);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(79, 70, 229, .16), transparent 60%),
    radial-gradient(45% 55% at 5% 70%, rgba(14, 165, 233, .12), transparent 60%);
}
.hh-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hh-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
.hh h1 { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.lead { margin-top: 18px; max-width: 58ch; font-size: clamp(1.02rem, 2.4vw, 1.18rem); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pills li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }
.hh-visual { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone { width: min(270px, 68vw); aspect-ratio: 9 / 18; border: 9px solid #0f172a; border-radius: 36px; background: #fff; box-shadow: 0 30px 60px rgba(15, 23, 42, .25); overflow: hidden; }
.phone-screen { height: 100%; padding: 14px 12px; background: #f6f7fb; display: grid; align-content: start; gap: 9px; }
.mp-hero { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, #e0e7ff, #f0f9ff); }
.mp-av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; background: linear-gradient(135deg, #4f46e5, #0ea5e9); flex: none; }
.mp-hero b { display: block; color: #0f172a; font-size: .95rem; line-height: 1.2; }
.mp-hero i { font-style: normal; font-size: .75rem; color: #4f46e5; font-weight: 600; }
.mp-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mp-tags span { padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: .68rem; font-weight: 700; color: #334155; }
.mp-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; display: grid; gap: 4px; }
.mp-card b { font-size: .8rem; color: #0f172a; line-height: 1.2; }
.mp-card i { font-style: normal; font-size: .7rem; color: #64748b; font-weight: 600; }
.mp-card .l { height: 5px; border-radius: 3px; background: #e2e8f0; }
.mp-card .l.s { width: 60%; }
.mp-btns { display: flex; gap: 6px; margin-top: 2px; }
.mp-btns span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; background: #4f46e5; color: #fff; font-size: .7rem; font-weight: 700; }
.mp-btns .g { background: #fff; color: #0f172a; border: 1px solid #e2e8f0; }
.chip { position: absolute; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-hover); font-size: .82rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chip-1 { top: 1%; left: -2%; } .chip-2 { top: 46%; right: -2%; } .chip-3 { bottom: 10%; left: 4%; }
@media (max-width: 480px) { .chip-1 { left: -2%; } .chip-2 { right: -4%; } .chip-3 { left: 0; } }

/* features */
.feat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 8px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feat svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(var(--accent-rgb), .1); stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feat h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.feat p { overflow-wrap: anywhere; }

/* animated walkthrough */
.walk { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.scenes { display: grid; gap: 28px; }
.scene { display: grid; gap: 22px; align-items: center; }
@media (min-width: 820px) { .scene { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; } }
.cap .step-no { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(var(--accent-rgb), .12); color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cap h3 { margin: 10px 0 6px; font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--ink); line-height: 1.2; }
.art { min-height: 260px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; align-content: center; overflow: hidden; }
.chat { display: grid; gap: 8px; }
.b { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: .88rem; line-height: 1.4; }
.b.me { justify-self: end; background: #dcfce7; color: #14532d; border-bottom-right-radius: 4px; }
.b.you { justify-self: start; background: #eef2ff; color: #312e81; border-bottom-left-radius: 4px; }
.art-build { grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.src { display: grid; gap: 6px; } .src code { font: 600 .76rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: #0f172a; color: #e2e8f0; padding: 6px 10px; border-radius: 8px; overflow-wrap: anywhere; }
.arrow { font-size: 1.6rem; color: var(--accent); font-weight: 800; }
.mini { display: grid; gap: 6px; padding: 10px; background: #f6f7fb; border: 1px solid var(--line); border-radius: 12px; }
.mini span { display: block; border-radius: 6px; background: #e2e8f0; height: 14px; }
.mini .m1 { height: 34px; background: linear-gradient(135deg, #0e7490, #3730a3); } .mini .m2 { width: 70%; background: #c7d2fe; } .mini .m3 { height: 26px; } .mini .m4 { height: 26px; width: 85%; } .mini .m5 { width: 45%; background: #a5f3fc; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #d1fae5; color: #047857; font-size: .85rem; font-weight: 800; }
.art-link { gap: 12px; }
.urlbar { display: flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: #f1f5f9; border: 1px solid var(--line); font-weight: 600; font-size: .86rem; color: var(--ink); overflow-wrap: anywhere; }
.urlbar .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.deliver { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 14px; border-radius: 999px; background: rgba(var(--accent-rgb), .1); color: var(--accent); font-weight: 700; font-size: .84rem; }

/* stage mode (JS on) */
.walk.is-stage .scenes { display: grid; }
.walk.is-stage .scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.walk.is-stage .scene.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.walk-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.wbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; font-weight: 800; color: var(--ink); transition: border-color .2s, transform .2s; }
.wbtn:hover { border-color: var(--accent); transform: translateY(-1px); }
.dots { display: flex; gap: 6px; margin-left: 8px; flex-wrap: wrap; }
.dots button { border: 1px solid var(--line); background: #fff; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.dots button[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.wbar { flex: 1 1 140px; height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; min-width: 100px; }
.wbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.wbar.run i { animation: fill var(--dur, 5500ms) linear forwards; }
@keyframes fill { to { width: 100%; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .walk.is-stage .scene.is-active .b,
  .walk.is-stage .scene.is-active .ticks li,
  .walk.is-stage .scene.is-active .src code,
  .walk.is-stage .scene.is-active .mini span,
  .walk.is-stage .scene.is-active .pill { animation: pop .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * .55s); }
}

/* styles gallery */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips button { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--accent); }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.style-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin-top: 22px; }
.style-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(var(--accent-rgb), .4); }
.style-shot { display: block; }
.style-card img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: var(--line); }
.style-meta { display: grid; gap: 4px; padding: 14px 16px 16px; flex: 1; align-content: start; }
.style-meta strong { color: var(--ink); }
.style-meta > span { color: var(--muted); font-size: .9rem; }
.cat { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(var(--accent-rgb), .1); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.style-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.style-actions a { font-weight: 700; font-size: .88rem; }
.style-actions button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--ink); transition: border-color .2s, background-color .2s; }
.style-actions button:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .06); }

/* layouts */
.lay-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.lay { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.lay h3 { font-size: 1.2rem; color: var(--ink); }
.stack { display: grid; gap: 6px; counter-reset: s; }
.stack li { counter-increment: s; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.stack li::before { content: counter(s) "  "; color: var(--muted); font-weight: 800; }
.stack li.hot { background: rgba(var(--accent-rgb), .1); border-color: rgba(var(--accent-rgb), .45); color: var(--accent); }
.lay .btn { justify-self: start; }

/* pricing */
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); margin: 26px 0; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; box-shadow: var(--shadow); }
.tier--featured { border: 2px solid var(--accent); box-shadow: 0 18px 44px rgba(var(--accent-rgb), .22); }
.tier-flag { position: absolute; top: -13px; left: 24px; padding: 3px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tier-name { font-size: 1.3rem; color: var(--ink); }
.tier-tagline { color: var(--muted); font-weight: 600; margin-top: -6px; }
.tier-price { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.tier-price .cur { font-size: 1.5rem; vertical-align: top; margin-right: 2px; }
.tier-price small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.tier-list { display: grid; gap: 8px; margin: 6px 0 14px; }
.tier-list li { position: relative; padding-left: 26px; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.tier .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.compare { min-width: 560px; border-collapse: collapse; width: 100%; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg); color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: #047857; font-weight: 800; } .compare .no { color: var(--muted); }
.addons { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.addons li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.group { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #eef2ff, #f0f9ff); border: 1px solid #c7d2fe; }
.group h3 { color: var(--ink); } .group p { max-width: 60ch; margin-top: 4px; }

/* privacy + audience */
.promises { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.promises li { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.promises strong { color: var(--ink); }
.who-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* faq */
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq p { margin-top: 10px; }

/* CTA + footer */
.cta { background: linear-gradient(135deg, #3730a3 0%, #4f46e5 55%, #0ea5e9 130%); color: #e0e7ff; padding: clamp(48px, 8vw, 88px) 0; text-align: center; }
.cta h2 { color: #fff; font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; }
.cta p { max-width: 56ch; margin: 12px auto 0; }
.cta .btn { margin-top: 24px; }
.cta-small { font-size: .9rem; } .cta-small a { color: #fff; }
.cta-note { font-weight: 700; color: #fff; }
.site-footer { background: #0f172a; color: #cbd5e1; padding: 44px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot { display: grid; gap: 24px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1.2fr 1fr 1.2fr; align-items: start; } }
.foot-logo { filter: brightness(0) invert(1); margin-bottom: 8px; }
.foot nav { display: grid; gap: 6px; } .foot a { color: #e2e8f0; text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot-note { font-size: .85rem; color: #94a3b8; }

/* order builder */
.order { max-width: 560px; margin: 26px auto 0; padding: 22px; background: #fff; color: var(--ink-2); border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: grid; gap: 12px; text-align: left; }
.order label { display: grid; gap: 4px; font-weight: 700; font-size: .85rem; color: var(--ink); }
.order label span { font-weight: 500; color: var(--muted); }
.order input, .order select { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-weight: 500; color: var(--ink); background: #fff; min-height: 46px; }
.order input:focus, .order select:focus { outline: 3px solid rgba(var(--accent-rgb), .35); border-color: var(--accent); }
.order-preview { padding: 12px 14px; border-radius: 12px; background: #f1f5f9; color: var(--ink); font-size: .92rem; line-height: 1.5; margin: 0; max-width: none; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.order-actions .btn { margin-top: 0; flex: 1 1 180px; }
.cta-direct { margin-top: 14px; }
.cta-direct .btn { margin-top: 0; }

@media print { .topbar, .walk-ctrl, .cta { display: none !important; } }
