/* Lilt page composition — not the Sway two-column title + video + studio stack. */

.site-header {
  width: min(1180px, calc(100% - 32px));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: 18px;
  font-size: 13px;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.hero {
  width: 100%;
  padding-top: 28px;
}

.hero-masthead {
  text-align: center;
  max-width: 760px;
  margin: 8px auto 28px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.hero-masthead h1,
.hero-masthead .hero h1,
.hero .hero-masthead h1,
html:not([lang=en]) .hero-masthead h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin: 0 auto;
  max-width: 16ch;
}

.hero-masthead .hero-description {
  margin: 18px auto 0;
  max-width: 36ch;
  font-size: 19px;
  text-align: center;
}

.hero-masthead .download-action {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 26px;
}

.hero-masthead .buy-button,
.hero-masthead .download-action .buy-button {
  width: auto;
  min-width: 180px;
  max-width: 240px;
}

.hero-masthead .price-caption {
  margin: 0;
  text-align: left;
}

.hero-summary { display: none; }

.playground {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto 8px;
}

.demo-stage {
  min-height: 520px;
}

.tune-panel {
  margin: 0;
  border: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, .2);
}

.tune-panel summary {
  padding: 14px 24px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .38);
  border-bottom: 0;
}

.tune-panel summary:hover { color: var(--ink); }

.tune-panel .appearance-controls,
.tune-panel .studio-extras {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.film {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: 72px 0 24px;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.film-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -.045em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.film-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 36ch;
}

.film .hero-recording {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
}

.specifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 56px;
  padding-bottom: 12px;
}

.specifications > div {
  padding: 20px 22px 8px;
}

.specifications h2 {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.specifications dl > div {
  display: block;
  padding: 12px 0;
}

.specifications dt {
  font-size: 15px;
  margin-bottom: 4px;
}

.about-intro {
  display: block;
  max-width: 18em;
  margin-bottom: 36px;
}

.about-intro > p {
  max-width: 42em;
  margin-top: 16px;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.feature-strip > div:first-child {
  grid-row: 1 / span 2;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-strip > div:first-child h3 {
  font-size: 28px;
}

.automation-board {
  padding: 22px;
}

.rule-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.rule-card {
  display: grid;
  grid-template-columns: 92px minmax(120px, 180px) 1fr;
  gap: 12px 20px;
  align-items: baseline;
  padding: 16px 20px;
}

.rule-card small { margin: 0; }
.rule-card h3 { margin: 0; }
.rule-card p { max-width: none; }

.compat-card {
  grid-template-columns: .8fr 1.2fr;
}

.questions {
  display: block;
  padding-top: 72px;
}

.questions h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 28px;
}

.question-list details {
  max-width: 820px;
}

.notify-band {
  margin-top: 40px;
}

.notify-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
}

.notify-band h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 6px;
}

.notify-form {
  min-width: min(340px, 100%);
}

@media (hover: hover) and (pointer: fine) {
  .header-nav a:hover { color: var(--ink); }
}

@media (max-width: 1050px) {
  .film,
  .feature-strip,
  .compat-card,
  .notify-inner {
    grid-template-columns: 1fr;
  }
  .feature-strip > div:first-child {
    grid-row: auto;
    min-height: 0;
  }
  .header-nav { display: none; }
  .specifications { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero-masthead h1,
  html:not([lang=en]) .hero-masthead h1 {
    font-size: clamp(36px, 11vw, 52px);
    max-width: none;
  }
  .demo-stage { min-height: 360px; }
  .film { padding-top: 48px; gap: 20px; }
  .rule-card {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .specifications { grid-template-columns: 1fr; }
  .notify-inner { padding: 22px 18px; }
}

@media (max-width: 500px) {
  .hero-masthead .download-action { justify-content: flex-start; }
  .hero-masthead { text-align: left; }
  .hero-masthead .hero-description { text-align: left; margin-left: 0; }
}
