/* Tentonix Apps — shared styles. Colours and type follow tentonix.de. */
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF; --bg-soft: #F7F8FB; --ink: #14171C; --ink-2: #2C2F36; --muted: #5C616B;
  --faint: #9AA0AB; --line: #E7E9EF; --accent: #2C57C4; --accent-hover: #234AAB;
  --header-bg: rgba(255,255,255,0.82);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1014; --bg-soft: #161920; --ink: #EEF0F4; --ink-2: #D4D7DE; --muted: #A3A8B2;
    --faint: #7A808B; --line: #262A33; --accent: #7C9BEA; --accent-hover: #A2B9F2;
    --header-bg: rgba(14,16,20,0.82);
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: 'Instrument Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-height: 1.6;
}
::selection { background: var(--accent); color: #fff; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 32px); }
.narrow { max-width: 760px; }

/* Header and footer */
.site-header {
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: var(--header-bg); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.brand:hover { text-decoration: none; }
.brand span { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.lang { font-size: 14px; color: var(--faint); white-space: nowrap; }
.lang a { color: var(--muted); }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
.lang .short { display: none; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 96px; font-size: 14px; color: var(--faint); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row nav a { color: var(--muted); }

/* Type */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
h1 { font-weight: 600; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; }
h2 { font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin: 56px 0 16px; }
h3 { font-weight: 600; font-size: 18px; margin: 28px 0 8px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
p, li { color: var(--ink-2); }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
.meta { font-size: 14px; color: var(--faint); }

/* Sections */
.hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); }
.legal { padding-top: clamp(48px, 7vw, 88px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.card {
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); color: inherit;
}
.card:hover { text-decoration: none; border-color: var(--accent); }
.card-body { padding: clamp(24px, 3vw, 40px); align-self: center; }
.card-body h2 { margin-top: 0; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin: 0 6px 6px 0; }
.banner { border-radius: 10px; margin: 0 0 40px; }
.button {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 600; padding: 12px 22px;
  border-radius: 6px; margin: 4px 12px 4px 0;
}
.button:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button.ghost:hover { border-color: var(--ink); color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.shots img { border-radius: 8px; border: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px; padding: 0; list-style: none; }
.features li { border-top: 1px solid var(--line); padding-top: 12px; }
.features strong { display: block; color: var(--ink); }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details p { margin: 10px 0 0; }
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 15px; }
dl.facts dt { color: var(--faint); }
dl.facts dd { margin: 0; color: var(--ink-2); }

@media (max-width: 720px) {
  .card { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .lang .long { display: none; }
  .lang .short { display: inline; }
  .brand span { font-size: 17px; }
}
