:root {
  --bg: #fbfaf7;
  --panel: #ffffff;
  --text: #111827;
  --muted: #687385;
  --line: #e5e1d8;
  --ink: #171717;
  --accent: #2563eb;
  --mint: #0f9f6e;
  --amber: #d97706;
  --coral: #e25544;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(251,250,247,0) 360px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.section-row,
.plans-band {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
}

.site-header {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-main {
  color: var(--ink);
}

.brand-by {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
}

.brand-parent {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255,255,255,.7);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  gap: 52px;
  align-items: center;
  padding: 86px 0 96px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--coral);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 4.35rem;
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: .95rem;
}

.metrics strong {
  color: var(--ink);
}

.product-preview {
  border: 1px solid rgba(17,24,39,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 24px 70px rgba(45, 42, 36, .12);
  padding: 18px;
}

.preview-topbar,
.change-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-topbar {
  min-height: 40px;
  padding: 0 2px 14px;
  color: var(--muted);
  font-size: .92rem;
}

.preview-topbar strong {
  color: var(--mint);
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  min-height: 190px;
  display: grid;
  gap: 14px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.tile.changed {
  border-color: color-mix(in srgb, var(--mint) 45%, var(--line));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--mint) 13%, transparent);
}

.tile span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
}

.tile strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.mini-site {
  height: 104px;
  display: grid;
  gap: 7px;
  align-content: start;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f6f8;
  padding: 9px;
}

.mini-site span {
  border-radius: 999px;
  background: #d7dde5;
}

.mini-site span:first-child {
  width: 48%;
  height: 10px;
}

.mini-site span:nth-child(2) {
  width: 86%;
  height: 32px;
  border-radius: 6px;
}

.mini-site span:nth-child(3) {
  width: 62%;
  height: 10px;
}

.mini-site.news span:nth-child(2) {
  background: color-mix(in srgb, var(--coral) 28%, #edf0f4);
}

.mini-site.shop span:nth-child(2) {
  background: color-mix(in srgb, var(--amber) 24%, #edf0f4);
}

.mini-site.launch span:nth-child(2) {
  background: color-mix(in srgb, var(--accent) 26%, #edf0f4);
}

.mini-site.analytics span:nth-child(2) {
  background: color-mix(in srgb, var(--mint) 23%, #edf0f4);
}

.change-strip {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.change-strip span {
  color: var(--muted);
  font-size: .86rem;
}

.change-strip .active {
  color: var(--ink);
  font-weight: 800;
}

.section-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 64px;
}

.section-row article,
.plans-band {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.number {
  display: block;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: .86rem;
}

.plans-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

.plans-mini {
  display: grid;
  gap: 10px;
}

.plans-mini span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.68);
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 720;
}

.content {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pricing-grid article,
.plan-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.pricing-grid h2,
.plan-notes h2 {
  margin-bottom: 8px;
}

.pricing-grid strong {
  display: block;
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 980px) {
  .hero,
  .section-row,
  .plans-band,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 3.2rem;
  }
}

@media (min-width: 1500px) {
  .site-header,
  .site-footer,
  .hero,
  .section-row,
  .plans-band {
    width: min(1520px, calc(100% - 96px));
  }

  .site-header {
    min-height: 82px;
  }

  .hero {
    grid-template-columns: minmax(0, .9fr) minmax(620px, 1.1fr);
    gap: 76px;
    padding: 118px 0 122px;
  }

  h1 {
    max-width: 790px;
    font-size: 5.25rem;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 670px;
    font-size: 1.16rem;
  }

  .product-preview {
    padding: 22px;
  }

  .tile {
    min-height: 224px;
    padding: 16px;
  }

  .mini-site {
    height: 128px;
    padding: 12px;
  }

  .mini-site span:first-child,
  .mini-site span:nth-child(3) {
    height: 12px;
  }

  .mini-site span:nth-child(2) {
    height: 44px;
  }

  .preview-topbar {
    min-height: 46px;
    font-size: 1rem;
  }
}

@media (min-width: 1500px) and (max-height: 900px) {
  .hero {
    padding: 72px 0 84px;
  }

  h1 {
    font-size: 4.75rem;
  }

  .tile {
    min-height: 200px;
  }

  .mini-site {
    height: 110px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  nav a {
    font-size: .88rem;
  }

  .nav-cta {
    padding: 8px 10px;
  }

  h1 {
    font-size: 2.52rem;
  }

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