/* KYCLOGIC — shared landing styles */

html, body { background: #fafaf5 !important; color: #1c1917 !important; }
@media (prefers-color-scheme: dark) {
  html, body { background: #fafaf5 !important; color: #1c1917 !important; }
}

:root {
  --bg: #fafaf5;
  --bg-soft: #f5f4ed;
  --bg-card: #ffffff;
  --bg-tint: #f0ede2;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --ink-muted: #78716c;
  --ink-faint: #a8a29e;
  --line: #d6d3d1;
  --line-soft: #e7e5e4;
  --accent: #92400e;
  --accent-soft: #fef3c7;
  --accent-deep: #78350f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "calt" 1, "liga" 1, "kern" 1;
  position: relative;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.36  0 0 0 0 0.25  0 0 0 0 0.05  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  mix-blend-mode: multiply;
}
.nav, main, .footer { position: relative; z-index: 2; }

::selection { background: var(--accent); color: var(--bg); }

.container { max-width: 780px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,245,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--line-soft);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px; max-width: 1080px; margin: 0 auto;
}
.nav-brand {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.35em;
  color: var(--accent); font-weight: 500; text-decoration: none;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em;
  color: var(--ink-muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .nav-inner { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 9px; }
}

/* hero */
.lp-hero { padding: 80px 0 56px; }
.lp-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.35em;
  color: var(--accent); margin-bottom: 24px;
}
.lp-title {
  font-family: var(--serif); font-size: clamp(38px, 6.5vw, 62px);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 22px; font-weight: 400;
}
.lp-title em { font-style: italic; color: var(--accent); }
.lp-lede {
  font-family: var(--sans); font-size: 17px; line-height: 1.75;
  color: var(--ink-soft); max-width: 60ch; margin-bottom: 34px;
}
.lp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lp-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px; border: 0.5px solid var(--accent);
  background: var(--accent); color: var(--bg); text-decoration: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  transition: all .3s ease;
}
.lp-cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.lp-cta .arrow { transition: transform .3s ease; display: inline-block; }
.lp-cta:hover .arrow { transform: translateX(4px); }
.lp-cta-note {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--ink-muted);
}

/* spec strip */
.lp-specs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line);
  margin: 48px 0 0;
}
.lp-spec { flex: 1 1 140px; padding: 22px 20px 20px; border-right: 0.5px solid var(--line-soft); }
.lp-spec:last-child { border-right: none; }
.lp-spec .k {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em;
  color: var(--ink-muted); margin-bottom: 8px;
}
.lp-spec .v {
  font-family: var(--serif); font-size: 20px; color: var(--ink); font-feature-settings: "tnum" 1;
}
.lp-spec .v em { font-style: italic; color: var(--accent); }

/* sections */
main section { padding: 60px 0 0; }
.lp-h2 {
  font-family: var(--serif); font-style: italic; font-size: 30px;
  letter-spacing: -0.015em; margin-bottom: 10px;
}
.lp-h2-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em;
  color: var(--accent); margin-bottom: 26px;
}
.lp-p {
  font-family: var(--sans); font-size: 15.5px; line-height: 1.85;
  color: var(--ink-soft); margin-bottom: 18px; max-width: 68ch;
}
.lp-p strong { color: var(--ink); font-weight: 600; }

/* who list */
.lp-list { list-style: none; margin: 4px 0 8px; }
.lp-list li {
  font-family: var(--sans); font-size: 15px; line-height: 1.7;
  color: var(--ink-soft); padding: 12px 0 12px 26px;
  border-bottom: 0.5px solid var(--line-soft); position: relative;
}
.lp-list li:last-child { border-bottom: none; }
.lp-list li::before {
  content: "—"; position: absolute; left: 0; color: var(--accent);
}

/* steps */
.lp-steps { counter-reset: step; margin-top: 8px; }
.lp-step {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 0.5px solid var(--line-soft);
}
.lp-step:last-child { border-bottom: none; }
.lp-step .n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--accent); flex-shrink: 0; padding-top: 4px;
  font-feature-settings: "tnum" 1;
}
.lp-step .t {
  font-family: var(--serif); font-size: 19px; margin-bottom: 6px; line-height: 1.35;
}
.lp-step .d {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.7; color: var(--ink-muted);
}

/* contents box */
.lp-toc {
  background: var(--bg-card); border: 0.5px solid var(--line);
  padding: 28px 30px; margin-top: 10px;
}
.lp-toc ol { list-style: none; counter-reset: toc; }
.lp-toc li {
  counter-increment: toc;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-soft);
  padding: 9px 0 9px 34px; border-bottom: 0.5px solid var(--line-soft); position: relative;
}
.lp-toc li:last-child { border-bottom: none; }
.lp-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; font-family: var(--mono); font-size: 10px;
  color: var(--accent); top: 13px; letter-spacing: 0.1em;
  font-feature-settings: "tnum" 1;
}

/* callout */
.lp-note {
  background: var(--bg-tint); border-left: 2px solid var(--accent);
  padding: 20px 24px; margin-top: 24px;
  font-family: var(--sans); font-size: 14.5px; line-height: 1.75; color: var(--ink-soft);
}

/* bottom cta */
.lp-launch {
  margin-top: 64px; padding: 48px 40px; text-align: center;
  border: 0.5px solid var(--line); background: var(--bg-card);
}
.lp-launch .h {
  font-family: var(--serif); font-style: italic; font-size: 27px; margin-bottom: 12px;
}
.lp-launch .s {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-muted); margin-bottom: 26px;
}

/* email capture */
.lp-signup {
  margin-top: 20px; padding: 40px; background: var(--bg-soft);
  border: 0.5px solid var(--line);
}
.lp-signup .h {
  font-family: var(--serif); font-style: italic; font-size: 24px; margin-bottom: 10px;
}
.lp-signup .s {
  font-family: var(--sans); font-size: 14px; line-height: 1.7;
  color: var(--ink-muted); margin-bottom: 22px; max-width: 52ch;
}
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-row input[type=email] {
  flex: 1 1 260px; padding: 13px 16px;
  border: 0.5px solid var(--line); background: var(--bg-card); color: var(--ink);
  font-family: var(--sans); font-size: 15px; outline: none; border-radius: 0;
}
.signup-row input[type=email]:focus { border-color: var(--accent); }
.signup-row button {
  padding: 13px 26px; border: 0.5px solid var(--accent);
  background: var(--accent); color: var(--bg); cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  transition: background .25s ease;
}
.signup-row button:hover { background: var(--accent-deep); }
.signup-msg {
  font-family: var(--sans); font-size: 13.5px; margin-top: 14px;
  color: var(--accent-deep); min-height: 20px;
}

/* footer */
.footer { padding: 70px 0 80px; text-align: center; margin-top: 70px; border-top: 0.5px solid var(--line-soft); }
.footer-mark { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--accent); margin-bottom: 12px; }
.footer-tagline { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--ink-muted); margin-bottom: 30px; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.footer-links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-muted); text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }
.footer-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; color: var(--ink-faint); font-feature-settings: "tnum" 1; }

@media (max-width: 640px) {
  .lp-hero { padding: 54px 0 40px; }
  .lp-lede { font-size: 16px; }
  .lp-h2 { font-size: 25px; }
  .lp-launch { padding: 36px 24px; }
  .lp-signup { padding: 28px 22px; }
  .lp-spec { flex: 1 1 50%; border-bottom: 0.5px solid var(--line-soft); }
}
