@import url('../shared/base.css');

:root {
  --bg: #F7F2EA;
  --surface: #FFFFFF;
  --ink: #241C15;
  --muted: #6E5F4F;
  --line: #E6DCCB;
  --accent: #A8321F;
  --on-accent: #FFFFFF;
  --gold: #E9A23B;
  --ok: #2E8B57;
  --shadow: rgba(36, 28, 21, .45);
  --radius: 18px;
  --radius-btn: 12px;
  --font-head: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

body { font-size: 18px; }
main { max-width: none; padding: 0; }
.wrap { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
section { margin-top: 0; padding-top: 96px; }
h1, h2, h3 { font-weight: 400; }
h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--accent); }
.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.btn { font-weight: 700; }
.btn--primary { transition: transform .12s, box-shadow .12s; }
.btn--primary:hover:not(:disabled) { box-shadow: 0 10px 24px -10px rgba(168, 50, 31, .7); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }

/* header */
.top { max-width: 1240px; }
.logo { font-family: var(--font-head); font-weight: 400; font-size: 34px; line-height: 1; }
.top nav a:not(.btn) { display: inline; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 52px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(50px, 6.2vw, 90px); line-height: .95; letter-spacing: -.02em; margin: 0; }
.hero .lead { font-size: 1.2rem; max-width: 500px; margin: 22px 0 26px; color: #574A3D; }
.upload-card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 24px 48px -28px var(--shadow); scroll-margin-top: 24px; }
.upload-card .dropzone { min-height: 0; border-color: #CDBFA8; background: #FFFCF7; border-radius: 12px; margin: 0; display: block; position: relative; overflow: hidden; }
.upload-card .dropzone:hover, .upload-card .dropzone.drag { border-color: var(--accent); background: #FFF9F0; }
.upload-card .dropzone img { position: static; width: 100%; max-height: 280px; object-fit: contain; }
.dropzone__hint { display: flex; align-items: center; gap: 18px; padding: 20px; text-align: left; color: var(--ink); }
.dropzone__hint strong { font-size: 1.1rem; }
.dropzone__hint .muted { font-size: .9rem; }
.drop__icon { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #F3E6D6; color: var(--accent); display: grid; place-items: center; }
#restoreBtn { width: 100%; margin-top: 14px; font-size: 1.15rem; }
.assure { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: #574A3D; }
.assure li::before { content: '✓ '; color: var(--ok); font-weight: 700; }
.upload-card .loading { padding: 24px 0 8px; }
.hero__proof { margin: 0; }
.hero__proof .cmp { box-shadow: 0 40px 70px -36px var(--shadow); }
.hero__proof figcaption { margin-top: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; } }

/* result */
.result { padding-bottom: 20px; }
.result__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.result__head h2 { margin: 0; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 .95rem var(--font-body); cursor: pointer; color: var(--muted); }
.tab.is-on { background: var(--ink); color: #fff; }
.result__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 20px; align-items: start; }
@media (max-width: 860px) { .result__grid { grid-template-columns: 1fr; } }
.result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.result__actions p { margin: 0; flex-basis: 100%; }
.report { background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 24px 48px -32px var(--shadow); }
.report h3 { font-family: var(--font-head); font-weight: 400; font-size: 2.2rem; margin-bottom: 4px; }
.report__caption { font: italic 400 1.4rem/1.35 var(--font-head); border-left: 3px solid var(--accent); padding-left: 14px; margin: 18px 0; }
.report__clues { padding-left: 18px; margin: 0; }
.report__clues li { margin-bottom: 8px; }
.report__lock { background: var(--bg); border-radius: 10px; padding: 12px 14px; font-size: .95rem; color: var(--muted); }
.memory { margin-top: 36px; text-align: center; }
.memory img { max-width: 520px; margin: 12px auto 16px; border-radius: 6px; box-shadow: 0 20px 40px -24px var(--shadow); }

/* fixes strip */
.fixes { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fixes ul { list-style: none; margin: 0 auto; padding-top: 24px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; text-align: center; font-weight: 600; font-size: 16px; }
@media (max-width: 900px) { .fixes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: #fff; border-radius: 18px; padding: 30px; }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.step__n--accent { background: var(--accent); }
.steps h3 { margin: 18px 0 6px; }
.steps p { margin: 0; color: #574A3D; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* what you get */
.get { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.get h2 { margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.mock { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 34px 60px -34px var(--shadow); }
.mock__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock__chip { background: #E8F4EC; color: #1F6B41; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.mock__img { position: relative; border-radius: 12px; overflow: hidden; }
.mock__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mock__img span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: clamp(20px, 3vw, 34px); letter-spacing: .2em; color: rgba(255, 255, 255, .6); transform: rotate(-18deg); }
.mock__actions { display: flex; gap: 10px; margin: 16px 0 12px; flex-wrap: wrap; }
.mock__actions .btn--primary { flex: 1 1 220px; }
@media (max-width: 900px) { .get { grid-template-columns: 1fr; } }

/* pricing (dark band) */
.pricing { background: var(--ink); color: var(--bg); padding-bottom: 96px; margin-top: 96px; }
.pricing h2 { color: var(--bg); }
.pricing .lead { color: #CDBFA8; max-width: 540px; margin-top: 14px; }
.pricing__foot { color: #CDBFA8; margin-top: 40px; }
.tiers { align-items: stretch; }
.tier { color: var(--ink); border: 0; border-radius: 20px; padding: 30px; }
.tier--hl { box-shadow: 0 0 0 4px var(--gold); transform: translateY(-14px); }
.tier__badge { background: var(--gold); color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .9rem; top: -16px; padding: 6px 16px; }
.tier__name { font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; }
.tier__price { font-family: var(--font-head); font-weight: 400; font-size: 64px; }
.tier--hl .tier__price { font-size: 80px; color: var(--accent); }
.tier__note { margin-top: -12px; }
.tier:nth-child(3) .tier__note { color: var(--ok); font-weight: 600; }
.tier__list li { border-top: 0; padding-top: 5px; padding-bottom: 5px; }
.tier__btn.btn--ghost { background: #fff; border-color: var(--ink); }
.tier--owned { opacity: .55; }
@media (max-width: 860px) { .tier--hl { transform: none; order: -1; } }

/* reviews placeholder */
.placeholder { display: inline-block; border: 2px dashed #CDBFA8; border-radius: 14px; padding: 18px 26px; color: var(--muted); font-size: 16px; margin: 0; }

/* faq */
.faq h2 { margin-bottom: 32px; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }
.faq details { background: #fff; border-radius: 14px; padding: 20px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: #574A3D; }

/* final */
.final { background: #F3E6D6; margin-top: 90px; padding: 90px 24px; text-align: center; }
.final h2 { font-size: clamp(44px, 5.6vw, 80px); line-height: .98; margin-bottom: 30px; }
.final p { margin: 14px 0 0; font-size: 15px; color: #574A3D; }
.foot { border-top: 0; padding-bottom: 96px; }

/* sticky CTA (phones) */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px; background: rgba(247, 242, 234, .97); border-top: 1px solid var(--line); gap: 12px; align-items: center; }
.sticky-cta span { flex: 1; font-size: 14px; color: #574A3D; }
/* Shown only after the upload card scrolls away, so it never duplicates the button on screen */
@media (max-width: 900px) { .sticky-cta.is-shown { display: flex; } body.has-sticky { padding-bottom: 76px; } }
.sticky-cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
