/* Shared shell for index.html + usecase_*.html + impressum.html.
   Brand tokens + DM Sans / Anybody come from tokens.css. Only marketing-specific
   shell tokens (borders, shadows, radius) live here. */
@import url('tokens.css');
:root {
  /* Elevation — two dialects:
     interactive (brutalist offset) → --shadow, --shadow-sm, --shadow-brand, --shadow-lg
     non-interactive (soft/clean)   → --shadow-soft, --shadow-soft-lg
     Use the brutalist pair ONLY on things the user can press, drag, or toggle. */
  --shadow:        2px 4px 0 0 var(--n1000);
  --shadow-sm:     1px 2px 0 0 var(--n1000);
  --shadow-brand:  2px 4px 0 0 var(--p900);
  --shadow-lg:     4px 6px 0 0 var(--n1000);
  --shadow-soft:    0 1px 2px rgba(20,20,26,0.04), 0 4px 12px rgba(20,20,26,0.05);
  --shadow-soft-lg: 0 2px 4px rgba(20,20,26,0.05), 0 12px 28px rgba(20,20,26,0.08);
  /* DS radius scale: 8 buttons/inputs → 16 cards/bubbles → 24 large panels. */
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --border:        2px solid var(--n1000);
  --border-soft:   1px solid var(--n300);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { color: var(--n1000); line-height: 1.6; background: var(--n0); }
a { color: var(--p600); text-decoration: none; }

/* Hide custom elements until they are upgraded to prevent unstyled flash */
ik-nav:not(:defined), ik-footer:not(:defined), ik-hero:not(:defined),
ik-triad:not(:defined), ik-triad-card:not(:defined), ik-demo-frame:not(:defined),
ik-body:not(:defined), ik-metric-row:not(:defined), ik-metric:not(:defined),
ik-split:not(:defined), ik-split-col:not(:defined),
ik-solution:not(:defined), ik-measurable:not(:defined) {
  display: none;
}

/* Nav */
nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 5vw; border-bottom: var(--border); position: sticky; top: 0; background: var(--n0); z-index: 10; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; display: inline-flex; align-items: center; }
.logo span { color: var(--p600); }
.logo-img { height: 34px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
nav ul a { color: var(--n700); font-size: 14px; font-weight: 500; }
nav ul a:hover { color: var(--n1000); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.lang-switch a { color: var(--n600); letter-spacing: 0.04em; }
.lang-switch a:hover { color: var(--n1000); }
.lang-switch a.active { color: var(--n1000); font-weight: 700; pointer-events: none; }
.lang-switch .lang-sep { color: var(--n400); }
.footer-lang a { color: var(--n600); }

.nav-cta { background: var(--p600); color: var(--n0) !important; padding: 8px 18px; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: 14px; border: var(--border); box-shadow: var(--shadow-brand); transition: transform 120ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 120ms cubic-bezier(0.2,0.8,0.2,1); }
.nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 3px 5px 0 0 var(--p900); }
.nav-dd { position: relative; cursor: pointer; padding-bottom: 14px; margin-bottom: -14px; }
.nav-dd-label { color: var(--n700); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-label::after { content: '\25BE'; font-size: 10px; margin-left: 2px; }
.nav-dd:hover .nav-dd-label { color: var(--n1000); }
.nav-dd-menu { position: absolute; top: 100%; left: 0; min-width: 280px; max-width: 340px; background: var(--n0); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none; z-index: 20; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 8px 12px; font-size: 13px; color: var(--n800); font-weight: 500; border-radius: 4px; }
.nav-dd-menu a:hover { background: var(--p100); color: var(--p700); }
.nav-dd-menu a.active { background: var(--p100); color: var(--p700); }
.nav-dd-menu .nav-dd-group { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--n600); padding: 8px 12px 4px; letter-spacing: 0.06em; }
.nav-toggle { display: none; background: none; border: var(--border); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--n1000); border-radius: 2px; }

section { padding: 112px 5vw; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--p600); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }

/* DS buttons: 44px, 2px ink, hard offset shadow (blue-900 on primary). */
.btn {
  padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  display: inline-flex; align-items: center; gap: 8px;
  border: var(--border); cursor: pointer; white-space: nowrap;
  transition: transform 120ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 120ms cubic-bezier(0.2,0.8,0.2,1), background 120ms;
}
.btn-primary { background: var(--p600); color: var(--n0); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--p700); transform: translate(-1px,-1px); box-shadow: 3px 5px 0 0 var(--p900); }
.btn-primary:active { transform: translate(1px,2px); box-shadow: 0 0 0 0 var(--p900); }
.btn-secondary { background: var(--n0); color: var(--n1000); box-shadow: var(--shadow); }
.btn-secondary:hover { background: var(--p200); transform: translate(-1px,-1px); box-shadow: 3px 5px 0 0 var(--n1000); }
.btn-secondary:active { transform: translate(1px,2px); box-shadow: 0 0 0 0 var(--n1000); }
.btn-on-dark { background: var(--n0); color: var(--n1000); border-color: var(--n0); box-shadow: var(--shadow); }
.btn-on-dark:hover { background: var(--p200); }
.btn-on-dark-outline { background: transparent; color: var(--n0); border-color: var(--n0); }
.btn-on-dark-outline:hover { background: var(--n0); color: var(--n1000); }

/* =========================================================================
   Usecase surfaces — rebuilt on the Get-Ikigai DS primitives.
   Rules followed here:
     - 2px ink borders on every container.
     - Hard offset shadow only (no soft drop).
     - Radius scale: 8 (inputs/buttons) → 16 (cards/bubbles) → 24 (panels).
     - Display face (Anybody) for headlines, numbers, tag-style metadata.
     - Brand blue (p600) is load-bearing: actions + brand moments only.
   ========================================================================= */

/* ---- Usecase hero -------------------------------------------------------- */
.uc-hero { padding: 72px 5vw 48px; border-bottom: var(--border); background: var(--n0); }
.uc-hero .container { max-width: 960px; }
.uc-crumb {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--n600); margin-bottom: 16px;
}
.uc-crumb a { color: var(--p600); }
.uc-crumb strong { color: var(--n1000); font-weight: 700; }
.uc-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 18px;
}
.uc-hero .lead { font-size: 20px; color: var(--n700); max-width: 720px; line-height: 1.5; }
.uc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--p700); background: var(--p200);
  border: 1px solid var(--p300); border-radius: 100px;
  padding: 4px 12px; margin-bottom: 14px;
}

/* ---- Problem / Solution / Impact triad ---------------------------------- */
.uc-triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.uc-triad > * { display: flex; }
.uc-triad-card {
  border: 1px solid var(--n300); border-radius: var(--radius-lg);
  padding: 24px; background: var(--n0); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; width: 100%;
}
.uc-triad-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: 0; text-transform: none;
  color: var(--p600); margin-bottom: 10px;
  display: block;
}
.uc-triad-card h3::before { content: none; }
.uc-triad-card h3.red { color: var(--red); }
.uc-triad-card h3.red::before { background: var(--red); }
.uc-triad-card h3.green { color: var(--green-dark); }
.uc-triad-card h3.green::before { background: var(--green); }
.uc-triad-card p { font-size: 15px; color: var(--n800); line-height: 1.55; }
.uc-triad-card ul { list-style: none; font-size: 15px; margin-top: 4px; }
.uc-triad-card li { padding: 4px 0 4px 18px; position: relative; color: var(--n800); }
.uc-triad-card li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--n1000); background: var(--p600);
}
.uc-triad-card--problem li::before { background: var(--red); }
.uc-triad-card--impact  li::before { background: var(--green); border-color: var(--green-dark); }

