/* ClickIt Digital hub. No outside fonts or scripts: everything is served from this site. */
:root {
  --bg: #fbfaf8; --bg-alt: #f3f1ee; --surface: #ffffff; --line: #e6e2dc;
  --ink: #17151a; --ink-2: #4a4650; --muted: #6b6672;
  --accent: #d2361a; --accent-ink: #ffffff; --accent-soft: #fde9e3;
  --g1: #ff6a2c; --g2: #e0306b; --g3: #6c4cff;
  --ok: #157a46; --ok-bg: #e3f5ea; --warn: #9a5b00; --warn-bg: #fff1d6;
  --shadow: 0 1px 2px rgba(23, 21, 26, .05), 0 8px 24px rgba(23, 21, 26, .06);
  --radius: 14px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0e13; --bg-alt: #15131b; --surface: #1b1922; --line: #2c2935;
    --ink: #f3f1f6; --ink-2: #c9c4d2; --muted: #9a94a6;
    --accent: #ff7a4d; --accent-ink: #17151a; --accent-soft: #3a1f19;
    --ok: #5fd394; --ok-bg: #133524; --warn: #f2b84b; --warn-bg: #3a2a0b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0e13; --bg-alt: #15131b; --surface: #1b1922; --line: #2c2935;
  --ink: #f3f1f6; --ink-2: #c9c4d2; --muted: #9a94a6;
  --accent: #ff7a4d; --accent-ink: #17151a; --accent-soft: #3a1f19;
  --ok: #5fd394; --ok-bg: #133524; --warn: #f2b84b; --warn-bg: #3a2a0b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--g3); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt { margin-top: 2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46rem; }
.eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.grad { background: linear-gradient(100deg, var(--g1), var(--g2) 45%, var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -.02em; }
.brand-a { font-weight: 800; color: var(--accent); }
.brand-b { font-weight: 500; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .btn { margin-left: 8px; color: var(--accent-ink); }
.nav .btn:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.08); }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: 1rem; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.hero-small { padding: clamp(44px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.glow { position: absolute; inset: -40% -10% auto auto; width: min(900px, 120vw); aspect-ratio: 1; pointer-events: none; opacity: .5;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g1) 55%, transparent), transparent 70%),
              radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--g3) 45%, transparent), transparent 70%);
  filter: blur(40px); }
.hero-small .glow, .hero-tool .glow { opacity: .3; }
.hero > .wrap { position: relative; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.tool-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.note { display: inline-block; background: var(--accent-soft); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-size: .95rem; }

/* illustration */
.demo { margin: 0; }
.demo-doc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow), 0 30px 60px -30px color-mix(in srgb, var(--g3) 45%, transparent); padding: 18px; }
.demo-head, .demo-foot { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.demo-head span:first-child { font-weight: 650; color: var(--ink); }
.scan { color: var(--g3); font-weight: 600; }
.scan::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--g3); animation: pulse 1.6s infinite; }
.demo-lines { list-style: none; margin: 14px 0; padding: 0; }
.demo-lines li { position: relative; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: .92rem; border: 1px solid transparent; }
.demo-lines li + li { margin-top: 6px; }
.demo-lines li:nth-child(odd) { background: var(--bg-alt); }
.demo-lines li::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--g3) 18%, transparent), transparent); background-size: 200% 100%; opacity: 0; animation: read 6s infinite; pointer-events: none; }
.demo-lines li:nth-child(2)::after { animation-delay: 1.2s; }
.demo-lines li:nth-child(3)::after { animation-delay: 2.4s; }
.demo-lines li:nth-child(4)::after { animation-delay: 3.6s; }
.code { font: 600 .82rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.code.ok { background: var(--ok-bg); color: var(--ok); }
.code.check { background: var(--warn-bg); color: var(--warn); }
.demo-xml { font-weight: 650; color: var(--accent); }
.demo figcaption { margin-top: 10px; text-align: center; }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes read { 0% { opacity: 0; background-position: 100% 0; } 6% { opacity: 1; } 18% { opacity: 0; background-position: -100% 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }
.section-head h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head h2 a { color: inherit; text-decoration: none; }
.grid { display: grid; gap: 20px; }
.two { grid-template-columns: repeat(2, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.tools-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); color: var(--ink); }
a.card { text-decoration: none; display: block; transition: transform .15s; }
a.card:hover { transform: translateY(-2px); }
.card p:last-child { margin-bottom: 0; }
.tool-card { display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.tool-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tool-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tool-card h3 { font-size: 1.35rem; }
.tool-card h3 a { color: var(--ink); text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.tool-card p { color: var(--ink-2); }
.from { font-weight: 600; color: var(--ink) !important; }
.more { margin-top: auto; font-weight: 600; color: var(--accent); text-decoration: none; }
.card-soon { background: transparent; border-style: dashed; box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { background: var(--ok-bg); color: var(--ok); }
.pill-pilot { background: color-mix(in srgb, var(--g3) 14%, var(--surface)); color: color-mix(in srgb, var(--g3) 80%, var(--ink)); }
.pill-soon { background: var(--bg-alt); color: var(--muted); }

.principle, .step, .feature { padding: 4px 0; }
.principle p, .step p, .feature p { color: var(--ink-2); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2) 60%, var(--g3)); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.feature { border-top: 2px solid var(--line); padding-top: 18px; }

.promise { border-radius: 22px; padding: clamp(28px, 5vw, 56px); border: 2px solid transparent; box-shadow: var(--shadow);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, var(--g1), var(--g2), var(--g3)) border-box; }

/* pricing */
.terms { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.terms button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: .95rem; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.terms button small { color: var(--ok); font-weight: 650; margin-left: 4px; }
.terms button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.terms button[aria-pressed="true"] small { color: inherit; opacity: .8; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 820px; }
.plan h3 { font-size: 1.2rem; }
.plan-featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.price { margin: 8px 0 18px; }
.amt { font: 750 2.4rem/1 var(--font-head); letter-spacing: -.03em; }
.per { color: var(--muted); }
.billed { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.price-notes { margin-top: 28px; max-width: 820px; color: var(--ink-2); }
.price-notes ul { padding-left: 20px; }

/* faq, prose, contact */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); padding-bottom: 12px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: .4em 0; }
.contact h2 { font-size: 1.1rem; margin-bottom: .3em; }
.contact p { color: var(--accent); font-weight: 600; word-break: break-word; }
.note-card { border-left: 4px solid var(--warn); }

.band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { margin-bottom: .2em; }
.band .actions { margin-top: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--bg-alt); font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot li a { color: var(--ink-2); text-decoration: none; }
.foot li a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.theme-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 9px; padding: 6px 12px; font: inherit; cursor: pointer; }

/* smaller screens */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .four { grid-template-columns: repeat(2, 1fr); }
  .three { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .two, .three, .four { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  .band { flex-direction: column; align-items: flex-start; }
  .demo-lines li { font-size: .85rem; }
}

/* legal pages */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--bg-alt); font-size: .85rem; }
.prose tbody th { width: 30%; font-weight: 600; }
mark.fill { background: var(--warn-bg); color: var(--warn); padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.draft-banner { margin-bottom: 2rem; }
