/* Two independent scenes: a short 3D introduction and an ordinary document-flow demo. */
#thola-hero {
  --paper: #f5f3ee;
  --ink: #191a18;
  --orange: #ff601e;
  --line: #d6d4cd;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.5 Arial,
    Helvetica,
    sans-serif;
  isolation: isolate;
}
#thola-hero *,
#thola-hero *::before,
#thola-hero *::after {
  box-sizing: border-box;
}
#thola-hero a {
  color: inherit;
  text-decoration: none;
}
#thola-hero button {
  font: inherit;
  cursor: pointer;
}
#thola-hero button:focus-visible,
#thola-hero a:focus-visible {
  outline: 3px solid #ad3b00;
  outline-offset: 5px;
}
#thola-hero [hidden] {
  display: none !important;
}
#thola-hero h1 {
  font-size: clamp(76px, 8.6vw, 150px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.075em;
  margin: 34px 0 25px;
}
#thola-hero h2 {
  font-size: clamp(42px, 5.8vw, 90px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 600;
  margin: 22px 0 30px;
}
#thola-hero h3 {
  letter-spacing: -0.04em;
}
#thola-hero #th3-journey {
  height: 165svh;
}
#thola-hero .th3-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--thola-hero-image, none) center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
}
#thola-hero .th3-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: var(--orange);
}
#thola-hero #th3-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#thola-hero .th3-hero-copy {
  position: absolute;
  z-index: 2;
  top: 23%;
  left: 6%;
  width: 44%;
}
#thola-hero .th3-intro {
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.45;
  margin: 0 0 30px;
}
#thola-hero .th3-brand-line {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.06em;
}
#thola-hero .th3-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.6;
  margin: 0;
  color: inherit;
}
#thola-hero .th3-end-copy {
  position: absolute;
  z-index: 2;
  top: 32%;
  left: 6%;
  width: 88%;
  text-align: center;
  visibility: hidden;
  opacity: 0;
}
#thola-hero .th3-end-copy h2 {
  font-size: clamp(60px, 9vw, 132px);
  margin: 20px 0;
}
#thola-hero .th3-end-copy p {
  margin: 15px 0 24px;
}
#thola-hero .th3-scene-motion {
  display: none;
  position: absolute;
  right: 4%;
  top: 105px;
  z-index: 3;
  border: 1px solid #bfb8a780;
  border-radius: 22px;
  background: #f5f3eee8;
  color: #353229;
  font: inherit;
  font-size: 12px;
  padding: 10px 15px;
  min-height: 44px;
}
#thola-hero.th3-demo-ready .th3-scene-motion {
  display: block;
}
#thola-hero .th3-scene-caption {
  position: absolute;
  bottom: 30px;
  left: 6%;
  font-size: 12px;
  letter-spacing: 1.4px;
  pointer-events: none;
}
#thola-hero .th3-journey-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
#thola-hero .th3-demo-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  padding: 110px max(6%, calc((100% - 1320px) / 2));
  scroll-margin-top: 86px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
