/* Hero shell */
.hero {
  position: relative;
  overflow: clip;
  padding: 150px 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(168, 236, 208, .28), transparent 70%),
    var(--bg);
}

.hero-wash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 600px;
  z-index: 0;
  background:
    radial-gradient(60% 85% at 6% 100%, rgba(18,163,122,.85), transparent 70%),
    radial-gradient(55% 85% at 94% 100%, rgba(201,236,110,.95), transparent 70%),
    radial-gradient(50% 75% at 50% 100%, rgba(141,180,234,.55), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 72%, transparent 100%);
}

.hero-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .10;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs), var(--gloss);
  font-weight: 500;
  font-size: 14px;
  color: var(--body);
  margin-bottom: 28px;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-bright);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-bright);
  opacity: 0;
}

.hero h1 {
  max-width: 15ch;
}

.hero h1 .tone {
  white-space: nowrap;
}

.hero-lead {
  margin-inline: auto;
  max-width: 600px;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-ticks {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  width: fit-content;
  max-width: min(100%, 600px);
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
  text-align: left;
}

.hero-ticks li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  text-wrap: pretty;
}

.hero-ticks li svg,
.hero-ticks li .ico {
  display: block;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--brand);
}

.hero-stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 7vw, 88px);
  max-width: 940px;
}

/* Report window */
.report-window {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px rgba(11, 31, 26, .06), var(--shadow-lg);
  overflow: hidden;
}

.report-window::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-bright), #78d6be, var(--lime));
}

.rw-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.rw-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rw-head .mark {
  width: 36px;
  height: 36px;
}

.rw-title {
  color: var(--ink);
  font-size: 15px;
}

.rw-week {
  font: 400 13px var(--font-sans);
  color: var(--muted);
}

.rw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 20px 4px;
}

.rw-stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--gloss);
}

.rw-stat:first-child {
  background: linear-gradient(180deg, #f1faf6, #e6f5ee);
  border-color: #d3ece1;
}

.rw-stat:last-child {
  background: linear-gradient(180deg, #f8fbe9, #eff7d2);
  border-color: #e3edc0;
}

.rw-label {
  font-size: 13px;
  color: var(--muted);
}

.rw-value {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  letter-spacing: -0.045em;
}

.rw-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 20px;
  font-family: var(--font-sans);
}

.report-table {
  width: calc(100% - 40px);
  margin: 8px 20px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.report-table th {
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 8px;
}

.report-table td {
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.mono {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.report-table .mono {
  white-space: nowrap;
}

.report-table th:nth-child(3),
.report-table td:nth-child(3) {
  text-align: right;
  padding-right: 28px;
}

@media (min-width: 768px) {
  .report-table th:nth-child(-n+3),
  .report-table td:nth-child(-n+3) {
    width: 26%;
  }
}

@media (max-width: 359.98px) {
  .report-table th,
  .report-table td {
    padding-left: 4px;
    padding-right: 4px;
  }

  .report-table .status .ico {
    display: none;
  }
}

.report-table th:last-child,
.report-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.status-swap {
  display: inline-grid;
}

.status-swap > * {
  grid-area: 1 / 1;
}

.status-was {
  opacity: 0;
}

.status-now {
  opacity: 1;
}

.report-table .status {
  background: transparent;
  color: #2c6b55;
  padding-inline: 0;
}

.report-table .status-now {
  background: var(--brand);
  color: #fff;
  padding-inline: 10px;
}

.report-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}

.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-bright);
}

/* Float cards */
.float-card {
  display: none;
}

@media (min-width: 1180px) {
  .float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md), var(--gloss);
    font-size: 13px;
    line-height: 1.35;
    color: var(--body);
  }

  .float-card strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
  }

  .float-chat {
    top: -30px;
    right: -52px;
  }

  .float-chat .chat-avatar {
    width: 32px;
    height: 32px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
  }

  .float-chat .chat-avatar svg {
    width: 16px;
    height: 16px;
  }

  .float-ticket {
    top: auto;
    right: auto;
    left: -52px;
    bottom: -30px;
  }

  .float-tick {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    display: grid;
    place-items: center;
  }
}

