:root {
  --bg: #070d16;
  --bg-raise: #10192b;
  --ink: #e8eef8;
  --muted: #9aabc4;
  --line: rgba(226, 232, 240, 0.1);
  --line-strong: rgba(226, 232, 240, 0.18);
  --blue: #3b82f6;
  --blue-2: #93c5fd;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --font-display: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --header: 72px;
  --radius: 18px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 80% -10%, rgba(59, 130, 246, 0.18), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 40;
  padding: 8px 12px;
  border-radius: 8px;
  background: white;
  color: var(--bg);
}

.skip:focus {
  top: 12px;
}

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

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 13, 22, 0.72);
  backdrop-filter: blur(18px);
}

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

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  height: var(--header);
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
}

.nav-cta:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
}

.lang-seg {
  flex-shrink: 0;
  margin-left: 4px;
}

.lang-seg button {
  min-width: 34px;
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-button {
  display: none;
}

.hero {
  position: relative;
  padding: 72px 0 28px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 20%, black, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

h1,
h2,
.ticket-title,
.phone h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 0.94;
}

.lede,
.section-lead {
  color: var(--muted);
}

.lede {
  max-width: 46ch;
  margin-top: 22px;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}

.button-primary:hover {
  background: #60a5fa;
}

.button-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
}

.stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% -8% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 68%);
  filter: blur(8px);
}

.ticket,
.extra {
  position: relative;
  z-index: 1;
}

.ticket {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 28%),
    #101a2c;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ticket-top,
.ticket-foot,
.lines li,
.window-bar,
.phone-status,
.phone-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ticket-title {
  margin-top: 18px;
  font-size: 1.7rem;
  font-weight: 650;
  line-height: 1.15;
}

.ticket-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.ticket-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 0;
}

.ticket-meta dt,
.phone-block span,
.card .eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-meta dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.due {
  color: #fbbf24;
}

.over {
  color: #fca5a5;
  font-weight: 600;
}

.lines {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.lines li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.findings {
  min-width: 260px;
  margin-top: 0;
}

.line-hours {
  color: var(--ink);
}

.ticket-foot {
  margin-top: 16px;
}

.ticket-foot div {
  display: grid;
  gap: 2px;
}

.ticket-foot strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.chip-repair {
  background: #dbeafe;
  color: #1d4ed8;
}

.chip-ready {
  background: #d1fae5;
  color: #047857;
}

.chip-wait {
  background: #f1f5f9;
  color: #475569;
}

.chip-over {
  background: #fee2e2;
  color: #b91c1c;
}

.extra {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 28px);
  margin: -16px 0 0 22px;
  padding: 10px 14px;
  border: 1px solid rgba(199, 210, 254, 0.35);
  border-radius: 999px;
  background: #1a2140;
  color: #e0e7ff;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a5b4fc;
  box-shadow: 0 0 0 0 rgba(165, 180, 252, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(165, 180, 252, 0);
  }
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 650;
  line-height: 1.05;
}

.section-lead {
  margin-top: 14px;
  max-width: 58ch;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.step-index {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--blue-2);
  font-family: var(--font-mono);
  font-size: 12px;
}

.steps h3,
.card h3,
.plan h3,
.phone h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0c1524;
  box-shadow: var(--shadow);
}

.window-bar {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.window-bar strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.window-bar > div:first-child span {
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
}

.window-filters {
  display: flex;
  gap: 8px;
}

.window-filters span {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.card,
.plan,
.phone {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 25, 43, 0.86);
}

.card {
  padding: 22px;
}

.card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 32px;
  align-items: center;
}

.card h3 {
  margin-bottom: 10px;
}

.card p:last-child,
.plan-for,
.plan-foot {
  color: var(--muted);
  font-size: 14px;
}

.week,
.stats {
  display: grid;
  gap: 8px;
  margin: 0;
}

.week {
  grid-template-columns: repeat(5, minmax(48px, 1fr));
  min-width: 280px;
}

.stats {
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  min-width: 280px;
}

.week li,
.stats li {
  display: grid;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.week span,
.stats span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.week strong,
.stats strong {
  font-size: 13px;
  font-weight: 600;
}

.week-off strong {
  color: var(--muted);
  font-weight: 500;
}

.track {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  min-width: 160px;
}

.track::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-strong);
}