#thola-hero .th3-demo-section > .anchor-alias {
  position: absolute;
  top: 0;
}
#thola-hero .th3-section-intro > p:not(.th3-eyebrow) {
  font-size: 19px;
  line-height: 1.7;
  color: #625e56;
}
#thola-hero .th3-demo-caption {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #625e56;
}
#thola-hero .th3-action-demo {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 30px;
  border: 1px solid #ddd7cb;
  border-radius: 24px;
  background: #eae7df;
  box-shadow: 0 22px 55px #25231b0b;
  overflow: visible;
}
#thola-hero .th3-action-demo .th3-input-scene,
#thola-hero .th3-action-demo .th3-review-scene,
#thola-hero .th3-action-demo .th3-done-scene {
  min-height: 300px;
}
#thola-hero .th3-action-demo .th3-bill-frame {
  width: 180px;
  height: 216px;
}
#thola-hero .th3-nojs {
  padding: 30px 6%;
}
/* A graphics failure cannot hide or disable the second section. */
#thola-hero:not(.th3-scene-ready) .th3-stage,
#thola-hero.th3-no-webgl .th3-stage {
  background: var(--paper);
}
#thola-hero.th3-no-webgl #th3-world {
  display: none;
}
#thola-hero.th3-no-webgl .th3-hero-copy {
  opacity: 1 !important;
  visibility: visible !important;
}
#thola-hero.th3-no-webgl .th3-end-copy {
  display: none;
}
#thola-hero.th3-motion-off #th3-journey {
  height: 100svh;
}
#thola-hero.th3-motion-off .th3-stage {
  position: relative;
}
#thola-hero .th3-logo {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -2.8px;
  line-height: 1;
}
#thola-hero .th3-logo span {
  font-size: 12px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
}
#thola-hero .th3-button {
  border: 0;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 17px 25px;
  font-size: 16px;
  transition:
    transform 0.2s,
    background 0.2s;
}
#thola-hero .th3-button:hover {
  background: #dc4810;
  transform: translateY(-2px);
}
#thola-hero .th3-button span {
  font-size: 22px;
  line-height: 1;
}
#thola-hero .th3-button.th3-small {
  padding: 12px 20px;
  font-size: 14px;
  gap: 22px;
}
#thola-hero .th3-eyebrow {
  font-size: 12px;
  letter-spacing: 1.7px;
  line-height: 1.6;
  font-weight: 600;
}
#thola-hero .th3-orange {
  color: var(--orange);
}
#thola-hero .th3-demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#thola-hero .th3-demo-top .th3-logo {
  font-size: 29px;
}
#thola-hero .th3-example-label {
  font-size: 12px;
  color: #68685e;
}
#thola-hero .th3-choice {
  display: flex;
  gap: 5px;
  margin: 28px 0 23px;
  background: #dbd8d0;
  padding: 5px;
  border-radius: 30px;
}
#thola-hero .th3-choice button {
  flex: 1;
  border: 0;
  border-radius: 25px;
  padding: 11px 5px;
  background: transparent;
  font-size: 14px;
}
#thola-hero .th3-choice button.th3-selected {
  background: #fff;
  box-shadow: 0 2px 10px #00000009;
}
#thola-hero .th3-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 25px;
}
#thola-hero .th3-reset {
  background: none;
  border: 0;
  font-size: 13px;
  color: #656259;
  margin-top: 18px;
  padding: 4px;
}
#thola-hero .th3-button.th3-dark {
  background: var(--ink);
  min-width: 200px;
}
#thola-hero .th3-button.th3-dark:hover {
  background: #333;
}
#thola-hero .th3-button:disabled {
  cursor: default;
  background: #366343;
  transform: none;
}
#thola-hero.th3-motion-off #th3-journey {
  height: 150vh;
}
@media (max-width: 760px) {
  #thola-hero.th3-motion-off #th3-journey {
    height: 135svh;
  }
}
#thola-hero .th3-experience {
  color: var(--ink);
  text-align: left;
}
#thola-hero .th3-experience .th3-choice {
  margin: 20px 0 14px;
}
#thola-hero .th3-flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 18px;
  border-bottom: 1px solid #d8d4c9;
  font-size: 12px;
  color: #939084;
}
#thola-hero .th3-flow-steps .th3-active {
  color: #b54412;
  font-weight: 700;
}
#thola-hero .th3-input-scene {
  padding: 18px 0 0;
}
#thola-hero .th3-input-heading {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
#thola-hero .th3-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  margin: 14px 0 7px;
}
#thola-hero .th3-wave i {
  width: 5px;
  height: var(--h);
  border-radius: 5px;
  background: #ff601e;
  transform: scaleY(0.3);
}
#thola-hero [data-mode="ask"] .th3-wave {
  height: 30px;
  margin-top: 10px;
}
#thola-hero [data-mode="ask"] .th3-wave i {
  height: 5px;
}
#thola-hero .th3-spoken {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin: 14px 0;
  min-height: 62px;
}
#thola-hero .th3-spoken span {
  color: #88857b;
  transition: color 0.18s;
}
#thola-hero .th3-spoken span.th3-heard {
  color: #20211f;
}
#thola-hero .th3-evidence-note {
  font-size: 13px;
  border-left: 2px solid #ff601e;
  padding: 8px 12px;
  background: #eae6dd;
}
#thola-hero .th3-bill-frame {
  position: relative;
  width: 165px;
  margin: 15px auto;
  height: 198px;
  box-shadow: 0 12px 24px #3b321626;
  transform: perspective(900px) rotateY(-8deg);
  overflow: hidden;
  border-radius: 5px;
}
#thola-hero .th3-bill-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#thola-hero .th3-bill-highlight {
  position: absolute;
  background: #ff601e2b;
  border: 1px solid #ff601e80;
  opacity: 0;
  border-radius: 3px;
  transition: opacity 0.3s;
}
#thola-hero .th3-bill-highlight.th3-supplier {
  top: 11%;
  left: 6%;
  width: 72%;
  height: 8%;
}
#thola-hero .th3-bill-highlight.th3-total {
  top: 61%;
  left: 65%;
  width: 29%;
  height: 10%;
}
#thola-hero .th3-bill-highlight.th3-payment {
  top: 70%;
  left: 6%;
  width: 48%;
  height: 7%;
}
#thola-hero .th3-extracted {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
#thola-hero .th3-extracted span {
  padding: 7px 11px;
  background: #ffe3d2;
  border: 1px solid #fac3a3;
  border-radius: 20px;
  font-size: 12px;
}
#thola-hero .th3-experience[data-phase="reading"] .th3-wave i {
  animation: th3-voice-pulse 0.6s calc(var(--n) * -0.07s) infinite alternate;
}
#thola-hero .th3-experience[data-phase="extracting"] .th3-bill-highlight {
  opacity: 1;
}
#thola-hero .th3-experience[data-phase="extracting"] .th3-extracted {
  max-height: 100px;
  opacity: 1;
  margin-top: 12px;
}
#thola-hero .th3-experience[data-phase="extracting"] .th3-extracted span {
  animation: th3-detail-settle 0.65s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--i) * 0.12s);
}
#thola-hero .th3-experience-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
#thola-hero .th3-experience-actions .th3-button {
  flex: 1;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14px;
}
#thola-hero .th3-experience-actions .th3-reset {
  margin: 0;
  font-size: 13px;
  min-height: 40px;
}
#thola-hero .th3-flow-status {
  font-size: 12px;
  color: #777268;
  line-height: 1.5;
  margin: 12px 0 0;
  min-height: 18px;
}
#thola-hero .th3-review-scene {
  padding-top: 22px;
}
#thola-hero .th3-review-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
#thola-hero .th3-review-heading .th3-action-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
#thola-hero .th3-review-heading .th3-eyebrow {
  font-size: 10px;
  margin: 0 0 5px;
  color: #777268;
}
#thola-hero .th3-review-heading h3 {
  font-size: 23px;
  margin: 0;
  line-height: 1.1;
}
#thola-hero .th3-review-fields {
  margin-top: 20px;
}
#thola-hero .th3-review-fields label {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  border-top: 1px solid #dfdbd0;
  padding: 10px 0;
  font-size: 13px;
}
#thola-hero .th3-review-fields label > span {
  width: 25%;
  color: #716c61;
}
#thola-hero .th3-review-fields input {
  font: inherit;
  font-weight: 600;
  color: #20211f;
  min-width: 0;
  width: 70%;
  background: #fffdf8;
  border: 1px solid #d8d3c5;
  border-radius: 6px;
  padding: 9px;
}
#thola-hero .th3-review-fields input:focus {
  outline: 2px solid #ff601e;
  outline-offset: 2px;
}
#thola-hero .th3-done-scene {
  text-align: center;
  padding: 28px 0 10px;
}
#thola-hero .th3-done-scene .th3-action-icon {
  background: #366343;
}
#thola-hero .th3-done-scene .th3-eyebrow {
  color: #726d61;
  font-size: 11px;
  margin-top: 17px;
}
#thola-hero .th3-done-scene h3 {
  font-size: 29px;
  line-height: 1.1;
}
#thola-hero .th3-done-scene > p:last-child {
  font-size: 13px;
  color: #726d61;
}
#thola-hero .th3-saved-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
#thola-hero .th3-saved-row span {
  border: 1px solid #d5dfcc;
  background: #edf2e8;
  border-radius: 8px;
  padding: 9px;
  font-size: 13px;
}
#thola-hero.th3-motion-off .th3-wave i {
  animation: none !important;
}
@keyframes th3-voice-pulse {
  from {
    transform: scaleY(0.3);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes th3-scan {
  from {
    top: 0;
  }
  to {
    top: 98%;
  }
}
@keyframes th3-detail-settle {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #thola-hero .th3-experience * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 760px) {
  #thola-hero.th3-motion-off #th3-journey {
    height: 135svh;
  }
  #thola-hero .th3-review-fields input {
    font-size: 16px;
    min-height: 44px;
  }
  #thola-hero .th3-choice button {
    min-height: 44px;
  }
  #thola-hero .th3-experience-actions .th3-reset {
    min-height: 44px;
  }
  #thola-hero .th3-experience .th3-flow-status {
    font-size: 13px;
  }
  #thola-hero .th3-bill-frame {
    transform: none;
  }
}
#thola-hero .th3-narration-toggle {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #635b50;
  font-size: 13px;
  padding: 4px 0 12px;
  min-height: 36px;
}
#thola-hero .th3-flying-detail {
  position: fixed;
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid #edaa80;
  border-radius: 6px;
  background: #ffe3d2;
  color: #272219;
  font-size: 13px;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}
