:root {
  color-scheme: light;
  --ink: #111820;
  --ink-2: #27313d;
  --muted: #5c6570;
  --paper: #f6f5ef;
  --paper-2: #ece8dc;
  --surface: #ffffff;
  --line: #d8dde3;
  --line-strong: #b9c2cd;
  --blue: #0057d8;
  --blue-soft: #e8f0ff;
  --green: #0f8a5f;
  --green-soft: #e9f7ef;
  --amber: #f4b000;
  --amber-soft: #fff5d7;
  --red: #c73d32;
  --violet: #6c4ce0;
  --shadow: 0 18px 44px rgba(17, 24, 32, 0.12);
  --shadow-soft: 0 10px 24px rgba(17, 24, 32, 0.08);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 32px));
  --font-body: Inter, "SF Pro Text", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-display: "Avenir Next", Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.58;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(17, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 32, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl { margin: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 12px 14px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 239, 0.92);
  border-bottom: 1px solid rgba(17, 24, 32, 0.12);
  backdrop-filter: blur(18px);
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #0c2138;
  padding: 2px;
  box-shadow: 0 8px 22px rgba(17, 24, 32, 0.14);
}
.brand-icon--footer { width: 52px; height: 52px; flex: 0 0 auto; }
.brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
}
.brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.79rem;
}
.nav-wrap,
.primary-nav,
.utility-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-wrap { gap: 16px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.91rem;
  font-weight: 700;
}
.nav-link:hover,
.nav-link.is-active {
  background: var(--surface);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line);
}
.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}
.nav-link:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.menu-toggle:focus-visible,
.footer-grid a:focus-visible {
  outline: 3px solid rgba(0, 87, 216, 0.35);
  outline-offset: 3px;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #111820 0%, #1b2430 55%, #243042 100%);
  color: white;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 92px) 0 clamp(38px, 6vw, 72px);
}
.hero h1 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 8ch;
}
.hero-lede {
  margin-top: 22px;
  max-width: 58ch;
  color: #dce5ef;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}
.eyebrow,
.eyebrow-small {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero .eyebrow,
.section--ink .eyebrow {
  color: #84b6ff;
}
.eyebrow-small { color: var(--green); font-size: 0.72rem; }
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 850;
}
.button--primary {
  background: var(--amber);
  color: #161107;
}
.button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: inherit;
}
.page-hero .button--secondary,
.section--white .button--secondary,
.section--paper .button--secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-proof span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #dce5ef;
  font-size: 0.86rem;
  font-weight: 750;
}
.target-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.target-icon-tile {
  width: 78px;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.target-icon-tile img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}
