:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --ink: #0a0a0a;
  --muted: #626262;
  --line: #e8e8e8;
  --line-strong: #111111;
  --panel: #ffffff;
  --panel-dark: #0a0a0a;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1080px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg);
  background-size: 88px 88px;
}

.ambient {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-grid {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand,
.nav-link,
.header-cta,
.footer-link,
.btn,
.link-actions a,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand {
  width: fit-content;
}

.brand-logo {
  width: 140px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-link,
.header-cta,
.footer-link,
.btn,
.link-actions a,
.copy-btn {
  min-height: 42px;
  border-radius: 999px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-link {
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.header-cta,
.btn-primary,
.link-actions a {
  background: var(--ink);
  color: #fff;
}

.header-cta {
  margin-left: 6px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 760;
}

.header-cta:hover,
.btn-primary:hover,
.link-actions a:hover {
  transform: translateY(-1px);
  background: #2a2a2a;
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.burger-btn.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
  padding: 62px 0 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.control-tower,
.link-console,
.service-card,
.workflow-card,
.faq-item {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 500px;
  padding: clamp(28px, 4.4vw, 56px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  pointer-events: none;
}

.hero-copy::after {
  content: "01";
  position: absolute;
  top: 28px;
  right: clamp(28px, 4.4vw, 56px);
  color: #dfdfdf;
  font-size: clamp(58px, 10vw, 124px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.08em;
  z-index: 0;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 900;
}

.hero-text-stack {
  max-width: 720px;
  margin-top: 24px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
}

strong {
  color: var(--ink);
  font-weight: 780;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}

.control-tower {
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background: var(--panel-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.control-tower::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  pointer-events: none;
}

.tower-topline {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.tower-topline span {
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
}

.tower-orbit {
  min-height: 190px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.tower-orbit::before,
.tower-orbit::after,
.tower-orbit i {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
}

.tower-orbit::before {
  width: 184px;
  height: 184px;
}

.tower-orbit::after {
  width: 116px;
  height: 116px;
}

.tower-orbit i:nth-child(1) {
  width: 52px;
  height: 52px;
  background: #fff;
}

.tower-orbit i:nth-child(2) {
  width: 11px;
  height: 11px;
  top: 34px;
  right: 60px;
  background: #fff;
}

.tower-orbit i:nth-child(3) {
  width: 11px;
  height: 11px;
  left: 48px;
  bottom: 48px;
  background: #fff;
}

.control-tower h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, .78);
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: currentColor;
}

.section {
  padding: 44px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 20px;
}

.section-head-wide {
  max-width: 860px;
}

.section-head h2,
.workflow-card h2 {
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 900;
}

.section-head p,
.workflow-card p,
.service-card p,
.faq-item p {
  color: var(--muted);
}

.section-head p {
  margin-top: 12px;
  font-size: 17px;
}

.link-console {
  border-radius: var(--radius-lg);
  padding: 14px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.console-glow {
  display: none;
}

.link-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.link-item span {
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-item span:empty::before {
  content: "https:///";
}

.link-actions {
  display: flex;
  gap: 8px;
}

.link-actions a,
.copy-btn {
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.copy-btn {
  background: #fff;
  color: var(--ink);
}

.copy-btn:hover {
  background: var(--bg-soft);
}

.copy-btn.is-copied {
  background: var(--ink);
  color: #fff;
}

.copy-btn.is-copied::after {
  content: " ✓";
}

.notice {
  min-height: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.service-card,
.workflow-card,
.faq-item {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}

.service-card-large {
  min-height: 0;
}

.card-accent {
  width: 48px;
  height: 7px;
  margin-bottom: 42px;
  background: var(--ink);
}

.accordion-card {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.accordion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .09);
}

.accordion-heading {
  margin: 0;
}

.accordion-trigger {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: start;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger span:first-child {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 900;
}

.accordion-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 34px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform .22s ease;
}

.accordion-icon::after {
  transform: rotate(90deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .32s ease, opacity .22s ease, margin-top .22s ease;
}

.accordion-card.is-open .accordion-panel {
  margin-top: 16px;
  opacity: 1;
}

.accordion-card.is-open .accordion-icon::after {
  transform: rotate(0deg);
}

.service-card p + p,
.workflow-card p + p,
.faq-item p + p {
  margin-top: 12px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: 16px;
}

.workflow-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-card-list {
  background: var(--panel-dark);
  color: #fff;
}

.workflow-card-list p,
.workflow-card-list .feature-list li {
  color: rgba(255, 255, 255, .76);
}

.workflow-card-list strong {
  color: #fff;
}

.compact-list {
  margin-top: 8px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-item:first-child {
  grid-column: 1 / -1;
}

.faq-item .accordion-trigger span:first-child {
  font-size: clamp(22px, 2.4vw, 30px);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
  background: #fff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-row p {
  color: var(--muted);
  font-size: 14px;
}

.footer-link {
  padding: 0 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.footer-link:hover {
  background: var(--ink);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .42s ease, transform .42s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.copy-buffer {
  position: fixed;
  left: -9999px;
  top: 0;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-grid {
    min-height: 64px;
    grid-template-columns: auto auto;
  }

  .burger-btn {
    display: block;
  }

  .header-actions {
    position: fixed;
    top: 74px;
    left: 14px;
    right: 14px;
    display: grid;
    justify-content: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .header-actions.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .header-cta {
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .hero-section {
    padding: 34px 0 24px;
  }

  .hero-layout,
  .service-grid,
  .workflow-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 32px 24px;
  }

  .hero-copy::before {
    inset: 14px;
  }

  .hero-copy::after {
    top: 18px;
    right: 24px;
    font-size: 68px;
  }

  .control-tower {
    min-height: 360px;
  }

  .tower-orbit {
    min-height: 170px;
  }

  .section {
    padding: 34px 0;
  }

  .card-accent {
    margin-bottom: 30px;
  }

  .faq-item:first-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    background-size: 64px 64px;
  }

  .brand-logo {
    width: 132px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  .eyebrow {
    max-width: 100%;
  }

  .hero-text-stack {
    font-size: 15px;
  }

  .hero-actions,
  .link-actions,
  .footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .link-actions a,
  .copy-btn,
  .footer-link {
    width: 100%;
  }

  .link-item {
    grid-template-columns: 1fr;
  }

  .control-tower,
  .service-card,
  .workflow-card,
  .faq-item,
  .link-console {
    border-radius: 20px;
  }

  .accordion-trigger {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
  }

  .accordion-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .footer-row {
    text-align: center;
  }
}