#thola-hero .th3-review-fields input[readonly] {
  background: transparent;
  border-color: transparent;
  color: #726a5d;
  font-weight: 400;
}
#thola-hero.th3-motion-off .th3-flying-detail {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  #thola-hero .th3-flying-detail {
    display: none;
  }
}
#thola-hero .th3-eyebrow {
  display: block;
  text-transform: none;
  color: inherit;
  margin: 0;
}
#thola-hero .th3-review-fields input {
  text-transform: none;
}
#thola-hero .th3-done-scene .th3-eyebrow {
  margin-top: 17px;
}

#thola-hero .th3-button.th3-dark {
  background: var(--ink);
  color: white;
}
#thola-hero .th3-flying-detail {
  position: absolute;
  z-index: 5;
}
#thola-hero .th3-action-demo .th3-review-fields input {
  font-size: 16px;
  min-height: 44px;
}
#thola-hero .th3-choice button {
  min-height: 44px;
}
#thola-hero .th3-flow-status {
  font-size: 13px;
  min-height: 40px;
}
@media (max-width: 900px) {
  #thola-hero .th3-demo-section {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 70px 6%;
  }
  #thola-hero .th3-action-demo {
    width: min(580px, 100%);
    justify-self: center;
  }
  #thola-hero .th3-section-intro {
    max-width: 580px;
    justify-self: center;
    width: 100%;
  }
}
@media (max-width: 760px) {
  #thola-hero #th3-journey {
    height: 155svh;
  }
  #thola-hero .th3-stage {
    min-height: 0;
  }
  #thola-hero .th3-hero-copy {
    top: clamp(140px, 20svh, 170px);
    left: 7%;
    width: 86%;
  }
  #thola-hero h1 {
    font-size: clamp(52px, 9svh, 76px);
    margin: 20px 0 18px;
  }
  #thola-hero .th3-intro {
    font-size: 18px;
    margin: 14px 0 20px;
  }
  #thola-hero .th3-end-copy {
    top: 30%;
  }
  #thola-hero .th3-end-copy h2 {
    font-size: 58px;
  }
  #thola-hero .th3-scene-motion {
    top: 85px;
    right: 14px;
  }
  #thola-hero .th3-demo-section {
    padding: 65px 20px;
    scroll-margin-top: 82px;
  }
  #thola-hero .th3-section-intro h2 {
    font-size: 54px;
  }
  #thola-hero .th3-action-demo {
    padding: 20px;
    border-radius: 20px;
    box-shadow: none;
  }
  #thola-hero .th3-spoken {
    font-size: 22px;
  }
  #thola-hero .th3-review-fields label {
    gap: 10px;
  }
  #thola-hero .th3-scene-caption {
    font-size: 11px;
  }
  #thola-hero.th3-motion-off #th3-journey {
    height: 100svh;
  }
}
@media (max-height: 550px) {
  #thola-hero .th3-stage {
    min-height: 0;
  }
  #thola-hero .th3-hero-copy {
    top: 95px;
    width: 52%;
  }
  #thola-hero .th3-hero-copy h1 {
    font-size: 48px;
    margin: 10px 0;
  }
  #thola-hero .th3-hero-copy .th3-eyebrow,
  #thola-hero .th3-brand-line,
  #thola-hero .th3-scene-caption {
    display: none;
  }
  #thola-hero .th3-intro {
    font-size: 15px;
    margin: 10px 0;
  }
  #thola-hero .th3-end-copy {
    top: 100px;
  }
  #thola-hero .th3-end-copy h2 {
    font-size: 44px;
    margin: 12px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  #thola-hero .th3-experience * {
    animation: none !important;
    transition: none !important;
  }
}
/* Clear, persistent completion receipt. The 3D intro remains unchanged. */
#thola-hero .th3-action-demo {
  background: #fffaf5;
  border-color: #edd5c2;
  box-shadow: 0 18px 45px #7836110b;
  scroll-margin-top: 100px;
}
#thola-hero .th3-done-scene {
  padding-top: 22px;
}
#thola-hero .th3-done-scene h3 {
  margin: 16px 0 10px;
  line-height: 1.2;
}
#thola-hero .th3-done-scene .th3-result-summary {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  font-weight: 700;
  color: #923814;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}
