/* Schexit marketing site — shared styles for every page. */
:root {
  --navy: #0D183D;
  --navy-2: #111f4d;
  --blue: #2563EB;
  --blue-light: #E6F0FF;
  --link: #9DBDFF;
  --muted: #B8C4E0;
  --lime: #A3E635;
  --danger: #DC2626;
  --error: #F87171;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy);
  color: #fff;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}
main { flex: 1 0 auto; display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--lime); color: var(--navy); font-weight: 700;
  padding: .6rem 1rem; border-radius: .5rem; text-decoration: none;
}
.skip:focus { top: .5rem; }

/* ---- header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 24, 61, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .8rem 2rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem; margin-right: auto;
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em;
  color: #fff; text-decoration: none;
}
.logo img { width: 34px; height: 34px; display: block; border-radius: 8px; }
.x { color: var(--lime); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a, .login {
  color: var(--blue-light); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { text-decoration: underline; }
.login {
  padding: .5rem 1.1rem; border: 1px solid var(--blue); border-radius: .6rem;
  white-space: nowrap;
}
.login:hover { background: rgba(37, 99, 235, .25); }
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--blue); border-radius: .6rem;
  cursor: pointer; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.menu-btn .bar { display: block; width: 20px; height: 2px; background: var(--blue-light); border-radius: 2px; }

@media (max-width: 720px) {
  .site-header { padding: .7rem 1rem; gap: .6rem; }
  .logo { font-size: 1.25rem; gap: .5rem; }
  .menu-btn { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-top: 1px solid rgba(37, 99, 235, .4);
    border-bottom: 1px solid rgba(37, 99, 235, .4);
    padding: .4rem 1rem .8rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem .25rem; font-size: 1.05rem; }
}

/* ---- landing page ---------------------------------------------------- */
.hero { text-align: center; padding: 4.5rem 1.25rem 3.5rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tag { font-size: 1.2rem; color: var(--blue-light); max-width: 36rem; margin: 1rem auto 1.8rem; }
.cta {
  display: inline-block; background: var(--lime); color: var(--navy);
  font-weight: 700; padding: .95rem 2.2rem; border-radius: .75rem;
  text-decoration: none; font-size: 1.1rem;
}
.cta:hover { filter: brightness(1.06); }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.cta-alt {
  display: inline-block; color: var(--blue-light); font-weight: 700;
  padding: .9rem 1.6rem; border-radius: .75rem; border: 1px solid var(--blue);
  text-decoration: none; font-size: 1.05rem;
}
.cta-alt:hover { background: rgba(37, 99, 235, .25); }
.subnote { font-size: .9rem; color: var(--muted); margin-top: .9rem; }
.pills { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.pill {
  background: rgba(37, 99, 235, .25); border: 1px solid var(--blue);
  color: var(--blue-light); border-radius: 999px; padding: .4rem 1rem;
  font-size: .88rem; text-decoration: none;
}
.pill:hover { background: rgba(37, 99, 235, .45); }

.feature {
  display: flex; align-items: center; justify-content: center; gap: 3.5rem;
  flex-wrap: wrap; padding: 4rem 1.25rem; scroll-margin-top: 80px;
}
.feature.alt { background: var(--navy-2); }
.feature.alt .copy { order: 2; }
.copy { max-width: 26rem; min-width: 0; }
.copy h2 { font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.2; }
.copy h2 em, .copy h3 em { color: var(--lime); font-style: normal; }
.copy h3 { font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.25; margin-top: 2rem; scroll-margin-top: 90px; }
.copy p { color: var(--blue-light); margin-top: .9rem; line-height: 1.55; }
.copy ul { color: var(--blue-light); margin: .9rem 0 0; padding-left: 1.2rem; line-height: 1.7; }
.shot {
  width: min(340px, 86vw); border-radius: 1.4rem; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(37, 99, 235, .4);
}
.shot img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) {
  .feature { gap: 2rem; padding: 3rem 1.25rem; }
  .feature.alt .copy { order: 0; }
}

.band { padding: 4rem 1.25rem; scroll-margin-top: 80px; }
.band.alt { background: var(--navy-2); }
.band-inner { max-width: 46rem; margin: 0 auto; }
.band h2 { font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.2; text-align: center; }
.band .lead { color: var(--blue-light); text-align: center; max-width: 36rem; margin: .9rem auto 0; font-size: 1.1rem; }

.platforms {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem;
}
.platforms li, .price-card {
  background: rgba(37, 99, 235, .14); border: 1px solid rgba(37, 99, 235, .55);
  border-radius: 1rem; padding: 1.2rem 1.3rem;
}
.platforms strong { display: block; font-size: 1.1rem; }
.platforms span { display: block; color: var(--blue-light); font-size: .95rem; margin-top: .3rem; }
.badge-status {
  display: inline-block; margin-top: .7rem; font-size: .8rem; font-weight: 700;
  color: var(--navy); background: var(--lime); border-radius: 999px; padding: .15rem .7rem;
}
/* .platforms span is display:block; keep the status pill pill-sized. */
.platforms .badge-status { display: inline-block; color: var(--navy); }
.badge-status.soon { background: transparent; color: var(--blue-light); border: 1px solid var(--blue-light); }

.price-card { max-width: 30rem; margin: 2rem auto 0; text-align: center; padding: 2rem 1.5rem; }
.price-card .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--lime); }
.price-card .price-note { color: var(--blue-light); font-weight: 600; }
.price-card ul { text-align: left; color: var(--blue-light); margin: 1.2rem auto 1.5rem; padding-left: 1.2rem; line-height: 1.7; max-width: 24rem; }
.fineprint { color: var(--muted); font-size: .9rem; text-align: center; max-width: 36rem; margin: 1.2rem auto 0; }

