/* Kooltek: cool, calm, honest */
:root {
  --bg: #f7fafb;
  --surface: #ffffff;
  --tint: #ecf4f7;
  --ink: #0e1b2c;
  --ink-soft: #4a5a6b;
  --brand: #0e1b2c;
  --accent: #1597a3;
  --accent-bright: #43d1dc;
  --line: #d8e3e8;
  --ok: #17734a;
  --error: #b42318;
  --radius: 20px;
  --max: 1120px;
  --shadow: 0 20px 45px -25px rgba(14, 27, 44, .35);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1420;
    --surface: #121e2d;
    --tint: #0f1a28;
    --ink: #eaf2f7;
    --ink-soft: #a9b8c6;
    --brand: #eaf2f7;
    --accent: #43d1dc;
    --line: #22324a;
    --ok: #4fd18b;
    --error: #ff8a80;
    --shadow: 0 20px 45px -25px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .55em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 36em; }
.small { font-size: .95rem; color: var(--ink-soft); }
.kicker { color: var(--accent); font-weight: 750; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: .6rem; }

section { scroll-margin-top: 80px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; min-height: 72px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.4rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 36px; height: 36px; }
@media (prefers-color-scheme: dark) { .logo svg rect { fill: #1b2c42; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 460px) { .nav { gap: .9rem; } .nav a:not(.btn) { font-size: 1rem; } .nav .hide-xs { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  border: 2px solid var(--ink); border-radius: 14px;
  padding: .85rem 1.5rem; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-small { padding: .5rem 1rem; font-size: 1rem; }

/* Hero */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-bright) 30%, transparent), transparent);
}
.hero h1 span { color: var(--accent); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .95rem; color: var(--accent);
  background: var(--tint); border: 1px solid var(--line);
  padding: .3rem .85rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Promises */
.promises { padding-bottom: clamp(3rem, 7vw, 5rem); }
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.promise svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .8rem; }
.promise h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.promise p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (max-width: 960px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2.6rem; }

/* Products */
.products { display: grid; gap: 1.4rem; }
.product {
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow);
}
.product-icon svg, .product-icon-soon { width: 84px; height: 84px; border-radius: 22px; display: block; }
.product-icon-soon {
  display: grid; place-items: center; font-size: 2.6rem; font-weight: 300; color: var(--accent);
  border: 2px dashed var(--line);
}
.product-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .2rem; }
.product-title h3 { font-size: 1.7rem; margin: 0; }
.tag { font-size: .85rem; font-weight: 700; color: var(--accent); background: var(--tint); border-radius: 999px; padding: .2rem .7rem; }
.product-strap { font-weight: 650; font-size: 1.15rem; margin-bottom: .7rem; }
.product p:last-child { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.ticks li { padding-left: 1.7rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.product-soon { box-shadow: none; background: transparent; border-style: dashed; }
@media (max-width: 600px) { .product { grid-template-columns: 1fr; } .product-icon svg, .product-icon-soon { width: 68px; height: 68px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.contact-note { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-note strong { word-break: break-word; }
.contact-note a { font-weight: 700; }
.contact-card .small { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; }
.site-footer p { margin: 0 0 .4rem; }

/* 404 */
.notfound { padding: clamp(5rem, 12vw, 9rem) 0; }
