/* Hallmark v2 · genre: editorial · theme: AionSky brand · shape: photography-led storefront · hero: AliveGrass at Milford Sound · job: download · signature: actual simulator capture */
/* Critique: AionSky’s Manrope and olive colours belong here. Large scenery needs a clear caption and a visible path to the download. */
@font-face {
  font-family: Manrope;
  src: url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --font-brand: Manrope, Arial, sans-serif;
  --ground: #182016;
  --glass: #273423;
  --line: #51644a;
  --text: #f4f1e6;
  --muted: #c6d1bf;
  --accent: #c6da9a;
  --accent-text: #1b2717;
  --accent-hover: #d8e7b4;
  --caption: #1c291bea;
  --radius: 9px;
  --gap: 24px;
  --section-gap: 124px;
  --pressed: #aabe7f;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 16px/1.6 var(--font-brand); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; min-width: 0; line-height: 1.08; letter-spacing: -.049em; font-weight: 740; }
a { color: inherit; }
a:hover { text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1248px, calc(100% - 68px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: 12px auto auto 12px; transform: translateY(-200%); padding: 8px 16px; background: var(--accent); color: var(--accent-text); }
.skip-link:focus { transform: none; }
.masthead, .site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--gap); min-height: 76px; }
.masthead { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; width: max-content; font-weight: 800; line-height: 1; letter-spacing: -.04em; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand small { display: block; margin-top: 4px; font-size: .7rem; color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: var(--gap); font-size: .9rem; font-weight: 710; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--accent); color: var(--accent-text); border-radius: 6px; text-decoration: none; text-align: center; font-size: .82rem; font-weight: 760; }
.button:hover { background: var(--accent-hover); }
.button:active { background: var(--pressed); }
.masthead > .button { justify-self: end; }
.hero { margin: 32px 0 112px; }
.mast-intro { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gap); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.mast-intro p { font-size: 1rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.hero figure { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.hero figure img { width: 100%; height: min(42vw, 520px); min-height: 280px; object-fit: cover; object-position: center 48%; }
.hero figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 8px 16px; background: var(--caption); }
.hero figcaption strong { font-size: .94rem; }
.hero figcaption small { margin-left: 12px; color: var(--muted); font-size: .76rem; }
.hero figcaption a, .product a, .support-answers > a { color: var(--accent); font-size: .86rem; font-weight: 730; text-underline-offset: 4px; }
h2 { font-size: clamp(1.9rem, 3vw, 2.95rem); }
.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
#collection h2 { margin-bottom: 16px; }
.product img { width: 100%; aspect-ratio: 2.23; object-fit: cover; border-radius: var(--radius); }
.product h3 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.product p { color: var(--muted); margin: 8px 0; }
.product p.compatibility { margin: 12px 0 8px; font-size: .8rem; font-weight: 740; }
.downloads, .getting-started { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: var(--gap); margin-top: var(--section-gap); }
.downloads { padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.downloads p { color: var(--muted); margin-top: 8px; }
.downloads .version { font-size: .8rem; }
.platform { display: flex; gap: 8px 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.platform:first-child { padding-top: 0; }
.platform:last-child { border: 0; padding-bottom: 0; }
.platform small { display: block; color: var(--muted); font-size: .75rem; }
.platform .recommended { display: inline-flex; font-size: .7rem; color: var(--accent); }
[hidden] { display: none !important; }
.platform a:not(.button) { color: var(--accent); font-size: .83rem; font-weight: 730; text-underline-offset: 4px; }
.platform-links { display: flex; flex-wrap: wrap; gap: 12px; }
.getting-started { border-top: 1px solid var(--line); padding-top: 24px; }
.support-answers details { border-bottom: 1px solid var(--line); padding: 8px 0 12px; }
.support-answers summary { cursor: pointer; font-weight: 720; }
.support-answers p { margin: 8px 0 4px; max-width: 56ch; color: var(--muted); }
.support-answers > a { display: inline-block; margin-top: 16px; }
.site-footer { margin-top: var(--section-gap); border-top: 1px solid var(--line); }
.site-footer nav { grid-column: 2 / -1; justify-content: end; color: var(--muted); }
@media (max-width: 820px) {
  .mast-intro { align-items: start; flex-direction: column; gap: 8px; }
  .hero { margin-top: 24px; }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 28px); }
  .masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-top: 8px; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; padding-bottom: 8px; gap: 16px; }
  .masthead > .button { font-size: .75rem; padding-inline: 8px; }
  .hero { margin-bottom: 48px; }
  .hero figcaption { padding: 8px 8px; flex-wrap: wrap; }
  .hero figcaption small { display: none; }
  .product, .downloads, .getting-started { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .downloads, .getting-started { margin-top: 32px; }
  .site-footer { display: flex; gap: 8px; }
  .site-footer nav { gap: 8px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
