:root {
  color-scheme: dark;
  --ink: #f4efe7;
  --muted: #b9c3bd;
  --paper: #071116;
  --panel: #101a1d;
  --line: rgba(244, 239, 231, 0.14);
  --accent: #35d0b3;
  --accent-strong: #71f2cf;
  --warm: #f3b45a;
  --header-h: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(7, 17, 22, 0.82), rgba(7, 17, 22, 0.18));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: 18px;
}

.brand-mark {
  width: 12px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent), var(--warm));
  box-shadow: 0 0 28px rgba(53, 208, 179, 0.5);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  color: rgba(244, 239, 231, 0.78);
}

nav a {
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid rgba(244, 239, 231, 0.28);
  border-radius: 4px;
  padding: 10px 14px;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) clamp(18px, 5vw, 72px) 84px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 22, 0.96) 0%, rgba(7, 17, 22, 0.78) 30%, rgba(7, 17, 22, 0.18) 66%, rgba(7, 17, 22, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 17, 22, 0.18) 0%, rgba(7, 17, 22, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding-top: 4vh;
  animation: riseIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(68px, 12vw, 168px);
  line-height: 0.86;
  font-weight: 860;
}

.hero-copy {
  max-width: 540px;
  color: rgba(244, 239, 231, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 5px;
  padding: 0 20px;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  background: var(--accent);
  color: #061212;
}

.secondary-button {
  border: 1px solid rgba(244, 239, 231, 0.28);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover {
  border-color: rgba(244, 239, 231, 0.52);
  background: rgba(244, 239, 231, 0.07);
}

.price-ribbon {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  height: 54px;
  display: flex;
  align-items: end;
  gap: 8px;
  max-width: 390px;
}

.price-ribbon span {
  width: 22px;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--warm));
  opacity: 0.9;
  transform-origin: bottom;
  animation: barPulse 2400ms ease-in-out infinite;
  animation-delay: calc(var(--h) * -18ms);
}

.section-pad {
  padding: clamp(72px, 12vw, 150px) clamp(18px, 5vw, 72px);
}

.intro {
  background: #0b1518;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
}

h2 {
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 0.98;
  font-weight: 820;
  max-width: 960px;
}

.intro-grid p,
.detail-copy p,
.seo-copy p,
.faq-item p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
}

.live-price {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: #101616;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.live-price h2 {
  margin-bottom: 18px;
}

.live-price p {
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.price-now {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 12px;
}

.price-now strong {
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.9;
}

.price-now span {
  color: var(--muted);
  font-weight: 760;
}

.price-meta {
  color: rgba(244, 239, 231, 0.66);
  font-size: 14px;
}

.price-chart {
  display: grid;
  grid-template-columns: repeat(var(--bars), minmax(3px, 1fr));
  align-items: end;
  gap: 5px;
  min-height: 250px;
  padding-top: 18px;
  border-bottom: 1px solid rgba(244, 239, 231, 0.22);
}

.price-chart span {
  min-height: 8px;
  height: var(--bar-h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--bar-color), rgba(243, 180, 90, 0.72));
  position: relative;
}

.price-chart span.is-current {
  box-shadow: 0 0 0 2px rgba(244, 239, 231, 0.92), 0 0 34px rgba(53, 208, 179, 0.34);
}

.price-chart span::after {
  content: attr(data-hour);
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  color: rgba(244, 239, 231, 0.58);
  font-size: 11px;
  opacity: 0;
}

.price-chart span:nth-child(4n + 1)::after,
.price-chart span:last-child::after {
  opacity: 1;
}

.price-extremes {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 14px;
}

.price-extremes strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 4px;
}

.live-price-fallback {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: #101616;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.live-price-fallback p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #071116;
}

.workflow-step {
  min-height: 340px;
  padding: clamp(32px, 5vw, 58px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step span {
  color: var(--accent);
  font-weight: 820;
  margin-bottom: auto;
}

h3 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.workflow-step p,
.feature-row p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
  background: #101616;
}

.detail-copy {
  position: sticky;
  top: 112px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.5fr) minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row span {
  color: var(--ink);
  font-weight: 780;
}

.seo-copy {
  background: #0b1518;
}

.seo-copy h2,
.seo-copy p {
  max-width: 940px;
}

.seo-copy p + p {
  margin-top: 20px;
}

.faq {
  background: #071116;
  border-top: 1px solid var(--line);
}

.faq h2 {
  margin-bottom: clamp(36px, 6vw, 72px);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 4vw, 44px);
}

.faq-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.faq-item h3 {
  font-size: clamp(22px, 2.2vw, 32px);
}

.final-cta {
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 20%, rgba(53, 208, 179, 0.18), transparent 32%),
    linear-gradient(135deg, #071116 0%, #11201d 100%);
}

.final-cta h2 {
  margin-bottom: 18px;
}

.final-cta .primary-button {
  margin-top: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: rgba(244, 239, 231, 0.62);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.6%, 0);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.72);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding-inline: 16px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: calc(var(--header-h) + 26px) 18px 78px;
    align-items: flex-end;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 17, 22, 0.1) 0%, rgba(7, 17, 22, 0.58) 38%, rgba(7, 17, 22, 0.96) 100%),
      linear-gradient(90deg, rgba(7, 17, 22, 0.7), rgba(7, 17, 22, 0.2));
  }

  .hero-image {
    object-position: 58% center;
  }

  h1 {
    font-size: clamp(64px, 21vw, 96px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .price-ribbon {
    max-width: 310px;
    height: 42px;
    bottom: 16px;
  }

  .intro-grid,
  .detail,
  .faq-list,
  .live-price,
  .workflow {
    grid-template-columns: 1fr;
  }

  .price-chart {
    min-height: 180px;
    gap: 3px;
  }

  .workflow-step {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .detail-copy {
    position: static;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