.target-icon-tile figcaption {
  color: currentColor;
  opacity: 0.82;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
}
.hero-brand-art {
  margin: 0;
  justify-self: center;
  width: min(100%, 620px);
  filter: drop-shadow(0 38px 86px rgba(0, 0, 0, 0.36));
}
.hero-brand-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.visual-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
}
.screen-panel {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #0c1117;
  padding: 10px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
}
.screen-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
  background: #f6f5ef;
}
.mock-ui {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(0, 87, 216, 0.08), transparent 42%),
    #f8fafc;
  color: var(--ink);
}
.mock-ui__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce3ec;
}
.mock-ui__bar span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
}
.mock-ui__bar strong {
  font-size: 0.78rem;
}
.mock-ui__bar em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}
.mock-ui__hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  border: 1px solid #cfdbf4;
}
.mock-ui__hero span {
  color: var(--ink-2);
  font-weight: 850;
}
.mock-ui__hero strong {
  color: var(--blue);
}
.mock-ui__rows {
  display: grid;
  gap: 9px;
  align-content: start;
}
.mock-ui__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34%;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid #e2e7ee;
}
.mock-ui__row span {
  min-width: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 760;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-ui__row i {
  height: 8px;
  width: calc(42% + var(--row) * 9%);
  justify-self: end;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.mock-ui--phone {
  aspect-ratio: 0.56;
  gap: 10px;
  padding: 12px;
}
.mock-ui--tablet {
  aspect-ratio: 4 / 3;
}
.mock-ui--phone .mock-ui__bar {
  grid-template-columns: auto 1fr;
}
.mock-ui--phone .mock-ui__bar em {
  display: none;
}
.mock-ui--phone .mock-ui__hero {
  display: grid;
  gap: 4px;
}
.mock-ui--phone .mock-ui__row {
  grid-template-columns: 1fr;
}
.mock-ui--phone .mock-ui__row i {
  width: 100%;
  justify-self: stretch;
}
.screen-panel figcaption {
  display: grid;
  gap: 2px;
  padding: 10px 2px 0;
}
.screen-panel figcaption strong {
  font-size: 0.9rem;
}
.screen-panel figcaption span {
  color: #c7d1dd;
  font-size: 0.8rem;
}
.screen-panel--tablet {
  grid-row: 1 / span 2;
  width: min(100%, 520px);
}
.screen-panel--phone {
  width: 188px;
}
.screen-panel--overlap-a {
  position: static;
}
.screen-panel--overlap-b {
  position: static;
}
.media-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}
.media-stack .screen-panel--tablet { flex: 1 1 420px; }
.media-stack .screen-panel--phone { flex: 0 0 190px; }

.metric-strip {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}
.metric-grid div {
  padding: 22px;
  border-left: 1px solid var(--line);
}
.metric-grid div:last-child { border-right: 1px solid var(--line); }
.metric-grid strong {
  display: block;
  font-size: 1.1rem;
}
.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(62px, 8vw, 104px) 0;
}
.section--white { background: var(--surface); }
.section--paper { background: var(--paper); }
.section--ink {
  background: #111820;
  color: white;
}
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 32px;
}
.section-header h2,
.page-hero h1,
.cta-band h2,
.split h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.3vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.section-header p,
.split p,
.page-hero p,
.cta-band p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 62ch;
}
.section--ink .section-header p,
.section--ink .content-card p,
.section--ink .target-card p,
.section--ink .target-meta dd {
  color: #c7d1dd;
}
.card-grid,
.target-grid,
.pricing-grid,
.support-grid,
.legal-card-grid {
  display: grid;
  gap: 16px;
}
.card-grid--three,
.pricing-grid,
.support-grid,
.legal-card-grid,
.target-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card,
.target-card,
.price-card,
.support-card,
.legal-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.section--ink .target-card,
.section--ink .content-card {
  background: #182230;
  border-color: rgba(255, 255, 255, 0.14);
}
.content-card h3,
.target-card h3,
.price-card h3,
.support-card h3 {
  margin-top: 8px;
  font-size: 1.24rem;
  line-height: 1.18;
}
.content-card p,
.target-card p,
.price-card p,
.support-card p {
  margin-top: 10px;
  color: var(--muted);
}
.target-card__top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.target-card__top img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
  flex: 0 0 auto;
  box-shadow: var(--shadow-soft);
}
.target-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.target-meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(128, 140, 153, 0.28);
}
.target-meta dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.target-meta dd { color: var(--ink-2); }
.target-meta a {
  color: var(--blue);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section--ink .target-meta a { color: #9cc7ff; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split h2 { margin-bottom: 18px; }
.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
}
.section--ink .feature-list li { color: #dce5ef; }

.page-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f1efe6 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  padding: clamp(58px, 8vw, 100px) 0;
}
.page-hero h1 { max-width: 13ch; }
.page-hero p { margin-top: 20px; }

.price-card--featured {
  border-color: rgba(0, 87, 216, 0.32);
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-soft) 100%);
}
.support-card a,
.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-copy {
  display: grid;
  gap: 16px;
  max-width: 920px;
}
.legal-block h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.08;
}
.legal-block p {
  margin-top: 12px;
  color: var(--ink-2);
}

.cta-band {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #182230;
  color: white;
}
.cta-band p { color: #dce5ef; margin-top: 16px; }

.site-footer {
  position: relative;
  z-index: 1;
  padding: 42px 0 34px;
  background: var(--ink);
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-brand h2 {
  font-size: 1.1rem;
}
.footer-brand p,
.footer-meta {
  color: #c7d1dd;
}
.footer-grid h3 {
  margin: 0 0 10px;
  color: #93a6ba;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-grid a {
  display: block;
  color: #ecf2f8;
  padding: 4px 0;
  font-size: 0.94rem;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  font-size: 0.84rem;
}
.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.redirect-page a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 1120px) {
  .hero__grid,
  .section-header,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .visual-board { min-height: 560px; }
  .card-grid--three,
  .pricing-grid,
  .support-grid,
  .legal-card-grid,
  .target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .brand-lockup { min-width: 0; }
  .nav-wrap {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .site-header[data-menu-open="true"] .nav-wrap { display: flex; }
  .primary-nav,
  .utility-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link { justify-content: flex-start; }
  .hero h1 { font-size: clamp(3.6rem, 15vw, 6.2rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid div,
  .metric-grid div:last-child {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  :root { --shell: min(100vw - 24px, 1180px); }
  .site-header__inner { min-height: 70px; }
  .brand-copy span { display: none; }
  .hero__grid { padding-top: 42px; }
  .hero-brand-art {
    width: 100%;
    max-width: 310px;
    transform: translateX(-22px);
  }
  .target-icon-row { gap: 10px; }
  .target-icon-tile { width: 68px; }
  .target-icon-tile img { width: 56px; height: 56px; }
  .visual-board {
    min-height: auto;
    display: grid;
    gap: 14px;
  }
  .screen-panel--overlap-a,
  .screen-panel--overlap-b {
    position: static;
  }
  .screen-panel--phone,
  .media-stack .screen-panel--phone {
    width: min(100%, 220px);
    flex-basis: min(100%, 220px);
  }
  .screen-panel--tablet,
  .media-stack .screen-panel--tablet {
    width: 100%;
    flex-basis: 100%;
  }
  .card-grid--three,
  .card-grid--two,
  .pricing-grid,
  .support-grid,
  .legal-card-grid,
  .target-grid {
    grid-template-columns: 1fr;
  }
  .target-card__top img {
    width: 66px;
    height: 66px;
  }
  .footer-grid { gap: 22px; }
}
