/* ============================================================
   Kortyzol — techno-minimal startup-deck theme
   Space Grotesk (display) + Inter (text)
   graphite / ash-beige / acid-lime
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #E8E4DB;             /* ash beige */
  --bg-alt: #DED9CD;
  --paper: #F4F1EA;
  --fg: #1A1A1A;             /* graphite */
  --fg-soft: #3A3A38;
  --muted: #6A675E;
  --border: #CBC6B8;
  --line: #1A1A1A;
  --lime: #C6F135;           /* acid lime */
  --lime-deep: #9BC117;
  --dark: #1A1A1A;
  --dark-2: #101010;
  --display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Grotesk", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 4px;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ------------------------------ HEADER ------------------------------ */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.site-header .row {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  text-transform: lowercase;
}
.brand .sq {
  width: 14px; height: 14px; background: var(--lime);
  display: inline-block; flex: none;
  box-shadow: 0 0 0 1px var(--line);
}
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: 13px;
  letter-spacing: 0.02em; transition: color 0.15s; font-weight: 500;
}
.nav a:hover { color: var(--fg); }
@media (max-width: 640px) {
  .nav { display: none; }
  .site-header .row { padding: 14px 20px; }
}

/* ------------------------------ ARTICLE ------------------------------ */

main.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 20px; }
@media (max-width: 640px) { main.article { padding: 32px 20px 16px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg); font-weight: 600; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 8px; background: var(--lime);
  display: inline-block; box-shadow: 0 0 0 1px var(--line);
}
h1 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.035em;
  margin: 0 0 24px;
}
h1 mark {
  background: var(--lime); color: var(--fg);
  padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.byline {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  color: var(--muted); font-size: 14px; font-family: var(--mono);
}
.byline .avatar {
  width: 40px; height: 40px; border-radius: 0;
  background: var(--dark); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  box-shadow: 0 0 0 1px var(--line);
}
.byline strong { color: var(--fg); font-weight: 600; }

.lead {
  font-family: var(--display); font-size: 23px; line-height: 1.4;
  color: var(--fg); margin: 40px 0 24px; font-weight: 500; letter-spacing: -0.015em;
}

.article p { margin: 0 0 20px; }
.article p .drop {
  float: left; font-family: var(--display); font-size: 68px; line-height: 0.8;
  padding: 8px 10px 0 0; color: var(--fg); font-weight: 700;
}

h2 {
  font-family: var(--display); font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1; font-weight: 700; margin: 52px 0 20px;
  letter-spacing: -0.03em;
}

h3 { font-family: var(--display); font-size: 21px; font-weight: 600; margin: 32px 0 12px; letter-spacing: -0.02em; }

/* ------------------------------ STAT ------------------------------ */

.stat {
  border: 1px solid var(--line); padding: 26px 28px;
  background: var(--paper); border-radius: var(--radius);
  margin: 32px 0; position: relative;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--lime); border-right: 1px solid var(--line);
}
.stat .num {
  font-family: var(--display); font-size: 60px; line-height: 1;
  color: var(--fg); font-weight: 700; letter-spacing: -0.04em;
  display: block; margin-bottom: 8px;
}
.stat .num span { color: var(--lime-deep); }
.stat .lbl { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ------------------------------ MECHANISM DIAGRAM ------------------------------ */

.mechanism {
  background: var(--dark); border-radius: var(--radius);
  padding: 32px 24px; margin: 32px 0 8px;
  border: 1px solid var(--line);
}
.mechanism .mech-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 24px; text-align: center;
}
.mech-flow {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; flex-wrap: nowrap;
}
.mech-node {
  flex: 1; min-width: 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 4px;
}
.mech-node .icon {
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 5vw, 30px);
  width: clamp(52px, 14vw, 72px); height: clamp(52px, 14vw, 72px);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: #242422; color: #E8E4DB; box-shadow: inset 0 0 0 1px #3a3a37;
}
.mech-node.hot .icon { background: var(--lime); color: var(--dark); box-shadow: none; }
.mech-node .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: #C9C4B7; line-height: 1.3; text-transform: uppercase;
}
.mech-node .sub { font-size: 10px; color: #86827A; font-family: var(--mono); }
.mech-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--lime); font-size: 22px; padding: 0 2px; align-self: flex-start;
  margin-top: clamp(26px, 7vw, 36px); flex: none;
}
.mech-loop {
  margin-top: 20px; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: #86827A; text-transform: uppercase;
}
.mech-loop b { color: var(--lime); }
@media (max-width: 480px) {
  .mech-node .label { font-size: 9.5px; }
  .mech-node .sub { display: none; }
}

/* ------------------------------ PULL QUOTE ------------------------------ */

.pull-quote {
  font-family: var(--display); font-size: clamp(24px, 3.5vw, 34px); line-height: 1.15;
  padding: 8px 0 8px 24px; margin: 48px 0; font-weight: 700; color: var(--fg);
  letter-spacing: -0.03em; border-left: 6px solid var(--lime);
}

/* ------------------------------ REASONS LIST ------------------------------ */

