:root {
  --ink: #171719;
  --muted: #707078;
  --soft: #f5f3ef;
  --paper: #fcfbf8;
  --line: #e7e3dc;
  --red: #ef3654;
  --red-dark: #c82442;
  --pink: #ffd9df;
  --shadow: 0 28px 80px rgba(36, 27, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
}

.brand,
.header-link,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.header-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.header-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--red);
  transition: transform 160ms ease;
}

.header-link:hover span {
  transform: translate(2px, 2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(480px, 1.16fr);
  gap: clamp(42px, 8vw, 105px);
  align-items: center;
  min-height: 655px;
  padding: 66px 0 98px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--pink);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.055em;
}

h1 {
  max-width: 600px;
  margin-bottom: 25px;
  font-size: clamp(49px, 6.4vw, 82px);
  font-weight: 830;
  line-height: 0.96;
}

.hero-text {
  max-width: 465px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button span {
  font-size: 16px;
  line-height: 1;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(239, 54, 84, 0.24);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 14px 30px rgba(239, 54, 84, 0.3);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.button-quiet:hover {
  background: #fff;
}

.hero-note {
  margin: 19px 0 0 5px;
  color: #969399;
  font-size: 11px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 224, 218, 0.8);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.product-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), transparent 45%);
  content: "";
  pointer-events: none;
}

.card-glow {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: var(--pink);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.7;
}

.window-bar,
.product-body {
  position: relative;
  z-index: 1;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #f0ece8;
  background: rgba(249, 247, 245, 0.85);
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.window-dot-red { background: #ff716e; }
.window-dot-yellow { background: #ffc85c; }
.window-dot-green { background: #63d68a; }

.window-url {
  width: 47%;
  margin-left: 14px;
  padding: 6px 12px;
  color: #a39fa2;
  border: 1px solid #e9e5e3;
  border-radius: 7px;
  background: #fff;
  font-size: 10px;
}

.product-body {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  min-height: 348px;
}

.video-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 34%, rgba(239, 54, 84, 0.24), transparent 28%),
    linear-gradient(145deg, #242227 0%, #141317 58%, #4b1e2b 100%);
}

.video-placeholder::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.025), 0 0 0 56px rgba(255, 255, 255, 0.02);
  content: "";
}

.play-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 3px;
  color: #fff;
  background: var(--red);
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  font-size: 17px;
}

.video-caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 600;
}

.transcript-panel {
  padding: 20px 17px 16px;
  background: #fff;
}

.panel-heading,
.panel-tabs,
.transcript-line,
.panel-input {
  display: flex;
  align-items: center;
}

.panel-heading {
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #6dd895;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e9f9ee;
}

.panel-tabs {
  gap: 4px;
  margin-bottom: 19px;
  padding-bottom: 9px;
  border-bottom: 1px solid #f0eded;
}

.panel-tab {
  padding: 6px 7px;
  color: #b0acb0;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
}

.panel-tab-active {
  color: var(--red-dark);
  background: #fff0f2;
}

.transcript-line {
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  color: #3f3b40;
  font-size: 11px;
  line-height: 1.5;
}

.timestamp {
  flex: 0 0 auto;
  padding: 2px 4px;
  color: var(--red-dark);
  background: #fff0f2;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
}

.line-muted {
  color: #a29ea2;
}

.panel-input {
  justify-content: space-between;
  margin-top: 31px;
  padding: 10px 10px 10px 12px;
  color: #bbb7ba;
  border: 1px solid #eee9e8;
  border-radius: 9px;
  font-size: 9px;
}

.panel-input b {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-size: 11px;
}

.feature-section {
  padding: 66px 0 90px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading h2,
.closing-section h2 {
  max-width: 500px;
  margin-bottom: 0;
  font-size: clamp(35px, 4vw, 53px);
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 222px;
  padding: 25px 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.53);
}

.feature-card-accent {
  color: #fff;
  border-color: #ed3855;
  background: var(--red);
  box-shadow: 0 18px 32px rgba(239, 54, 84, 0.17);
}

.feature-number {
  display: block;
  margin-bottom: 43px;
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.feature-card-accent .feature-number {
  color: #ffb7c2;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.05;
}

.feature-card p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.feature-card-accent p {
  color: #ffe4e8;
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 70px;
  padding: 40px 45px;
  border-radius: 21px;
  background: var(--soft);
}

.closing-section .eyebrow {
  margin-bottom: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 0 30px;
  color: #9a969a;
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .product-card {
    width: min(100%, 700px);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .shell,
  .site-header {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    padding: 19px 0;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 45px 0 68px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-text {
    font-size: 16px;
  }

  .product-card {
    transform: none;
  }

  .product-body {
    grid-template-columns: 1fr;
  }

  .video-placeholder {
    min-height: 220px;
  }

  .transcript-panel {
    min-height: 300px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 16px;
  }

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

  .feature-card {
    min-height: 190px;
  }

  .feature-number {
    margin-bottom: 30px;
  }

  .closing-section {
    display: block;
    margin-bottom: 50px;
    padding: 30px 24px;
  }

  .closing-section .button {
    width: 100%;
    margin-top: 25px;
  }

  .site-footer {
    display: block;
    line-height: 1.7;
  }

  .site-footer span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
