/* SwiftCase Sites: the marketing site's one stylesheet. The colours and type are the one-pagers'
   (docs/service-one-pager.html). No scripts, and nothing from another site: the CSP allows only
   this site's own files (infra/lib/marketing-stack.ts). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --purple: #7c3aed;
  --purple-strong: #6d28d9;
  --cyan: #46c5f0;
  --tint: #f7f3ff;
  --tint-line: #e9dffd;
  --night: #090c15;
  --night-text: #cbd5e1;
  --page: #ffffff;
  --soft: #f8fafc;
  --radius: 14px;
  --wide: 1120px;
  --heading: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--purple-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--heading); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--heading); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--purple); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 12px 20px; border-radius: 10px; border: 0; line-height: 1.2;
}
.button:hover { background: var(--purple-strong); color: #fff; }
.button.small { padding: 9px 15px; font-size: 15px; }
.button.quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button.quiet:hover { border-color: var(--ink); }
.brand, .nav .button { white-space: nowrap; }
.nav .button, .nav .button:hover { color: #fff; }
@media (max-width: 820px) {
  .nav a:not(.button) { display: none; }
}
@media (max-width: 380px) {
  .brand { font-size: 17px; }
  .brand svg { width: 26px; height: 26px; }
}

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--tint) 0%, var(--page) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--purple-strong); margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 56px); font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, var(--purple), #3b9fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; margin-top: 20px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.small-print { font-size: 14px; color: var(--muted); margin-top: 14px; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* The chat */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 18px 50px -24px rgba(15, 23, 42, 0.35); display: flex; flex-direction: column; gap: 10px; }
.chat .label { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.chat .ask, .chat .reply { padding: 10px 14px; font-size: 15px; line-height: 1.45; max-width: 88%; }
.chat .ask { align-self: flex-end; background: var(--night); color: #f1f5f9; border-radius: 14px 14px 4px 14px; }
.chat .reply { align-self: flex-start; background: #f1f5f9; color: var(--body); border-radius: 14px 14px 14px 4px; }

/* Sections */
.section { padding: 80px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.night { background: var(--night); color: var(--night-text); }
.section.night h2, .section.night h3 { color: #fff; }
.section-head { max-width: 44em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 18px; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { background: var(--tint); border: 1px solid var(--tint-line); border-radius: var(--radius); padding: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; font-weight: 700; font-size: 15px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { padding-left: 30px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.points b { color: var(--ink); }
.night .points b { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { border: 1px solid #d8c8fa; background: #fbf9ff; color: var(--ink); border-radius: 999px; padding: 5px 13px; font-size: 14.5px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, 0.03); }
.card h3 { font-size: 18px; margin-bottom: 6px; }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--purple); box-shadow: inset 0 4px 0 var(--purple); }
.plan h3 { font-size: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan h3 small { font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple-strong); }
.plan .price { font-family: var(--heading); font-size: 40px; font-weight: 800; color: var(--ink); margin-top: 12px; line-height: 1.1; }
.price small { font-family: Inter, sans-serif; font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .year { font-size: 14px; color: var(--muted); margin-top: 2px; }
.plan p { margin-top: 14px; font-size: 15.5px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.compare-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--heading); color: var(--ink); font-size: 15px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--purple-strong); font-weight: 700; }
.compare .no { color: #94a3b8; }
.note { font-size: 14.5px; color: var(--muted); margin-top: 16px; }

.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.box h3 { font-size: 18px; margin-bottom: 8px; }
@media (max-width: 700px) { .boxes { grid-template-columns: 1fr; } }

.signal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.signal div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.signal b { display: block; font-family: var(--heading); color: var(--ink); font-size: 18px; }
.signal .cost { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .signal { grid-template-columns: 1fr; } }

.closing { text-align: center; }
.closing h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.closing p { margin: 14px auto 0; max-width: 34em; font-size: 18px; }
.closing .actions { justify-content: center; }

/* Plain pages: support and the legal pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 800; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page .lead { font-size: 19px; margin-top: 16px; }
.notice { margin-top: 24px; border: 1px solid var(--tint-line); background: var(--tint); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.times { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
.times th, .times td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* Footer */
.foot { background: var(--night); color: var(--night-text); padding: 44px 0; font-size: 14.5px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.foot a { color: #fff; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; justify-content: flex-end; }
.foot p + p { margin-top: 8px; }
@media (max-width: 700px) {
  .foot .wrap { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}