.list-reasons { list-style: none; padding: 0; margin: 24px 0; counter-reset: r; }
.list-reasons li {
  padding: 22px 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); margin-bottom: 12px;
  display: flex; gap: 22px; transition: background 0.15s, transform 0.15s;
}
.list-reasons li:hover { background: #fff; transform: translateX(3px); }
.list-reasons .n {
  font-family: var(--display); font-size: 15px; line-height: 1;
  color: var(--dark); font-weight: 700; flex: none;
  background: var(--lime); box-shadow: 0 0 0 1px var(--line);
  width: 34px; height: 34px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.list-reasons h4 { margin: 4px 0 6px; font-size: 17px; font-weight: 600; font-family: var(--display); letter-spacing: -0.01em; }
.list-reasons p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ------------------------------ CTA CARD ------------------------------ */

.cta-card {
  margin: 56px auto; max-width: 640px; padding: 44px 32px;
  background: var(--dark); color: var(--bg); border-radius: var(--radius); text-align: center;
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.cta-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--lime);
}
.cta-card .tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(198, 241, 53, 0.15); color: var(--lime);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 20px; margin-top: 8px;
}
.cta-card h2 {
  color: var(--bg); font-family: var(--display); font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; margin: 0 0 12px; line-height: 1.1; letter-spacing: -0.03em;
}
.cta-card p { color: rgba(232, 228, 219, 0.7); margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; }
.cta-card .price {
  font-family: var(--display); font-size: 54px; color: var(--lime);
  font-weight: 700; line-height: 1; margin: 20px 0 24px; letter-spacing: -0.04em;
}
.cta-card .price small { font-size: 18px; color: rgba(232, 228, 219, 0.5); font-family: var(--sans); font-weight: 400; letter-spacing: 0; }

.btn-cta {
  display: inline-block; padding: 16px 40px; border-radius: var(--radius);
  background: var(--lime); color: var(--dark); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  transition: transform 0.15s, background 0.15s; border: 0;
}
.btn-cta:hover { background: #d3fa4e; transform: translateY(-2px); }
.btn-cta.wide { display: block; width: 100%; padding: 18px; }

/* ------------------------------ FOOTER ------------------------------ */

.site-footer {
  background: var(--dark-2); color: #8A867B;
  margin-top: 80px; padding: 40px 24px;
  border-top: 4px solid var(--lime);
}
.site-footer .row {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand { color: var(--bg); font-size: 20px; }
.site-footer .links { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a {
  color: #8A867B; text-decoration: none; font-size: 13px; transition: color 0.15s;
}
.site-footer a:hover { color: var(--lime); }
.site-footer .copy { font-family: var(--mono); font-size: 12px; color: #56534B; margin-top: 20px; text-align: center; letter-spacing: 0.02em; }

/* ============================================================
   CHECKOUT
   ============================================================ */

.checkout-wrap { max-width: 560px; margin: 0 auto; padding: 40px 24px; }
.checkout-wrap h1 {
  font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 24px; letter-spacing: -0.03em;
}
.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px;
}
.summary .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 15.5px;
}
.summary .row.big { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; font-size: 18px; font-weight: 600; }
.summary .row.big span:last-child { font-family: var(--display); font-size: 24px; color: var(--fg); letter-spacing: -0.03em; }
.summary .product { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.summary .product .cover {
  width: 64px; height: 84px; background: var(--dark);
  border-radius: var(--radius); flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 22px; color: var(--lime); font-weight: 700;
  letter-spacing: -0.03em;
}
.summary .product .info h3 { margin: 0 0 4px; font-family: var(--display); font-size: 15px; font-weight: 600; }
.summary .product .info p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

form.lead { display: flex; flex-direction: column; gap: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--fg); text-transform: uppercase; letter-spacing: 0.06em; }
.field input {
  width: 100%; height: 48px; padding: 0 16px; font-size: 15.5px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--fg); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; font-family: var(--sans);
}
.field input:focus { border-color: var(--lime-deep); box-shadow: 0 0 0 3px rgba(198, 241, 53, 0.35); }
.consent { text-align: center; font-size: 13px; color: var(--muted); }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   THANK YOU
   ============================================================ */

.thanks-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px; background: var(--bg);
}
.thanks-inner { max-width: 500px; text-align: center; }
.thanks-icon {
  width: 88px; height: 88px; border-radius: var(--radius);
  background: var(--lime); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 32px; box-shadow: 0 0 0 1px var(--line);
}
.thanks-inner h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 48px); line-height: 1.05; margin: 0 0 20px; font-weight: 700; letter-spacing: -0.035em; }
.thanks-inner p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 32px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--fg); text-decoration: none; font-weight: 600; font-family: var(--display);
  background: var(--paper);
  transition: background 0.15s, border-color 0.15s;
}
.btn-outline:hover { background: #fff; }

/* ============================================================
   INFO PAGES (privacy / terms / contacts)
   ============================================================ */

.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.doc h1 {
  font-family: var(--display); font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; letter-spacing: -0.03em; font-weight: 700;
}
.doc .updated { font-family: var(--mono); color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.doc h2 { font-family: var(--display); margin-top: 40px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--fg); font-size: 16.5px; line-height: 1.75; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime-deep); }

.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.contact-card .label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 8px; }
.contact-card .val { font-size: 18px; font-weight: 600; font-family: var(--display); letter-spacing: -0.01em; }
.contact-card .val a { text-decoration: none; }
.contact-card .val a:hover { color: var(--lime-deep); }
