@font-face {
  font-family: 'Xarrovv';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/xarrovv.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-variable.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #173438;
  --paper: #f7edcf;
  --paper-light: #fffaf0;
  --gold: #f0bf63;
  --coral: #ca6844;
  --teal: #173b3f;
  --line: rgb(68 56 39 / 18%);
  --font-display: 'Xarrovv', 'Lora', Georgia, serif;
  --font-text: 'Lora', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-text);
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  color: #fff8df;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  right: -9px;
  bottom: -6px;
  width: 13px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  content: '';
  transform: rotate(45deg);
  transform-origin: left center;
}

.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 34px;
  font-family: var(--font-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav a,
.header-action {
  text-decoration: none;
}

.header-action {
  border-bottom: 1px solid rgb(255 248 223 / 55%);
  font-family: var(--font-text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(840px, 100svh);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(7 30 31 / 94%) 0%, rgb(9 34 34 / 84%) 42%, rgb(9 28 28 / 28%) 76%),
    linear-gradient(0deg, rgb(7 28 29 / 70%) 0%, transparent 38%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  padding: 132px 0 96px;
  color: #fff8df;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #efe7d0;
  font-family: var(--font-text);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 24px;
  font-family: var(--font-text);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.button-primary {
  color: #332313;
  background: var(--gold);
  box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
}

.button-secondary {
  border-color: rgb(255 248 223 / 48%);
  color: #fff8df;
  background: rgb(20 52 53 / 42%);
  backdrop-filter: blur(8px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  color: #d8e2d1;
  font-family: var(--font-text);
  font-size: 0.84rem;
  list-style: none;
}

.hero-facts li::before,
.check-list li::before {
  color: var(--gold);
  content: '✓';
  font-weight: 900;
}

.hero-facts li::before {
  margin-right: 8px;
}

.section {
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
}

.section-kicker {
  margin-bottom: 28px;
  color: var(--coral);
}

.section-kicker-light {
  color: var(--gold);
}

.manifesto {
  background:
    radial-gradient(circle at 6% 10%, rgb(202 104 68 / 9%), transparent 26%), var(--paper);
}

.manifesto-grid,
.case-intro,
.download-copy,
.feedback {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.manifesto h2,
.method h2,
.parents h2,
.download h2,
.feedback h2,
.case-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}

.manifesto h2 em {
  color: var(--coral);
  font-style: normal;
  font-weight: 400;
}

.manifesto-copy,
.case-intro p,
.download-copy p,
.feedback-action p {
  font-family: var(--font-text);
  line-height: 1.65;
}

.manifesto-copy p,
.case-intro p,
.download-copy p,
.feedback-action p {
  margin: 0;
}

.manifesto-copy p + p {
  margin-top: 18px;
}

.case-strip {
  color: var(--paper-light);
  background: var(--teal);
}

.case-intro {
  margin-bottom: 48px;
}

.case-intro p {
  margin-bottom: 4px;
  color: #c8d8cf;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.case-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(240 191 99 / 20%);
  border-radius: 12px;
  background: #102f32;
}

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

.case-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-shot figcaption {
  display: flex;
  gap: 14px;
  padding: 17px 20px 19px;
  font-family: var(--font-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.case-shot figcaption span,
.method-number {
  color: var(--gold);
}

.method {
  background: var(--paper-light);
}

.method h2 {
  max-width: 860px;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.method-list li {
  min-height: 270px;
  padding: 28px 34px 20px 0;
  border-right: 1px solid var(--line);
}

.method-list li + li {
  padding-left: 34px;
}

.method-list li:last-child {
  border-right: 0;
}

.method-number {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.method-list h3 {
  margin: 52px 0 14px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
}

.method-list p,
.parents-note {
  margin: 0;
  color: #506366;
  font-family: var(--font-text);
  line-height: 1.6;
}

.parents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: center;
  color: var(--paper-light);
  background: #203a3d;
}

.parents-visual {
  position: relative;
}

.parents-visual::before {
  position: absolute;
  z-index: 0;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgb(240 191 99 / 42%);
  border-radius: 14px;
  content: '';
}

.parents-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 24%);
}

.check-list {
  display: grid;
  gap: 20px;
  margin: 38px 0 0;
  padding: 0;
  font-family: var(--font-text);
  line-height: 1.55;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
}

.parents-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: #bdceca;
  font-size: 0.88rem;
}

.download {
  background:
    radial-gradient(circle at 90% 20%, rgb(240 191 99 / 20%), transparent 30%), var(--paper);
}

.download-copy .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.download-copy p {
  margin-bottom: 5px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.download-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  color: #7b7c74;
  background: rgb(255 250 240 / 58%);
  font-family: var(--font-text);
  text-decoration: none;
}

.download-card-active,
.download-card[data-configured='true'] {
  color: var(--paper-light);
  background: var(--coral);
  box-shadow: 0 14px 32px rgb(100 55 36 / 15%);
}

.download-card[aria-disabled='true'] {
  cursor: not-allowed;
}

.download-platform {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-card strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.feedback {
  color: var(--paper-light);
  background: var(--coral);
}

.feedback h2 {
  max-width: 760px;
}

.feedback-action p {
  margin-bottom: 24px;
}

.button-feedback {
  width: 100%;
  border-color: rgb(255 255 255 / 42%);
  color: var(--paper-light);
}

.button-feedback[data-configured='true'] {
  color: #342115;
  background: var(--gold);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  padding: 44px max(24px, calc((100vw - 1180px) / 2));
  color: #c7d4d0;
  background: #102d30;
  font-family: var(--font-text);
  font-size: 0.8rem;
}

.footer-brand {
  color: var(--paper-light);
}

.button:focus-visible,
.brand:focus-visible,
.header-action:focus-visible,
.main-nav a:focus-visible,
.download-card:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) {
  .button,
  .header-action,
  .download-card,
  .main-nav a {
    transition:
      transform 160ms ease,
      filter 160ms ease;
  }

  .button:hover,
  .header-action:hover,
  .download-card[href]:hover,
  .main-nav a:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-top: 18px;
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .header-action,
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-background {
    object-position: 67% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgb(7 30 31 / 94%), rgb(7 30 31 / 68%));
  }

  .hero-content {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .manifesto-grid,
  .case-intro,
  .parents,
  .download-copy,
  .feedback,
  .case-gallery,
  .download-grid,
  .method-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .method-list {
    margin-top: 50px;
  }

  .method-list li,
  .method-list li + li {
    min-height: 0;
    padding: 26px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-list li:last-child {
    border-bottom: 0;
  }

  .method-list h3 {
    margin-top: 26px;
  }

  .parents-visual::before {
    display: none;
  }

  .site-footer {
    gap: 14px;
  }

  .site-footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .header-action,
  .download-card,
  .main-nav a {
    transition: none;
  }
}
