/* Siloquy & Portae — technical public surface */

:root {
  --bg: #F7FAF9;
  --bg-grid: rgba(18, 184, 169, 0.07);
  --paper: #FFFFFF;
  --panel: #F0F7F6;
  --panel-strong: #E5F3F1;
  --ink: #061116;
  --muted: #52646B;
  --quiet: #71828A;
  --line: #D7E3E1;
  --line-strong: #B9CFCC;
  --teal: #12B8A9;
  --teal-dark: #08776F;
  --violet: #4C1D95;
  --violet-soft: #EEE9FF;
  --green: #43B86A;
  --green-soft: #E7F7ED;
  --amber: #B7791F;
  --amber-soft: #FFF3D8;
  --red: #D9485C;
  --red-soft: #FDECEF;
  --shadow-soft: 0 18px 44px rgba(6, 17, 22, 0.10);
  --shadow-tight: 0 1px 2px rgba(6, 17, 22, 0.06), 0 12px 28px rgba(6, 17, 22, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --rule: 1px solid var(--line);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg-grid) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 119, 111, 0.24);
}
a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

img, svg { display: block; max-width: 100%; }
strong { color: var(--ink); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 250, 249, 0.88);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border: 0;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(18, 184, 169, 0.26);
  box-shadow: 0 6px 18px rgba(18, 184, 169, 0.12);
}

.brand-name {
  font-weight: 750;
  font-size: 1.14rem;
  text-transform: none;
  letter-spacing: 0;
}

.customer-brand-tag {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav .pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.site-nav a.current {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: var(--line);
}

.site-nav a.current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
}

.site-nav a.primary {
  background: var(--teal-dark);
  color: #fff;
  border-color: var(--teal-dark);
}

.site-nav a.primary:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.hero {
  padding: 70px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 650px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.hero-brandline {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 2.75rem);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
}

.hero .lede {
  max-width: 62ch;
  margin: 0 0 28px;
  color: #1C2C31;
  font-size: 1.15rem;
  line-height: 1.62;
}

.hero .lede:last-child {
  margin-bottom: 0;
}

.hero-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #061116;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 14 / 9;
}

.hero-figure img,
.hero-figure svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--panel);
  border-color: var(--teal);
  color: var(--ink);
}

.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn.primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
}

.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.entry-document-link {
  display: grid;
  gap: 3px;
  max-width: 560px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-tight);
  color: var(--ink);
  text-decoration: none;
}

.entry-document-link span,
.tagline,
.chapter-kicker,
.process-steps span {
  color: var(--teal-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.entry-document-link strong {
  font-size: 1.17rem;
  line-height: 1.2;
}

.entry-document-link small {
  color: var(--muted);
  font-size: 0.94rem;
}

.entry-document-link:hover {
  background: #fff;
  border-color: var(--line-strong);
  border-left-color: var(--violet);
  color: var(--ink);
}

.section {
  padding: 70px 0;
  border-top: var(--rule);
  background: rgba(247, 250, 249, 0.72);
}

.section.lead,
.guide-section {
  border-top: 0;
}

.document-section {
  padding-top: 46px;
  padding-bottom: 46px;
}

.document-section .entry-document-link {
  max-width: 760px;
  margin-top: 0;
}

.document-link-stack {
  display: grid;
  gap: 16px;
  max-width: 780px;
}

.section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 740;
}

.section p {
  color: var(--muted);
}

.section .intro {
  max-width: 810px;
}

.guide-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 36px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid rgba(76, 29, 149, 0.20);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.guide-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.guide-copy p { margin: 0; }

.guide-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(76, 29, 149, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.guide-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--violet-soft);
}

.guide-toolbar span {
  padding: 5px 9px;
  border: 1px solid rgba(76, 29, 149, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
}

.guide-pill-demo {
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid var(--violet);
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font: 700 0.93rem var(--sans);
}

.guide-chat {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.guide-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.guide-bubble.user {
  justify-self: end;
  background: var(--violet);
  color: #fff;
}

.guide-bubble.assistant {
  justify-self: start;
  border: 1px solid rgba(76, 29, 149, 0.18);
  background: var(--violet-soft);
  color: var(--ink);
}

.guide-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(76, 29, 149, 0.16);
  background: rgba(76, 29, 149, 0.16);
}

.guide-route span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
}

