:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #53616c;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d9dfdd;
  --mint: #2fbf9b;
  --blue: #3977d4;
  --coral: #e85646;
  --gold: #f0b43c;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand canvas {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 48px;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 48px 0 76px;
}

.hero h1,
.band h2,
.method h2,
.comparison h2,
.faq h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(4rem, 12vw, 9.2rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: #34424c;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
}

.primary-action {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.24);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #24313b;
}

.secondary-action {
  border: 1px solid rgba(16, 24, 32, 0.16);
  background: rgba(255, 255, 255, 0.75);
}

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

.tower-card {
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.tower-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.grid-snapshot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  margin-bottom: 18px;
}

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

.grid-preview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.cell {
  aspect-ratio: 1;
  border: 1px solid #c8d2cf;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    #e8eeec;
}

.cell.active {
  border-color: rgba(47, 191, 155, 0.9);
  background: var(--mint);
}

.cell.note {
  border-color: rgba(240, 180, 60, 0.9);
  background: var(--gold);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

.quick-stats div {
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: #f7f8f6;
  padding: 12px;
}

.quick-stats dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-stats dd {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.band,
.method,
.feature-grid,
.comparison {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.band {
  border-block: 1px solid rgba(16, 24, 32, 0.1);
  padding: 76px 0;
}

.intro h2,
.rooms h2,
.faq h2 {
  max-width: 840px;
  font-size: clamp(2.1rem, 5vw, 5rem);
}

.intro p,
.rooms .section-heading p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #34424c;
  font-size: 1.12rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 72px 0;
}

.feature-grid article,
.comparison-panels article {
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.feature-grid h3,
.comparison h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.feature-grid p,
.comparison p,
.steps li,
.faq p {
  margin: 0;
  color: #46535d;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 46px;
  padding: 76px 0;
}

.method h2,
.comparison h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.method-copy p {
  margin: 22px 0 0;
  color: #34424c;
  font-size: 1.1rem;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  border-left: 5px solid var(--mint);
  border-radius: 8px;
  background: #fff;
  padding: 18px 18px 18px 22px;
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.07);
}

.steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 32px;
  align-items: end;
}

.room-table {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: #fff;
}

.row {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.4fr;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
}

.row:first-child {
  border-top: 0;
}

.row span {
  min-width: 0;
  padding: 16px;
}

.row span + span {
  border-left: 1px solid rgba(16, 24, 32, 0.1);
}

.row.header {
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  padding: 76px 0;
}

.comparison-panels {
  display: grid;
  gap: 14px;
}

.faq {
  padding-bottom: 88px;
}

.faq details {
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  margin-top: 12px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq p {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .method,
  .comparison,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding-top: 28px;
  }

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

  .quick-stats {
    grid-template-columns: 1fr;
  }

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

  .row span + span {
    border-top: 1px solid rgba(16, 24, 32, 0.1);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 3.6rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
