/* Kuippo website. No framework, no scripts; system fonts (nothing to download). Brand: teal #1e778f, pink #e42373, purple #8f4c86. */
:root {
  --brand: #1e778f;
  --brand-dark: #14566a;
  --brand-soft: #e8f4f7;
  --accent: #e42373;
  --violet: #8f4c86;
  --bg: #ffffff;
  --bg-alt: #f4f4f7;
  --text: #17181c;
  --muted: #5a5d68;
  --line: #e3e4ea;
  --radius: 14px;
  --shadow: 0 1px 3px rgb(30 30 60 / 0.06), 0 12px 32px -16px rgb(30 30 60 / 0.18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2a95b3;
    --brand-dark: #52b4cf;
    --brand-soft: #16282e;
    --bg: #101114;
    --bg-alt: #18191d;
    --text: #ececf1;
    --muted: #a3a6b2;
    --line: #2a2c33;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bg); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; }
.brand img { display: block; height: 38px; width: auto; }
.bar nav { margin-left: auto; }
.bar ul { display: flex; gap: 0.25rem 1.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.bar nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current] { border-bottom-color: var(--accent); color: var(--text); }
@media (max-width: 860px) { .bar nav { order: 3; width: 100%; margin-left: 0; } .bar .button { margin-left: auto; } }

/* buttons */
.button { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; padding: 0.8rem 1.4rem; border-radius: 12px; border: 2px solid var(--brand); }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.button.small { padding: 0.45rem 1rem; font-size: 0.92rem; }
.button.ghost { background: transparent; color: var(--brand-dark); }
.button.ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

/* typography */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 0.6rem; }

/* sections */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section.alt { background: var(--bg-alt); }
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.hero .grid { display: grid; gap: 2.5rem; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } }
.page { padding-block: 2rem 4rem; max-width: 800px; }
.page.wide { max-width: 1120px; }
.page h1 { margin-top: 0.4rem; }

/* cards */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.5rem; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.alt .card { background: var(--bg); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--violet); margin-bottom: 0.4rem; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--brand); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 0.7rem; }
.steps h3 { margin-top: 0; }

/* the example summary in the hero */
.sample { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; box-shadow: var(--shadow); }
.sample .label { font-size: 0.78rem; color: var(--muted); }
.sample table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; }
.sample th, .sample td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.sample td:last-child, .sample th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sample .total th, .sample .total td { font-weight: 700; color: var(--brand-dark); }
.sample tr:last-child th, .sample tr:last-child td { border-bottom: 0; }

/* text pages */
.prose h2 { margin-top: 2rem; }
.prose li { margin-bottom: 0.35rem; }
.note { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 8px; padding: 0.9rem 1.1rem; margin: 1.4rem 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table.data { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
table.data th, table.data td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
table.data th { background: var(--bg-alt); }
.meta { color: var(--muted); font-size: 0.9rem; }
.crumbs { width: min(1120px, 100% - 2rem); margin: 1rem auto 0; font-size: 0.88rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 0.3rem; }
.crumbs a { color: var(--muted); }
.crumbs + .page, .crumbs ~ .wrap { margin-top: 0; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0.2rem 1.1rem; margin-bottom: 0.7rem; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; padding: 0.8rem 0; }
.faq details[open] summary { color: var(--brand-dark); }
.faq details > div { padding-bottom: 0.8rem; }
.cta { text-align: center; }
.cta .actions { justify-content: center; }

/* footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 2.5rem; margin-top: 3rem; font-size: 0.93rem; }
.site-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text); }
.foot-title { font-weight: 700; margin-bottom: 0.6rem; }
.legal { color: var(--muted); font-size: 0.82rem; padding-block: 1.5rem 2rem; }
@media print { .site-header, .site-footer, .skip, .actions { display: none; } }