/* Motion */
@keyframes pulse {
  from {
    transform: scale(1);
    opacity: .55;
  }

  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes swap-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(.9);
  }
}

@keyframes swap-in {
  from {
    opacity: 0;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot::after {
    animation: pulse 2.2s var(--ease-out) infinite;
  }

  .js .hero-stage:not(.is-in) .report-table tbody tr {
    opacity: 0;
  }

  .js .hero-stage.is-in .report-table tbody tr {
    animation: row-in 520ms var(--ease-out) both;
    animation-delay: calc(300ms + var(--r) * 90ms);
  }

  .js .hero-stage.is-in .status-was {
    animation: swap-out 300ms ease both;
    animation-delay: 1800ms;
  }

  .js .hero-stage.is-in .status-now {
    animation: swap-in 420ms var(--ease-spring) both;
    animation-delay: 1950ms;
  }

  .js .hero-stage:not(.is-in) .float-card {
    opacity: 0;
  }

  .js .hero-stage.is-in .float-card {
    opacity: 1;
    transition: opacity 600ms var(--ease-out) 900ms;
  }

  .float-card {
    animation: float 6s ease-in-out infinite;
  }

  .float-ticket {
    animation-delay: -3s;
  }
}

@media (min-width: 768px) {
  .hero .tone {
    display: block;
  }
}

/* Phones */
@media (max-width: 767px) {
  .hero {
    padding-top: 120px;
  }

  .hero-wash {
    height: 420px;
  }

  .hero-pill {
    font-size: 13px;
    padding: 6px 12px 6px 10px;
    max-width: 100%;
    text-wrap: balance;
  }

  .col-date {
    display: none;
  }

  .rw-bar {
    padding: 14px 12px;
  }

  .rw-week {
    font-size: 12px;
  }

  .rw-stats {
    gap: 8px;
    padding: 12px 12px 0;
  }

  .rw-value {
    font-size: 22px;
  }

  .rw-ok {
    font-size: 16px;
  }

  .report-table {
    width: calc(100% - 24px);
    margin-inline: 12px;
    font-size: 14px;
  }

  .report-foot {
    padding: 14px 12px;
  }
}
/* Clock bento */
.bento {
  display: grid;
  gap: 20px;
}

.clock-bento {
  grid-template-columns: 1fr;
}

.clock-bento .tile-video {
  height: 300px;
}

.clock-bento .tile-cabin {
  height: 220px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .clock-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clock-bento .tile-video {
    grid-column: 1 / -1;
    height: 360px;
  }

  .clock-bento .tile-fee {
    grid-column: 1;
    min-height: 240px;
  }

  .clock-bento .tile-cabin {
    grid-column: 2;
    min-height: 240px;
    height: auto;
  }
}

@media (min-width: 1024px) {
  .clock-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 200px 200px 230px;
  }

  .clock-bento .tile-video {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    height: auto;
  }

  .clock-bento .tile-live {
    grid-column: 8 / 13;
    grid-row: 1;
  }

  .clock-bento > .tile-stat:not(.tile-live):not(.tile-fee) {
    grid-column: 8 / 13;
    grid-row: 2;
  }

  .clock-bento .tile-live,
  .clock-bento .tile-scot {
    justify-content: center;
  }

  .clock-bento .tile-fee {
    grid-column: 1 / 6;
    grid-row: 3;
  }

  .clock-bento .tile-cabin {
    grid-column: 6 / 13;
    grid-row: 3;
    height: auto;
  }
}

.tile-media {
  padding: 0;
  margin: 0;
  background: var(--dark);
}

.tile-media video,
.tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-cabin img {
  object-position: 30% 50%;
}

.clock-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 380px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(11, 31, 26, .62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--on-dark);
}

