/* Klondra public landing — brand system (DEC-C111): Hunter Green #1D4C33,
   silver-chrome wordmark (a rendered gradient, not a flat fill), Light Gray
   #F0F0F0, True Black, Pure White. Self-hosted, no external fonts/assets. */
:root {
  --green: #1D4C33;
  --green-deep: #0F2E1E;
  --green-abyss: #0a2116;
  --chrome-hi: #ffffff;
  --chrome: #d3d3d3;
  --chrome-lo: #9aa0a0;
  --gray: #F0F0F0;
  --sun: #e8b04b;
  --ink: #ffffff;
  --muted: rgba(240, 240, 240, 0.72);
  --hairline: rgba(240, 240, 240, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--green-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gray);
  color: var(--green-deep);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 10;
}
.skip-link:focus { left: 0; }

/* Background scene */
.scene { position: fixed; inset: 0; z-index: -1; }
.scene__svg { width: 100%; height: 100%; display: block; }
.scene::after { /* subtle vignette for text contrast */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 34%, transparent 40%, rgba(5, 18, 11, 0.55) 100%);
}

/* Layout */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 4vw, 48px);
}
.hero {
  flex: 1;
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 6vw, 64px) 0;
}

/* Logomark — scales INDEPENDENTLY of the wordmark (own clamp track) so the
   hero grows on large displays while staying balanced on mobile. */
.logo {
  width: clamp(170px, 34vw, 320px);
  height: auto;
  display: block;
  margin: 0 auto clamp(12px, 2.2vw, 26px);
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.42));
}

/* Wordmark — clean editable vector text (browser-rendered outlines, scales
   infinitely, no rasterization), silver-chrome via background-clip. */
.wordmark {
  margin: 0;
  font-size: clamp(2.9rem, 12vw, 7.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(175deg, #ffffff 0%, #eef1f1 22%, #c7cccc 48%, #f4f6f6 60%, #9aa0a0 82%, #cfd4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark { color: var(--chrome); background: none; -webkit-text-fill-color: currentColor; }
}

.tagline {
  margin: 0.7em 0 0;
  font-size: clamp(1.05rem, 3.4vw, 1.7rem);
  font-weight: 500;
  color: var(--gray);
}
.subline {
  margin: 0.5em 0 0;
  font-size: clamp(0.98rem, 2.6vw, 1.28rem);
  color: var(--muted);
  font-weight: 400;
}
.pillars {
  margin: 1.1em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 0;
  justify-content: center;
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.pillars span { padding: 0 0.9em; position: relative; }
.pillars span + span::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: var(--sun);
}

.soon {
  margin-top: clamp(32px, 7vw, 64px);
  max-width: 620px;
}
.soon__h {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
}
.soon__h::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin: 0.55em auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sun), transparent);
}
.lede { margin: 1.2em 0 0; color: var(--gray); font-size: clamp(1rem, 2.6vw, 1.12rem); }
.offer {
  list-style: none;
  margin: 1.2em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55em;
  text-align: left;
}
.offer li {
  position: relative;
  padding-left: 1.6em;
  color: var(--gray);
}
.offer li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border: 2px solid var(--sun);
  border-left: 0; border-top: 0;
  transform: rotate(45deg);
}
@media (min-width: 560px) {
  .offer { grid-template-columns: 1fr 1fr; gap: 0.6em 1.6em; }
  .offer li:last-child { grid-column: 1 / -1; }
}
.launch {
  margin: 1.4em 0 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.partner {
  margin: 2em auto 0;
  max-width: 540px;
  padding: 1em 1.2em;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(15, 46, 30, 0.4);
  backdrop-filter: blur(4px);
  color: var(--muted);
  font-size: 0.95rem;
}
.partner strong { color: var(--gray); }

.footer {
  width: 100%;
  max-width: 1080px;
  margin-top: clamp(40px, 8vw, 72px);
  padding-top: 1.5em;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  justify-content: center;
}
.footer__nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}
.footer__nav a:hover,
.footer__nav a:focus-visible { border-bottom-color: var(--sun); }
.copyright { margin: 1em 0 0; color: var(--muted); font-size: 0.82rem; }

/* Legal/contact placeholder pages */
.doc {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 4vw, 32px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.doc a.back { color: var(--sun); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.doc a.back:hover { text-decoration: underline; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 0.6em 0 0.2em; }
.doc .stamp { color: var(--muted); font-size: 0.85rem; margin: 0 0 1.5em; }
.doc p { color: var(--gray); }
.doc .doc-footer { margin-top: auto; padding-top: 2em; color: var(--muted); font-size: 0.82rem; }

*:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 3px; }

/* Stronger hero presence on large displays — logo + wordmark each grow. */
@media (min-width: 1200px) {
  .hero { max-width: 980px; }
  .logo { width: 340px; }
  .wordmark { font-size: 8.2rem; }
}
@media (min-width: 1700px) {
  .logo { width: 400px; }
  .wordmark { font-size: 9.2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .logo { animation: rise 700ms ease-out both; }
  .wordmark { animation: rise 700ms 80ms ease-out both; }
  .tagline { animation: rise 700ms 160ms ease-out both; }
  .soon { animation: rise 700ms 240ms ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
