:root {
  color-scheme: dark;
  --ink: #080b12;
  --surface: #121723;
  --white: #f6f7fb;
  --off: #080b12;
  --text: #f6f7fb;
  --muted: #a7afc0;
  --darktext: #f6f7fb;
  --blue: #6b8cff;
  --blue2: #89a2ff;
  --lime: #c7ff4a;
  --line: rgba(255,255,255,.11);
  --shadow: 0 28px 80px rgba(0,0,0,.34);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(107,140,255,.11), transparent 34rem),
    radial-gradient(circle at 90% 42%, rgba(199,255,74,.055), transparent 28rem),
    var(--ink);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.site-header {
  background: rgba(8,11,18,.84);
  border-color: rgba(255,255,255,.1);
}

.logo-mark {
  border-color: rgba(199,255,74,.5);
  background: rgba(199,255,74,.07);
  color: var(--lime);
  box-shadow: inset 0 0 20px rgba(199,255,74,.05);
}

.nav a { color: #a7afc0; }
.nav a:hover { color: var(--lime); }

.button {
  background: var(--lime);
  color: #0a0d12;
  box-shadow: 0 12px 34px rgba(199,255,74,.14);
}

.button:hover {
  background: #d5ff75;
  color: #080b12;
  box-shadow: 0 16px 38px rgba(199,255,74,.2);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.22);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.eyebrow,
.eyebrow-light,
.eyebrow-blue,
.card-number,
.solution-item b,
.process-step strong { color: var(--lime); }

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 84% 20%, rgba(107,140,255,.2), transparent 31rem),
    radial-gradient(circle at 72% 92%, rgba(199,255,74,.08), transparent 26rem),
    #080b12;
}

.hero::before {
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size: 64px 64px;
}

.hero::after { background: radial-gradient(circle,rgba(107,140,255,.18),transparent 68%); }
.hero h1 { max-width: 920px; }
.hero-grid > * { min-width: 0; }
.hero h1 { overflow-wrap: break-word; hyphens: auto; }
.hero-answer {
  display: block;
  margin-top: .16em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246,247,251,.46);
}
.hero .lead, .page-hero .lead { color: var(--muted); }
.trust-points li::before { color: var(--lime); }

.hero-console {
  background: rgba(18,23,35,.74);
  border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}

.console-top i:first-child { background: var(--blue); }
.console-top i:last-child { background: var(--lime); }
.console-body .blue { color: var(--lime); }