.clock-title {
  font: 600 15px var(--font-sans);
  color: var(--on-dark);
}

.clock-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  margin: 12px 0 10px;
  overflow: hidden;
}

.clock-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-bright), var(--lime));
  transform-origin: left center;
  transform: scaleX(1);
}

.clock-pins {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--on-dark-muted);
}

.tile-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: radial-gradient(120% 100% at 100% 0%, var(--brand-tint), transparent 60%), linear-gradient(180deg, #fff, #fbfcfc);
}

.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.stat-top .status {
  margin-top: 0;
}

.stat-big {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.stat-big span {
  letter-spacing: 0;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--muted);
}

.tile-stat > p:last-child {
  font: 500 19px/1.45 var(--font-sans);
  color: var(--ink);
  max-width: 34ch;
  text-wrap: balance;
}

.cal {
  display: inline-grid;
  width: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), var(--gloss);
  text-align: center;
}

.cal-m {
  display: block;
  padding: 4px 0;
  background: linear-gradient(180deg, #11835f, #0c6d50);
  color: #fff;
  font: 600 12px var(--font-sans);
  letter-spacing: .02em;
}

.cal-d {
  display: block;
  font: 600 26px/1.1 var(--font-sans);
  color: var(--ink);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}

.cal-y {
  display: block;
  font: 500 11px var(--font-sans);
  color: var(--muted);
  padding-bottom: 6px;
}

.tile-live {
  background: radial-gradient(120% 120% at 100% 0%, #dff3e9 0%, transparent 55%), linear-gradient(180deg, #fff, #fbfcfc);
}

.tile-scot {
  background: radial-gradient(120% 120% at 100% 0%, #dfe9f8 0%, transparent 55%), linear-gradient(180deg, #fff, #fbfcfc);
}

.tile-scot .cal-m {
  background: linear-gradient(180deg, #4f7bbf, #3f68a8);
}

.tile-fee {
  background: radial-gradient(120% 120% at 100% 0%, #f9f0c4 0%, transparent 55%), linear-gradient(180deg, #fff, #fbfcfc);
}

/* Demo */
.demo-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: clamp(20px, 4vw, 48px);
  background: radial-gradient(70% 90% at 0% 0%, rgba(214,230,251,.8), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(201,236,110,.32), transparent 60%), #f8fbfa;
  box-shadow: var(--gloss);
}

.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.demo {
  display: grid;
  gap: 20px;
}

.demo-label {
  font: 600 13px var(--font-sans);
  color: var(--body);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.demo-col {
  min-width: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .js .demo:not(.is-playing):not(.is-static) .demo-col-chat {
    opacity: 0;
  }

  .js .demo.is-playing .demo-col-chat {
    animation: bubble-in 360ms var(--ease-out) 1600ms both;
  }
}

@media (min-width: 768px) and (max-width: 959.98px) {
  .demo {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.15fr);
    align-items: start;
  }

  .demo-connector {
    align-self: center;
  }

  .demo-connector-2 {
    display: none;
  }

  .demo-col-chat {
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0 0;
  }
}

@media (min-width: 960px) {
  .demo {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.15fr) 48px minmax(0, 1fr);
    align-items: stretch;
  }

  .demo-connector {
    align-self: center;
  }

  .demo-connector-2 {
    display: block;
  }

  .demo-col-chat {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 960px) and (max-width: 1179.98px) {
  .demo {
    column-gap: 12px;
  }

  .demo .demo-ticket {
    padding: 18px;
    font-size: 14px;
  }

  .demo .demo-record {
    padding: 16px 18px;
  }

  .demo .rec-row {
    grid-template-columns: 52px minmax(0, 1fr) 24px;
  }
}

@media (min-width: 768px) {
  .demo-col-chat .demo-chat {
    flex: 1;
    justify-content: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .8));
  }
}

.demo-ticket {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #fdfdfb;
  color: #1c1917;
  border: 1px solid #e7e3d8;
  border-radius: 12px;
  padding: 22px 24px;
  font: 15px / 1.8 var(--font-mono);
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
}

.demo-ticket::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-150%);
  opacity: 0;
  pointer-events: none;
}