#thola-hero .th3-saved-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-align: left;
  margin: 0 0 18px;
  border: 1px solid #ead7c9;
  border-radius: 14px;
  background: white;
  overflow: hidden;
}
#thola-hero .th3-saved-row > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0e3d8;
}
#thola-hero .th3-saved-row > div:last-child {
  border-bottom: 0;
}
#thola-hero .th3-saved-row dt {
  font-size: 12px;
  color: #765641;
}
#thola-hero .th3-saved-row dd {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
#thola-hero .th3-result-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #e9b99a;
  border-radius: 99px;
  color: #a53919;
  font-size: 13px;
  font-weight: 700;
  background: #fff0e4;
}
#thola-hero .th3-experience-actions .th3-reset {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #dfc8b7;
  border-radius: 99px;
  background: #fffaf5;
  font-size: 13px;
}
#thola-hero .th3-done-scene .th3-action-icon {
  background: #bd441e;
}
#thola-hero .th3-action-demo input {
  font-size: 16px;
}
@media (max-width: 760px) {
  #thola-hero .th3-action-demo {
    padding: 20px;
    border-radius: 24px;
  }
  #thola-hero .th3-done-scene h3 {
    font-size: 26px;
  }
  #thola-hero .th3-saved-row > div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  #thola-hero .th3-experience-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  #thola-hero .th3-action-demo .th3-input-scene,
  #thola-hero .th3-action-demo .th3-review-scene,
  #thola-hero .th3-action-demo .th3-done-scene {
    min-height: 280px;
  }
}
