/* TesBot369 homepage — brand-first landing */

.home {
  --home-deep: #0b3d38;
  --home-mid: #0f5c52;
  --home-glow: #2ec4a8;
  --home-sand: #f3efe6;
  --home-ink: #14241f;
}

.home-header {
  background: rgba(243, 239, 230, 0.82);
  border-bottom-color: rgba(20, 36, 31, 0.08);
}

/* —— Hero: one composition, brand-led, full-bleed —— */
.home-hero {
  position: relative;
  min-height: min(100svh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4fffb;
  background:
    radial-gradient(920px 520px at 78% 18%, rgba(46, 196, 168, 0.28), transparent 58%),
    linear-gradient(160deg, #072824 0%, #0b3d38 42%, #0f554c 100%);
}

.home-hero__plane {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.home-hero__chart {
  width: 100%;
  height: 100%;
}

.home-hero__line {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: home-draw 2.4s ease-out 0.35s forwards;
}

.home-hero__area {
  opacity: 0;
  animation: home-fade 1.4s ease 0.9s forwards;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 3rem;
  max-width: 42rem;
}

.home-hero__mark {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 10vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: #ffffff !important;
  animation: home-rise 0.9s ease both;
}

.home-hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.28rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  max-width: 20ch;
  color: #e8f6f1 !important;
  animation: home-rise 0.9s ease 0.12s both;
}

.home-hero__lead {
  margin: 0.9rem 0 0;
  font-size: clamp(0.98rem, 2.1vw, 1.1rem);
  line-height: 1.45;
  color: rgba(232, 246, 241, 0.88) !important;
  max-width: 34rem;
  animation: home-rise 0.9s ease 0.22s both;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  animation: home-rise 0.9s ease 0.32s both;
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f4fffb;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-hero .btn-primary {
  background: #e8f6f1;
  color: var(--home-deep);
  box-shadow: none;
}

.home-hero .btn-primary:hover {
  background: #fff;
  color: #08302c;
}

/* —— Sections —— */
.home-section {
  padding: clamp(3.2rem, 7vw, 5rem) 0;
}

.home-section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-section__sub {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.02rem;
}

.home-section--learn {
  background:
    linear-gradient(180deg, rgba(11, 61, 56, 0.04), transparent 28%),
    var(--home-sand);
}

.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: home-step;
}

@media (min-width: 820px) {
  .home-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.home-steps li {
  position: relative;
  padding-top: 0.35rem;
  counter-increment: home-step;
}

.home-steps li::before {
  content: counter(home-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--home-mid);
}

.home-steps strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
  color: var(--home-ink);
}

.home-steps span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-section--tools {
  background: #fff;
}

.home-tools {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(20, 36, 31, 0.1);
}

.home-tool {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(20, 36, 31, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, padding-left 0.25s ease;
}

.home-tool:hover,
.home-tool:focus-visible {
  transform: translateX(6px);
  outline: none;
}

.home-tool strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--home-ink);
}

.home-tool span {
  color: var(--muted);
  font-size: 0.94rem;
}

.home-section--bound {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(46, 196, 168, 0.12), transparent 55%),
    #edf4f1;
}

.home-bound__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .home-bound__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.5rem;
  }
}

.home-bound__list li {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--home-deep);
  padding-left: 1.1rem;
  border-left: 3px solid var(--home-glow);
}

.home-section--pricing {
  background: var(--home-sand);
}

.home-plans {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .home-plans {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.home-plan {
  padding: 1.35rem 0 0.4rem;
  border-top: 2px solid rgba(20, 36, 31, 0.14);
}

.home-plan h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}

.home-plan__price {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--home-deep);
}

.home-plan p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.home-plan--accent {
  border-top-color: var(--home-glow);
}

.home-section--faq {
  background: #fff;
}

.home-section--faq details {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(20, 36, 31, 0.1);
  border-radius: 0;
  padding: 1rem 0;
  margin: 0;
}

.home-section--faq summary {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.home-section--close {
  background:
    linear-gradient(155deg, #0b3d38, #126057);
  color: #f4fffb;
}

.home-close h2 {
  color: #fff;
}

.home-close p {
  margin: 0 0 1.25rem;
  color: rgba(232, 246, 241, 0.85);
  max-width: 30rem;
  font-size: 1.05rem;
}

.home-close .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.home-close .btn-primary {
  background: #e8f6f1;
  color: var(--home-deep);
  box-shadow: none;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes home-fade {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__mark,
  .home-hero__title,
  .home-hero__lead,
  .home-hero__cta,
  .home-hero__line,
  .home-hero__area,
  .home-tool {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: min(100svh, 720px);
  }
  .home-hero__content {
    padding-top: 6.25rem;
    padding-bottom: 2.5rem;
  }
}

/* ------------------------------------------------------------------
   Live scorecard band (homepage)
   The one place the marketing site quotes a number, so it is built to
   show a losing figure as plainly as a winning one.
   ------------------------------------------------------------------ */

.home-score {
  padding: 40px 0 8px;
}

.home-score__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.home-score__head h2 {
  margin: 0 0 4px;
  font-family: var(--display, "Syne", sans-serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
}

.home-score__live {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted, #6a7d8d);
  white-space: nowrap;
}

.home-score__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 720px) {
  .home-score__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.home-score__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  height: 100%;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line, rgba(18, 32, 44, 0.1));
  background: var(--surface, #fff);
  box-shadow: 0 4px 14px rgba(18, 32, 44, 0.04);
}

.home-score__card--lead {
  border-color: rgba(14, 138, 119, 0.3);
  background: linear-gradient(180deg, rgba(14, 138, 119, 0.07), rgba(255, 255, 255, 0.9));
}

.home-score__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted, #6a7d8d);
}

.home-score__value {
  margin: 0;
  font-family: var(--display, "Syne", sans-serif);
  font-size: clamp(2rem, 6vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink, #12202c);
}

.home-score__value[data-tone="up"] { color: var(--teal-deep, #0a6b5c); }
.home-score__value[data-tone="down"] { color: var(--coral, #d4543a); }
.home-score__value[data-tone="idle"] { color: var(--muted, #6a7d8d); }

/* Caption sits on the card floor so a row of cards lines up. */
.home-score__meta {
  margin: auto 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft, #3a4d5c);
  overflow-wrap: anywhere;
}

.home-score__days {
  margin-top: 14px;
}

.home-score__daylist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  margin-top: 8px;
  align-items: stretch;
}

.home-score__day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(18, 32, 44, 0.1));
  background: rgba(255, 255, 255, 0.82);
}

.home-score__day[data-tone="up"] { border-color: rgba(14, 138, 119, 0.32); }
.home-score__day[data-tone="down"] { border-color: rgba(212, 84, 58, 0.3); }

.home-score__dayname {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted, #6a7d8d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-score__dayrate {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.home-score__day[data-tone="up"] .home-score__dayrate { color: var(--teal-deep, #0a6b5c); }
.home-score__day[data-tone="down"] .home-score__dayrate { color: var(--coral, #d4543a); }

.home-score__daymeta {
  font-size: 0.68rem;
  color: var(--muted, #6a7d8d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-score__note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted, #6a7d8d);
  line-height: 1.5;
}