.gate-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.gate-card .card-art {
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #061116;
}

.gate-card .card-art img,
.gate-card .card-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gate-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.gate-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.gate-card .tagline {
  margin: 0 0 14px;
}

.gate-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.gate-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.feature {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 17, 22, 0.04);
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  background: var(--teal);
}

.feature.muted-accent::before { background: var(--violet); }
.feature.grass-accent::before { background: var(--green); }
.feature.guide-accent::before { background: var(--violet); }

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.media-split.flip > :first-child { order: 2; }

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.media-card img {
  width: 100%;
  height: auto;
}

.media-card figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--teal);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 36px 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; }

.vision {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 0;
  color: var(--ink);
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.35;
}

.vision::before,
.vision::after {
  content: "";
  display: block;
  width: 96px;
  height: 2px;
  margin: 18px auto;
  background: var(--teal);
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0;
  border-top: var(--rule);
  background: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-inner a { color: var(--ink); }

.article-hero { padding-bottom: 34px; }

.article-title-grid { max-width: 850px; }

.article-title-grid h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 2.75rem);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: 0;
}

.tombstone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tombstone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  margin: 0;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.tombstone blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.25;
}

.tombstone figcaption {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.document-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.focus-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.focus-panel h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.focus-panel ol {
  margin: 0;
  padding-left: 20px;
}

.focus-panel li {
  margin: 0 0 14px;
  color: var(--muted);
}

.focus-panel strong { color: var(--ink); }

.focus-panel ul {
  margin: 0;
  padding-left: 18px;
}

.focus-panel ul li {
  margin: 0 0 14px;
  color: var(--muted);
}

.article-body { max-width: 820px; }

.reading-section {
  padding-top: 50px;
}

.reading-article {
  max-width: 820px;
  margin: 0 auto;
}

.reading-article .chapter {
  margin-bottom: 44px;
  padding-bottom: 36px;
}

.reading-article h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.reading-article p,
.reading-article li {
  max-width: 70ch;
}

.reading-statement {
  max-width: 68ch;
  margin: 26px 0;
  padding: 12px 0 12px 18px;
  border-left: 3px solid var(--teal);
  background: linear-gradient(90deg, rgba(18, 184, 169, 0.08), rgba(18, 184, 169, 0));
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 680;
  line-height: 1.45;
}

.plain-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 8px;
}

.reading-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 12px;
}

.reading-links a {
  font-weight: 700;
}

.chapter {
  margin: 0 0 52px;
  padding: 0 0 52px;
  border-bottom: var(--rule);
}

.chapter:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.chapter p { font-size: 1.07rem; }

.focus-quote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 640;
  line-height: 1.35;
}

.layer-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.layer-card,
.process-steps > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.layer-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.08rem;
}

.layer-card span { color: var(--muted); }

.process-steps {
  display: grid;
  gap: 14px;
}

.process-steps strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
}

.process-steps p { margin: 6px 0 0; }

.source-note {
  margin-top: 18px;
  color: var(--quiet);
  font-size: 0.92rem;
}

.example-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.example-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.example-list strong {
  display: block;
  margin-bottom: 4px;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.download-band h2 { margin: 0 0 8px; }
.download-band p { margin: 0; }

.narrow { max-width: 820px; }

.simple-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.simple-page h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
}

.impressum-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.impressum-card h2 { margin-top: 0; }

.impressum-card address {
  margin: 0 0 18px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.8;
}

