:root {
  color-scheme: light;
  --ink: #12202f;
  --muted: #64758b;
  --text: #2f3b46;
  --line-soft: #e4ecf5;
  --accent-soft: #e5eaeb;
  --accent-line: #cfd6dc;
  --page: min(1050px, 94vw); /* same width as the tools front page */
  --content: 900px;          /* screenshot and the grid below share this width */
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

/* small "yours" logo, lined up with the page, no line */
.topbar {
  display: flex;
  align-items: center;
  width: var(--page);
  margin: 0 auto;
  padding: 16px 0 10px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 78px; height: auto; }

.tt-page {
  width: var(--page);
  margin: 0 auto;
  padding: 24px 0 80px;
}

/* top: the guarantee as headline, then the screenshot */
.tt-hero {
  text-align: center;
}

.tt-hero h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.tt-lead {
  max-width: 640px;
  margin: 10px auto 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.55;
}

.tt-shot {
  max-width: var(--content);
  margin: 32px auto 0;
}

.tt-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(18, 32, 47, 0.10);
}

/* what it is, right under the picture */
.tt-story {
  max-width: 640px;
  margin: 32px auto 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.6;
}

/* one grid for everything below: three equal columns, all left-aligned, no dividing lines */
.tt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 48px;
  max-width: var(--content);
  margin: 56px auto 0;
}

.tt-grid section,
.tt-grid figure {
  margin: 0;
}

.tt-grid h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.tt-grid h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.tt-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}


.download-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: var(--accent-soft);
  color: #102033;
  font-weight: 600;
  font-size: 0.92rem;
}

.download-button:hover { background: #dde3e5; }
.download-button:focus-visible { outline: 2px solid #9fb3c9; outline-offset: 2px; }

/* download in the centre, first start right under it */
.tt-download {
  max-width: 560px;
  margin: 88px auto 0;
  text-align: center;
}

.tt-small {
  margin: 10px 0 0;
  line-height: 1.5;
  color: var(--muted);
  font-size: 0.82rem;
}

.tt-first {
  margin-top: 56px;
}

.tt-first h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.tt-first p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.tt-licence {
  margin-top: 48px;
}

@media (max-width: 760px) {
  .tt-hero h1 { font-size: 1.55rem; }
  .tt-lead { font-size: 1rem; }
  .tt-story { font-size: 1rem; margin-top: 24px; }
  .tt-grid { grid-template-columns: 1fr; row-gap: 28px; margin-top: 40px; }
  .tt-download { margin-top: 64px; }
  .tt-first { margin-top: 40px; }
  .tt-licence { margin-top: 36px; }
}

/* Lena: until there is a screenshot, the app icon stands in for it */
.tt-shot.tt-icon-shot {
  max-width: 160px;
}

.tt-icon-shot img {
  border: 0;
  box-shadow: none;
}

.tt-note-line {
  margin-top: 4px;
}

/* The app window screenshot: shown at half its pixel size (Retina), no frame; the shadow
   follows the window's own rounded corners (transparent in the PNG). */
.tt-shot.tt-window-shot {
  max-width: 400px;
}
.tt-window-shot img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 40px rgba(18, 32, 47, 0.14));
}

/* The header with the logo (the way back to the tools) stays at the top while scrolling.
   White behind it across the whole window; a faint line under it once the page is scrolled. */
html, body { overflow-x: clip; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}
.topbar::after {
  content: "";
  position: absolute;
  left: -100vmax;
  right: -100vmax;
  bottom: 0;
  height: 1px;
  background: var(--line-soft);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.topbar.is-scrolled::after { opacity: 1; }

/* rec:all 1.5: two pictures side by side – audio left, video right – under the lead,
   and the same pair again for trimming. Pictures are Retina screenshots with transparent
   rounded corners, shown at half their pixel size; the shadow follows the corners. */
.tt-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  align-items: start;
  max-width: 840px;
  margin: 36px auto 0;
}
.tt-pair figure { margin: 0; }
.tt-pair img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 34px rgba(18, 32, 47, 0.14));
}
/* Trim pair: columns in proportion to the real windows (720 and 760 points wide), so both
   are shown at the same scale and their text is the same size; bottoms and captions line up. */
.tt-pair-wide {
  max-width: var(--content);
  grid-template-columns: minmax(0, 720fr) minmax(0, 760fr);
  align-items: end;
}
.tt-pair-wide img { max-width: 100%; }
.tt-pair figcaption {
  max-width: 340px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
  text-align: center;
}
.tt-trim {
  margin-top: 88px;
  text-align: center;
}
.tt-trim h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
@media (max-width: 760px) {
  .tt-pair { grid-template-columns: 1fr; row-gap: 36px; }
  .tt-pair img { max-width: 340px; }
  .tt-pair-wide img { max-width: 100%; }
  .tt-trim { margin-top: 64px; }
  .tt-trim h2 { font-size: 1.3rem; }
}

/* 2026-11-17: more room on the rec:all page now that it has four pictures.
   Only the spacing around the pictures grows; the pictures keep their size. */
.tt-pair { margin-top: 64px; column-gap: 80px; max-width: 920px; }
.tt-pair figcaption { margin-top: 24px; }
.tt-trim { margin-top: 140px; }
.tt-trim .tt-lead { margin-top: 14px; }
.tt-trim + .tt-grid { margin-top: 120px; }
.tt-download { margin-top: 120px; }
@media (max-width: 760px) {
  .tt-pair { margin-top: 44px; row-gap: 48px; }
  .tt-pair figcaption { margin-top: 18px; }
  .tt-trim { margin-top: 88px; }
  .tt-trim + .tt-grid { margin-top: 72px; }
  .tt-download { margin-top: 80px; }
}
/* Short lead: a little more air between it and the two pictures. */
.tt-hero .tt-lead { margin-top: 14px; max-width: 760px; text-wrap: balance; }
.tt-hero .tt-pair { margin-top: 96px; }
@media (max-width: 760px) { .tt-hero .tt-pair { margin-top: 56px; } }

/* 2026-11-18: one picture per row (sound only, video, microphone), each at the same scale. */
.tt-single { max-width: 400px; margin: 64px auto 0; }
.tt-hero .tt-single-hero { margin-top: 96px; }
.tt-single figure { margin: 0; }
.tt-single img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(18, 32, 47, 0.14));
}
.tt-single figcaption {
  max-width: 340px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 760px) {
  .tt-single { max-width: 340px; margin-top: 44px; }
  .tt-hero .tt-single-hero { margin-top: 56px; }
  .tt-single figcaption { margin-top: 18px; }
}

/* 2026-11-20: a download button right under the first picture (the full block stays at the bottom) */
.tt-hero .tt-download-top { margin-top: 40px; }
@media (max-width: 760px) { .tt-hero .tt-download-top { margin-top: 32px; } }
