:root {
  --bg: #f7f5f1;
  --bg-secondary: #ece7e0;
  --surface: #ffffff;
  --surface-soft: #f1ece5;
  --line: rgba(27, 23, 18, 0.12);
  --text: #171411;
  --muted: #676056;
  --accent: #ff5257;
  --signal: #607058;
  --signal-soft: rgba(96, 112, 88, 0.12);
  --danger: #b56e60;
  --shadow: 0 18px 40px rgba(27, 23, 18, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Suisse Intl", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 24%);
  opacity: 0.8;
}

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 48px;
}

.topbar,
.main-nav,
.hero-grid,
.proof-strip,
.feature-section,
.experience-section,
.workflow-section,
.sales-section,
.pricing-section,
.download-section,
.faq-section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  padding: 12px 36px 0;
  background: var(--surface);
}

.utility-nav,
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-nav a,
.main-nav a {
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
}

.utility-nav-right {
  justify-content: flex-end;
}

.lang-toggle {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  padding: 0;
}

.lang-toggle.is-active {
  color: var(--text);
  font-weight: 700;
}

.utility-pill {
  padding: 6px 12px;
  background: var(--text);
  color: #fff !important;
}

.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand-wordmark {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-wordmark::before {
  content: none;
}

.brand-subline,
.hero-text,
.hero-intro,
.hero-meta,
.sales-list,
.feature-card p,
.experience-card p,
.check-list,
.pricing-card p,
.meter-caption,
.hero-points,
.proof-strip span,
.workflow-step p {
  color: var(--muted);
}

.brand-subline,
.section-kicker,
.panel-label,
.feature-index,
.operator-label,
.fact-label,
.workflow-step span,
.price-tag {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--accent);
}

.section-kicker,
.panel-label,
.feature-index,
.operator-label,
.fact-label,
.workflow-step span,
.price-tag,
.brand-subline {
  margin: 0;
}

.main-nav {
  justify-content: center;
  padding: 14px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

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

.primary-button,
.secondary-button,
.chip,
.mode-button,
.utility-nav a,
.main-nav a {
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.chip:hover,
.mode-button:hover,
.utility-nav a:hover,
.main-nav a:hover {
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.49fr 0.51fr;
  min-height: 760px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 48px 72px 30px;
  background: var(--surface-soft);
}

.hero-intro {
  margin: 0 0 8px;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
}

.hero-copy h1,
.section-heading h2,
.pricing-card h3,
.footer h2 {
  margin: 12px 0 16px;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.3rem);
  max-width: 9.5ch;
}

.hero-text {
  max-width: 56ch;
  font-size: 1.16rem;
  line-height: 1.82;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.primary-button {
  background: var(--text);
  color: #f8f3ed;
  box-shadow: var(--shadow);
}

.secondary-button {
  background: var(--surface);
}

.hero-points {
  margin: 28px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-meta {
  margin: 28px 0 0;
  max-width: 54ch;
  font-size: 1.06rem;
  line-height: 1.8;
}

.rig-stage {
  position: relative;
  min-height: 760px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.16)),
    linear-gradient(90deg, #2e2f33 0%, #232428 38%, #32343a 100%);
}

.rig-stage::before,
.rig-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 82px;
  background: linear-gradient(180deg, #7d5438, #a4734c);
}

.rig-stage::before {
  left: 0;
}

.rig-stage::after {
  right: 0;
}

.rig-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 72px 84px;
}

.rig-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 58% 24%, rgba(255, 255, 255, 0.1), transparent 16%);
  pointer-events: none;
}

.rig-header,
.display-topline,
.meter-caption,
.proof-strip,
.pricing-card,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.rig-header {
  align-items: center;
  margin-bottom: 18px;
}

.rig-header h2,
.feature-card h3,
.experience-card h3,
.sales-card h3 {
  margin: 6px 0 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(96, 112, 88, 0.2);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.stage-caption .panel-label {
  color: rgba(255, 255, 255, 0.74);
}

.app-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.18);
}

