/* Tyniq brand tokens — teal/coral dark theme */
:root {
  --bg:            #0E1413;
  --surface-1:     #151D1B;
  --surface-2:     #1C2522;
  --surface-3:     #25302C;
  --border:        #2C3733;
  --border-strong: #3A4843;
  --text:          #ECF1EF;
  --text-secondary:#A6B2AE;
  --text-muted:    #73807B;
  --primary:       #2FC9A6;
  --primary-hover: #5FD6BA;
  --primary-soft:  #12342E;
  --accent:        #FF7E54;
  --accent-hover:  #FF9472;
  --accent-soft:   #3A1C12;
  --radius:        10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--border-strong);
  margin-bottom: 0.6em;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2.25rem;
  margin-bottom: 0.6em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5em;
}

h4 { font-size: 0.95rem; margin-bottom: 0.4em; }

p { margin-bottom: 0.9rem; color: var(--text); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--primary-hover); text-decoration: underline; }

strong { color: var(--text); font-weight: 600; }

em { font-style: italic; color: var(--text-secondary); }

ul, ol { margin: 0.5rem 0 1rem 1.5rem; }
li { margin-bottom: 0.45rem; color: var(--text); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}
th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--text);
  font-weight: 600;
  background: var(--surface-2);
}
tr:hover td { background: rgba(47, 201, 166, 0.04); }

/* ─── Layout ─── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* ─── Header / nav ─── */
.header {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.header a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Hanken Grotesk', sans-serif;
  letter-spacing: -0.02em;
}
.header a:hover { color: var(--primary); text-decoration: none; }

/* ─── Muted / subtitle ─── */
.subtitle, .muted { color: var(--text-muted); }
.subtitle { font-size: 0.875rem; margin-bottom: 2rem; }
.muted a { color: var(--primary); }
.muted a:hover { color: var(--primary-hover); }

/* ─── Highlight / callout box ─── */
.highlight {
  background: var(--primary-soft);
  border: 1px solid rgba(47, 201, 166, 0.25);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1.25rem 0;
}
.highlight p { color: var(--text); margin-bottom: 0; }

/* ─── Scenario cards ─── */
.scenario {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1rem 0;
}
.scenario h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.scenario p { color: var(--text-secondary); margin-bottom: 0; }

/* ─── Tags ─── */
.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.01em;
}
.tag-yes     { background: var(--primary-soft); color: var(--primary); }
.tag-no      { background: var(--accent-soft);  color: var(--accent); }
.tag-partial { background: var(--surface-3);    color: var(--text-secondary); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #0E1413;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover {
  background: var(--primary-hover);
  color: #0E1413;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ─── Card (bedankt.html) ─── */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 32px;
  text-align: left;
}
.card h2 {
  font-size: 1rem;
  border-bottom-color: var(--border);
  margin-top: 0;
}
.card li { color: var(--text-secondary); }
.card li strong { color: var(--text); }

/* ─── Check icon circle ─── */
.check {
  width: 72px; height: 72px; margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 2px solid rgba(47, 201, 166, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.check svg { width: 36px; height: 36px; stroke: var(--primary); }

/* ─── Back link ─── */
.back {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.back:hover { color: var(--primary); text-decoration: none; }

/* ─── Dot accent (logo period) ─── */
.dot-accent { color: var(--primary); }

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .container { padding: 32px 16px 64px; }
  .card { padding: 20px; }
  table { font-size: 0.82rem; }
  th, td { padding: 8px 10px; }
}
