/* =========================================================
   24 Hour Site sales site – styles
   To change the look, edit the colours in :root below.
   ========================================================= */
:root {
  --ink: #0a1033;          /* main text + dark sections */
  --ink-soft: #46536b;     /* secondary text */
  --brand: #0b3bff;        /* buttons, links */
  --brand-dark: #062bc4;
  --highlight: #ffd23f;    /* yellow highlight */
  --bg: #ffffff;
  --bg-alt: #f4f6fb;       /* light grey sections */
  --line: #dde3ee;
  --good: #137a45;
  --bad: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,26,46,.06), 0 8px 24px rgba(15,26,46,.08);
  --max: 1120px;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark a { color: var(--highlight); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 46rem; }
.section-dark .lead { color: #c9d2e3; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
.section-dark .eyebrow { color: var(--highlight); }
.mark { background: linear-gradient(transparent 60%, var(--highlight) 60%); padding: 0 .1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-yellow { background: var(--highlight); color: var(--ink); }
.btn-yellow:hover { background: #ffdc66; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font: 800 1.45rem/1 var(--font-head); color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo-mark { display: block; width: 42px; }
.logo-mark svg { width: 42px; height: 35px; }
.logo-24 { color: var(--brand); }
.site-footer .logo-mark rect, .site-footer .logo-mark path[stroke] { stroke: #fff; }
.site-footer .logo-24 { color: #7f9bff; }
.logo:hover { color: var(--ink); }
.nav-toggle { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 2px solid var(--line); border-radius: 10px; padding: .5rem .75rem; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; min-height: 44px; }
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 16px 1rem; }
.site-nav a { display: block; padding: .8rem .25rem; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--bg-alt); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .btn { margin-top: .75rem; width: 100%; color: #fff; border: 0; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; padding: 0; }
  .site-nav a { border: 0; padding: .5rem .8rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--bg-alt); }
  .site-nav .btn { margin: 0 0 0 .5rem; width: auto; padding: .6rem 1.1rem; min-height: 42px; }
  .site-nav .btn:hover { background: var(--brand-dark); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 5rem); background:
  radial-gradient(1000px 400px at 85% -10%, #e3eaff 0%, transparent 60%),
  radial-gradient(700px 300px at -10% 110%, #fff4c7 0%, transparent 60%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .price-tag { display: inline-block; background: var(--ink); color: var(--highlight); padding: .05em .35em; border-radius: 10px; transform: rotate(-2deg); }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; }
.tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #e1f5ea; color: var(--good); display: grid; place-items: center; margin-top: .15rem; }
.tick svg { width: 14px; height: 14px; }
.cross { background: #fbe4e2; color: var(--bad); }

.browser { background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(15,26,46,.35), 0 0 0 1px var(--line); overflow: hidden; }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e3; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--ink-soft); background: #fff; padding: 2px 10px; border-radius: 6px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock { padding: 18px; display: grid; gap: 12px; }
.mock-hero { border-radius: 10px; background: linear-gradient(135deg, #1f2d4d, #2c4a8a); color: #fff; padding: 22px 18px; }
.mock-hero b { display: block; font: 800 1.15rem/1.2 var(--font-head); margin-bottom: 6px; }
.mock-hero i { font-style: normal; font-size: .8rem; opacity: .8; }
.mock-btns { display: flex; gap: 8px; margin-top: 12px; }
.mock-btns span { font-size: .72rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--highlight); color: var(--ink); }
.mock-btns span + span { background: rgba(255,255,255,.15); color: #fff; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards div { height: 58px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); }
.mock-lines div { height: 8px; border-radius: 4px; background: var(--bg-alt); margin-bottom: 6px; }
.mock-lines div:nth-child(2) { width: 80%; } .mock-lines div:nth-child(3) { width: 60%; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: #e8eeff; color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--highlight); font: 800 1.1rem var(--font-head); margin-bottom: 1rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.steps .when { display: inline-block; margin-top: .75rem; font-size: .85rem; font-weight: 700; color: var(--brand); }

/* Included / not included */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }

/* Pricing */
.price-cards { display: grid; gap: 1.25rem; margin-top: 2rem; align-items: start; }
@media (min-width: 860px) { .price-cards { grid-template-columns: 1.15fr .85fr; } }
.price-card { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.25rem); }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.price-card .badge { position: absolute; top: -14px; left: 24px; background: var(--highlight); color: var(--ink); font-weight: 800; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; }
.price { font: 800 clamp(2.6rem, 7vw, 3.4rem)/1 var(--font-head); margin: .25rem 0 .25rem; }
.price small { font: 600 1rem var(--font-body); color: var(--ink-soft); }
.price-note { color: var(--ink-soft); margin-bottom: 1.25rem; }
.addons { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.addons th, .addons td { text-align: left; padding: .85rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.addons td:last-child, .addons th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.addons td span { display: block; font-size: .92rem; color: var(--ink-soft); font-weight: 400; }

/* Not included box */
.not-box { border: 2px dashed #e7b4af; background: #fff8f7; border-radius: var(--radius); padding: 1.5rem; }
.not-box h3 { color: var(--bad); }

/* FAQ */
.faq { max-width: 50rem; margin: 2rem auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }
.faq h2 { margin-top: 2.5rem; font-size: 1.4rem; }

/* Examples */
.example { display: grid; gap: 1.5rem; align-items: center; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .example { grid-template-columns: 1.3fr 1fr; padding: 2rem; } .example:nth-child(even) .example-shot { order: 2; } }
.example-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-alt); }
.example-shot iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; max-width: none; border: 0; transform-origin: 0 0; pointer-events: none; }
.example-shot .shot-link { position: absolute; inset: 0; z-index: 2; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); margin: 0 .35rem .35rem 0; }
.demo-note { font-size: .9rem; color: var(--ink-soft); background: #fff8e1; border: 1px solid #f5df9b; padding: .75rem 1rem; border-radius: 10px; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
label, legend { font-weight: 700; display: block; margin-bottom: .35rem; }
.hint { display: block; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 10px; padding: .75rem .9rem; min-height: 48px;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px #d5e0ff; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; padding: .6rem .75rem; border: 2px solid var(--line); border-radius: 10px; margin-bottom: .5rem; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--brand); flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--brand); background: #f3f6ff; }
.choice b { font-weight: 700; }
.hidden-field { position: absolute; left: -9999px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.side-box { background: var(--bg-alt); border-radius: 16px; padding: 1.5rem; }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr .8fr; align-items: start; } }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: 24px; padding: clamp(2rem, 6vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe7ff; max-width: 38rem; margin-inline: auto; }

/* Prose pages (privacy, terms) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.todo { background: #fff3cd; border: 1px solid #f0d48a; padding: .1rem .35rem; border-radius: 4px; font-size: .95em; }

/* Page header */
.page-head { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-head .lead { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2e3; padding: 3rem 0 2rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer .logo { color: #fff; margin-bottom: .75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .875rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