.track li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #334155;
  transform: translateY(-50%);
}

.track-on {
  color: var(--ink);
}

.track-on::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.scan-code {
  position: relative;
  overflow: hidden;
  margin: 8px 0 14px;
  padding: 14px 12px;
  border-radius: 10px;
  background: #071018;
  color: var(--blue-2);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

.scan-code::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #60a5fa;
  box-shadow: 0 0 16px #3b82f6;
  animation: scan 2.6s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 18%;
  }
  50% {
    top: 72%;
  }
}

.files {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.files li {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.portal {
  display: grid;
  grid-template-columns: 1.2fr 320px;
  gap: 48px;
  align-items: center;
}

.portal-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.portal-points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.portal-points li::before,
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.phone {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.16), transparent 30%),
    #10192b;
  box-shadow: var(--shadow);
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
}

.phone-kicker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone h3 {
  margin: 6px 0 12px;
  font-size: 1.55rem;
}

.phone-status {
  justify-content: flex-start;
}

.phone-block {
  display: grid;
  justify-content: stretch;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(7, 13, 22, 0.55);
}

.phone-block strong {
  font-size: 15px;
}

.phone-block em {
  color: #6ee7b7;
  font-style: normal;
  font-size: 13px;
}

.phone-block-ask {
  border: 1px solid rgba(199, 210, 254, 0.28);
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.phone-actions span {
  display: grid;
  place-items: center;
  min-height: 36px;
  margin: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.phone-yes {
  background: var(--blue) !important;
  color: white !important;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  max-width: none;
}

.section-head-row h2 {
  max-width: 16ch;
}

.billing {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.seg button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  background: white;
  color: #0b1c30;
}

.billing-note {
  max-width: 68ch;
  margin: -12px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.plan-pro {
  border-color: rgba(59, 130, 246, 0.65);
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.16), transparent 42%),
    #10192b;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--blue-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-for {
  min-height: 2.8em;
  margin-top: 8px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-unit {
  color: var(--muted);
  font-size: 14px;
}

.plan ul {
  display: grid;
  gap: 10px;
}

.plan li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}

.plan-foot {
  margin-top: auto;
  padding-top: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

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

.footer-row .mono {
  margin-left: auto;
}

@media (max-width: 980px) {
  .hero-grid,
  .portal,
  .plans,
  .card-wide {
    grid-template-columns: 1fr;
  }

  .card-wide {
    align-items: start;
  }

  .findings {
    min-width: 0;
    width: 100%;
  }

  .week,
  .stats {
    min-width: 0;
    width: 100%;
  }

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

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

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

  .section-head-row {
    flex-direction: column;
    align-items: start;
  }

  .section-head-row h2 {
    max-width: none;
  }

  h1 {
    max-width: 12ch;
  }

  .phone {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .nav-button {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
  }

  .nav-close-label {
    display: none;
  }

  .site-header:has(.nav-toggle:checked) .nav-open-label {
    display: none;
  }

  .site-header:has(.nav-toggle:checked) .nav-close-label {
    display: inline;
  }

  .nav-links {
    display: none;
    position: fixed;
    z-index: 25;
    inset: var(--header) 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 20px 22px;
    background: rgba(7, 13, 22, 0.96);
    backdrop-filter: blur(16px);
  }

  .site-header:has(.nav-toggle:checked) .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding-block: 12px;
  }

  .lang-seg {
    margin: 16px 0 0;
    width: 100%;
    justify-content: stretch;
  }

  .lang-seg button {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    font-size: 13px;
  }

  body:has(.nav-toggle:checked) {
    overflow: hidden;
  }

  h1 {
    font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  }

  .extra {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
  }

  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 72px 0;
  }

  .steps,
  .bento {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .window-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-scroll {
    overflow-x: visible;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  td {
    display: block;
  }

  tbody tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  tbody tr:last-child {
    border-bottom: 0;
  }

  td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border: 0;
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  tbody tr:hover td {
    background: transparent;
  }

  .footer-row .mono {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .ticket-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse,
  .scan-code::after {
    animation: none;
  }
}
