:root {
  --stage-ink: #071014;
  --stage-copper: #f37938;
  --stage-paper: #e9e8e3;
}

.site-header {
  min-height: 72px;
  padding: 15px var(--page-pad);
  background: none;
  color: #fff;
}
.site-header .wordmark { display: flex; flex: none; flex-direction: column; align-items: flex-start; gap: 2px; }
.site-header .brand-logo { display: block; width: clamp(148px, 13.5vw, 190px); height: auto; }
.site-header .wordmark-name { display: flex; flex-direction: column; gap: 2px; line-height: .88; letter-spacing: -.04em; }
.site-header .wordmark-name span:last-child { color: var(--stage-copper); font-size: .72em; letter-spacing: .005em; }
.site-header .wordmark-symbol {
  width: 31px;
  height: 31px;
  border-color: var(--stage-copper);
  color: var(--stage-copper);
  font-size: 11px;
  letter-spacing: -.08em;
}
.site-header .wordmark-tech,
.site-header .wordmark-dot { color: var(--stage-copper); }
.site-header .desktop-nav { font-size: 12px; gap: clamp(12px, 1.45vw, 26px); }
.site-header .desktop-nav a:hover,
.site-header .languages a:hover { color: var(--stage-copper); }
.header-actions { gap: 22px; }
.site-header .languages { font-size: 10px; }
.site-header .languages a { color: #fff; min-width: 25px; gap: 5px; padding-inline: 2px; }
.site-header .languages img { display: block; width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.32); }
.site-header .languages a[aria-current=page] {
  color: var(--stage-copper);
  border-color: var(--stage-copper);
}
.site-header .menu-toggle { color: #fff; }
.brand-logo-footer { display: block; width: min(220px, 100%); height: auto; align-self: end; }

.hero-character {
  min-height: 680px;
  min-height: 100svh;
  height: auto;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(ellipse 43% 68% at 75% 43%, rgba(243,121,56,.46), transparent 73%),
    radial-gradient(ellipse 43% 50% at 90% 82%, rgba(120,191,192,.13), transparent 78%),
    linear-gradient(115deg, #071014 6%, #122932 66%, #071014 100%);
}
.hero-character::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,16,20,.29), transparent 65%);
}
.hero-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-halo {
  position: absolute;
  width: min(70vw, 940px);
  aspect-ratio: 1;
  right: -2%;
  top: 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,121,56,.24), rgba(243,121,56,.08) 47%, transparent 70%);
  transform: translate3d(var(--halo-x,0px), var(--halo-y,0px), 0);
}
.hero-orbit {
  position: absolute;
  right: 4%;
  top: 18%;
  width: min(43vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(120,191,192,.14);
  border-radius: 50%;
}
.hero-orbit-two {
  width: min(57vw, 850px);
  right: -3%;
  top: 6%;
  border-color: rgba(243,121,56,.1);
}
.hero-puppet-rig {
  position: absolute;
  right: 2%;
  top: 1svh;
  height: 130svh;
  aspect-ratio: 1122 / 1402;
  filter: drop-shadow(-20px 22px 30px rgba(0,0,0,.27));
}
.hero-puppet-body { display: block; width: 100%; height: 100%; }
.hero-puppet-head {
  position: absolute;
  width: 55%;
  aspect-ratio: 1122 / 1402;
  left: 19%;
  top: 1%;
  transform-origin: 58% 94%;
  transform: perspective(900px) rotate(var(--head-tilt,0deg)) rotateY(var(--head-turn,0deg)) rotateX(var(--head-nod,0deg));
  will-change: transform;
}
.hero-puppet-head > img { display: block; width: 100%; height: 100%; mask-image: linear-gradient(to bottom, #000 87%, transparent 96%); }
.puppet-eye { position: absolute; overflow: hidden; border-radius: 48%; }
.puppet-eye-left { left: 35.2%; top: 37.4%; width: 16.2%; height: 12.6%; transform: rotate(-17deg); }
.puppet-eye-right { left: 60%; top: 32.8%; width: 14.7%; height: 11.6%; transform: rotate(-17deg); }
.puppet-iris {
  position: absolute;
  left: 50%; top: 52%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(calc(-50% + var(--eye-x,0%)),calc(-50% + var(--eye-y,0%)));
  background: radial-gradient(circle at 49% 46%, #09090a 0 34%, #24130d 35% 43%, #7c3719 54%, #a65b2b 68%, #402012 82%, #21130e 100%);
  box-shadow: inset -2px -2px 4px rgba(0,0,0,.35), 0 0 1px rgba(37,14,6,.4);
  will-change: transform;
}
.puppet-iris::after { content:""; position:absolute; left:64%; top:14%; width:18%; aspect-ratio:1; border-radius:50%; background:rgba(255,255,255,.96); }
.hero-character .hero-inner {
  z-index: 3;
  width: 100%;
  padding: clamp(170px,26vh,260px) var(--page-pad) clamp(120px,18vh,180px);
}
.hero-intro {
  max-width: 550px;
  margin: 0 0 clamp(44px,8vh,90px);
  font-size: clamp(14px,1.25vw,18px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--stage-paper);
}
.hero-character h1 {
  max-width: min(52vw,600px);
  min-height: 2.1em;
  margin: 0 0 20px;
  font-size: clamp(34px,3.8vw,62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-character h1 [data-typewriter].typing::after {
  content: "";
  display: inline-block;
  width: .055em;
  height: .8em;
  margin-left: .08em;
  background: currentColor;
  vertical-align: -.08em;
  animation: typing-blink .8s steps(1,end) infinite;
}
@keyframes typing-blink { 50% { opacity: 0; } }
.hero-character .hero-lead {
  max-width: 490px;
  margin: 0 0 30px;
  color: #d6dcda;
  font-size: clamp(15px,1.35vw,19px);
  line-height: 1.43;
}
.hero-actions-v2 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%,400px);
  min-height: 68px;
  padding: 9px 10px 9px 23px;
  border-radius: 4px;
  background: var(--stage-paper);
  color: var(--stage-ink);
  box-shadow: 0 14px 35px rgba(0,0,0,.16);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  transition: background .2s ease, transform .2s ease;
}
.hero-main-cta:hover { background: #fff; transform: translateY(-2px); }
.hero-main-cta-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background: var(--stage-copper);
  color: var(--stage-ink);
}
.hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #d6dcda;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(214,220,218,.52);
  text-underline-offset: 5px;
}
.hero-explore:hover { color: var(--stage-copper); text-decoration-color: currentColor; }
.hero-character .hero-floor { z-index: 3; bottom: 30px; color: rgba(255,255,255,.76); font-size: 10px; }
.hero-character .cursor-track { background: rgba(255,255,255,.4); }
.hero-character .cursor-track i { background: var(--stage-copper); }

.thesis { padding-block: clamp(80px, 9vw, 140px); }
.vision-frame {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  max-width: 1500px;
  margin: auto;
}
.vision-portrait { min-width: 0; margin: 0; background: #6a412c; }
.vision-portrait img { display: block; width: 100%; height: auto; }
.vision-content { min-width: 0; }
.thesis .vision-content .section-tag { margin: 0 0 32px; padding: 0; }
.thesis .vision-content h2 {
  max-width: 800px;
  margin: 0 0 36px;
  font-size: clamp(43px, 4.5vw, 76px);
}
.thesis .vision-content > p:last-child {
  max-width: 630px;
  margin: 0;
  color: #344245;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

/* Three plan cards follow the supplied comparison format without false claims. */
.pricing {
  display: block;
  padding-block: clamp(82px, 9vw, 132px);
}
.pricing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}
.pricing h2 { margin-top: 18px; font-size: clamp(46px, 5vw, 78px); }
.pricing-heading > p {
  max-width: 390px;
  margin: 0 0 7px;
  color: #344245;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
}
.plan-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid #c8cfca;
  border-radius: 12px;
  background: #f9f9f6;
}
.plan-card-head { min-height: 128px; }
.plan-card-head h3 { margin: 0; font-size: clamp(27px, 2.45vw, 36px); line-height: 1.1; letter-spacing: -.05em; }
.plan-card-head p { margin: 12px 0 0; color: #344245; font-size: 15px; line-height: 1.45; }
.plan-price { min-height: 192px; }
.plan-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan-price strong { color: var(--ink); font-size: clamp(34px, 3vw, 45px); line-height: 1.05; letter-spacing: -.055em; }
.plan-price-line span { color: #344245; font-size: 15px; }
.plan-price > p { margin: 11px 0 0; color: #344245; font-size: 14px; line-height: 1.45; }
.plan-on-demand { display: inline-block; margin-top: 15px; padding: 6px 10px; border-radius: 999px; background: #e5efed; color: #245a5a; font-size: 12px; font-weight: 700; }
.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 54px;
  padding: 11px 15px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.plan-cta:hover { background: #19343c; }
.plan-includes { display: flex; flex: 1; flex-direction: column; margin-top: 26px; padding-top: 23px; border-top: 1px solid #d3d8d3; }
.plan-includes h4 { margin: 0 0 17px; font-size: 17px; line-height: 1.2; }
.plan-includes ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.plan-includes li { display: grid; grid-template-columns: 21px minmax(0, 1fr); gap: 11px; align-items: start; color: #344245; font-size: 15px; line-height: 1.4; }
.plan-includes li::before { content: '✓'; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #a45028; border-radius: 50%; color: #a45028; font-size: 12px; font-weight: 700; }
.plan-limit { margin: auto 0 0; padding-top: 24px; color: #344245; font-size: 13px; line-height: 1.45; }
.plan-limit span { font-weight: 700; }

@media (max-width: 1050px) and (min-width: 701px) {
  .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card:last-child { grid-column: 1 / -1; }
  .plan-card-head, .plan-price { min-height: 0; }
  .plan-price { margin: 22px 0 25px; }
}
@media (max-width: 700px) {
  .pricing { padding-block: 88px; }
  .pricing-heading { display: block; margin-bottom: 38px; }
  .pricing h2 { font-size: clamp(43px, 8vw, 62px); }
  .pricing-heading > p { margin-top: 18px; font-size: 17px; }
  .plan-list { grid-template-columns: 1fr; gap: 16px; }
  .plan-card { padding: 24px; }
  .plan-card-head, .plan-price { min-height: 0; }
  .plan-price { margin: 23px 0 27px; }
  .plan-price strong { font-size: 40px; }
}

@media (max-width: 800px) {
  .thesis { padding: 88px var(--page-pad) 0; }
  .vision-frame { grid-template-columns: 1fr; gap: 42px; }
  .vision-content { order: 0; }
  .vision-portrait { order: 1; margin-inline: calc(-1 * var(--page-pad)); }
  .thesis .vision-content .section-tag { margin-bottom: 22px; }
  .thesis .vision-content h2 { font-size: clamp(43px, 8vw, 64px); margin-bottom: 26px; }
}

@media (max-width: 1050px) {
  .site-header .desktop-nav { display: none; }
  .site-header .menu-toggle { display: block; }
  .hero-puppet-rig { right: -10%; top: 5svh; height: 115svh; }
  .hero-character h1 { max-width: 56vw; }
  .hero-character .hero-lead { max-width: 44vw; }
}
@media (max-width: 700px) {
  .site-header { min-height: 68px; padding-block: 12px; gap: 10px; }
  .site-header .brand-logo { width: 153px; }
  .site-header .wordmark-symbol { width: 27px; height: 27px; }
  .site-header .languages { gap: 2px; }
  .site-header .languages a { min-width: 27px; min-height: 38px; }
  .header-actions { gap: 8px; }
  .mobile-nav { top: 68px; }
  .hero-character {
    min-height: 800px;
    min-height: 100svh;
    justify-content: flex-end;
    background:
      radial-gradient(ellipse 80% 49% at 66% 29%, rgba(243,121,56,.42), transparent 76%),
      linear-gradient(180deg, #122932, #071014 84%);
  }
  .hero-character::after {
    z-index: 2;
    background: linear-gradient(0deg, #071014 12%, rgba(7,16,20,.7) 43%, transparent 72%);
  }
  .hero-puppet-rig { height: 63svh; right: -9%; top: 0; }
  .hero-halo { width: 110vw; right: -25%; top: 0; }
  .hero-orbit { width: 75vw; right: -2%; top: 13%; }
  .hero-orbit-two { width: 100vw; right: -17%; top: 6%; }
  .hero-character .hero-inner { padding: 360px var(--page-pad) 90px; align-self: end; }
  .hero-intro { max-width: 95%; margin-bottom: 18px; font-size: 14px; line-height: 1.4; }
  .hero-character h1 { max-width: 100%; min-height: 0; margin-bottom: 14px; font-size: clamp(34px,8.8vw,53px); }
  .hero-character .hero-lead { max-width: 95%; margin-bottom: 19px; font-size: 15px; line-height: 1.4; }
  .hero-main-cta { min-height: 60px; font-size: 15px; }
  .hero-main-cta-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .hero-character .hero-floor { bottom: 18px; }
  .hero-character .cursor-hint,
  .hero-character .cursor-track { display: none; }
}
@media (max-width: 370px) {
  .site-header .brand-logo { width: 140px; }
  .site-header .languages a { padding-inline: 1px; }
  .site-header .languages a span { display: none; }
}
@media (max-width: 390px) {
  .site-header .brand-logo { width: 110px; }
  .hero-character .hero-inner { padding-top: 335px; padding-bottom: 85px; }
  .hero-puppet-rig { height: 60svh; right: -19%; top: 1svh; }
  .hero-character h1 { font-size: clamp(32px,8.7vw,38px); }
  .hero-character .hero-lead { font-size: 14px; }
  .hero-main-cta { padding-left: 15px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-character h1 [data-typewriter].typing::after { animation: none; }
}