.demo-connector {
  position: relative;
  width: 2px;
  height: 40px;
  margin-inline: auto;
  background-image: linear-gradient(180deg, var(--line-strong) 55%, transparent 0);
  background-size: 2px 8px;
  background-repeat: repeat-y;
}

.demo-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: translateX(-50%) rotate(135deg);
}

.demo-dot {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 4px rgba(18, 163, 122, .18);
  transform: translateY(28px);
}

@media (min-width: 768px) {
  .demo-connector {
    width: 100%;
    height: 2px;
    margin-inline: 0;
    align-self: center;
    background-image: linear-gradient(90deg, var(--line-strong) 55%, transparent 0);
    background-size: 8px 2px;
    background-repeat: repeat-x;
  }

  .demo-connector::after {
    left: auto;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }

  .demo-dot {
    left: 0;
    top: 50%;
    margin-left: 0;
    margin-top: -6px;
    transform: translateX(36px);
  }
}

.demo-record {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-md), var(--gloss);
}

.rec-title {
  margin-bottom: 8px;
}

.rec-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.rec-label {
  font-size: 14px;
  color: var(--muted);
}

.rec-value {
  font: 15px var(--font-mono);
  color: var(--ink);
}

.tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.tick .ico {
  width: 14px;
  height: 14px;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  background: none;
  border: 0;
  box-shadow: none;
  gap: 10px;
}

.bubble {
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 18px;
  font: 15px / 1.45 var(--font-sans);
  box-shadow: var(--shadow-sm);
}

.from-chitly {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.from-you {
  align-self: flex-end;
  background: linear-gradient(180deg, #11835f, #0c6d50);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.ok-tick {
  color: var(--brand);
  display: inline-flex;
  vertical-align: -2px;
}

.ok-tick .ico {
  width: 14px;
  height: 14px;
}

.demo-replay {
  display: flex;
  width: fit-content;
  margin: 20px auto 0;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font: 500 14px var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.demo-replay .ico {
  transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .demo-replay:hover .ico {
    transform: rotate(-90deg);
  }
}

.demo.is-static .tick,
.demo.is-static .bubble {
  opacity: 1;
}

@keyframes fill {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }

  85% {
    transform: scaleX(1);
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@keyframes demo-sheen {
  0% {
    transform: translateX(-150%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(350%);
    opacity: 0;
  }
}

@keyframes tick-in {
  from {
    opacity: 0;
    transform: scale(.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes demo-dot-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(36px);
  }
}

@keyframes demo-dot-y {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(28px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .tile-video:not(.is-static) .clock-fill {
    transform: scaleX(0);
  }

  .js .tile-video.is-live .clock-fill {
    animation: fill 6s linear infinite;
  }

  .js .tile-cabin img {
    transition: transform 1200ms var(--ease-out);
  }

  .js .tile-cabin:not(.is-in) img {
    transform: scale(1.06);
  }

  .js .demo:not(.is-playing):not(.is-static) .tick,
  .js .demo:not(.is-playing):not(.is-static) .bubble {
    opacity: 0;
  }

  .js .demo.is-playing .tick {
    animation: tick-in 360ms var(--ease-spring) both;
    animation-delay: calc(300ms + var(--i) * 120ms);
  }

  .js .demo.is-playing .bubble {
    animation: bubble-in 320ms var(--ease-spring) both;
    animation-delay: calc(1400ms + var(--i) * 700ms);
  }

  .js .demo.is-playing .demo-ticket::after {
    animation: demo-sheen 1000ms var(--ease-out) both;
  }

  .js .demo:not(.is-playing):not(.is-static) .demo-dot {
    transform: translateY(0);
  }

  .js .demo.is-playing .demo-dot {
    animation: demo-dot-y 900ms var(--ease-out) both;
  }

  .js .demo.is-playing .demo-connector-2 .demo-dot {
    animation-duration: 500ms;
    animation-delay: 950ms;
    animation-fill-mode: both;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .js .demo:not(.is-playing):not(.is-static) .demo-dot {
    transform: translateX(0);
  }

  .js .demo.is-playing .demo-dot {
    animation-name: demo-dot-x;
  }
}
/* Calculator */
.hours-grid {
  display: grid;
  gap: 20px;
}

.calc-group {
  margin-top: 28px;
}

.calc-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.calc-top label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink);
}

.calc-top > span {
  flex: none;
  white-space: nowrap;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 2px 10px;
  border-radius: 999px;
}

.calc-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  cursor: pointer;
}

.calc-group input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-bright) 0 var(--p, 25%), #e3e9e6 var(--p, 25%) 100%);
}

.calc-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast);
}

.calc-group input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.12);
}

