/* Owly — the product page, on top of the shared sheet.
   Every class is prefixed ow- so nothing here can reach another page, and
   every colour comes from a token already declared in ../assets/styles.css,
   so the light, dark and high-contrast themes keep working without this file
   knowing they exist. No inline styles anywhere: the site's
   Content-Security-Policy is style-src 'self'. */

/* --- hero ------------------------------------------------------------ */

.ow-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.ow-herocopy h1 { margin-bottom: 1rem; }

.ow-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.ow-platforms li {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
}

/* The mark, drawn once by the icon generator and served as one vector so the
   page and the app icon cannot drift apart. */
.ow-mark { display: block; margin-inline: auto; max-width: 260px; width: 100%; }

.ow-owl { width: 100%; height: auto; }
/* The same bird as the app icon: one closed line at the icon's weight (16 of
   the 220-unit box, the tile's 4.5%), two solid eyes, a filled beak. */
.ow-owl-ink { fill: none; stroke: var(--text); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.ow-owl-fill { fill: var(--text); stroke: none; }
.ow-owl-beak { fill: var(--accent); stroke: none; }

/* A filename or a path inside a sentence. The shared .mono class is the
   uppercase label style — correct for "FIG. 2", wrong for ".md", which it
   renders as ".MD". */
.ow-code {
  font-family: "Company31 Mono", "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .92em;
  color: var(--text);
}

/* --- getting it ------------------------------------------------------- */

.ow-getgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
  margin-top: 1.6rem;
}

.ow-get {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.6rem;
  background: var(--ground);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.ow-get h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.ow-get p { font-size: .95rem; line-height: 1.65; color: var(--muted); margin: 0; }
.ow-get .ow-req { color: var(--accent); }
.ow-get .btn { align-self: flex-start; margin-top: .4rem; }
/* Apple's badge, unmodified: at least 40px tall with clear space of a quarter of its height. */
.ow-get .ow-badge { align-self: flex-start; margin-top: .4rem; padding: 0 0 12px; line-height: 0; }
.ow-badge img { height: 48px; width: auto; display: block; }
/* The Mac download drawn as a sibling of Apple's badge: same height, black tile, grey keyline,
   corner radius and two-line label, with a one-line Mac where the Apple logo sits. */
.ow-get .ow-macbadge {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box;
  height: 48px; min-width: 144px; padding: 0 12px; background: #000; color: #fff;
  border: 1px solid #a6a6a6; border-radius: 7px; text-decoration: none; line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: transform .2s ease;
}
.ow-macbadge:hover { color: #fff; }
.ow-macbadge:active { transform: translateY(1px); }
.ow-macbadge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ow-macbadge-icon { width: 27px; height: 27px; flex: none; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ow-macbadge-text { display: flex; flex-direction: column; gap: 1px; padding-top: 1px; }
.ow-macbadge-small { font-size: 10px; line-height: 1.1; letter-spacing: .01em; }
.ow-macbadge-big { font-size: 21px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.ow-credit { margin-top: .5rem; font-size: .72rem; }

/* --- what it does ----------------------------------------------------- */

.ow-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.6rem 2.2rem;
  margin-top: 1.4rem;
}

.ow-cols h3 {
  font-size: 1rem;
  letter-spacing: -.005em;
  margin-bottom: .4rem;
}

.ow-cols p { font-size: .95rem; line-height: 1.65; color: var(--muted); margin: 0; }

.ow-list { margin: .6rem 0 0; padding-left: 1.1rem; }
.ow-list li { font-size: .95rem; line-height: 1.7; color: var(--muted); }

/* --- screenshots ------------------------------------------------------ */

/* The Mac across the top; the iPad and the iPhone under it, in columns at the
   ratio of their two screenshots (3:4 and 828:1800) so they stand the same
   height. */
.ow-shots {
  display: grid;
  grid-template-columns: minmax(0, 1.63fr) minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: 1.4rem;
  align-items: start;
}

.ow-shot-wide { grid-column: 1 / -1; }

.ow-shot {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ground);
}

.ow-shot img { display: block; width: 100%; height: auto; }

.ow-shot figcaption {
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .7rem .9rem;
  border-top: 1px solid var(--hairline);
}

/* --- the privacy summary --------------------------------------------- */

.ow-privacy {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  margin-top: 1.4rem;
  background: var(--ground);
}

.ow-privacy p { font-size: .96rem; line-height: 1.7; color: var(--muted); margin: 0 0 .8rem; }
.ow-privacy p:last-child { margin-bottom: 0; }
.ow-privacy strong { color: var(--text); font-weight: 600; }

/* --- support ---------------------------------------------------------- */

.ow-contact { margin: 1.2rem 0 0; }

.ow-contact dt {
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
}

.ow-contact dd { margin: .25rem 0 0; font-size: .96rem; line-height: 1.6; color: var(--muted); }

/* --- what changed ----------------------------------------------------- */

.ow-changes { margin-top: 1.2rem; border-top: 1px solid var(--hairline); }

.ow-change {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
}

.ow-change .ow-when {
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--accent);
}

.ow-change p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--muted); }

/* --- the policy page -------------------------------------------------- */

.ow-policy { max-width: 46rem; }
.ow-policy h2 { margin: 2.4rem 0 .8rem; font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -.01em; }
.ow-policy h3 { margin: 1.6rem 0 .5rem; font-size: 1rem; }
.ow-policy p, .ow-policy li { font-size: .97rem; line-height: 1.75; color: var(--muted); }
.ow-policy p { margin: 0 0 .9rem; }
.ow-policy ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.ow-policy strong { color: var(--text); font-weight: 600; }

.ow-updated {
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.ow-table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.4rem; font-size: .92rem; }
.ow-table caption { text-align: left; color: var(--muted); font-size: .9rem; padding-bottom: .6rem; }
.ow-table th, .ow-table td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--hairline); }
.ow-table th { color: var(--text); font-weight: 600; }
.ow-table td { color: var(--muted); line-height: 1.6; }

/* --- narrow screens --------------------------------------------------- */

@media (max-width: 860px) {
  .ow-hero .wrap { grid-template-columns: 1fr; }
  .ow-mark { max-width: 180px; }
  .ow-shots { grid-template-columns: 1fr; }
  .ow-change { grid-template-columns: 1fr; gap: .3rem; }
}
