/* forecorder.com. Brand kit colours (record red, ink, paper) and Outfit for headings, served from this site so a
   visit makes no request to anyone else. */
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --red: #E23B2E; --ink: #151316; --paper: #F4EFE6; --green: #2E9E5B;
  --card: #1f1c20; --soft: #cfc8bf; --faint: #a39c93; --rule: #f4efe61a;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; } /* the width/height attributes reserve space; this keeps the proportions */
.page { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .brand-type { font-family: Outfit, system-ui, sans-serif; font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.04; margin: 0 0 18px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.12; margin: 0 0 10px; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 600; margin: 8px 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--soft); max-width: 48ch; }
.soft { color: var(--soft); }
.faint { color: var(--faint); font-size: 14px; }

/* header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; }
.top .wm { height: 32px; display: block; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.top nav a { text-decoration: none; opacity: .85; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 36px; margin-top: 30px;
        border-top: 1px solid var(--rule); color: var(--faint); font-size: 14px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 20px; font-weight: 600;
       font-size: 15px; text-decoration: none; }
.btn.red { background: var(--red); color: #fff; }
.btn.ghost { border: 1px solid #f4efe655; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* home */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 30px 0 20px; }
.phones { display: flex; gap: 16px; justify-content: center; }
.phones img { width: 46%; max-width: 230px; border-radius: 24px; border: 6px solid #000; box-shadow: 0 20px 50px #0009; }
.phones img + img { margin-top: 52px; }
.timeline { background: var(--card); border-radius: 18px; padding: 20px 22px; margin: 10px 0 34px; }
.tl { position: relative; height: 62px; margin: 6px 0 8px; }
.tl .line { position: absolute; left: 0; right: 0; top: 28px; height: 3px; background: #f4efe633; }
.tl .kept { position: absolute; top: 24px; height: 11px; border-radius: 6px; background: var(--red); left: 28%; right: 22%; }
.tl .now { position: absolute; top: 10px; width: 2px; height: 40px; background: var(--paper); left: 62%; }
.tl .lab { position: absolute; top: -4px; font-size: 13px; color: var(--soft); transform: translateX(-50%); white-space: nowrap; }
.tl .lab.low { top: 46px; }
section { padding: 34px 0; border-top: 1px solid var(--rule); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.card { background: var(--card); border-radius: 18px; padding: 20px; }
.card p { color: var(--soft); font-size: 15px; margin: 0; }
.icon { width: 36px; height: 36px; border-radius: 11px; background: #E23B2E22; display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; stroke: #ff8a80; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; }
.split img { width: 100%; max-width: 250px; border-radius: 22px; border: 6px solid #000; justify-self: center; }
.badge { display: inline-block; background: #2E9E5B26; color: #8fdcb0; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 14px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 190px; scroll-snap-align: start; }
.shots img { border-radius: 20px; border: 5px solid #000; display: block; }
.shots figcaption { font-size: 13px; color: var(--soft); text-align: center; margin-top: 8px; }

/* models page */
.mgroup { margin: 28px 0; }
.mgroup h3 { font: 600 13px system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.model { display: grid; grid-template-columns: 1.3fr .8fr 1.7fr auto; gap: 16px; align-items: center;
         background: var(--card); border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; }
.model .name { font: 600 17px Outfit, system-ui, sans-serif; }
.model .note { font-size: 14px; color: var(--soft); }
.model .meta { font-size: 14px; color: var(--soft); }
.model .hash { font: 12.5px/1.45 ui-monospace, Consolas, monospace; color: var(--faint); word-break: break-all; }
.model .dl { background: var(--paper); color: var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 600;
             font-size: 14px; text-decoration: none; white-space: nowrap; }

.model.rec { border: 2px solid var(--red); background: #2a1d1c; padding: 20px 20px; }
.model .flag { display: inline-block; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 12px;
               font: 700 12px system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.model.rec .name { font-size: 21px; }
.model.rec .note { color: var(--paper); font-size: 15px; }
.model .links { font-size: 13px; margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.model .links a { color: var(--soft); }
.model.rec .dl { background: var(--red); color: #fff; padding: 11px 20px; }
.others { font-size: 13px; color: var(--faint); margin: 14px 0 8px; }

/* what's new */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 26px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; color: var(--soft); }

@media (max-width: 820px) {
  .hero, .split, .grid3, .model { grid-template-columns: 1fr; }
  .phones img + img { margin-top: 30px; }
}