.calc-group input[type="range"]:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 999px;
}

.calc-group input[type="range"]:focus-visible::-webkit-slider-thumb {
  transform: scale(1.12);
}

.calc-group input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #e3e9e6;
}

.calc-group input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--brand-bright);
}

.calc-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast);
}

.calc-group input[type="range"]:hover::-moz-range-thumb {
  transform: scale(1.12);
}

.calc-group input[type="range"]:focus-visible::-moz-range-thumb {
  transform: scale(1.12);
}

.calc-result {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  background-color: var(--dark);
  background-image:
    radial-gradient(90% 70% at 100% 0%, rgba(201, 236, 110, .16), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(18, 163, 122, .28), transparent 60%);
  color: var(--on-dark-muted);
  box-shadow: var(--shadow-lg), var(--gloss-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hour-grid {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 4px;
  max-width: 360px;
  margin: 18px 0 8px;
}

.hour-grid i {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.hour-grid i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--mint), var(--brand-bright));
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}

.hour-grid i.on::after {
  opacity: 1;
}

.hour-legend {
  font-size: 13px;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}

.calc-result .small {
  color: var(--on-dark-muted);
}

.calc-big {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  color: #fff;
  margin-top: 8px;
}

.calc-worth {
  font-size: 46px;
  color: var(--mint);
}

.calc-rule {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, .14);
  margin: 24px 0;
}

@keyframes bump {
  from {
    opacity: .5;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Systems bento */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.systems-layout {
  display: grid;
  gap: 32px;
}

.login-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.login-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-xs), var(--gloss);
}

.login-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.login-ico svg {
  width: 18px;
  height: 18px;
}

.login-row:nth-child(1) .login-ico {
  background: var(--hivis-tint);
  color: #9a6b00;
}

.login-row:nth-child(3) .login-ico {
  background: var(--sky-tint);
  color: var(--sky);
}

.login-what {
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink);
}

@media (max-width: 479px) {
  .rw-title {
    white-space: nowrap;
  }

  .login-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .login-row .status {
    grid-column: 2;
    justify-self: start;
  }

  .report-table .status,
  .login-row .status {
    height: auto;
    min-height: 26px;
    padding-block: 4px;
    line-height: 1.25;
  }
}

@keyframes login-row-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Phone sizes */
@media (max-width: 767px) {
  .calc-big {
    font-size: 48px;
  }

  .calc-worth {
    font-size: 38px;
  }
}

/* Two-column layouts */
@media (min-width: 1024px) {
  .hours-grid {
    grid-template-columns: 7fr 5fr;
  }

  .systems-layout {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
  }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .calc-big.is-bump {
    animation: bump 280ms var(--ease-out);
  }

  .js .login-list:not(.is-in) .login-row {
    opacity: 0;
    transform: translateY(10px);
  }

  .js .login-list.is-in .login-row {
    animation: login-row-in 420ms var(--ease-out) both;
  }

  .js .login-list.is-in .login-row:nth-child(1) {
    animation-delay: 150ms;
  }

  .js .login-list.is-in .login-row:nth-child(2) {
    animation-delay: 300ms;
  }

  .js .login-list.is-in .login-row:nth-child(3) {
    animation-delay: 450ms;
  }
}

