/* Page composition. Window interiors and device hardware have separate styles. */
:root {
  --header-height: 84px;
  --page-gutter: clamp(20px, 4vw, 64px);
}

body {
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, calc(100% - var(--page-gutter) * 2));
}

.site-header {
  height: var(--header-height);
  max-width: none;
  padding-inline: var(--page-gutter);
  border-bottom-color: #eef0f4;
  background: #fff;
}

.brand {
  font-size: 16px;
  letter-spacing: -.45px;
}

.site-header nav {
  gap: 28px;
}

.language-switch button {
  min-width: 31px;
  min-height: 29px;
}

.button {
  gap: 10px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: -.2px;
  box-shadow: 0 3px 8px #0669d91a;
}

.button:hover {
  box-shadow: 0 5px 15px #0669d925;
}

.button-small {
  min-height: 40px;
  padding: 9px 17px;
  border-radius: 9px;
  font-size: 13px;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-secondary {
  box-shadow: 0 2px 3px #15203304;
  border-color: #dce2ea;
  color: #364152;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid #a5afbd;
  border-radius: 50%;
  padding-left: 1px;
  font-size: 8px;
}

/* Header + hero form the first full viewport, without forcing scroll snapping. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 70% at 50% 92%, #eaf3ff80, transparent 76%),
    linear-gradient(#fff 25%, #fbfcff);
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dce6f4, transparent);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(42px, 7svh, 92px) 36px;
}

.hero-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  margin-bottom: 25px;
}

.hero-signature img {
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 5px 13px #087dff12);
}

.hero .eyebrow {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #e2e9f2;
  border-radius: 100px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #586575;
}

.availability-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-dark);
}

.hero h1 {
  max-width: 1160px;
  font-size: clamp(48px, 6.7vw, 100px);
  font-weight: 680;
  line-height: 1.07;
  letter-spacing: -.063em;
  text-wrap: balance;
}

.hero .text-blue {
  color: var(--blue-dark);
}

.hero-copy {
  max-width: 575px;
  margin: 25px 0 27px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
  letter-spacing: -.2px;
  color: #667183;
  text-wrap: balance;
}

.hero-actions {
  gap: 12px;
}

.hero .requirements {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: .1px;
  color: #617086;
}

.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 9px;
  min-height: 44px;
  margin-bottom: 23px;
  font-size: 11px;
  color: #617086;
  transition: color .18s;
}

.hero-scroll:hover {
  color: var(--blue-dark);
}

.hero-scroll svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The interactive scene occupies the second full viewport. */
.device-scene {
  max-width: min(100%, max(1100px, calc((100svh - 360px) * 2.8)));
  margin-inline: auto;
}

.demo-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(28px, 4svh, 56px);
  background: #f7f9fc;
  border-bottom: 1px solid #e8edf4;
  scroll-margin-top: 0;
}

.demo-container {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
}

.demo-heading {
  display: block;
  margin: 0 auto 20px;
  text-align: center;
}

.demo-heading .section-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #637186;
}

.demo-heading h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.05vw, 43px);
  font-weight: 630;
  line-height: 1.14;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.demo-heading > p {
  max-width: none;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #617086;
}

.project-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  gap: 7px;
  margin: 0 auto 32px;
}

.project-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 48px;
  padding: 8px 13px;
  text-align: left;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #ffffffa6;
  color: #586579;
  transition: border-color .18s, background .18s, box-shadow .18s;
}

.project-choice:hover {
  border-color: #adc6e6;
  background: #fff;
}

.project-choice[aria-pressed=true] {
  border-color: #89afe4;
  background: #fff;
  box-shadow: 0 0 0 2px #0669d909, 0 3px 10px #213e6908;
  color: #1a4d91;
}

.project-choice strong,
.project-choice small {
  display: block;
}

.project-choice strong {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.project-choice small {
  font-size: 9px;
  line-height: 1.6;
  color: #617086;
}

.project-choice-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 3px;
  background: #477fe0;
}

[data-project-control=project-b] .project-choice-dot { background: #36957b; }
[data-project-control=project-c] .project-choice-dot { background: #8580bb; }

.demo-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
}

.demo-feedback .connection-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #dfe6f0;
  border-radius: 100px;
  background: #fff;
  font-size: 11px;
  color: #65738a;
  box-shadow: 0 2px 5px #1b355405;
}

.demo-feedback .connection-line img {
  width: 22px;
  height: 22px;
}

.connection-line strong {
  font-size: 11px;
  font-weight: 600;
  color: #344a68;
}

.feedback-divider {
  width: 1px;
  height: 13px;
  margin-inline: 2px;
  background: #dbe3ed;
}

.demo-feedback .demo-footnote {
  max-width: 600px;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: #617086;
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 761px) and (max-height: 780px) {
  .hero-signature { gap: 10px; margin-bottom: 17px; }
  .hero-signature img { width: 50px; height: 50px; }
  .hero-content { padding-block: 30px 18px; }
  .hero h1 { font-size: clamp(46px, 6.4vw, 85px); }
  .hero-copy { margin-block: 19px 22px; }
  .hero-scroll { margin-bottom: 12px; }
  .demo-section { padding-block: 24px; }
  .demo-heading { margin-bottom: 14px; }
  .demo-heading h2 { font-size: clamp(26px, 2.8vw, 37px); }
  .project-controls { margin-bottom: 27px; }
}

