/* CaseOnGo landing — sales site design.
   Palette from whitelabels/WL1: primary #1D4ED8, dark #1E3A8A,
   light #60A5FA, accent #0EA5E9, neutrals = slate. */

:root {
  --lp-accent: #1d4ed8;
  --lp-accent-strong: #1e3a8a;
  --lp-accent-soft: #eff6ff;
  --lp-sky: #0ea5e9;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-alt: #f8fafc;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 12px 32px rgba(30, 58, 138, 0.12);
  --wrap: 1120px;
}

body { color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }

p { margin: 0; }

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}

.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 30px; width: auto; }

.site-nav { display: flex; gap: 24px; margin-left: 8px; }
.site-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover { color: var(--lp-accent); }

.site-header__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn--primary { background: var(--lp-accent); color: #fff; }
.btn--primary:hover { background: var(--lp-accent-strong); }
.btn--ghost { border-color: #cbd5e1; color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--lp-accent); color: var(--lp-accent); }
.btn--big { padding: 13px 26px; font-size: 16px; border-radius: 11px; }
.btn--onblue { background: #fff; color: var(--lp-accent-strong); }
.btn--onblue:hover { background: var(--lp-accent-soft); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(96, 165, 250, 0.16), transparent 60%),
    radial-gradient(800px 420px at -10% 20%, rgba(14, 165, 233, 0.10), transparent 55%),
    linear-gradient(#fff, var(--bg-alt));
  border-bottom: 1px solid var(--line);
}

.hero__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px; align-items: center;
  padding: 72px 0 76px;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--lp-accent); border-radius: 2px;
}

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--lp-accent); }

.hero__sub {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.6vw, 1.17rem); line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.hero__art { min-width: 0; }
.hero__art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(30, 58, 138, 0.16)); }

/* ── Stat strip ──────────────────────────────────────────────────────── */

.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 26px 0;
}
.strip__item { text-align: center; }
.strip__item b { display: block; font-size: 17px; color: var(--ink); }
.strip__item span { font-size: 13.5px; color: var(--muted); }

/* ── Sections ────────────────────────────────────────────────────────── */

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--blue {
  background: linear-gradient(140deg, var(--lp-accent-strong), var(--lp-accent) 65%, var(--lp-sky));
  color: #fff;
}

.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--lp-accent); margin-bottom: 10px;
}
.section--blue .section__eyebrow { color: #bfdbfe; }
.section__head h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; }
.section__head p { margin-top: 14px; font-size: 1.05rem; color: var(--ink-soft); }
.section--blue .section__head p { color: #dbeafe; }

/* ── Module grid ─────────────────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
  display: flex; flex-direction: column; gap: 9px;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #bfdbfe; }

.card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lp-accent-soft); color: var(--lp-accent);
  margin-bottom: 4px;
}
.card__icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 16.5px; font-weight: 650; }
.card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.card a { font-size: 13.5px; font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 6px; }
.card a:hover { text-decoration: underline; }

.badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
  background: #ecfeff; color: #0369a1; border: 1px solid #bae6fd;
  vertical-align: 3px; margin-left: 8px;
}

/* ── Alternating feature rows ────────────────────────────────────────── */

.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
  padding: 40px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__art { order: 2; }

.feature__art svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}

.feature__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; margin-bottom: 14px; }
.feature__body > p { font-size: 15.5px; color: var(--ink-soft); }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  position: relative; padding-left: 30px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink-soft);
}
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--lp-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

/* ── Steps ───────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--lp-accent); margin-bottom: 12px;
}
.step h3 { font-size: 15.5px; font-weight: 650; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* ── Add-ons ─────────────────────────────────────────────────────────── */

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.addon__tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0369a1; background: #ecfeff; border: 1px solid #bae6fd;
  padding: 3px 10px; border-radius: 999px;
}
.addon h3 { font-size: 17px; font-weight: 700; }
.addon p { font-size: 14px; line-height: 1.62; color: var(--ink-soft); }
.addon ul { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 5px; }

/* ── Trust / security ────────────────────────────────────────────────── */

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust__item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 22px;
}
.trust__item h3 { font-size: 15.5px; font-weight: 650; margin-bottom: 8px; color: #fff; }
.trust__item p { font-size: 13.8px; line-height: 1.62; color: #dbeafe; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 0; font-size: 15px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* ── Contact ─────────────────────────────────────────────────────────── */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }

.contact__pitch h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; }
.contact__pitch > p { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); }
.contact__alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.contact__alt a { font-weight: 600; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field textarea {
  width: 100%; border: 1.5px solid #cbd5e1; border-radius: 9px;
  padding: 10px 12px; font: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff; transition: border-color 0.15s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--lp-accent); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; margin-top: 16px; }