.app-shot-main,
.app-shot-overlay {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot-main {
  position: relative;
  z-index: 1;
}

.app-shot-overlay {
  position: absolute;
  right: 26px;
  bottom: -18px;
  width: 40%;
  z-index: 2;
  border: 8px solid rgba(18, 18, 18, 0.9);
  background: #121212;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.chip-row,
.mode-grid,
.pricing-badges {
  font-family: "SF Mono", "IBM Plex Mono", "Menlo", monospace;
}

.stage-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 56px;
}

.chip-row,
.mode-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip,
.mode-button {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.chip {
  padding: 12px 16px;
}

.mode-button {
  padding: 12px 14px;
}

.chip.active,
.mode-button.active {
  border-color: rgba(255, 255, 255, 0.16);
  background: #f3efe8;
  color: var(--text);
}

.stage-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.proof-strip span {
  font-size: 1.02rem;
  line-height: 1.7;
}

.feature-ticker {
  position: relative;
  min-height: 84px;
  margin-top: 22px;
}

.ticker-item {
  position: absolute;
  inset: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.ticker-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

.proof-strip {
  flex-wrap: wrap;
  margin: 0 0 88px;
  padding: 24px 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-strip article {
  min-width: 180px;
  flex: 1;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

main section {
  margin-bottom: 88px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 0 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.feature-grid,
.sales-grid,
.experience-grid,
.workflow-grid,
.faq-grid {
  display: grid;
  gap: 0;
  padding: 0 28px;
}

.download-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin: 0 28px;
  padding: 32px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.download-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.download-meta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.download-release {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.download-release span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.download-release strong {
  color: var(--ink);
  font-weight: 600;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-grid,
.sales-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.experience-card,
.sales-card {
  padding: 34px 30px 38px;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.faq-card {
  padding: 28px 26px 32px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.faq-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.feature-card p,
.experience-card p,
.check-list,
.sales-list,
.workflow-step p,
.pricing-card p {
  font-size: 1.05rem;
  line-height: 1.72;
}

.spotlight {
  background: transparent;
}

.check-list,
.sales-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.check-list li,
.sales-list li {
  margin-bottom: 10px;
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.workflow-step {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.workflow-step p {
  margin: 0;
  line-height: 1.7;
}

.sales-card-emphasis {
  background: transparent;
}

.pricing-card {
  align-items: end;
  padding: 0 28px;
}

.price-tag {
  font-weight: 700;
}

.pricing-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pricing-badges span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.footer {
  align-items: center;
  margin-top: 12px;
  padding: 0 28px;
}

.footer-contact {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    padding: 18px 20px 0;
  }

  .utility-nav,
  .utility-nav-right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .brand-center {
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 14px 20px 18px;
  }

  .hero-grid,
  .feature-grid,
  .experience-grid,
  .sales-grid,
  .workflow-grid,
  .faq-grid,
  .download-card,
  .pricing-card,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding: 44px 24px;
  }

  .operator-strip,
  .station-facts {
    grid-template-columns: 1fr;
  }

  .rig-stage::before,
  .rig-stage::after {
    width: 28px;
  }

  .rig-card {
    padding: 34px 28px;
  }

  .app-shot-overlay {
    position: relative;
    right: auto;
    bottom: auto;
    width: 78%;
    margin: 12px auto 0;
    border-width: 6px;
  }

  .pricing-badges {
    justify-content: flex-start;
  }

  .download-card,
  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 0;
  }

  .topbar {
    padding: 16px 16px 0;
  }

  .main-nav,
  .proof-strip,
  .section-heading,
  .feature-grid,
  .experience-grid,
  .workflow-grid,
  .faq-grid,
  .sales-grid,
  .pricing-card,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-wordmark {
    font-size: 3rem;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .frequency-line span {
    font-size: 2rem;
  }
}
