:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-muted: #ffffff;
  --text: #14110f;
  --muted: #5a5a61;
  --line: #e8e8ec;
  --line-strong: #d9d9df;
  --red: #c93a36;
  --red-deep: #a92724;
  --gold: #efc85d;
  --shadow-soft: 0 18px 48px rgba(20, 17, 15, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.motion-safe {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration: 680ms;
  --motion-distance: 26px;
}

main {
  overflow: clip;
}

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

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

a {
  color: inherit;
}

.motion-safe [data-motion],
.motion-safe [data-motion-group] [data-motion-child] {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, var(--motion-distance), 0) scale(var(--motion-scale, 1));
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    filter 520ms ease;
  will-change: transform, opacity, filter;
}

.motion-safe [data-motion-group].is-visible [data-motion-child],
.motion-safe [data-motion].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-safe [data-motion="hero-media"] {
  --motion-distance: 30px;
  --motion-scale: 0.985;
}

.motion-safe [data-motion="section-close"] {
  --motion-distance: 20px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text);
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-border-top {
  padding-top: 96px;
}

.section-border-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), 960px);
  height: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.hero {
  padding-top: 72px;
  padding-bottom: 80px;
}

.hero-inner {
  text-align: center;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.hero-subnote {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

#story,
#book-demo {
  scroll-margin-top: 104px;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.1rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-line + .hero-line::before {
  content: " ";
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-media-stage {
  position: relative;
  width: min(100%, 524px);
  margin: 34px auto 0;
  padding: 16px;
  border: 1px solid rgba(201, 58, 54, 0.1);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 247, 244, 0.98) 100%);
  box-shadow:
    0 30px 74px rgba(20, 17, 15, 0.12),
    0 8px 20px rgba(20, 17, 15, 0.05);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-media-stage::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -30px;
  height: 76px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(201, 58, 54, 0.18) 0%, rgba(239, 200, 93, 0.12) 32%, rgba(255, 255, 255, 0) 72%);
  filter: blur(18px);
  z-index: -1;
}

.hero-media-stage:hover,
.hero-media-stage:focus-within {
  transform: translateY(-2px);
  border-color: rgba(201, 58, 54, 0.18);
  box-shadow:
    0 34px 86px rgba(20, 17, 15, 0.14),
    0 12px 24px rgba(20, 17, 15, 0.06);
}

.hero-media-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin: 0 auto 14px;
  padding: 0 14px;
  border: 1px solid rgba(201, 58, 54, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(20, 17, 15, 0.06);
}

.hero-media-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  box-shadow: 0 0 0 6px rgba(201, 58, 54, 0.08);
}

.hero-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, #121214 0%, #09090a 100%);
  box-shadow:
    0 26px 64px rgba(7, 7, 8, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-media-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 24%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

.hero-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.hero-support {
  max-width: 680px;
  margin: 28px auto 0;
}

.hero-lead {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.02rem, 1.55vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.button:active {
  transform: translateY(0) scale(0.995);
}

.button-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(201, 58, 54, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--red);
  color: var(--red-deep);
  box-shadow: none;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.story-close {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--text);
  font-size: 1.05rem;
  text-align: center;
}

.final-cta {
  padding-top: 72px;
  padding-bottom: 88px;
}

.final-cta-panel {
  text-align: center;
}

.final-cta-panel p {
  max-width: 40rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}

.site-footer {
  padding: 0 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(90, 90, 97, 0.72);
  font-size: 0.84rem;
  line-height: 1;
}

.footer-legal a {
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: rgba(20, 17, 15, 0.72);
}

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

  [data-motion],
  [data-motion-child] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .button,
  .hero-media-stage,
  .footer-legal a {
    transition: none !important;
  }

  .button:hover,
  .button:focus-visible,
  .button:active,
  .hero-media-stage:hover,
  .hero-media-stage:focus-within {
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--container));
  }

}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-border-top {
    padding-top: 80px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .header-inner {
    min-height: 72px;
    gap: 14px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .header-cta {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .section {
    padding: 60px 0;
  }

  .section-border-top {
    padding-top: 68px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(2rem, 9.8vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.06em;
  }

  .hero-line {
    display: block;
    white-space: normal;
  }

  .hero-line + .hero-line::before {
    content: none;
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-media-stage {
    margin-top: 28px;
    padding: 12px;
    border-radius: 28px;
  }

  .hero-media-badge {
    min-height: 31px;
    margin-bottom: 10px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero-media-wrap {
    border-radius: 22px;
  }

  .hero-support {
    margin-top: 22px;
  }

  .hero-actions .button,
  .final-cta-actions .button {
    width: 100%;
  }

  .final-cta-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-legal {
    gap: 14px;
    font-size: 0.8rem;
  }
}