@media (max-width: 920px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 760px; }
  .hero-figure { display: none; }
  .guide-band { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .media-split { grid-template-columns: 1fr; gap: 24px; }
  .media-split.flip > :first-child { order: 0; }
  .metric-strip { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .tombstone-grid { grid-template-columns: 1fr; }
  .tombstone { min-height: 0; }
  .document-grid { grid-template-columns: 1fr; gap: 36px; }
  .focus-panel { position: static; }
  .download-band { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 14px 0;
  }
  .site-nav a { min-height: 36px; padding: 7px 12px; }
  .hero { padding: 38px 0 40px; }
  .hero h1 { font-size: 2.55rem; }
  .hero .lede { font-size: 1.04rem; }
  .section { padding: 48px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .guide-band,
  .download-band,
  .tombstone,
  .focus-panel { padding: 20px; }
  .guide-route { grid-template-columns: 1fr; }
  .layer-stack { grid-template-columns: 1fr; }
}

/* Default dark technical surface.
   Deliberately near the customer palette, but not identical RGB values. */
:root {
  color-scheme: dark;
  --bg: #02042B;
  --bg-grid: rgba(3, 224, 216, 0.055);
  --paper: #080F3E;
  --panel: #0C1448;
  --panel-strong: #121D58;
  --ink: #FAFCFF;
  --muted: #D4DEEF;
  --quiet: #ABB6D1;
  --line: rgba(250, 252, 255, 0.15);
  --line-strong: rgba(3, 224, 216, 0.42);
  --teal: #04DED5;
  --teal-dark: #019391;
  --violet: #090A31;
  --violet-soft: #ECEEFB;
  --green: #38CFB2;
  --green-soft: #E0F8F2;
  --amber: #A97005;
  --amber-soft: #FFF2D4;
  --red: #CA315D;
  --red-soft: #FCE9F1;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.33);
  --shadow-tight: 0 1px 2px rgba(0, 0, 0, 0.22), 0 14px 34px rgba(0, 0, 0, 0.25);
}

html,
body {
  background:
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg-grid) 1px, transparent 1px),
    var(--bg);
  color: var(--ink);
}

:focus-visible {
  outline: 1px solid #1A9BFA;
  outline-offset: 2px;
}

.site-header {
  background: rgba(2, 4, 43, 0.95);
  border-bottom-color: var(--line);
}

.brand,
.brand:hover,
.brand-name,
.site-nav a,
.site-nav .pill,
.site-nav a.current,
.footer-inner a {
  color: var(--ink);
}

.brand-mark {
  border-color: rgba(3, 224, 216, 0.34);
  box-shadow: 0 0 0 1px rgba(3, 224, 216, 0.16), 0 10px 28px rgba(0, 0, 0, 0.31);
}

.customer-brand-tag {
  border-left-color: rgba(250, 252, 255, 0.22);
  color: var(--muted);
}

.site-nav a,
.site-nav .pill,
.pill,
.nav-pills .pill {
  background: rgba(250, 252, 255, 0.06);
  border-color: rgba(250, 252, 255, 0.18);
}

.site-nav a:hover,
.nav-pills .pill:hover,
.pill:hover {
  background: rgba(250, 252, 255, 0.10);
  border-color: var(--line-strong);
  color: var(--ink);
}

.site-nav a.primary,
.btn.primary,
.pill.primary,
.nav-pills .pill.primary,
.action.primary,
button.primary,
input[type=submit],
.cookie-buttons button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #02042B;
}

.site-nav a.primary:hover,
.btn.primary:hover,
.pill.primary:hover,
.nav-pills .pill.primary:hover,
.action.primary:hover,
button.primary:hover,
input[type=submit]:hover,
.cookie-buttons button.primary:hover {
  background: var(--green);
  border-color: var(--green);
  color: #02042B;
}

.btn:not(.primary) {
  background: rgba(8, 15, 62, 0.94);
  border-color: rgba(250, 252, 255, 0.18);
  color: var(--ink);
}

.btn:not(.primary):hover {
  background: rgba(12, 20, 72, 0.98);
  border-color: var(--line-strong);
  color: var(--ink);
}