.form-msg { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.form-msg--ok { color: #15803d; }
.form-msg--err { color: #b91c1c; }
.form-msg[hidden] { display: none; }

/* ── Final CTA band ──────────────────────────────────────────────────── */

.cta-band { text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: #fff; }
.cta-band p { margin: 14px auto 0; max-width: 34em; font-size: 15.5px; color: #dbeafe; }
.cta-band .btn { margin-top: 28px; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer { background: #0f172a; color: #94a3b8; }
.site-footer__in {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  padding: 30px 0;
  font-size: 13.5px;
}
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__links { display: flex; gap: 20px; }

/* ── Contact form done state ─────────────────────────────────────────── */

.form-done { text-align: center; padding: 26px 8px; }
.form-done h3 { font-size: 18px; font-weight: 700; color: #15803d; margin-bottom: 8px; }
.form-done p { font-size: 14.5px; color: var(--ink-soft); }

/* ── Platform guide page ─────────────────────────────────────────────── */

.guide-hero {
  background: linear-gradient(#fff, var(--bg-alt));
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.guide-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.guide-hero p { margin-top: 14px; max-width: 46em; font-size: 1.05rem; color: var(--ink-soft); }

.guide { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 52px; padding: 40px 0 90px; }

.guide-toc {
  position: sticky; top: 84px; align-self: start;
  max-height: calc(100vh - 108px); overflow-y: auto;
  padding-right: 8px;
}
.guide-toc h2 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.guide-toc ol { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
.guide-toc a {
  display: block; padding: 5px 10px; border-radius: 7px;
  font-size: 13.5px; color: var(--ink-soft); text-decoration: none;
  border-left: 2px solid transparent;
}
.guide-toc a:hover { background: var(--lp-accent-soft); color: var(--lp-accent-strong); }

.gsec { padding: 34px 0 6px; scroll-margin-top: 84px; }
.gsec + .gsec { border-top: 1px solid var(--line); margin-top: 26px; }
.gsec h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.gsec .glede { font-size: 15.5px; color: var(--ink-soft); max-width: 52em; margin-bottom: 18px; }
.gsec h3 { font-size: 1.06rem; font-weight: 650; margin: 26px 0 10px; }
.gsec p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; max-width: 62em; }
.gsec p b, .gsec li b { color: var(--ink); }
.gsec ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 7px; }
.gsec li { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

.gnote {
  border-left: 3px solid var(--lp-accent);
  background: var(--lp-accent-soft);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 14px; line-height: 1.6; color: var(--lp-accent-strong);
  max-width: 62em;
}

.gtable-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.gtable { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13.8px; }
.gtable th {
  text-align: left; padding: 10px 14px;
  background: var(--bg-alt); color: var(--ink);
  font-weight: 650; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.gtable td { padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.gtable tr:last-child td { border-bottom: 0; }
.gtable td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

.gcta {
  margin-top: 48px; padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--lp-accent-strong), var(--lp-accent));
  color: #fff;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.gcta h2 { font-size: 1.25rem; font-weight: 700; }
.gcta p { margin-top: 6px; font-size: 14px; color: #dbeafe; }

@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; gap: 8px; }
  .guide-toc { position: static; max-height: none; }
}

/* ── Illustration shared classes (inline SVG mockups) ────────────────── */

.art .frame { fill: #fff; stroke: #dbe4f0; }
.art .chrome { fill: #f1f5f9; }
.art .dot { fill: #cbd5e1; }
.art .line { fill: #e2e8f0; }
.art .line-soft { fill: #eef2f7; }
.art .panel { fill: #f8fafc; stroke: #e2e8f0; }
.art .accent { fill: var(--lp-accent); }
.art .accent-soft { fill: #dbeafe; }
.art .accent-line { stroke: var(--lp-accent); }
.art .sky { fill: var(--lp-sky); }
.art .ok { fill: #16a34a; }
.art .ok-soft { fill: #dcfce7; }
.art .warn { fill: #f59e0b; }
.art .warn-soft { fill: #fef3c7; }
.art .txt { fill: #94a3b8; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 56px; }
  .grid, .addons, .trust { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 26px; }
  .feature--flip .feature__art { order: 0; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .strip__in { grid-template-columns: 1fr 1fr; gap: 14px; }
  .site-nav { display: none; }
}

@media (max-width: 560px) {
  .grid, .addons, .trust, .steps, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero__actions .btn { width: 100%; }
}
