/* Trogota Software site. Plain, square, no external fonts, scripts or trackers. */
:root {
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #dcdcdc;
  --soft: #f5f5f3;
  --accent: #0E4D45;
  --accent-ink: #ffffff;
  --max: 1040px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header / footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; }
.brand span { font-weight: 400; color: var(--muted); }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--muted); }

/* Generic blocks */
.label { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; display: block; }
.lede { font-size: 20px; color: var(--muted); max-width: 640px; }
.section { padding: 72px 0 0; }
.section > h2 { font-size: 28px; margin-bottom: 24px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.button {
  display: inline-block; padding: 12px 20px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 2px;
}
.button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.secondary { background: #fff; color: var(--ink); }
.button.secondary:hover { background: var(--soft); color: var(--ink); border-color: var(--ink); }
.button[aria-disabled="true"] { background: #fff; color: var(--muted); border-color: var(--line); cursor: default; }

/* Home */
.hero { padding: 96px 0 24px; }
.hero h1 { font-size: clamp(38px, 7vw, 64px); max-width: 820px; margin-bottom: 24px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; }
.cell h3 { font-size: 20px; margin-bottom: 8px; }
.cell p { color: var(--muted); margin-bottom: 0; }

.product-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.product-row img { width: 72px; height: 72px; border-radius: 6px; }
.product-row h3 { font-size: 22px; margin-bottom: 4px; }
.product-row p { color: var(--muted); margin: 0; }
.product-row .go { font-weight: 600; white-space: nowrap; }
.product-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* App landing page */
.app-hero { padding: 72px 0 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
.app-hero .title { display: flex; align-items: center; gap: 16px; }
.app-hero .title img { width: 56px; height: 56px; border-radius: 4px; }
.app-hero h1 { font-size: clamp(36px, 6vw, 56px); max-width: 860px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions .note { font-size: 14px; color: var(--muted); }

.media { margin: 48px 0 0; }
.slot {
  aspect-ratio: 16 / 9; width: 100%; background: var(--soft); border: 1px dashed #b9b9b9;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  color: var(--muted); font: 500 14px/1.5 var(--mono);
}
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.shots figure { margin: 0; }
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 20px 24px 0 0; }
.steps .n { font: 600 13px/1 var(--mono); color: var(--accent); display: block; margin-bottom: 12px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.features div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 24px; }
.features h3 { font-size: 17px; margin-bottom: 6px; }
.features p { color: var(--muted); margin: 0; font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.plan { border: 1px solid var(--line); padding: 28px; }
.plan.featured { border-color: var(--ink); }
.plan h3 { font-size: 18px; }
.plan .price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 16px 0 0; padding-left: 18px; }
.plan li { margin: 6px 0; }
.small { font-size: 14px; color: var(--muted); margin-top: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }

.contact { border: 1px solid var(--line); padding: 24px; }
.contact p { margin: 6px 0; }

/* Legal / support pages */
.legal { max-width: 760px; padding-top: 56px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
mark.blank { background: #fff1c2; color: inherit; padding: 0 3px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; row-gap: 6px; }
  .nav { gap: 16px; }
  .hero { padding-top: 56px; }
  .section { padding-top: 56px; }
  .product-row { grid-template-columns: 56px 1fr; }
  .product-row img { width: 56px; height: 56px; }
  .product-row .go { grid-column: 2; }
  .legal { overflow-wrap: anywhere; }
}
.label.inline { margin: 0; }

/* Product images */
.media .shot, .media .shot img, img.shot { display: block; width: 100%; height: auto; }
