/* Katmio · katmio.com */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #F47834;
  --orange-deep: #D9601F;
  --dark: #0C1414;
  --dark-2: #142020;
  --dark-3: #1E2C2C;
  --light: #FCFCFC;
  --paper: #F3F1EE;
  --ink: #0C1414;
  --ink-2: #44504F;
  --line: #E2DFDA;
  --on-dark: #FCFCFC;
  --on-dark-2: #A9B4B2;
  --radius: 14px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 6px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--orange); color: var(--dark); padding: 10px 16px; border-radius: 8px; z-index: 10; font-weight: 600; }
.skip:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--dark);
  font: inherit; font-weight: 650; font-size: 1rem;
  border: 0; border-radius: 10px; padding: 14px 22px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #FF8A4A; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-large { padding: 17px 30px; font-size: 1.1rem; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(244,120,52,.14), transparent 60%),
    var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img:first-child { width: 34px; }
.nav-word { width: 104px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--on-dark-2); text-decoration: none; font-size: .97rem; }
.nav-links a:not(.btn):hover { color: var(--on-dark); }

.hero-body {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 56px 0 96px;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .88rem; font-weight: 500; letter-spacing: .02em;
  color: var(--on-dark-2); border: 1px solid var(--dark-3); background: var(--dark-2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(244,120,52,.18); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; letter-spacing: -0.03em; }
.accent { color: var(--orange); }
.lead { margin-top: 24px; font-size: 1.15rem; color: var(--on-dark-2); max-width: 36em; }
.lead strong { color: var(--on-dark); font-weight: 600; }

/* Signup */
.signup { margin-top: 34px; max-width: 520px; scroll-margin-top: 24px; }
.signup-row { display: flex; gap: 10px; }
.name-field { display: block; width: 100%; margin-bottom: 10px; }
.signup .field {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1rem; color: var(--on-dark);
  background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 10px;
  padding: 14px 16px;
}
.signup .field::placeholder { color: #7D8987; }
.signup .field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,120,52,.25); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .9rem; color: var(--on-dark-2); line-height: 1.45; cursor: pointer; }
.consent input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--orange); flex: none; }
.consent a { color: var(--on-dark); }
.turnstile { margin-top: 14px; }
.form-msg { margin-top: 12px; font-size: .95rem; min-height: 1.5em; }
.form-msg.ok { color: #7FD6A4; }
.form-msg.err { color: #FF9C8A; }
.signup.done .signup-row, .signup.done .name-field, .signup.done .consent, .signup.done .turnstile { display: none; }
.signup.done .form-msg { font-size: 1.05rem; padding: 14px 16px; border-radius: 10px; background: var(--dark-2); border: 1px solid var(--dark-3); }
.fine { margin-top: 6px; font-size: .85rem; color: #7D8987; }

/* Hero art: layer-by-layer print (temsili) */
.hero-art { display: flex; justify-content: center; }
.print {
  --pitch: 21px; --layer: 15px; --sweep: 70px;
  position: relative; width: min(380px, 100%);
  padding-top: calc(var(--pitch) * 2.4);
}
.layers {
  display: flex; flex-direction: column-reverse; align-items: center; gap: calc(var(--pitch) - var(--layer));
  animation: build 8s infinite;
}
.layers i {
  display: block; height: var(--layer); border-radius: 999px;
  background: linear-gradient(180deg, #FF9358 0%, var(--orange) 45%, var(--orange-deep) 100%);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}
/* bottom → top: a vase profile */
.layers i:nth-child(1)  { width: 46%; }
.layers i:nth-child(2)  { width: 54%; }
.layers i:nth-child(3)  { width: 60%; }
.layers i:nth-child(4)  { width: 64%; }
.layers i:nth-child(5)  { width: 65%; }
.layers i:nth-child(6)  { width: 62%; }
.layers i:nth-child(7)  { width: 56%; }
.layers i:nth-child(8)  { width: 48%; }
.layers i:nth-child(9)  { width: 42%; }
.layers i:nth-child(10) { width: 40%; }
.layers i:nth-child(11) { width: 44%; }
.layers i:nth-child(12) { width: 52%; }
.bed { height: 12px; margin-top: 8px; border-radius: 4px; background: linear-gradient(180deg, #2A3A3A, var(--dark-3)); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.nozzle {
  position: absolute; left: 50%; bottom: 20px; width: 44px; margin-left: -22px;
  animation: rise 8s infinite;
  z-index: 1;
}
.nozzle span {
  display: block; position: relative; height: 42px;
  animation: sweep .5s ease-in-out infinite alternate;
}
.nozzle span::before { /* heater block */
  content: ""; position: absolute; left: 4px; right: 4px; top: 0; height: 26px;
  border-radius: 5px; background: #D8DEDD;
  box-shadow: inset -6px 0 0 rgba(0,0,0,.12);
}
.nozzle span::after { /* tip */
  content: ""; position: absolute; left: 50%; top: 26px; margin-left: -9px;
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid #F2C14E;
}
@keyframes build {
  0%   { clip-path: inset(100% 0 0 0); opacity: 1; animation-timing-function: steps(12, end); }
  75%  { clip-path: inset(0 0 0 0); opacity: 1; }
  92%  { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes rise {
  0%   { transform: translateY(0); opacity: 1; animation-timing-function: steps(12, end); }
  75%  { transform: translateY(calc(var(--pitch) * -12)); opacity: 1; }
  92%  { transform: translateY(calc(var(--pitch) * -12)); opacity: 1; }
  100% { transform: translateY(calc(var(--pitch) * -12)); opacity: 0; }
}
@keyframes sweep {
  from { transform: translateX(calc(var(--sweep) * -1)); }
  to   { transform: translateX(var(--sweep)); }
}
@media (prefers-reduced-motion: reduce) {
  .layers, .nozzle, .nozzle span { animation: none; }
  .nozzle { transform: translateY(calc(var(--pitch) * -12)); }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--dark); color: var(--on-dark); }
.section.dark .body-lg { color: var(--on-dark-2); }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 14px; }
.section.dark .eyebrow { color: var(--orange); }
.body-lg { font-size: 1.13rem; color: var(--ink-2); max-width: 40em; }
.note { margin-top: 32px; font-size: 1.05rem; color: var(--ink-2); }
.note strong { color: var(--ink); }
.note.small { font-size: .92rem; margin-top: 28px; }

.inputs { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.inputs li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.inputs p, .steps p { color: var(--ink-2); font-size: .98rem; }
.num { display: block; font-size: .85rem; font-weight: 700; color: var(--orange-deep); margin-bottom: 18px; letter-spacing: .06em; }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--light); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--dark); color: var(--orange); font-weight: 700; margin-bottom: 20px;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative; padding: 18px 20px 18px 54px; border-radius: 12px;
  background: var(--paper); color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 2px solid var(--orange);
}
.checklist strong { color: var(--ink); font-weight: 600; }

.channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 12px;
  background: var(--dark-2); border: 1px solid var(--dark-3); text-decoration: none; font-weight: 600; font-size: 1.1rem;
}
.channel svg { width: 26px; height: 26px; fill: var(--orange); flex: none; }
.channel em { margin-left: auto; font-style: normal; font-weight: 500; font-size: .85rem; color: var(--on-dark-2); }
.channel[aria-disabled="true"] { pointer-events: none; }
.channel:not([aria-disabled="true"]):hover { border-color: var(--orange); }

.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 1.12rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--orange-deep); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

.cta { background: var(--paper); }
.cta h2 { margin-bottom: 28px; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 64px 0; }
.footer-row { display: flex; align-items: center; gap: 40px; }
.footer-logo { width: 120px; flex: none; }
.footer-claim { color: var(--on-dark); font-size: 1.2rem; font-weight: 600; }
.footer-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; }
.footer-links a { color: var(--on-dark-2); }
.footer-links a:hover { color: var(--on-dark); }
.copy { margin-top: 8px; font-size: .85rem; color: #6D7977; }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal .meta { color: #7D8987; font-size: .95rem; }
.legal .draft { margin: 24px 0; padding: 14px 18px; border-radius: 10px; background: #FFF1E8; border: 1px solid #F8C9AE; color: #8A3A10; }
.ph { background: #FFF1E8; color: #8A3A10; padding: 0 4px; border-radius: 4px; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; padding: 48px 0; }
.nf-mark { width: 72px; margin: 0 auto 28px; }
.nf h1 { font-size: clamp(2rem, 5vw, 3rem); }
.nf .lead { margin-inline: auto; }
.nf-cta { margin-top: 32px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-body { grid-template-columns: 1fr; padding: 32px 0 72px; gap: 56px; }
  .inputs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 72px 0; }
  .signup-row { flex-direction: column; }
  .inputs { grid-template-columns: 1fr; }
  .print { --pitch: 17px; --layer: 12px; --sweep: 50px; width: min(300px, 100%); }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-logo { width: 96px; }
}
