/* The public pages: home, privacy, terms and 404. The account and logs
   pages use style.css; both share these colors. */

:root {
  color-scheme: dark;
  --bg: #0f1114;
  --bg-2: #15181c;
  --card: #1c2025;
  --card-2: #23282e;
  --line: #2c3239;
  --text: #f2f4f6;
  --muted: #9aa4ae;
  --accent: #e0483e;
  --accent-2: #ff6b5f;
  --good: #3fa66b;
  --purple: #8b5cf6;
  --warn: #d9a43a;
  --radius: 16px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 650;
  text-decoration: none;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--line);
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: #2b3138; }
.btn.primary { background: var(--accent); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-2); }
.btn.small { padding: 8px 14px; font-size: .92rem; }
.btn.ghost { background: transparent; }

/* Header ---------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 17, 20, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}
.logo img { width: 32px; height: 32px; }
.logo small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.site-nav a:hover { color: var(--text); }
.head-cta { display: flex; gap: 10px; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .head-cta { margin-left: auto; }
  .logo small { display: none; }
}
@media (max-width: 420px) {
  .head-cta .btn.ghost { display: none; }
}

/* Hero ------------------------------------------------------------------ */

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(224, 72, 62, .22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(139, 92, 246, .14), transparent 60%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { font-size: 1.2rem; color: #c9d0d6; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero .fine { font-size: .9rem; color: var(--muted); }
.hero-shots { position: relative; display: flex; justify-content: center; }

.phone {
  width: 260px;
  border-radius: 34px;
  padding: 10px;
  background: #050607;
  border: 1px solid #2a2f35;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.phone img { border-radius: 25px; width: 100%; height: auto; }
.hero-shots .phone.back {
  position: absolute;
  transform: translate(42%, 6%) rotate(5deg) scale(.88);
  opacity: .9;
}
.hero-shots .phone.front { position: relative; transform: translate(-14%, 0) rotate(-3deg); }

@media (max-width: 860px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-shots { min-height: 0; }
  .hero-shots .phone.back { display: none; }
  .hero-shots .phone.front { transform: none; width: 240px; }
}

/* Trust strip ----------------------------------------------------------- */

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.strip div { display: flex; flex-direction: column; gap: 2px; }
.strip strong { font-size: 1.05rem; }
.strip span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }

/* Sections -------------------------------------------------------------- */

section.block { padding: 88px 0; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.feature p { color: var(--muted); font-size: .98rem; }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(224, 72, 62, .14);
  color: var(--accent-2);
}
.icon.green { background: rgba(63, 166, 107, .15); color: #5fcf8d; }
.icon.purple { background: rgba(139, 92, 246, .16); color: #b49bff; }
.icon.amber { background: rgba(217, 164, 58, .15); color: #f0c060; }
.icon svg { width: 22px; height: 22px; }

/* How it works ---------------------------------------------------------- */

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; } }

/* Showcase -------------------------------------------------------------- */

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.showcase figure { margin: 0; }
.showcase .phone { width: 100%; }
.showcase figcaption { margin-top: 14px; font-size: .95rem; color: var(--muted); text-align: center; }
.showcase figcaption strong { display: block; color: var(--text); }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .showcase { gap: 14px; } .showcase .phone { padding: 6px; border-radius: 22px; } .showcase .phone img { border-radius: 16px; } }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.split.flip { grid-template-columns: 1.15fr 1fr; }
.split.flip .split-media { order: -1; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 10px 0 16px; }
.split p { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  background: #0b0c0e;
}
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: #1a1d21; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f46; }
.paper { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); background: #fff; }
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .split-media { order: 0; }
}

/* Pricing --------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h3 { font-size: 1.2rem; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .ticks { margin: 4px 0 8px; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 22px; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }

/* FAQ ------------------------------------------------------------------- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; }

/* Call to action -------------------------------------------------------- */

.cta-band {
  margin: 0 auto;
  max-width: var(--wrap);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(255, 255, 255, .12), transparent 70%),
    linear-gradient(135deg, #b9342b, #e0483e 55%, #f06b4f);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.cta-band p { margin: 12px auto 26px; max-width: 36em; color: #ffe9e6; }
.cta-band .btn { background: #fff; color: #1a1a1a; border-color: #fff; }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }

/* Footer ---------------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); margin-top: 88px; padding: 44px 0 36px; color: var(--muted); font-size: .93rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-foot h4 { color: var(--text); margin: 0 0 10px; font-size: .95rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }

/* Legal pages ----------------------------------------------------------- */

.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 0; }
.doc h1 { font-size: 2.3rem; font-weight: 800; margin-bottom: 8px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.doc p, .doc li { color: #cfd5db; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .updated { color: var(--muted); margin-bottom: 28px; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.lost h1 { font-size: 3rem; font-weight: 800; margin-bottom: 12px; }
.lost p { color: var(--muted); margin-bottom: 24px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Contact form */
.contact-form { display: grid; gap: 14px; margin-top: 8px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.contact-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 650; }
.contact-form .trap { position: absolute; left: -9999px; }
#contact-status.ok { color: #5fcf8d; }
#contact-status.bad { color: #ff8a80; }
.doc ol { padding-left: 22px; }
.doc ol li { color: #cfd5db; margin: 8px 0; }
.site-foot .logo { color: var(--text); }
