:root {
  color-scheme: light;
  --page: #f6f3eb;
  --surface: #fffdf8;
  --surface-soft: #eef4ee;
  --ink: #24231f;
  --muted: #696b64;
  --line: #ded9cd;
  --brand: #e84b34;
  --brand-strong: #d83f2b;
  --green: #3c9271;
  --green-soft: #dfeee6;
  --amber: #9f7a24;
  --amber-soft: #f1ead9;
  --shadow: 0 22px 56px rgba(42, 39, 32, 0.1);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.9), rgba(246, 243, 235, 0) 36rem),
    var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 35, 31, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 35, 31, 0.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.46), transparent 62%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px 0 12px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-size: 21px;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(36, 35, 31, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  border-radius: 8px;
  padding: 9px 11px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
  outline: none;
}

.hero {
  display: grid;
  gap: 32px;
  min-height: min(840px, calc(100svh - 70px));
  align-content: start;
  padding: 72px 0 62px;
  text-align: center;
}

.hero-copy {
  max-width: 930px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(38px, 5.4vw, 64px);
}

.hero-subtitle {
  margin: 18px auto 0;
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.34;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  justify-content: center;
}

.platform-downloads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin-inline: auto;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
}

.platform-button {
  position: relative;
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: 12px;
  overflow: hidden;
  border-color: rgba(60, 146, 113, 0.22);
  border-radius: 18px;
  padding: 12px 16px 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 246, 0.86));
  color: var(--ink);
  text-align: left;
  box-shadow:
    0 14px 34px rgba(42, 39, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.platform-button::before {
  content: none;
}

.platform-button::after {
  content: none;
}

.platform-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(60, 146, 113, 0.13);
}

.platform-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.platform-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.platform-copy > span {
  position: relative;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
}

.platform-copy > small {
  position: relative;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.platform-button:hover,
.platform-button:focus-visible {
  border-color: rgba(60, 146, 113, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 234, 0.92));
  color: var(--green);
  outline: none;
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(42, 39, 32, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.platform-button.platform-disabled {
  cursor: default;
  border-color: rgba(111, 105, 94, 0.16);
  background: rgba(255, 253, 248, 0.58);
  color: rgba(36, 35, 31, 0.5);
  box-shadow:
    0 10px 24px rgba(42, 39, 32, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.platform-button.platform-disabled .platform-icon {
  background: rgba(227, 222, 211, 0.68);
  color: rgba(111, 105, 94, 0.6);
  box-shadow: inset 0 0 0 1px rgba(111, 105, 94, 0.12);
}

.platform-button.platform-disabled .platform-copy > small {
  color: rgba(105, 107, 100, 0.72);
}

.platform-button.platform-disabled:hover {
  transform: none;
  border-color: rgba(111, 105, 94, 0.16);
  background: rgba(255, 253, 248, 0.58);
  color: rgba(36, 35, 31, 0.5);
  box-shadow:
    0 10px 24px rgba(42, 39, 32, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(232, 75, 52, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-strong);
  outline: none;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.74);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface);
  outline: none;
}

.hero-showcase {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.showcase-window {
  overflow: hidden;
  border: 1px solid rgba(36, 35, 31, 0.1);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow:
    0 34px 90px rgba(42, 39, 32, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.showcase-window img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(36, 35, 31, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.panel-header div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.panel-header strong {
  color: var(--green);
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(60, 146, 113, 0.12);
}

.recorder-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.8fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.stream-card,
.record-meter,
.preview-actions span {
  border-radius: 10px;
  background: #f5f1e8;
}

.stream-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.stream-card strong {
  display: block;
  font-size: 24px;
}

.stream-card p,
.record-meter span,
.copy-columns p,
.feature-grid p,
.steps p,
.faq p {
  color: var(--muted);
}

.stream-card p {
  margin: 2px 0 0;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
}

.type-pill.live {
  background: #ffe7df;
  color: #ff8258;
}

.record-meter {
  padding: 18px;
}

.record-meter span,
.record-meter strong {
  display: block;
}

.record-meter strong {
  margin-top: 4px;
  color: var(--green);
  font-size: 22px;
}

.meter-track {
  overflow: hidden;
  height: 8px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(36, 35, 31, 0.08);
}

.meter-track i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.preview-actions {
  display: flex;
  gap: 10px;
}

.preview-actions span {
  display: inline-flex;
  min-width: 96px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: 700;
}

.preview-actions span:last-child {
  background: var(--brand);
  color: #fff;
}

.answer-band {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
  text-align: center;
}

.answer-band h2,
.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.answer-band p:not(.eyebrow),
.copy-columns p {
  margin: 0;
  font-size: 18px;
}

.answer-band p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px auto 0;
}

.section-stack,
.workflow,
.seo-copy,
.faq {
  padding: 86px 0 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.74);
}

.feature-grid article {
  min-height: 244px;
  padding: 24px;
}

.feature-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.feature-grid h3 {
  margin-top: 28px;
  font-size: 22px;
}

.feature-grid p,
.steps p,
.faq p {
  margin: 12px 0 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.steps span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.steps h3 {
  font-size: 22px;
}

.copy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 21px 24px;
  font-size: 19px;
  font-weight: 700;
}

.faq summary::marker {
  color: var(--green);
}

.faq details p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 18px 24px 22px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding: 32px 0 42px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--brand);
  font-size: 22px;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 58px;
  }

  .section-grid,
  .copy-columns {
    grid-template-columns: 1fr;
  }

  .recorder-preview {
    grid-template-columns: 1fr;
  }

  .preview-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .platform-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 360px);
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .platform-button {
    min-height: 68px;
    gap: 9px;
    padding: 11px 12px 10px;
    border-radius: 13px;
  }

  .platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .platform-icon svg {
    width: 18px;
    height: 18px;
  }

  .platform-copy > span {
    font-size: 14px;
  }

  .platform-copy > small {
    font-size: 10px;
  }

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

  .feature-grid article {
    min-height: auto;
  }

  .section-stack,
  .workflow,
  .seo-copy,
  .faq {
    padding-top: 64px;
  }

  .site-footer {
    display: grid;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
