:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #fbfcfe;
  --ink: #071b3a;
  --muted: #627084;
  --line: #e5eaf1;
  --line-strong: #d4dce8;
  --gold: #c6922d;
  --gold-soft: #f6efe1;
  --navy: #071b3a;
  --blue: #123d75;
  --shadow: 0 24px 80px rgba(7, 27, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

.maintenance-body {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.04), rgba(198, 146, 45, 0.08)),
    var(--bg);
  min-height: 100vh;
}

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

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

.site-header {
  align-items: center;
  background: rgba(247, 248, 251, 0.88);
  border-bottom: 1px solid rgba(229, 234, 241, 0.9);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.actions,
.site-footer,
.site-footer div {
  align-items: center;
  display: flex;
}

.brand img {
  display: block;
  height: 58px;
  object-fit: contain;
  width: auto;
}

.nav {
  color: #40516a;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 560;
}

.nav a {
  transition: color 160ms ease;
}

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

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 18px 45px rgba(7, 27, 58, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.maintenance-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 5vw;
}

.maintenance-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 220, 232, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  max-width: 780px;
  padding: clamp(28px, 6vw, 64px);
}

.maintenance-brand {
  display: inline-flex;
  margin-bottom: 24px;
}

.maintenance-brand img {
  display: block;
  height: 76px;
  object-fit: contain;
  width: auto;
}

.maintenance-panel h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.maintenance-status {
  align-items: center;
  background: var(--gold-soft);
  border: 1px solid rgba(198, 146, 45, 0.28);
  border-radius: 999px;
  color: #775315;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 760;
  gap: 10px;
  margin-bottom: 26px;
  padding: 10px 14px;
}

.maintenance-status span {
  background: var(--gold);
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.hero {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  min-height: calc(100vh - 80px);
  padding: 84px 5vw 76px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 6.4vw, 6.75rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.72;
  margin-bottom: 34px;
  max-width: 700px;
}

.actions {
  flex-wrap: wrap;
  gap: 14px;
}

.interface-card {
  align-self: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 78% 8%, rgba(198, 146, 45, 0.18), transparent 24%);
  border: 1px solid rgba(212, 220, 232, 0.84);
  border-radius: 26px;
  box-shadow: var(--shadow);
  min-height: 560px;
  padding: 24px;
}

.card-header {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
}

.file-chip,
.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 760;
  padding: 7px 10px;
}

.file-chip {
  background: #eef3f9;
  color: var(--blue);
  margin-bottom: 12px;
}

.status-pill {
  background: var(--gold-soft);
  color: #8a6119;
}

.card-header h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.waveform {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(10, 1fr);
  height: 98px;
  padding: 24px 0;
}

.waveform span {
  background: linear-gradient(180deg, var(--navy), var(--gold));
  border-radius: 999px;
  display: block;
  min-height: 22px;
}

.waveform span:nth-child(2n) {
  height: 62px;
}

.waveform span:nth-child(3n) {
  height: 38px;
}

.waveform span:nth-child(5n) {
  height: 78px;
}

.interface-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.1fr 0.9fr;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.panel-large {
  grid-row: span 2;
}

.panel-label,
.plan {
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.62;
}

.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.panel li:first-child {
  border-top: 0;
}

.section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 86px 5vw;
}

.section-heading {
  max-width: 820px;
}

.section-heading p,
.trust-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.three-grid,
.feature-grid,
.pricing {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soft-card,
.feature-card,
.use-card,
.price-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.soft-card:hover,
.feature-card:hover,
.use-card:hover,
.price-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 54px rgba(7, 27, 58, 0.08);
  transform: translateY(-2px);
}

.soft-card p,
.feature-card p,
.use-card p,
.price-card p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.dot {
  background: var(--gold);
  border-radius: 999px;
  display: block;
  height: 8px;
  margin-bottom: 28px;
  width: 8px;
}

.mini-icon {
  align-items: center;
  background: #f4f6fa;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 820;
  height: 38px;
  justify-content: center;
  margin-bottom: 28px;
  width: 38px;
}

.use-cases {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.use-cases > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.use-case-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
}

.workflow {
  padding-bottom: 70px;
}

.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  position: relative;
}

.timeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.timeline-step span {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  margin-bottom: 24px;
  width: 32px;
}

.timeline-step p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.features-list {
  padding-top: 70px;
}

.check-grid {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  overflow: hidden;
}

.check-grid span {
  background: var(--surface-soft);
  color: #253650;
  font-weight: 620;
  padding: 18px;
}

.check-grid span::before {
  color: var(--gold);
  content: "•";
  margin-right: 10px;
}

.trust {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 0.95fr 1.05fr;
}

.trust-stack {
  display: grid;
  gap: 12px;
}

.trust-stack p {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #253650;
  font-weight: 660;
  margin: 0;
  padding: 20px 22px;
}

.pricing-section {
  padding-top: 70px;
}

.price-card.featured {
  border-color: rgba(198, 146, 45, 0.42);
  box-shadow: 0 18px 60px rgba(198, 146, 45, 0.1);
}

.final-cta {
  background: var(--navy);
  border-radius: 28px;
  color: white;
  margin: 60px auto 84px;
  max-width: 1180px;
  padding: 64px 5vw;
  text-align: center;
}

.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.72);
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.final-cta .button.primary {
  background: white;
  color: var(--navy);
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 20px;
  grid-template-columns: 0.8fr 1fr 0.9fr;
  padding: 34px 5vw;
}

.footer-brand img {
  display: block;
  height: 54px;
  object-fit: contain;
  width: auto;
}

.site-footer div {
  gap: 20px;
  justify-content: center;
}

.site-footer p {
  font-size: 0.92rem;
  margin: 0;
  text-align: right;
}

.legal-page {
  margin: 0 auto;
  max-width: 980px;
  padding: 84px 5vw;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  max-width: 820px;
}

.legal-hero p:last-child {
  color: var(--muted);
  font-weight: 620;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(7, 27, 58, 0.06);
  padding: clamp(28px, 4vw, 54px);
}

.legal-card h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  margin-top: 36px;
}

.legal-card h2:first-of-type {
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.74;
}

.legal-card a {
  color: var(--blue);
  font-weight: 720;
}

.legal-card ul {
  margin: 0 0 8px;
  padding-left: 22px;
}

.reveal {
  animation: reveal 620ms ease both;
}

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

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

@media (max-width: 1060px) {
  .hero,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .use-case-grid,
  .timeline,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 18px;
    padding-top: 18px;
    position: static;
  }

  .brand img {
    height: 52px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding-top: 48px;
  }

  .interface-card {
    border-radius: 20px;
    min-height: auto;
  }

  .interface-grid,
  .three-grid,
  .feature-grid,
  .use-case-grid,
  .timeline,
  .check-grid,
  .pricing,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .panel-large {
    grid-row: auto;
  }

  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }

  .legal-page {
    padding-top: 52px;
  }

  .legal-card {
    border-radius: 18px;
  }
}