@media (max-width: 950px) {
  .site-header { padding-inline: 24px; }
  .site-header nav { display: none; }
  .hero h1 { font-size: clamp(44px, 7.8vw, 74px); }
  .hero-copy { max-width: 550px; }
}

@media (max-width: 760px) {
  :root { --header-height: 72px; --page-gutter: 22px; }
  .site-header { gap: 12px; padding-inline: 19px; }
  .site-header .brand { gap: 6px; font-size: 12px; letter-spacing: -.35px; }
  .site-header .brand img { width: 30px; height: 30px; }
  .header-actions { gap: 8px; }
  .site-header .button-small { display: none; }
  .hero-content { padding-block: 44px 30px; }
  .hero-signature { gap: 15px; margin-bottom: 24px; }
  .hero-signature img { width: 59px; height: 59px; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(40px, 9vw, 64px); letter-spacing: -.055em; }
  .hero-copy { max-width: 460px; margin-block: 23px 25px; font-size: 16px; }
  .hero-actions { width: 100%; gap: 9px; }
  .hero-actions .button { padding: 12px 16px; min-height: 50px; font-size: 12px; }
  .hero .requirements { max-width: 285px; line-height: 1.8; margin-top: 18px; font-size: 10px; }
  .hero-scroll { margin-bottom: 18px; }
  .demo-section { padding-block: 43px; }
  .demo-container { width: calc(100% - 36px); }
  .demo-heading { margin-bottom: 23px; }
  .demo-heading h2 { max-width: 420px; margin: 11px auto 0; font-size: 30px; }
  .demo-heading .section-kicker { max-width: 290px; margin-inline: auto; font-size: 8px; letter-spacing: 1.3px; }
  .demo-heading > p { max-width: 300px; margin: 13px auto 0; font-size: 12px; }
  .project-controls { max-width: 430px; margin-bottom: 28px; gap: 6px; }
  .project-choice { min-height: 48px; padding: 9px 8px; gap: 6px; }
  .project-choice-dot { width: 6px; height: 6px; }
  .project-choice strong { font-size: 11px; }
  .project-choice small { font-size: 9px; }
  .demo-feedback { margin-top: 23px; }
  .demo-feedback .connection-line { border-radius: 14px; padding: 9px 12px; row-gap: 4px; }
  #switch-detail { width: 100%; text-align: center; }
  .feedback-divider { display: none; }
  .demo-feedback .demo-footnote { max-width: 360px; font-size: 10px; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; max-width: 245px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .hero-scroll, .project-choice { transition: none; }
}

/* Pricing */
.hero-pricing { margin-top: 16px; font-size: 13px; font-weight: 550; color: var(--blue-dark); }
.hero-pricing a { text-decoration: underline; text-underline-offset: 4px; }
.pricing-section { padding-block: 88px; background: #f6f9fe; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.pricing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; max-width: 1050px; }
.pricing-intro h2 { max-width: 430px; margin-top: 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -1.7px; }
.pricing-intro > p { max-width: 420px; margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.pricing-demo-link { display: inline-block; margin-top: 24px; padding-block: 8px; color: var(--blue-dark); font-size: 15px; font-weight: 600; }
.pricing-demo-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pricing-card { min-width: 0; padding: 34px; border: 1px solid #cdddf4; border-radius: 22px; background: #fff; box-shadow: 0 16px 50px #1638680a; }
.pricing-card-heading { display: flex; align-items: center; gap: 12px; }
.pricing-card-heading img { flex-shrink: 0; }
.pricing-card-heading h3 { font-size: 17px; font-weight: 650; letter-spacing: -.4px; }
.pricing-card-heading p { margin-top: 2px; color: var(--muted); font-size: 13px; }
.pricing-amount { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; line-height: 1; }
.pricing-amount strong { font-size: 76px; letter-spacing: -4px; font-weight: 700; }
.pricing-amount > span { font-size: 20px; color: var(--muted); }
.pricing-tax { margin-top: 12px; color: var(--muted); font-size: 13px; }
.pricing-features { list-style: none; padding: 24px 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.pricing-features li + li { margin-top: 13px; }
.pricing-features li > span:first-child { color: var(--blue-dark); font-weight: 700; }
.pricing-purchase { width: 100%; }
.pricing-purchase:disabled { cursor: default; background: #eaf0f9; color: #435a7b; box-shadow: none; }
.pricing-availability { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.pricing-activation { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
@media (max-width: 760px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  .site-header .brand span { max-width: 95px; }
  .header-actions { gap: 6px; }
  .site-header .button-small { display: inline-flex; padding: 8px 10px; font-size: 12px; }
  .hero-pricing { font-size: 12px; line-height: 1.6; }
  .pricing-section { padding-block: 52px; }
  .pricing-layout { grid-template-columns: 1fr; gap: 30px; max-width: 520px; }
  .pricing-intro h2 { max-width: 360px; font-size: 36px; letter-spacing: -1.2px; }
  .pricing-intro > p { font-size: 16px; margin-top: 16px; }
  .pricing-demo-link { margin-top: 16px; }
  .pricing-card { padding: 26px; }
  .pricing-amount strong { font-size: 68px; }
}
@media (max-width: 370px) {
  .site-header .brand span { max-width: 76px; }
  .pricing-card { padding: 22px; }
  .pricing-card-heading h3 { font-size: 15px; }
}
