/* =====================================================================
   HelloDrop Repricer · public pages (landing, login, privacy)
   Uses tokens from theme.css. Calm Pro: light, flat, one accent.
   ===================================================================== */
body.site { font-size: 15px; line-height: 1.6; background: #fff; }
body.site main { max-width: none; margin: 0; padding: 0; }
:where(body.site) :where(h1, h2, h3) { color: var(--ink); margin: 0; }
:where(body.site) :where(p) { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--p-h); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link:hover { color: var(--p-d); }
.switch-link { color: var(--p-h) !important; font-weight: 700 !important; text-decoration: none !important; }
.switch-link:hover { text-decoration: underline !important; }
body.site .btn { font-size: 14px; padding: 9px 16px; }
body.site .btn.big { font-size: 15px; padding: 12px 20px; border-radius: 10px; }
body.site .btn .ic { width: 16px; height: 16px; }
.btn.inv { background: #fff; color: var(--ink); border-color: #fff; }
.btn.inv:hover { background: #eef2ff; border-color: #eef2ff; color: var(--p-d); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 16px; letter-spacing: -.01em; }
.logo img { border-radius: 8px; border: 1px solid var(--line); }
.logo b { font-weight: 800; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 8px; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--sunk); color: var(--ink); }
.nav-cta { display: flex; gap: 8px; }
body.site:has(main) .nav { border-bottom-color: var(--line); }

/* eyebrow / kicker */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--p-d); background: var(--p-soft); border: 1px solid #c7d2fe; padding: 5px 12px 5px 10px; border-radius: 999px; }
.eyebrow .ic { width: 14px; height: 14px; color: var(--p); }
.eyebrow.inv { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #e0e7ff; }
.eyebrow.inv .ic { color: #c7d2fe; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p); margin-bottom: 10px; }

/* hero */
.hero { padding: 72px 0 64px; background:
  radial-gradient(700px 360px at 85% 10%, rgba(99,102,241,.10), transparent 70%),
  linear-gradient(#fff, #f8faff); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 20px 0 18px; text-wrap: balance; }
.hero h1 { position: relative; isolation: isolate; }
.hl { color: var(--p); position: relative; white-space: nowrap; }
.hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: #c7d2fe; border-radius: 4px; z-index: -1; }
.lead { font-size: 18px; line-height: 1.6; color: #475569; max-width: 560px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .ic { width: 16px; height: 16px; color: #059669; stroke-width: 2.6; }

/* product mock */
.mock-app { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 24px 60px -12px rgba(30,41,59,.18); overflow: hidden; font-size: 13px; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); transition: transform .5s var(--ease); }
.mock-app:hover { transform: none; }
.ma-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--sunk); }
.ma-top span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.ma-top em { margin-left: 10px; font-style: normal; font-weight: 700; font-size: 12px; color: var(--muted); }
.ma-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.ma-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ma-kpis small { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ma-kpis b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.ma-kpis em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ma-kpis em.up { color: #059669; }
.ma-rows { padding: 0 14px; }
.ma-row { display: grid; grid-template-columns: 8px 1fr auto auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #eef2f6; animation: maIn .6s var(--ease) both; }
.ma-row:nth-child(2) { animation-delay: .12s; } .ma-row:nth-child(3) { animation-delay: .24s; }
.ma-row b { display: block; font-weight: 700; font-size: 13px; }
.ma-row small { color: var(--muted); font-size: 11.5px; }
.ma-row s { color: var(--faint); font-size: 12.5px; }
.ma-row strong { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; min-width: 70px; justify-content: flex-end; }
.ma-row strong .ic { width: 15px; height: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.g, strong.g { color: #059669; } .dot.g { background: #10b981; }
.dot.o, strong.o { color: #ea580c; } .dot.o { background: #f97316; }
.dot.f, strong.f { color: #c026d3; } .dot.f { background: #d946ef; }
.ma-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin-top: 4px; border-top: 1px solid var(--line); background: var(--sunk); }
.ma-foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; font-size: 12px; }
.ma-foot .ic { width: 14px; height: 14px; color: #059669; }
.ma-btn { background: var(--p); color: #fff; font-weight: 700; font-size: 12.5px; padding: 7px 14px; border-radius: 8px; }
@keyframes maIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* strip */
.strip { border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in > div { padding: 26px 20px; border-left: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.strip-in > div:first-child { border-left: 0; padding-left: 0; }
.strip b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.strip span { color: var(--muted); font-weight: 600; font-size: 14px; line-height: 1.3; }

/* sections */
body.site .sec { display: block; margin: 0; padding: 88px 0; font-size: inherit; font-weight: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
body.site .sec.alt { background: var(--sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-h.left { text-align: left; margin: 0; }
.sec-h h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.sec-h p { color: #475569; font-size: 17px; margin-top: 14px; }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps3 li { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; }
.steps3 .n { position: absolute; top: 22px; right: 24px; font-size: 44px; font-weight: 800; color: #eef2ff; letter-spacing: -.04em; line-height: 1; }
.steps3 li > i .ic, .feat article > i .ic, .legal-grid section > i .ic { width: 22px; height: 22px; }
.steps3 li > i, .feat article > i, .legal-grid section > i { width: 44px; height: 44px; border-radius: 12px; background: var(--p-soft); color: var(--p); margin-bottom: 18px; }
.steps3 h3, .feat h3 { font-size: 17px; font-weight: 750; letter-spacing: -.015em; margin-bottom: 8px; }
.steps3 p, .feat p { color: #475569; font-size: 15px; }

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.feat article:hover { border-color: #c7d2fe; box-shadow: 0 12px 30px -10px rgba(79,70,229,.18); transform: translateY(-2px); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; font-weight: 700; font-size: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--p-d); }
.faq summary .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 2px 20px; color: #475569; }

/* cta */
.cta { padding: 0 0 88px; }
.cta-in { background: var(--ink); color: #fff; border-radius: 20px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background-image: radial-gradient(500px 220px at 90% 0%, rgba(99,102,241,.45), transparent 70%); }
.cta h2 { color: #fff !important; font-size: 28px; letter-spacing: -.025em; font-weight: 800; }
.cta p { color: #cbd5e1; margin-top: 6px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; text-align: left; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex: 1; justify-content: center; flex-wrap: wrap; }
.foot nav a, .foot nav .link { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot nav a:hover, .foot nav .link:hover { color: var(--p-d); text-decoration: underline; }

/* ---------- login ---------- */
body.auth { background: #fff; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 1fr) 1fr; }
.auth-form { display: flex; flex-direction: column; padding: 32px 48px; }
.auth-card { width: 100%; max-width: 380px; margin: auto; padding: 32px 0; }
.auth-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.auth-card > p.muted { margin: 6px 0 22px; font-size: 15px; }
.auth-card .field { display: grid; gap: 6px; margin: 0 0 16px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.auth-card .field input { padding: 11px 13px; font-size: 15px; border-radius: 10px; }
.auth-card .notice { margin: 0 0 16px; max-width: none; background: var(--p-soft); border-color: #c7d2fe; color: var(--p-d); }
.auth-card .btn.primary { width: 100%; margin-top: 4px; }
.auth-card .err-msg { min-height: 20px; margin: -4px 0 8px; font-size: 13px; }
.auth-switch { text-align: center; margin-top: 18px !important; color: var(--muted); font-size: 14px; }
.auth-legal { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; text-align: center; }
.auth-legal .ic { width: 13px; height: 13px; }
.auth-legal a { color: var(--ink-2); }
.auth-art { position: relative; overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: center; padding: 48px; background-image: radial-gradient(600px 400px at 100% 0%, rgba(99,102,241,.5), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(14,165,233,.22), transparent 70%); }
.aa-in { max-width: 460px; margin: 0 auto; }
.auth-art h2 { color: #fff !important; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 14px; }
.auth-art p { color: #cbd5e1; font-size: 17px; }
.aa-cards { display: grid; gap: 12px; margin-top: 36px; }
.aa-c { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(6px); animation: maIn .7s var(--ease) both; }
.aa-c:nth-child(2) { animation-delay: .15s; margin-left: 28px; } .aa-c:nth-child(3) { animation-delay: .3s; margin-left: 56px; }
.aa-c > i { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); color: #a5b4fc; }
.aa-c > i .ic { width: 19px; height: 19px; }
.aa-c b { display: block; font-size: 15px; font-weight: 750; color: #fff; }
.aa-c small { color: #94a3b8; font-size: 13px; }

/* ---------- privacy / legal ---------- */
.legal { padding: 64px 24px 88px !important; max-width: 1000px !important; margin: 0 auto !important; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.035em; font-weight: 800; }
.legal .lead { margin: 14px 0 40px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.legal-grid section { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.legal-grid h2 { font-size: 17px; font-weight: 750; margin-bottom: 8px; letter-spacing: -.015em; }
.legal-grid p { color: #475569; font-size: 14.5px; }
.legal-contact { display: flex; align-items: center; gap: 8px; margin-top: 28px !important; color: var(--ink-2); font-weight: 600; }
.legal-contact .ic { color: var(--p); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .mock-app { transform: none; max-width: 560px; }
  .feat { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .nav-cta .btn:not(.primary) { display: none; }
  .hero { padding: 44px 0 48px; }
  .lead { font-size: 16.5px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in > div { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); }
  .strip-in > div:nth-child(-n+2) { border-top: 0; }
  body.site .sec { padding: 60px 0; }
  .steps3, .feat, .legal-grid { grid-template-columns: 1fr; }
  .cta-in { padding: 32px 26px; }
  .foot nav { justify-content: flex-start; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .mock-app { transform: none; } }
