:root {
  --navy: #071f35;
  --ink: #0a2843;
  --muted: #40566b;
  --gold: #edb13e;
  --paper: #fffdfa;
  --sand: #f4f0ea;
  --blue-wash: #eef7fb;
  --line: rgba(7,31,53,.10);
  --shadow: 0 24px 60px rgba(7,31,53,.10);
  --radius: 26px;
  --max: 1180px;
  --gap: 56px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: clamp(56px, 7vw, 96px); }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-mark-img { width: 40px; height: 40px; object-fit: contain; }
.play-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 9px 15px;
  border-radius: 10px; color: #fff; background: #050505; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.play-badge.large { min-height: 64px; padding-inline: 18px; }
.play-copy { display: grid; line-height: 1; }
.play-copy small { font-size: 9px; letter-spacing: .08em; }
.play-copy strong { margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.play-icon { width: 27px; height: 30px; display: block; background: conic-gradient(from 210deg at 38% 50%, #36d06c 0 25%, #35a7ff 0 49%, #ffc83d 0 73%, #f04455 0 100%); clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 3px; }

.hero {
  display: grid;
  grid-template-columns: minmax(320px, .68fr) var(--gap) minmax(0, 1.32fr);
  grid-template-areas:
    "copy gap photo"
    "benefits benefits benefits";
  align-items: end;
  row-gap: 26px;
  padding-top: clamp(38px, 5vw, 68px);
}
.hero-copy { grid-area: copy; }
.hero-photo { grid-area: photo; }
.hero-benefits {
  grid-area: benefits;
  margin: 0;
  max-width: 980px;
  font-size: clamp(22px, 2.15vw, 31px);
  line-height: 1.35;
  color: var(--muted);
}
.hero-copy h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(56px, 6.3vw, 90px);
  line-height: .95;
  letter-spacing: -.06em;
}
.hero-copy h1 span { color: var(--gold); }

.photo-card { background: transparent; }
.photo-card img { width: 100%; height: auto; object-fit: contain; }
.hero-photo, .story-photo { min-height: 0; }
.story { border-block: 1px solid transparent; }
.pain-sand { background: var(--sand); border-color: var(--line); }
.pain-blue { background: var(--blue-wash); border-color: rgba(7,31,53,.08); }
.story-grid { display: grid; align-items: center; }
.story-grid.image-left { grid-template-columns: minmax(0, 1.58fr) var(--gap) minmax(260px, .42fr); }
.story-grid.image-right { grid-template-columns: minmax(260px, .42fr) var(--gap) minmax(0, 1.58fr); }
.story-grid.image-left > .story-photo { grid-column: 1; }
.story-grid.image-left > .story-copy { grid-column: 3; }
.story-grid.image-right > .story-copy { grid-column: 1; }
.story-grid.image-right > .story-photo { grid-column: 3; }
.story-copy, .story-photo { min-width: 0; }
.story-copy { max-width: 430px; }
.story-copy h2 { margin: 0 0 22px; font-size: clamp(42px, 4vw, 60px); line-height: .95; letter-spacing: -.055em; }

.chaos-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 16px;
  padding-top: 6px;
}
.chaos-item {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.18;
  box-shadow: 0 6px 14px rgba(7,31,53,.05);
}
.pain-blue .chaos-item { background: rgba(255,255,255,.42); }
.r1 { transform: rotate(-3deg); }
.r2 { transform: rotate(2.5deg); }
.r3 { transform: rotate(-1.5deg); }
.r4 { transform: rotate(3deg); }
.r5 { transform: rotate(-2.2deg); }
.r6 { transform: rotate(1.4deg); }
.r7 { transform: rotate(-3.4deg); }
.r8 { transform: rotate(2deg); }
.r9 { transform: rotate(-1deg); }
.citizen-chaos .chaos-item:nth-child(1) { margin-left: 6px; }
.citizen-chaos .chaos-item:nth-child(2) { margin-left: 28px; }
.citizen-chaos .chaos-item:nth-child(3) { margin-left: 2px; }
.citizen-chaos .chaos-item:nth-child(4) { margin-left: 42px; }
.citizen-chaos .chaos-item:nth-child(5) { margin-left: 18px; }
.citizen-chaos .chaos-item:nth-child(6) { margin-left: 54px; }
.citizen-chaos .chaos-item:nth-child(7) { margin-left: 0; }
.citizen-chaos .chaos-item:nth-child(8) { margin-left: 34px; }
.citizen-chaos .chaos-item:nth-child(9) { margin-left: 18px; }
.staff-chaos .chaos-item:nth-child(1) { margin-left: 24px; }
.staff-chaos .chaos-item:nth-child(2) { margin-left: 0; }
.staff-chaos .chaos-item:nth-child(3) { margin-left: 38px; }
.staff-chaos .chaos-item:nth-child(4) { margin-left: 10px; }
.staff-chaos .chaos-item:nth-child(5) { margin-left: 52px; }
.staff-chaos .chaos-item:nth-child(6) { margin-left: 12px; }
.staff-chaos .chaos-item:nth-child(7) { margin-left: 32px; }
.staff-chaos .chaos-item:nth-child(8) { margin-left: 76px; }

.scribble-note {
  margin: 28px 0 0 8px;
  width: max-content;
  max-width: 100%;
  color: #183e64;
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.18;
  transform: rotate(-2deg);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 8px;
}
.relief-copy { align-self: center; }
.relief-note { margin-left: 0; }
.relief-brand { margin: 0; font-size: clamp(60px, 6.6vw, 92px); line-height: .9; letter-spacing: -.07em; }
.gold-dot { color: var(--gold); }
.relief-line { margin: 18px 0 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }

.footer { background: var(--navy); color: #fff; padding-block: 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-inverse { font-size: 26px; }
.footer-play { color: #fff; font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 1080px) {
  .hero,
  .story-grid.image-left,
  .story-grid.image-right {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 28px;
  }
  .hero-copy, .hero-photo, .hero-benefits,
  .story-grid.image-left > .story-photo,
  .story-grid.image-left > .story-copy,
  .story-grid.image-right > .story-copy,
  .story-grid.image-right > .story-photo { grid-column: auto; grid-area: auto; }
  .story-copy { max-width: 760px; }
  .hero-benefits { max-width: 100%; font-size: clamp(20px, 3vw, 28px); }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 32px, 760px); }
  .site-header { min-height: 76px; }
  .site-header .play-copy small { display: none; }
  .site-header .play-copy strong { margin: 0; font-size: 15px; }
  .site-header .play-badge { min-height: 46px; }
  .hero-copy h1 { font-size: clamp(48px, 12vw, 68px); }
  .story-copy h2 { font-size: clamp(40px, 8vw, 54px); }
  .relief-brand { font-size: clamp(62px, 15vw, 86px); }
  .relief-line { font-size: clamp(22px, 4.8vw, 30px); }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 520px); }
  .section-space { padding-block: 46px; }
  .brand { font-size: 27px; }
  .brand-mark-img { width: 34px; height: 34px; }
  .site-header .play-badge { padding: 7px 10px; gap: 7px; }
  .site-header .play-icon { width: 20px; height: 23px; }
  .site-header .play-copy strong { font-size: 0; }
  .site-header .play-copy strong::after { content: "Google Play"; font-size: 13px; }
  .story-copy, .hero-benefits { width: 100%; }
  .chaos-cloud { gap: 12px; }
  .chaos-item { font-size: 15px; padding: 6px 10px; }
  .scribble-note { font-size: 18px; }
}