.hero,
.section,
.document-section,
.guide-section,
.article-hero,
.site-footer,
main {
  background: transparent;
  border-color: var(--line);
}

.hero {
  background:
    linear-gradient(135deg, rgba(3, 224, 216, 0.10), transparent 30%),
    transparent;
}

.hero-copy,
.hero-copy h1,
.hero-brandline,
.section h2,
.section h3,
.guide-copy h2,
.gate-card h2,
.feature h3,
.metric strong,
.cta-band h2,
.article-title-grid h1,
.reading-article h2,
.simple-page h1,
.impressum-card h2,
h1,
h2,
h3,
strong {
  color: var(--ink);
}

.hero-copy .lede,
.hero-eyebrow,
.section p,
.gate-card p,
.guide-copy p,
.metric span,
.media-card figcaption,
.entry-document-link small,
.footer-inner,
p,
.muted,
.caption,
figcaption,
.plain-list,
.plain-list li {
  color: var(--muted);
}

a,
.footer-inner a,
.entry-document-link span,
.tagline,
.chapter-kicker,
.process-steps span,
.eyebrow {
  color: var(--teal);
}

a:hover,
.footer-inner a:hover,
.entry-document-link:hover span {
  color: var(--green);
  border-bottom-color: var(--green);
}

.guide-band,
.gate-card,
.feature,
.media-card,
.metric,
.cta-band,
.entry-document-link,
.tombstone,
.panel,
.feature-card,
.hero-media,
.screenshot-shell,
.download-band,
.impressum-card,
.cookie-bar {
  background: rgba(8, 15, 62, 0.94);
  border-color: var(--line);
  color: var(--ink);
}

.guide-band,
.gate-card,
.feature,
.media-card,
.metric,
.cta-band,
.entry-document-link,
.tombstone,
.panel,
.feature-card,
.hero-media,
.screenshot-shell,
.download-band,
.impressum-card {
  box-shadow: var(--shadow-tight);
}

.gate-card:hover,
.entry-document-link:hover,
.feature:hover {
  background: rgba(12, 20, 72, 0.98);
  border-color: var(--line-strong);
}

.guide-toolbar,
.guide-bubble.assistant {
  background: rgba(18, 29, 88, 0.92);
}

.guide-toolbar span,
.guide-bubble.assistant,
.guide-route,
.guide-route span {
  border-color: rgba(250, 252, 255, 0.14);
}

.guide-route {
  background: rgba(250, 252, 255, 0.13);
}

.guide-route span {
  background: var(--paper);
  color: var(--muted);
}

.guide-bubble.user,
.guide-pill-demo {
  background: var(--teal);
  border-color: var(--teal);
  color: #02042B;
}

.feature-card.accent,
.entry-document-link,
.focus-quote {
  border-left-color: var(--teal);
}

.feature::before,
.vision::before,
.vision::after,
.check-list li::before,
.feature.muted-accent::before,
.feature.grass-accent::before,
.feature.guide-accent::before,
.hero-eyebrow::before,
.site-nav a.current::after {
  background: var(--teal);
}

.hero-figure,
.card-art,
.media-frame {
  background: var(--paper);
  border-color: rgba(3, 224, 216, 0.34);
  box-shadow: var(--shadow-soft);
}

.card-art {
  background: var(--paper);
}

.reading-statement {
  background: linear-gradient(90deg, rgba(3, 224, 216, 0.13), rgba(3, 224, 216, 0));
  border-left-color: var(--teal);
  color: var(--ink);
}

.focus-quote {
  background: rgba(8, 15, 62, 0.94);
  color: var(--ink);
}

.layer-card,
.process-steps > div,
.example-list li {
  background: rgba(8, 15, 62, 0.94);
  border-color: var(--line);
}

code {
  background: rgba(3, 224, 216, 0.14);
  color: var(--ink);
}

.action,
button,
input,
textarea,
.google-action,
.cookie-buttons button {
  background: rgba(8, 15, 62, 0.94);
  border-color: rgba(250, 252, 255, 0.18);
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: var(--quiet);
}
