:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5c667a;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dce3ee;
  --mint: #e8f1ff;
  --leaf: #2563eb;
  --leaf-dark: #172554;
  --coral: #0f172a;
  --gold: #f59e0b;
  --sky: #eaf2ff;
  --blue: #1d4ed8;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(232, 241, 255, 0.75), transparent 420px),
    var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(37, 99, 235, 0.1);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 750;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--leaf-dark);
}

.button.secondary {
  border-color: rgba(24, 33, 31, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.button.is-complete {
  border-color: rgba(37, 99, 235, 0.42);
  color: var(--leaf-dark);
  background: var(--mint);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.97) 0%, rgba(247, 249, 252, 0.72) 50%, rgba(247, 249, 252, 0.18) 100%),
    linear-gradient(180deg, rgba(232, 241, 255, 0.86), rgba(255, 255, 255, 0.52));
  z-index: 1;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(720px, 58vw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 36px 48px;
}

.dashboard-shell {
  width: min(620px, 100%);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.dashboard-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #0f172a;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #93a4bd;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 410px;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
}

.dashboard-sidebar span {
  height: 34px;
  border-radius: 8px;
  background: #d7e1f0;
}

.dashboard-sidebar .active {
  background: var(--blue);
}

.dashboard-main {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.dashboard-card.wide {
  min-height: 138px;
  justify-content: flex-start;
}

.dashboard-card strong {
  font-size: 16px;
}

.dashboard-card span {
  color: var(--muted);
  font-size: 13px;
}

.progress {
  height: 10px;
  margin-top: 20px;
  border-radius: 999px;
  background: #dce3ee;
  overflow: hidden;
}

.progress i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.hero-grid {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(760px, 62vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 18px;
  padding: 88px 38px 44px;
  transform: rotate(-2deg) translateX(24px);
  opacity: 0.92;
}

.preview-column {
  display: grid;
  gap: 18px;
  align-content: center;
}

.preview-tile {
  min-height: 150px;
  border: 1px solid rgba(24, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 42px rgba(24, 33, 31, 0.12);
  padding: 14px;
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 750;
  color: var(--leaf-dark);
  background: var(--mint);
}

.dot-row,
.bar-list,
.calendar-lines {
  display: grid;
  gap: 8px;
}

.dot-row span,
.bar-list span,
.calendar-lines span {
  display: block;
  border-radius: 999px;
  background: #d7ded8;
}

.dot-row {
  grid-template-columns: repeat(5, 1fr);
}

.dot-row span {
  height: 34px;
  border-radius: 8px;
}

.dot-row span:nth-child(2),
.bar-list span:nth-child(1) {
  background: var(--coral);
}

.dot-row span:nth-child(4),
.bar-list span:nth-child(3) {
  background: var(--gold);
}

.bar-list span {
  height: 12px;
}

.bar-list span:nth-child(2) {
  width: 72%;
  background: var(--blue);
}

.bar-list span:nth-child(4) {
  width: 58%;
}

.calendar-lines {
  grid-template-columns: 0.8fr 1.2fr;
}

.calendar-lines span {
  height: 46px;
  border-radius: 8px;
}

.calendar-lines span:nth-child(3) {
  grid-column: span 2;
  background: var(--mint);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 92px;
}

.eyebrow {
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: #3f4f49;
  font-size: clamp(18px, 2vw, 23px);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  margin-top: 58px;
  border: 1px solid rgba(24, 33, 31, 0.12);
  background: rgba(24, 33, 31, 0.12);
}

.metric {
  min-height: 96px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #eef4ff;
  border-block: 1px solid var(--line);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-header h2,
.legal h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.section-header p,
.legal-intro {
  color: var(--muted);
  font-size: 18px;
}

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

.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

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

.feature-card {
  min-height: 252px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(24, 33, 31, 0.06);
}

.feature-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 20px;
  color: white;
  font-weight: 850;
  background: var(--leaf);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 122px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: var(--surface);
}

.step-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-weight: 850;
  background: var(--ink);
}

.api-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.scope-list,
.notice-grid {
  display: grid;
  gap: 14px;
}

.scope-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scope-list article {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.scope-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.scope-list p {
  margin-bottom: 0;
  color: var(--muted);
}

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

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

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-item h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.workflow-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.product-shot {
  border: 1px solid rgba(24, 33, 31, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.shot-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 330px;
}

.shot-sidebar {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #f8faf5;
}

.shot-main {
  padding: 18px;
}

.channel {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 750;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.schedule-cell {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  padding: 10px;
  font-size: 12px;
  color: var(--muted);
}

.schedule-cell strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
}

.schedule-cell.active {
  background: var(--mint);
  border-color: rgba(37, 99, 235, 0.28);
}

.cta-band {
  padding: 70px 0;
  color: white;
  background: linear-gradient(135deg, var(--leaf-dark), #1d4ed8 58%, #0f172a);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 720px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 0;
}

.cta-band .button {
  background: white;
  color: var(--ink);
  flex: 0 0 auto;
}

.page-hero {
  padding: 86px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(232, 241, 255, 0.95), rgba(255, 255, 255, 0.72)),
    var(--paper);
}

.legal,
.callback {
  padding: 58px 0 86px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}

.legal article {
  display: grid;
  gap: 28px;
}

.legal section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 20px;
}

.notice-box,
.callback-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(24, 33, 31, 0.06);
}

.notice-box.static {
  position: static;
  min-height: 166px;
}

.notice-box {
  position: sticky;
  top: 96px;
}

.notice-box h3,
.callback-panel h2 {
  margin-bottom: 8px;
}

.notice-box p,
.callback-panel p {
  color: var(--muted);
}

.callback-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.callback-panel {
  min-height: 300px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
}

.parameter-box {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.parameter-box code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  border-radius: 8px;
  color: var(--leaf-dark);
  background: var(--mint);
}

.parameter-box p {
  margin-bottom: 0;
}

.demo-flow {
  padding: 58px 0 86px;
}

.demo-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.demo-summary,
.demo-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.demo-summary {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.demo-summary h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.demo-summary p {
  color: var(--muted);
}

.demo-status-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.demo-steps {
  display: grid;
  gap: 16px;
}

.demo-step {
  display: grid;
  gap: 16px;
  padding: 22px;
  opacity: 0.72;
}

.demo-step.active {
  opacity: 1;
}

.demo-step.complete {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.16);
}

.demo-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.demo-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.demo-step-header span {
  min-width: 66px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 850;
  background: var(--ink);
}

.demo-step-header h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.1;
}

.demo-account,
.asset-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.demo-account strong,
.asset-card strong,
.task-grid strong,
.result-panel strong {
  display: block;
  margin-bottom: 4px;
}

.demo-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-weight: 850;
  background: var(--blue);
}

.asset-preview {
  width: 90px;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.32)),
    #dbeafe;
}