.faq { margin-top: 2rem; }
.faq details { border-bottom: 1px solid rgba(37, 99, 235, .45); }
.faq details:first-child { border-top: 1px solid rgba(37, 99, 235, .45); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 1rem 2rem 1rem .25rem;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  color: var(--lime); font-size: 1.4rem; font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--blue-light); padding: 0 .25rem 1.1rem; line-height: 1.6; }

.closer { text-align: center; padding: 4.5rem 1.25rem; }
.closer h2 { font-size: 2.1rem; letter-spacing: -.02em; line-height: 1.2; }

/* ---- inner pages (contact, delete account, legal, 404) ---------------- */
.page { max-width: 34rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; width: 100%; }
.page.wide { max-width: 46rem; }
.page h1 { letter-spacing: -.02em; line-height: 1.2; font-size: clamp(1.7rem, 5vw, 2.2rem); }
.page p, .page li { color: var(--blue-light); line-height: 1.6; }
.page p { margin-top: .9rem; }
.page ul { margin-top: .7rem; padding-left: 1.3rem; }
.page li { margin-top: .35rem; }
.page strong { color: #fff; }
.page .sub { color: var(--blue-light); }

.prose h2 { margin-top: 2.2rem; font-size: 1.2rem; color: #fff; scroll-margin-top: 80px; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.prose .toc { margin-top: 1.5rem; padding: 1rem 1.2rem; background: var(--navy-2); border-radius: .8rem; }
.prose .toc ul { margin-top: .4rem; columns: 2; column-gap: 2rem; }
@media (max-width: 520px) { .prose .toc ul { columns: 1; } }
.callout {
  margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--lime);
  background: var(--navy-2); border-radius: 0 .8rem .8rem 0;
}
.callout p:first-child { margin-top: 0; }

.center { text-align: center; }
.big-code { font-size: clamp(3.5rem, 18vw, 6rem); font-weight: 800; color: var(--lime); letter-spacing: -.04em; line-height: 1; }

/* ---- forms ----------------------------------------------------------- */
form { margin-top: 1.5rem; }
label { display: block; font-weight: 600; margin: 1rem 0 .3rem; font-size: .95rem; color: #fff; }
input, textarea {
  width: 100%; padding: .75rem .9rem; border-radius: .6rem; border: 1px solid var(--blue);
  background: var(--navy-2); color: #fff; font: inherit;
}
textarea { min-height: 9rem; resize: vertical; }
textarea.short { min-height: 5.5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.2rem; }
.check input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-top: .25rem; }
.check label { margin: 0; font-weight: 400; color: var(--blue-light); }
.btn {
  margin-top: 1.4rem; background: var(--lime); color: var(--navy); font-weight: 700;
  border: 0; padding: .9rem 2.2rem; border-radius: .75rem; font-size: 1.05rem;
  cursor: pointer; font-family: inherit; max-width: 100%;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn.danger { background: var(--danger); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 1rem; font-weight: 600; min-height: 1.5em; }
.status.ok { color: var(--lime); }
.status.err { color: var(--error); }
.status a { color: inherit; }

/* ---- footer ---------------------------------------------------------- */
.site-footer {
  padding: 2rem 1.25rem; text-align: center; color: var(--muted); font-size: .9rem;
  border-top: 1px solid rgba(37, 99, 235, .25);
}
.site-footer ul {
  list-style: none; padding: 0; margin: .6rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem;
}
.site-footer a { color: var(--blue-light); display: inline-block; padding: .3rem 0; }

/* ---- /get: store badges ------------------------------------------------- */
.get-page { text-align: center; }
.store-badges {
  display: flex; flex-wrap: wrap; gap: 1rem 1.25rem;
  justify-content: center; align-items: center; margin: 1.75rem 0 2rem;
}
.store-badge { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.store-badge img { display: block; height: 60px; width: auto; }
/* Google's artwork has built-in padding; scale it so both badges match. */
.store-badge img.gp { height: 90px; margin: -15px -14px; }
.store-badge.soon img { opacity: .45; }
.store-badge .soon-label {
  margin-top: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue-light);
}
.fineprint.legal { font-size: .75rem; margin-top: 2rem; }
/* Smaller badges inside the home page's platform cards. */
.store-badge.sm { display: inline-block; margin-top: .8rem; }
.store-badge.sm img { height: 40px; }
.store-badge.sm img.gp { height: 60px; margin: -10px -9px; }