/* Hero wash: two glows only (green left, lime right), lighter grain */
.hero-wash {
  background:
    radial-gradient(55% 80% at 8% 100%, rgba(18,163,122,.62), transparent 70%),
    radial-gradient(55% 80% at 92% 100%, rgba(201,236,110,.72), transparent 70%);
}
.hero-wash::after { opacity: .06; }

/* Report table: readable status, denser rows */
.report-table .status, .report-table .status-now { font-size: 14px; }
.report-table td { padding-block: 11px; }


/* Report motion: ticket arrives, last row flips, then the evening message */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-stage.is-in .float-ticket { transition-delay: 900ms; }
  .js .hero-stage.is-in .float-chat { transition-delay: 2500ms; }
}

/* Stacked hero (768 to 1179): a narrower window keeps the table dense */
@media (min-width: 768px) and (max-width: 1179.98px) {
  .hero-stage { max-width: 820px; }
}

/* 320: the live chip wraps, keep the dot on the first line */
@media (max-width: 359.98px) {
  .hero-pill { align-items: flex-start; text-align: left; }
  .hero-pill .live-dot { margin-top: 6px; }
}

/* Demo: the record is built value by value while the matching ticket line lights up */
.demo-ticket p { position: relative; }
.demo-ticket p::before {
  content: "";
  position: absolute;
  inset: 1px -8px;
  border-radius: 6px;
  background: rgba(18, 163, 122, .16);
  opacity: 0;
  pointer-events: none;
}
.demo-replay { min-height: 44px; padding: 0 18px; }

@keyframes val-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes line-lit {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .demo:not(.is-playing):not(.is-static) .rec-value { opacity: 0; }
  .js .demo.is-playing .rec-value {
    animation: val-in 320ms var(--ease-out) both;
    animation-delay: calc(250ms + var(--i) * 200ms);
  }
  .js .demo.is-playing .tick { animation-delay: calc(400ms + var(--i) * 200ms); }
  .js .demo.is-playing .demo-ticket p:nth-child(2)::before { animation: line-lit 700ms var(--ease-out) 250ms both; }
  .js .demo.is-playing .demo-ticket p:nth-child(3)::before { animation: line-lit 700ms var(--ease-out) 450ms both; }
  .js .demo.is-playing .demo-ticket p:nth-child(4)::before { animation: line-lit 700ms var(--ease-out) 650ms both; }
  .js .demo.is-playing .demo-ticket p:nth-child(5)::before { animation: line-lit 700ms var(--ease-out) 850ms both; }
  .js .demo.is-playing .demo-ticket p:nth-child(6)::before { animation: line-lit 700ms var(--ease-out) 1050ms both; }
  .js .demo.is-playing .demo-ticket p:nth-child(7)::before { animation: line-lit 700ms var(--ease-out) 1250ms both; }
  .js .demo.is-playing .demo-connector-2 .demo-dot { animation-delay: 1500ms; }
  .js .demo.is-playing .bubble { animation-delay: calc(1900ms + var(--i) * 550ms); }
}