.asset-preview span {
  width: 34px;
  height: 34px;
  clip-path: polygon(28% 18%, 28% 82%, 82% 50%);
  background: white;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.task-grid div,
.result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.task-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.result-panel {
  border-color: rgba(37, 99, 235, 0.24);
  background: var(--mint);
}

.result-panel.complete {
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(180deg, #e8f1ff, #f8fbff);
}

.result-panel p {
  color: var(--leaf-dark);
}

.result-panel ul {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding-left: 20px;
  color: var(--leaf-dark);
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f8fafc;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.contact-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-weight: 800;
  background: var(--blue);
}

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

.footer .container {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(247, 249, 252, 0.82)),
      linear-gradient(180deg, rgba(232, 241, 255, 0.88), rgba(255, 255, 255, 0.58));
  }

  .hero-visual {
    width: 100%;
    opacity: 0.26;
    padding: 80px 16px 24px;
    transform: scale(1.1);
  }

  .hero-grid {
    width: 100%;
    opacity: 0.28;
    transform: rotate(-2deg) scale(1.15);
    padding: 78px 16px 24px;
  }

  .hero-content {
    padding: 58px 0 72px;
  }

  .hero-metrics,
  .feature-grid,
  .feature-grid.compact,
  .split,
  .step-list,
  .api-grid,
  .scope-list,
  .notice-grid,
  .workflow,
  .legal-grid,
  .callback-layout,
  .demo-layout,
  .task-grid {
    grid-template-columns: 1fr;
  }

  .shot-body {
    grid-template-columns: 1fr;
  }

  .shot-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band .container,
  .contact-panel,
  .footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-box,
  .demo-summary {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding-inline: 9px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section,
  .legal,
  .callback {
    padding: 54px 0;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 62px 1fr;
  }

  .dashboard-main,
  .dashboard-sidebar {
    padding: 12px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
