:root {
  --bg: #ecf8ff;
  --bg-deep: #dceaf4;
  --accent: #1566a8;
  --accent2: #ffd347;
  --text: #173046;
  --muted: #73879a;
  --paper: #ffffff;
  --hairline: #dceaf4;
  --ink-soft: rgba(23, 48, 70, 0.72);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 211, 71, 0.28), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #f7fbfe 45%, var(--bg-deep) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

/* —— margin_dots nav —— */
.margin-dots {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 40;
}

.margin-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(21, 102, 168, 0.28);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px rgba(21, 102, 168, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.margin-dots .dot:hover,
.margin-dots .dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

main {
  width: min(1080px, calc(100% - 3.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

/* —— centered_stack hero —— */
.hero.centered-stack {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

.hero-tagline {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
  font-weight: 400;
}

.hero-art {
  margin-top: 1.75rem;
  width: min(920px, 100%);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(21, 102, 168, 0.18),
    0 0 0 1px rgba(23, 48, 70, 0.06);
  background: var(--bg-deep);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* —— bands —— */
.band {
  padding: 3.25rem 0 1rem;
}

.intro.left {
  text-align: left;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.intro h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* —— bento_uneven —— */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.tile {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 28px rgba(23, 48, 70, 0.05);
}

.tile-wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tile-wide img,
.tile-accent img {
  margin-top: auto;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.tile-accent {
  grid-column: 2;
  background: linear-gradient(145deg, #1566a8 0%, #0f4f86 100%);
  color: #f4faff;
  border-color: transparent;
}

.tile-accent p {
  color: rgba(244, 250, 255, 0.88);
}

.tile h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— device_pair —— */
.device-pair {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: 1rem 0 2rem;
  flex-wrap: wrap;
}

.phone {
  margin: 0;
  width: min(260px, 42vw);
  background: var(--paper);
  border-radius: 28px;
  padding: 0.55rem;
  border: 1px solid var(--hairline);
  box-shadow:
    0 22px 50px rgba(21, 102, 168, 0.16),
    0 0 0 1px rgba(23, 48, 70, 0.04);
}

.phone-offset {
  transform: translateY(-1.4rem);
}

.phone img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-deep);
}

.phone figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.65rem 0 0.25rem;
  font-weight: 500;
}

/* —— field —— */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
}

.field-row img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(23, 48, 70, 0.1);
}

.field-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* —— footer_sheet legal —— */
.footer-sheet {
  margin-top: 3.5rem;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  border: 1px solid var(--hairline);
  border-bottom: none;
  box-shadow: 0 -12px 48px rgba(21, 102, 168, 0.1);
  padding: 2.4rem 1.75rem 2rem;
}

.sheet-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sheet-col h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.sheet-col p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.mail {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent2);
  padding-bottom: 0.1rem;
}

.mail:hover {
  color: #0f4f86;
}

.fine {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .margin-dots {
    right: 0.55rem;
    gap: 0.7rem;
  }

  main {
    width: min(100% - 2.4rem, 1080px);
    padding-top: 1.5rem;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-row: auto;
  }

  .tile-accent {
    grid-column: auto;
  }

  .phone-offset {
    transform: none;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .sheet-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-sheet {
    border-radius: 22px 22px 0 0;
    padding: 1.75rem 1.2rem 1.5rem;
  }
}