.section { background: transparent; }
.section:nth-of-type(even):not(.section-dark):not(.final-cta) { background: rgba(18,23,35,.46); }
.section-dark { background: #0d1119; }

.section-head > p:last-child,
.card p,
.solution-item p,
.process-step p,
.founder-copy > p,
.examples-note,
.faq details p,
.content p,
.content li { color: var(--muted); }

.card {
  position: relative;
  overflow: hidden;
  border-color: var(--line);
  background: rgba(18,23,35,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.card::after {
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(199,255,74,.11);
  border-radius: 28px;
  content: "";
  transform: rotate(18deg);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(199,255,74,.28);
  background: rgba(22,28,42,.78);
}

.problem-grid-five .card:last-child {
  grid-column: 1 / -1;
}

.solution-list,
.solution-item,
.process-grid,
.founder-name,
.faq details { border-color: var(--line); }

.ownership { border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow); }
.ownership-inner { background: linear-gradient(145deg,#121723,#0c1018); }
.ownership-inner::after { color: rgba(199,255,74,.07); }
.pillar-grid { background: rgba(255,255,255,.1); }
.pillar { background: #121723; }
.pillar p { color: var(--muted); }

.process-step::before {
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(199,255,74,.08), 0 0 20px rgba(199,255,74,.28);
}

.founder-visual {
  border: 1px solid rgba(199,255,74,.18);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(145deg,#151b28,#090c12);
  background-size: 38px 38px,38px 38px,auto;
  color: var(--lime);
}

.faq summary::after { color: var(--lime); }

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%,rgba(107,140,255,.18),transparent 30rem),
    #080b12;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  right: 7vw;
  bottom: -75px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(199,255,74,.13);
  border-radius: 45px;
  content: "";
  transform: rotate(18deg);
}

.contact-form {
  border: 1px solid var(--line);
  background: rgba(18,23,35,.78);
  backdrop-filter: blur(16px);
}

.field input,
.field textarea,
.field select {
  border-color: rgba(255,255,255,.14);
  background: #0c1018;
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder { color: #747d8f; }
.check { color: var(--muted); }
.form-status { background: rgba(179,54,54,.15); color: #ffb4b4; }
.legal-note { border-color: var(--lime); background: rgba(199,255,74,.07); color: #dfe9c9; }

.final-cta {
  background:
    radial-gradient(circle at 50% 110%,rgba(199,255,74,.08),transparent 29rem),
    #0b0e15;
  border-top: 1px solid var(--line);
}

.site-footer { background: #06080c; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid nav a:hover { color: var(--lime); }

::selection { background: var(--lime); color: #080b12; }

@media (max-width: 900px) {
  .nav { background: rgba(18,23,35,.98); }
}

@media (max-width: 620px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.5rem,11vw,3.5rem); }
  .hero-console { border-radius: 16px; }
  .problem-grid-five .card:last-child { grid-column: auto; }
}

/* Readable light content flow while preserving the original dark Denkcode identity. */
.section-light {
  background: #f7f8f5 !important;
  color: #111318;
}

.section-light + .section-light {
  border-top: 1px solid #e1e4e8;
}

.section-light .section-head > p:last-child,
.section-light .solution-item p,
.section-light .process-step p,
.section-light .founder-copy > p,
.section-light .faq details p,
.section-light .content p,
.section-light .content li,
.section-light .examples-note { color: #606875; }

.section-light .eyebrow,
.section-light .card-number,
.section-light .solution-item b,
.section-light .process-step strong { color: #285bdc; }

.section-light .card {
  border-color: #dfe3e8;
  background: #fff;
  box-shadow: 0 18px 48px rgba(19,25,35,.06);
}

.section-light .card::after { border-color: rgba(59,111,245,.12); }
.section-light .card:hover { border-color: rgba(59,111,245,.35); background: #fff; }
.section-light .solution-list,
.section-light .solution-item,
.section-light .process-grid,
.section-light .founder-name,
.section-light .faq details { border-color: #dfe3e8; }
.section-light .process-step::before { background: #3b6ff5; box-shadow: 0 0 0 5px rgba(59,111,245,.08); }
.section-light .faq summary::after { color: #3b6ff5; }
.section-light .contact-form { border-color: #d9dde3; background: #fff; box-shadow: 0 22px 55px rgba(19,25,35,.08); }
.section-light .field input,
.section-light .field textarea,
.section-light .field select { border-color: #cbd1d9; background: #fff; color: #111318; }
.section-light .field input::placeholder,
.section-light .field textarea::placeholder { color: #747d8f; }
.section-light .check { color: #606875; }
.section-light .legal-note { border-color: #3b6ff5; background: #eef2ff; color: #35415a; }

.investment-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(45px,8vw,100px);
  align-items: center;
}

.investment-grid .section-head { margin-bottom: 0; }
.investment-card { padding: clamp(28px,4vw,42px); border: 1px solid #d9dde3; border-radius: 20px; background: #fff; box-shadow: 0 22px 55px rgba(19,25,35,.08); }
.investment-card .flow-label { color: #606875; }
.investment-card > strong { display: block; margin: 8px 0 18px; color: #111318; font-size: clamp(2.5rem,5vw,4.5rem); line-height: 1; letter-spacing: -.06em; }
.investment-card p { color: #606875; }
.investment-card a { color: #285bdc; font-weight: 750; text-underline-offset: 4px; }

.problem-finder {
  overflow: hidden;
  border: 1px solid #d9dde3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15,23,38,.1);
}

.problem-tabs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: #dfe3e8;
}

.problem-tab {
  min-height: 72px;
  padding: 14px 18px;
  border: 0;
  background: #f1f3f5;
  color: #4e5663;
  font-size: .88rem;
  font-weight: 720;
  cursor: pointer;
  transition: background .2s,color .2s;
}

.problem-tab:hover { background: #fff; color: #111318; }
.problem-tab.is-active { background: #0d1119; color: #c7ff4a; }

.problem-stage {
  padding: clamp(24px,5vw,54px);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
    #0d1119;
  background-size: 48px 48px,48px 48px,auto;
  color: #f6f7fb;
}

.problem-panel {
  display: grid;
  grid-template-columns: minmax(150px,1fr) auto minmax(170px,1fr) minmax(210px,1.15fr);
  gap: clamp(18px,3vw,42px);
  align-items: center;
  animation: finder-in .32s ease both;
}

.problem-panel[hidden] { display: none; }
.flow-label { display: block; margin-bottom: 16px; color: #8f98a8; font: 700 .7rem/1.3 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .13em; text-transform: uppercase; }
.flow-chain { display: grid; justify-items: start; gap: 4px; }
.flow-chain b { padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: rgba(255,255,255,.045); font-size: .82rem; font-weight: 600; }
.flow-chain i { margin-left: 17px; color: #707a8b; font-style: normal; line-height: 1; }
.flow-future .flow-chain b { border-color: rgba(199,255,74,.25); background: rgba(199,255,74,.055); }
.flow-future .flow-chain i { color: #c7ff4a; }
.flow-arrow { color: #6b8cff; font-size: 1.7rem; }
.flow-result { padding: 24px; border-left: 2px solid #c7ff4a; background: rgba(199,255,74,.055); }
.flow-result strong { display: block; font-size: 1.15rem; }
.flow-result p { margin: 8px 0 0; color: #a7afc0; font-size: .9rem; }
.finder-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.finder-action p { max-width: 560px; margin: 0; color: #a7afc0; font-size: .9rem; }
.finder-action .button { flex: 0 0 auto; }

@keyframes finder-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 900px) {
  .investment-grid { grid-template-columns: 1fr; }
  .problem-tabs { grid-template-columns: repeat(2,1fr); }
  .problem-panel { grid-template-columns: 1fr auto 1fr; }
  .flow-result { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .problem-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; }
  .problem-tab { min-width: 185px; min-height: 58px; text-align: left; }
  .problem-stage { padding: 25px 20px; }
  .problem-panel { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: start; }
  .flow-result { grid-column: auto; }
  .finder-action { align-items: stretch; flex-direction: column; }
}
