:root {
  color-scheme: dark;
  --bg: #171414;
  --panel: #232427;
  --edge: #4A4A47;
  --text: #EDE6D3;
  --text-dim: #A9A396;
  --link: #E2B05A;

  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 24px;
  --wide: 1120px;
  --column: 640px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--text); }

/* hero */
.hero img {
  width: 100%;
  aspect-ratio: 3840 / 1646;
  max-height: 70vh;
  object-fit: cover;
  object-position: 52% 60%;
}

.intro { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.intro .icon { position: relative; width: 96px; height: 96px; margin: -48px auto 0; border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); }
.intro h1 { margin: 20px 0 0; font-size: 44px; line-height: 1.1; letter-spacing: -0.005em; }
.intro h1 span { white-space: nowrap; }
.intro .line { margin: 14px 0 0; font: 400 20px/1.5 var(--serif); color: var(--text-dim); }
.intro .note { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-dim); }
.badge { display: inline-block; margin-top: 24px; }
.badge img { height: 54px; width: auto; }

/* sections */
main section { margin-top: 80px; }
h2 { margin: 0 0 24px; font-size: 32px; line-height: 1.2; text-align: center; }

.story { max-width: var(--column); margin: 0 auto; }
.story p { margin: 0 0 1em; font: 400 19px/1.6 var(--serif); }
.story.plain p { font: 400 17px/1.6 var(--sans); }
.story + .points { margin-top: 32px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.points li { background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; padding: 24px; }
.points h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.points p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-dim); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.shots img { width: 100%; aspect-ratio: 600 / 1300; border-radius: 18px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); }

/* footer */
footer { margin-top: 96px; border-top: 1px solid var(--edge); background: var(--panel); color: var(--text-dim); font-size: 15px; line-height: 1.5; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 28px; padding-bottom: 32px; }
footer a { color: var(--text); }
footer .copy { margin-left: auto; }

/* legal pages */
.bar { background: var(--panel); border-bottom: 1px solid var(--edge); }
.bar .wrap { display: flex; align-items: center; height: 64px; }
.bar a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 700 20px/1 var(--serif); }
.bar img { width: 32px; height: 32px; border-radius: 7px; }

.legal { max-width: 680px; margin: 0 auto; padding: 48px var(--gutter) 0; }
.legal h1 { margin: 0 0 8px; font-size: 36px; line-height: 1.15; }
.legal .updated { margin: 0 0 32px; color: var(--text-dim); font-size: 15px; }
.legal h2 { margin: 40px 0 10px; font-size: 23px; line-height: 1.25; text-align: left; }
.legal p, .legal li { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .hero img { aspect-ratio: 4 / 5; max-height: 62vh; object-position: 50% 55%; }

  .intro .icon { width: 80px; height: 80px; margin-top: -40px; border-radius: 18px; }
  .intro h1 { font-size: 32px; margin-top: 16px; }
  .intro .line { font-size: 18px; }

  main section { margin-top: 56px; }
  h2 { font-size: 26px; margin-bottom: 18px; }

  .story p { font-size: 18px; }

  .points { grid-template-columns: 1fr; gap: 12px; }
  .points li { padding: 18px 20px; }

  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shots img { border-radius: 12px; }

  footer { margin-top: 64px; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 16px; }
  footer a { display: block; padding: 10px 0; }
  footer .copy { margin: 12px 0 0; }

  .legal { padding-top: 32px; }
  .legal h1 { font-size: 30px; }
  .legal h2 { font-size: 21px; }
}
