:root {
  --cream: #f8f3e8;
  --paper: #fffdf8;
  --ink: #27372f;
  --muted: #647168;
  --green: #315b42;
  --mint: #dcebdc;
  --line: rgba(49, 91, 66, 0.16);
  --shadow: 0 24px 70px rgba(57, 70, 59, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #91b9a0; outline-offset: 4px; border-radius: 4px; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 3px;
}
.brand-mark i { width: 9px; height: 9px; border-radius: 3px; background: var(--green); }
.brand-mark i:nth-child(2) { background: #74a8b4; }
.brand-mark i:nth-child(3) { background: #e5b34e; }
.brand-mark i:nth-child(4) { background: #cf6d53; }
nav { display: flex; gap: 30px; }
nav a { color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--green); }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 72px;
  padding: 84px 0 100px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.045em; }
h1 { max-width: 720px; margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 8vw, 6.8rem); font-weight: 500; }
h2 { margin-bottom: 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; }
h3 { margin-bottom: 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.intro { max-width: 610px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.26rem); }
.text-link { color: var(--green); font-weight: 750; text-decoration: none; }
.text-link span { margin-left: 8px; }

.hero-art,
.app-icon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hero-art { aspect-ratio: 1; padding: 38px; border: 1px solid var(--line); border-radius: 34%; background: rgba(255,255,255,0.34); transform: rotate(2deg); }
.tile { display: block; min-width: 0; border-radius: 27%; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35); }
.tile-green { background: #456e50; }
.tile-blue { background: #79a9b8; }
.tile-gold { background: #e7b856; }
.tile-coral { background: #cf7059; }

.section { padding: 108px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 44px; }
.app-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.app-icon { width: 100%; aspect-ratio: 1; gap: 7px; padding: 28px; border-radius: 28%; background: var(--cream); }
.app-details { max-width: 600px; }
.app-details > p:not(.app-type) { margin: 0 0 30px; color: var(--muted); font-size: 1.08rem; }
.app-type { margin: 0 0 12px; color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 20px;
  border-radius: 12px;
  color: #fff;
  background: #202622;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.12;
  text-decoration: none;
}
.play-button:hover { background: var(--green); }
.play-button small { display: block; margin-bottom: 2px; font-size: 0.58rem; font-weight: 650; letter-spacing: 0.09em; }
.play-symbol { font-size: 1.45rem; }
.contact { text-align: center; }
.contact > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); }
.email-link { color: var(--green); font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 750; text-underline-offset: 5px; overflow-wrap: anywhere; }

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { text-underline-offset: 4px; }

.error-page { min-height: calc(100vh - 202px); display: grid; place-items: center; text-align: center; }
.error-page h1 { margin-bottom: 18px; }
.error-page p { margin: 0 0 28px; color: var(--muted); }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 32px, 1120px); }
  .site-header { min-height: 76px; }
  nav { gap: 16px; }
  nav a { font-size: 0.86rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding: 72px 0 84px; }
  .hero-art { width: min(78vw, 390px); justify-self: center; padding: 30px; }
  .section { padding: 80px 0; }
  .app-card { grid-template-columns: 1fr; gap: 34px; padding: 28px; }
  .app-icon { width: min(62vw, 250px); justify-self: center; }
  footer { padding: 30px 0; flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width: 430px) {
  .brand-mark { display: none; }
  nav { gap: 12px; }
  h1 { font-size: 3.25rem; }
}

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