/* 768 to 959: the confirmation keeps its connector when it drops below */
@media (min-width: 768px) and (max-width: 959.98px) {
  .demo-connector-2 {
    display: block;
    grid-column: 1 / -1;
    width: 2px;
    height: 40px;
    margin-inline: auto;
    background-image: linear-gradient(180deg, var(--line-strong) 55%, transparent 0);
    background-size: 2px 8px;
    background-repeat: repeat-y;
  }
  .demo-connector-2::after { left: 50%; right: auto; top: auto; bottom: 0; transform: translateX(-50%) rotate(135deg); }
  .demo-connector-2 .demo-dot { left: 50%; top: 0; margin-left: -6px; margin-top: 0; transform: translateY(28px); }
  .demo-col-chat { margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) and (max-width: 959.98px) {
  .js .demo:not(.is-playing):not(.is-static) .demo-connector-2 .demo-dot { transform: translateY(0); }
  .js .demo.is-playing .demo-connector-2 .demo-dot { animation-name: demo-dot-y; }
}

/* FAQ preview: the side column spans the list; the help card anchors to its foot */
@media (min-width: 1024px) {
  .faq-layout { align-items: stretch; }
  .faq-side { display: flex; flex-direction: column; align-items: flex-start; }
  .faq-help { margin-top: auto; }
}

/* Calculator: fixed-size hour grid; more hours means a denser grid, never a taller card */
.hour-grid {
  grid-template-columns: repeat(var(--cols, 15), minmax(0, 1fr));
  gap: 3px;
  aspect-ratio: 360 / 106;
  align-content: start;
}
.hour-grid i { border-radius: 2px; }


/* Rule bento: calendar left, text right; readable overlay labels */
.cal-m { font-size: 13px; }
.cal-y { font-size: 12px; }
.clock-title { font-size: 16px; }
.clock-pins { font-size: 14px; color: var(--on-dark); opacity: .85; }
@media (max-width: 359.98px) {
  .clock-card { left: 10px; right: 10px; padding: 14px 12px; }
  .clock-pins { font-size: 12px; gap: 8px; }
  .clock-pins span { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .tile-stat { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; row-gap: 10px; align-items: center; align-content: center; }
  .stat-top { display: contents; }
  .tile-stat .cal { grid-column: 1; grid-row: 1 / 3; }
  .tile-stat .stat-top .status { grid-column: 2; grid-row: 1; justify-self: start; }
  .tile-stat > p:last-child { grid-column: 2; grid-row: 2; max-width: none; }
  .tile-scot > p:last-child { grid-row: 1 / 3; }
  .tile-fee .stat-big { grid-column: 2; grid-row: 1; }
}

/* Price tiers: readable notes; one row per tier on tablets */
.tier-note { font-size: 15px; }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .tier-grid { grid-template-columns: 1fr; gap: 16px; }
  .tier { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto auto; column-gap: 28px; row-gap: 8px; align-items: center; }
  .tier h3 { grid-column: 1; grid-row: 1; }
  .tier-price { grid-column: 1; grid-row: 2; margin-top: 0; }
  .tier-loads { grid-column: 2; grid-row: 1; align-self: end; }
  .tier-bar { grid-column: 2; grid-row: 2; align-self: start; }
  .tier-note { grid-column: 3; grid-row: 1 / 3; }
}

/* Split hero at >= 1180: text left, report window right */
@media (min-width: 1180px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 470px) minmax(0, 598px) minmax(var(--gutter), 1fr);
    column-gap: 48px;
    align-items: center;
    padding: 124px 0 96px;
  }
  .hero-inner { grid-column: 2; padding: 0; text-align: left; align-items: flex-start; }
  .hero-stage { grid-column: 3; padding: 0; margin-top: 0; max-width: none; }
  .hero h1 { font-size: clamp(44px, 4.3vw, 62px); max-width: 7em; }
  .hero-pill { margin-bottom: 24px; }
  .hero-lead { margin-inline: 0; max-width: 44ch; font-size: 18px; }
  .hero-actions { justify-content: flex-start; margin-top: 30px; }
  .hero-ticks { margin-inline: 0; margin-top: 24px; max-width: 460px; }
  .report-foot { justify-content: flex-start; }
  .float-ticket { left: auto; right: -28px; top: 90px; bottom: auto; }
  .float-chat { top: auto; bottom: -30px; right: -28px; }
}

@media (min-width: 1180px) {
  .float-ticket { display: none; }
}

@media (min-width: 1600px) {
  .hero {
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 530px) minmax(0, 662px) minmax(var(--gutter), 1fr);
    column-gap: 64px;
  }
}