/* ---- Iframe demo frame (ink surface) ------------------------------------ */
.uc-demo { background: var(--n1000); padding: 80px 5vw; }
.uc-demo .container { max-width: 1240px; }
.uc-demo h2 {
  font-family: var(--font-display); font-weight: 800;
  color: var(--n0); font-size: 26px; letter-spacing: -0.01em; line-height: 1.2;
  margin-bottom: 10px;
}
.uc-demo p.lead { color: var(--n400); font-size: 16px; margin-bottom: 28px; max-width: 680px; line-height: 1.5; }
.uc-demo .frame-wrap {
  position: relative; border: 2px solid var(--n0); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 4px 6px 0 0 var(--p900); background: var(--n0);
}
.uc-demo iframe { display: block; width: 100%; height: 780px; border: 0; }
.uc-demo .frame-toolbar {
  background: var(--n200); border-bottom: 2px solid var(--n1000);
  padding: 10px 14px; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--n700);
}
.uc-demo .frame-toolbar .dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--n1000); }
.uc-demo .frame-toolbar .red-dot   { background: var(--red); }
.uc-demo .frame-toolbar .amber-dot { background: var(--amber); }
.uc-demo .frame-toolbar .green-dot { background: var(--green); }
.uc-demo .frame-toolbar a { margin-left: auto; color: var(--p600); }

/* ---- Details body (editorial surface) ----------------------------------- */
.uc-body { padding: 80px 5vw; }
.uc-body .container { max-width: 900px; }
.uc-body h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: -0.01em; line-height: 1.2;
  margin: 56px 0 16px;
}
.uc-body h2:first-child { margin-top: 0; }
.uc-body p { font-size: 16px; color: var(--n800); line-height: 1.7; margin-bottom: 14px; }
.uc-body ul { list-style: none; margin: 12px 0 20px 0; padding: 0; }
.uc-body ul > li {
  position: relative; padding: 4px 0 4px 22px;
  margin-bottom: 4px; font-size: 16px; color: var(--n800); line-height: 1.55;
}
.uc-body ul > li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--n1000); background: var(--p600);
}
/* Numbered lists own their own markers — no bullet shape. */
.uc-body ol { list-style: none; counter-reset: step; margin: 12px 0 20px 0; padding: 0; }
.uc-body ol > li {
  position: relative; counter-increment: step;
  padding: 6px 0 6px 40px; margin-bottom: 6px;
  font-size: 16px; color: var(--n800); line-height: 1.55;
}
.uc-body ol > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--n1000); background: var(--p200); color: var(--n1000);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.uc-body li strong { color: var(--n1000); }

.uc-metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 28px 0; }
.uc-metric {
  border: 1px solid var(--n300); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-soft); background: var(--n0);
  display: flex; flex-direction: column; gap: 6px;
}
.uc-metric .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3vw, 36px); line-height: 1.05; color: var(--p600); letter-spacing: -0.01em;
  word-break: break-word;
}
.uc-metric .lbl {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--n600);
}

/* ---- Measurable-outcomes panel (use case editorial) --------------------- */
.uc-measurable { background: var(--p200); padding: 72px 5vw; border-top: 1px solid var(--p300); border-bottom: 1px solid var(--p300); }
.uc-measurable .container { max-width: 1100px; margin: 0 auto; }
.uc-measurable h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 20px; }
.uc-measurable .lead { font-size: 16px; color: var(--n700); max-width: 680px; margin-bottom: 24px; }

