/* tz-flow.com: one page, no scripts, no outside requests. System fonts only. */

:root {
  color-scheme: light dark;
  --ground: #f3f5f8;
  --surface: #ffffff;
  --ink: #10182b;
  --muted: #566076;
  --line: #d5dae3;
  --accent: #2447d6;
  --accent-ink: #ffffff;
  --felt: #1f5a41;
  --gold: #f0b05a;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0d1220;
    --surface: #151c2e;
    --ink: #e8ecf5;
    --muted: #9aa5bd;
    --line: #28324a;
    --accent: #8fa6ff;
    --accent-ink: #0d1220;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}

.page {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 28px 56px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

a { color: var(--accent); text-underline-offset: 3px; }
a[href^='mailto:'] { white-space: nowrap; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.mark__tile { fill: var(--accent); }
.mark__line { fill: none; stroke: var(--accent-ink); stroke-width: 3.2; stroke-linecap: round; }
.mark__line--low { opacity: 0.55; }
.top__contact { font-size: 0.95rem; }

/* sections */
main { display: flex; flex-direction: column; gap: 64px; }
section { display: flex; flex-direction: column; gap: 18px; }

.lead { gap: 22px; }
.lead h1 { font-size: clamp(2rem, 6.2vw, 3.1rem); font-weight: 750; letter-spacing: -0.025em; }
.lead p { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

h2 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px 40px; }
.two > div { display: flex; flex-direction: column; gap: 8px; }
.two p { color: var(--muted); }

/* product */
.product { display: flex; gap: 20px; align-items: stretch; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.product:hover { border-color: var(--accent); }
.product__shot { flex: none; display: block; width: 168px; height: auto; align-self: flex-start; border-radius: 12px; border: 1px solid var(--line); }
.product__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.product__name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.product__line { color: var(--muted); font-size: 1rem; }
.product__link { color: var(--accent); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 460px) {
  .product { flex-direction: column; }
  .product__shot { width: 100%; max-width: 240px; align-self: center; }
}

.quiet { color: var(--muted); font-size: 0.98rem; }

/* footer */
.foot { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
