:root {
  --bg: #FFF3DC;
  --ink: #191A22;
  --muted: #5A5C6A;
  --cobalt: #304FFE;
  --tangerine: #FF7138;
  --lime: #D0F542;
  --violet: #793CE7;
  --lavender: #E7DDFB;
  --paper: #fff8ea;
  --max: 1120px;
  --radius: 4px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(48,79,254,.08), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(255,113,56,.10), transparent 38%),
    var(--bg);
  min-height: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* floating_pill nav */
.nav-pill {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: flex;
  gap: .35rem;
  padding: .45rem .55rem;
  background: rgba(25,26,34,.92);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(25,26,34,.28);
}
.nav-pill a {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .55rem .85rem;
  border-radius: 999px;
  text-decoration: none;
}
.nav-pill a:hover { background: var(--cobalt); }

/* collage_overlap hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.5rem;
  align-items: end;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: .95;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.hero-copy .line2 {
  display: block;
  color: var(--cobalt);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  margin-top: .45rem;
  font-weight: 800;
}
.hero-copy p {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.collage {
  position: relative;
  min-height: 320px;
}
.collage img {
  position: absolute;
  border: 3px solid var(--ink);
  background: var(--paper);
  object-fit: cover;
  box-shadow: 8px 8px 0 rgba(25,26,34,.12);
}
.collage .a {
  width: 72%;
  left: 0;
  top: 0;
  aspect-ratio: 16/10;
  z-index: 1;
}
.collage .b {
  width: 48%;
  right: 0;
  top: 18%;
  aspect-ratio: 1;
  z-index: 2;
  border-color: var(--tangerine);
}
.collage .c {
  width: 42%;
  left: 18%;
  bottom: -6%;
  aspect-ratio: 1;
  z-index: 3;
  border-color: var(--violet);
}

.mark {
  display: inline-block;
  margin-bottom: .85rem;
  padding: .35rem .65rem;
  background: var(--lime);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* right_aligned_blocks intros */
.section {
  padding: 3.2rem 0;
}
.intro {
  text-align: right;
  margin-bottom: 1.6rem;
}
.intro h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.intro p {
  margin: .45rem 0 0 auto;
  max-width: 28rem;
  color: var(--muted);
}

/* icon_grid features */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .icon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .icon-grid { grid-template-columns: 1fr; }
}
.feature {
  background: var(--paper);
  border: 2px solid rgba(25,26,34,.12);
  padding: 1.1rem 1rem 1.2rem;
  min-height: 100%;
}
.feature .glyph {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: .75rem;
  background: var(--cobalt);
}
.feature:nth-child(2) .glyph { background: var(--tangerine); }
.feature:nth-child(3) .glyph { background: var(--violet); }
.feature:nth-child(4) .glyph { background: var(--lime); }
.feature:nth-child(5) .glyph { background: #F34D91; }
.feature:nth-child(6) .glyph { background: var(--ink); }
.feature h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

/* inline_thumbnails screens */
.screens-prose {
  display: grid;
  gap: 1.4rem;
}
.screen-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(25,26,34,.08);
  padding: .75rem;
}
@media (max-width: 640px) {
  .screen-row { grid-template-columns: 96px 1fr; }
}
.screen-row img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--ink);
  background: #fff;
}
.screen-row h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}
.screen-row p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.4rem;
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--ink);
}

/* side_by_side legal */
.legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 800px) {
  .legal { grid-template-columns: 1fr; }
}
.legal-panel {
  background: var(--lavender);
  border: 2px solid rgba(25,26,34,.1);
  padding: 1.35rem 1.25rem 1.5rem;
}
.legal-panel.support {
  background: #fff;
}
.legal-panel h2 {
  margin: 0 0 .8rem;
  font-size: 1.35rem;
  font-weight: 900;
}
.legal-panel p {
  margin: 0 0 .75rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: .98rem;
}
.legal-panel p:last-child { margin-bottom: 0; }

.footer {
  padding: 2rem 0 5.5rem;
  color: var(--muted);
  font-size: .85rem;
  border-top: 2px solid rgba(25,26,34,.08);
  margin-top: 1rem;
}
.footer strong { color: var(--ink); }