/* ---- Solution panel (light blue-tinted section) ------------------------- */
.uc-solution { background: var(--p100); padding: 96px 5vw; border-top: 1px solid var(--p200); border-bottom: 1px solid var(--p200); }
.uc-solution .container { max-width: 900px; margin: 0 auto; }
.uc-solution h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 16px; }
.uc-solution h2 + h2 { margin-top: 48px; }
.uc-solution p { font-size: 16px; color: var(--n800); line-height: 1.7; margin-bottom: 14px; }
.uc-solution ul { list-style: none; margin: 12px 0 20px 0; padding: 0; }
.uc-solution ul > li {
  position: relative; padding: 4px 0 4px 22px;
  margin-bottom: 4px; font-size: 16px; color: var(--n800); line-height: 1.55;
}
.uc-solution ul > li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--n1000); background: var(--p600);
}
.uc-solution ol { list-style: none; counter-reset: step; margin: 12px 0 20px 0; padding: 0; }
.uc-solution ol > li {
  position: relative; counter-increment: step;
  padding: 6px 0 6px 40px; margin-bottom: 6px;
  font-size: 16px; color: var(--n800); line-height: 1.55;
}
.uc-solution ol > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--n1000); background: var(--n0); color: var(--n1000);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Split tile (two-column "today" / "pain") --------------------------- */
.uc-split { padding: 80px 5vw; }
.uc-split .container { max-width: 1100px; margin: 0 auto; }
.uc-split-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--n300); border-radius: var(--radius-lg);
  background: var(--n0); box-shadow: var(--shadow-soft); overflow: hidden;
}
.uc-split-col { padding: 32px 36px; }
.uc-split-col + .uc-split-col { border-left: 1px solid var(--n300); }
.uc-split-col h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 14px; }
.uc-split-col .eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--p600); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.uc-split-col .eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--n1000); background: var(--p600); }
.uc-split-col p { font-size: 16px; color: var(--n800); line-height: 1.6; margin-bottom: 12px; }
.uc-split-col ul { list-style: none; margin: 8px 0; padding: 0; }
.uc-split-col li {
  position: relative; padding: 4px 0 4px 22px; margin-bottom: 4px;
  font-size: 15px; color: var(--n800); line-height: 1.55;
}
.uc-split-col li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--n1000); background: var(--p600);
}
.uc-split-col li strong { color: var(--n1000); }
@media (max-width: 900px) {
  .uc-split-grid { grid-template-columns: 1fr; }
  .uc-split-col + .uc-split-col { border-left: none; border-top: 1px solid var(--n300); }
}

/* ---- CTA band ------------------------------------------------------------ */
.uc-cta { background: var(--p600); color: var(--n0); padding: 96px 5vw; text-align: center; border-top: var(--border); }
.uc-cta h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; line-height: 1.15;
  color: var(--n0); margin-bottom: 14px;
}
.uc-cta p { font-size: 18px; color: var(--p200); max-width: 560px; margin: 0 auto 28px; line-height: 1.5; }
.uc-cta .btn { background: var(--n0); color: var(--n1000); border-color: var(--n1000); box-shadow: 2px 4px 0 0 var(--p900); }
.uc-cta .btn:hover { background: var(--p200); transform: translate(-1px,-1px); box-shadow: 3px 5px 0 0 var(--p900); }
.uc-cta .btn:active { transform: translate(1px,2px); box-shadow: 0 0 0 0 var(--p900); }

/* ---- Site footer (rendered by <ik-footer>) ------------------------------ */
footer { padding: 40px 5vw 24px; font-size: 14px; color: var(--n700); border-top: var(--border); background: var(--n0); }
footer a { color: var(--n700); font-weight: 500; }
footer a:hover { color: var(--p600); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; text-align: left; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col .logo-img { height: 32px; margin-bottom: 14px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--n1000); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 8px; }
.footer-col p { font-size: 14px; color: var(--n700); line-height: 1.5; text-align: left; }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--n300); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--n600); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  .uc-triad { grid-template-columns: 1fr; }
  .uc-metric-row { grid-template-columns: 1fr; }
  nav ul { gap: 18px; }
  .uc-demo iframe { height: 560px; }
}
@media (max-width: 768px) {
  nav { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  nav ul { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; margin-top: 12px; border-top: var(--border); }
  nav ul li { padding: 10px 0; border-bottom: 1px solid var(--n200); }
  nav ul li:last-child { border-bottom: none; }
  nav.open ul { display: flex; }
  .nav-dd { cursor: default; padding-bottom: 0; margin-bottom: 0; }
  .nav-dd-label::after { display: none; }
  .nav-dd-menu { position: static; display: block; min-width: 0; box-shadow: none; border: none; padding: 8px 0 0 12px; }
  .nav-cta { order: 2; }
}
