/* TnT Group LLC. One stylesheet for every page. System fonts only, so the site loads nothing from other servers. */

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #14181f;
  --muted: #5b6270;
  --line: #e3e1da;
  --accent: #1f4e79;
  --accent-ink: #ffffff;
  --accent-soft: #e6eef6;
  --radius: 14px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #171b21;
    --ink: #eef0f3;
    --muted: #9aa3b1;
    --line: #262c35;
    --accent: #8fb8e0;
    --accent-ink: #0f1216;
    --accent-soft: #1b2633;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }

/* Hero */
.hero { padding: 96px 0 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 16px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 16ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 58ch; margin: 0 0 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }

/* Product */
.product { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.product img { width: 120px; height: 120px; border-radius: 26px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); }
.product h3 { font-size: 24px; margin-bottom: 4px; }
.product .meta { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.product p { margin: 0 0 20px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* Contact strip */
.contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact-strip p { margin: 0; color: var(--muted); }

/* Text pages */
.page { padding: 64px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 8px; }
.page .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.page h2 { font-size: 24px; margin: 40px 0 10px; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.summary { background: var(--accent-soft); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 8px; }
.summary p { margin: 0; }

dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 32px 0; }
dl.details dt { color: var(--muted); font-weight: 500; }
dl.details dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .product { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .product img { width: 88px; height: 88px; border-radius: 20px; }
  dl.details { grid-template-columns: 1fr; gap: 2px; }
  dl.details dd { margin-bottom: 12px; }
}
