/* Hallmark · v2.0.0
   deal: 3/3 · theme: solstice (long-light) · genre: editorial
   critique: the render is the product's world, the screenshots are the proof; no invented numbers or logos.
   waive: none
*/
@import url("fonts.css");

:root {
  --paper: #f3e6d1;
  --paper-2: #faf1e1;
  --paper-3: #e4d2b6;
  --ink: #3a2a1c;
  --ink-2: #4c3928;
  --muted: #7a6350;
  --rule: #d8c3a5;
  --gold: #c39445;
  --gold-2: #e0bd80;
  --accent: #bf3517;
  --accent-2: #a52a10;
  --on-accent: #fdf6e8;
  --cream: #f8edda;
  --cream-soft: #e9d9bf;
  --scrim: 38 26 16;

  --font-display: "Yeseva One", ui-serif, Georgia, serif;
  --font-body: "Golos Text", ui-sans-serif, system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-24: 96px;
  --space-30: 120px;
  --space-sm: 10px;
  --space-md: 18px;
  --space-lg: 28px;
  --space-xl: 44px;
  --space-2xl: 72px;
  --space-3xl: 112px;

  --radius-pill: 999px;
  --rule-hair: 1px;
  --rule-bar: 2px;
  --shadow-hard: 10px 10px 0 var(--paper-3);

  --display-tracking: -0.01em;
  --display-leading: 0.98;
  --text-body: 17px;
  --text-small: 13px;
  --dur-short: 140ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 400; line-height: var(--display-leading); letter-spacing: var(--display-tracking); overflow-wrap: break-word; min-width: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: var(--rule-bar) solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-2); color: var(--ink); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper-2);
  color: var(--ink);
  padding: var(--space-3) var(--space-md);
  z-index: 50;
}
.skip:focus { left: 16px; top: 16px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.small {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 50px;
  padding: 0 var(--space-6);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  transition: background var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-weight: 500;
  text-decoration: none;
  border-bottom: var(--rule-bar) solid currentColor;
  padding-bottom: var(--space-1);
  transition: color var(--dur-short) var(--ease-out);
}
.link-quiet:hover { color: var(--gold-2); }
.link-quiet--ink { color: var(--ink); border-bottom-color: var(--ink); }
.link-quiet--ink:hover { color: var(--accent); }

/* ---------- header + hero ---------- */

.hero {
  position: relative;
  min-height: clamp(640px, 92dvh, 900px);
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background: var(--ink);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 78%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(var(--scrim) / .94) 0%, rgb(var(--scrim) / .78) 38%, rgb(var(--scrim) / .18) 72%, rgb(var(--scrim) / .34) 100%),
    linear-gradient(0deg, rgb(var(--scrim) / .72) 0%, rgb(var(--scrim) / 0) 42%);
}

.site-head {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-6) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--font-display); font-size: 27px; color: var(--cream); }

.nav {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}
.nav a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 15px;
  padding: var(--space-2) 0;
  transition: color var(--dur-short) var(--ease-out);
}
.nav a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 6px; }

.site-head .btn { min-height: 44px; padding: 0 var(--space-5); font-size: 14px; }

.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: clamp(var(--space-10), 8dvh, var(--space-24)) 0 clamp(var(--space-12), 10dvh, var(--space-30));
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  color: var(--cream);
}

.hero__lead {
  margin-top: var(--space-lg);
  max-width: 34ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--cream-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-lg);
  color: var(--cream-soft);
  font-size: var(--text-small);
  font-weight: 500;
}
.hero__meta span + span {
  padding-left: var(--space-4);
  border-left: var(--rule-hair) solid color-mix(in oklab, var(--cream) 34%, transparent);
}

/* ---------- sections ---------- */

.section { padding: var(--space-3xl) 0; }
.section--tight { padding: var(--space-2xl) 0; }
.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: var(--rule-bar) solid var(--ink);
  margin-bottom: var(--space-xl);
}
.section__head h2 { font-size: clamp(32px, 4vw, 52px); color: var(--ink); }
.section__head .small { max-width: 30ch; text-align: right; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.feature { min-width: 0; }
.feature__frame {
  background: var(--paper-2);
  border: var(--rule-bar) solid var(--ink);
  outline: var(--rule-hair) solid var(--gold);
  outline-offset: -8px;
  box-shadow: var(--shadow-hard);
  padding: var(--space-md) var(--space-md) 0;
}
.feature__frame img {
  width: 100%;
  height: auto;
  outline: var(--rule-hair) solid color-mix(in oklab, var(--ink) 12%, transparent);
  outline-offset: -1px;
}
.feature h3 { font-size: 26px; margin-top: var(--space-lg); color: var(--ink); }
.feature p { margin-top: var(--space-2); color: var(--muted); }
.feature .small { display: block; margin-top: var(--space-sm); }

/* how it works */

.band-ink {
  background: var(--ink);
  color: var(--cream-soft);
}
.band-ink .section__head { border-bottom-color: var(--gold); }
.band-ink .section__head h2 { color: var(--cream); }
.band-ink .section__head .small { color: var(--gold-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}
.step { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--gold); }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); margin-top: var(--space-sm); color: var(--cream); }
.step p { margin-top: var(--space-sm); color: var(--cream-soft); max-width: 32ch; }

/* download */

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--space-2xl);
  align-items: start;
}

.download__well {
  background: var(--paper-2);
  border: var(--rule-bar) solid var(--ink);
  outline: var(--rule-hair) solid var(--gold);
  outline-offset: -8px;
  box-shadow: var(--shadow-hard);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
}

.download h2 { font-size: clamp(34px, 4.4vw, 58px); color: var(--ink); }
.download__lead { margin-top: var(--space-md); max-width: 44ch; color: var(--ink-2); }

.facts {
  margin-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--gold);
}
.facts li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-3) 0;
  border-bottom: var(--rule-hair) dotted var(--gold);
  font-size: 15px;
}
.facts span:first-child { color: var(--muted); }
.facts span:last-child { color: var(--ink); font-weight: 500; text-align: right; }

.download__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.download__note { margin-top: var(--space-md); }

.download__aside { min-width: 0; }
.download__icon {
  width: min(220px, 60%);
  margin-left: auto;
  filter: drop-shadow(0 18px 30px color-mix(in oklab, var(--ink) 28%, transparent));
}
.download__caption {
  margin-top: var(--space-md);
  text-align: right;
  color: var(--muted);
}

/* footer */

.site-foot {
  border-top: var(--rule-bar) solid var(--ink);
  padding: var(--space-xl) 0 var(--space-2xl);
}
.site-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  justify-content: space-between;
}
.site-foot .brand span { color: var(--ink); }
.site-foot .small { max-width: 52ch; }
.site-foot__note { margin-top: var(--space-4); }
.site-foot a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.site-foot a:hover { color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download { grid-template-columns: minmax(0, 1fr); }
  .download__icon { margin: 0 auto; }
  .download__caption { text-align: center; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .feature__frame { max-width: 360px; margin-inline: auto; }
  .site-head { justify-content: space-between; }
  .site-head .btn { margin-left: auto; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .section__head { flex-direction: column; align-items: start; }
  .section__head .small { text-align: left; }
  .hero { min-height: 86dvh; }
  .hero__image { object-position: 66% 82%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
