/* germanspeakingcourse.com: Echoa's German speaking course site.
   Colours and fonts follow client/styles/globals.css; phone first. */
:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #475569;
  --paper: #fdfbf7;
  --primary: #38bdf8;
  --secondary: #fb923c;
  --gold: #ffcc00;
  --sketch: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 17px/1.6 "Plus Jakarta Sans", system-ui, sans-serif;
}
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--primary); }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
header.top { padding: 1rem 0; border-bottom: 3px solid var(--ink); background: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font: 700 1rem/1.1 Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.brand small { display: block; font: 600 .75rem "Plus Jakarta Sans", sans-serif; text-transform: none; letter-spacing: 0; color: var(--muted); }
nav.top a { font: 600 .9rem "Plus Jakarta Sans", sans-serif; margin-left: .9rem; }
h1, h2, h3 { font-family: Oswald, sans-serif; color: var(--ink); text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: 2.6rem; font-weight: 700; margin: 2rem 0 .75rem; }
h2 { font-size: 1.75rem; margin: 2.75rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
.mark { position: relative; display: inline-block; z-index: 0; }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: .35em; z-index: -1; transform: rotate(-1deg); background: color-mix(in srgb, var(--primary) 55%, transparent); border-radius: var(--sketch); }
.lede { font: 700 1.35rem/1.3 Oswald, sans-serif; color: var(--ink); margin: 0 0 .75rem; }
.card { background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 0 var(--ink); border-radius: 20px 4px 18px 5px / 5px 18px 6px 20px; padding: 1.1rem 1.2rem; margin: 1.5rem 0; }
.cta { display: block; text-align: center; background: var(--primary); color: #fff; font: 700 1rem Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: .9rem 1rem; border: 3px solid var(--ink); border-radius: var(--sketch); box-shadow: 4px 4px 0 0 var(--ink); }
.cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.cta-note { text-align: center; font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.de { font-style: italic; color: var(--ink); font-weight: 600; }
ol.chapters { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
ol.chapters li { border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 0 var(--ink); padding: .8rem; font: 700 1.05rem/1.2 Oswald, sans-serif; text-transform: uppercase; color: var(--ink); }
ol.chapters li span { display: block; font: 600 .7rem "Plus Jakarta Sans", sans-serif; letter-spacing: .15em; color: var(--ink); opacity: .7; margin-bottom: .3rem; }
ol.chapters li:nth-child(6n+1) { background: var(--primary); }
ol.chapters li:nth-child(6n+2) { background: var(--gold); }
ol.chapters li:nth-child(6n+3) { background: var(--secondary); }
ol.chapters li:nth-child(6n+4) { background: #6ee7b7; }
ol.chapters li:nth-child(6n+5) { background: #c4b5fd; }
ol.chapters li:nth-child(6n+6) { background: #fda4af; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .6rem; }
dl.faq dt { font: 700 1.1rem Oswald, sans-serif; color: var(--ink); margin-top: 1.1rem; }
dl.faq dd { margin: .25rem 0 0; }
.table-wrap { margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; background: #fff; border: 3px solid var(--ink); }
@media (max-width: 719px) {
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border-bottom: 3px solid var(--ink); }
  tr:last-child { border-bottom: 0; }
  td { border-bottom: 0; padding: .3rem .9rem; }
  td:first-child { padding-top: .8rem; font: 700 1.15rem Oswald, sans-serif; text-transform: uppercase; }
  td:last-child { padding-bottom: .8rem; }
  td:not(:first-child)::before { content: attr(data-label); display: block; font: 700 .7rem "Plus Jakarta Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
}
th, td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid #cbd5e1; }
th { font: 700 .85rem Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: #f1f5f9; }
tr.ours td { background: #e0f2fe; }
td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sources { font-size: .8rem; color: var(--muted); }
.sources li { margin-bottom: .2rem; word-break: break-word; }
footer.bottom { margin-top: 3.5rem; padding: 1.5rem 0 2.5rem; border-top: 3px solid var(--ink); font-size: .85rem; color: var(--muted); }
footer.bottom a { margin-right: .9rem; }
@media (min-width: 720px) {
  h1 { font-size: 3.6rem; }
  ol.chapters { grid-template-columns: repeat(3, 1fr); }
  .cta { display: inline-block; padding: .9rem 2rem; }
  .cta-note { text-align: left; }
}
