/* ---------- Tokens ---------- */
:root {
  --bg: #070c18;
  --bg-alt: #0a1122;
  --surface: #0e1729;
  --surface-raised: #121d33;
  --border: #1e2b45;
  --border-strong: #2a3a5a;
  --text: #eef2f9;
  --text-muted: #93a1bd;
  --text-faint: #5f6d8a;
  --accent: #2fd6f2;
  --accent-strong: #7ce9fa;
  --accent-dim: #1a4a58;
  --max-width: 1160px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #04121c;
  padding: 0.75rem 1rem;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.narrow {
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #04121c;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #04121c !important;
  font-weight: 700;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent-strong);
}

@media (min-width: 760px) {
  .site-nav {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 2.75rem 3.25rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
  }
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 1.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.hero-micro {
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* ---------- Hero visual: phone mock ---------- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.phone-mock {
  width: 100%;
  max-width: 300px;
  background: linear-gradient(180deg, #131f38 0%, #0c1526 100%);
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  padding: 0.9rem 0.9rem 1.3rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.phone-mock-notch {
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: var(--border-strong);
  margin: 0 auto 0.9rem;
}

.phone-mock-screen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem 1.15rem;
}

.pm-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.pm-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.pm-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.pm-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pm-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.pm-block {
  margin-bottom: 1.1rem;
}

.pm-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.pm-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.pm-route {
  font-weight: 600;
}

.pm-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.3rem;
}

.pm-arrow {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2.25rem;
  max-width: 24ch;
}

/* ---------- Problem ---------- */
.problem h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

.lede {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.scramble-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.scramble-list li {
  border: 1px dashed var(--border-strong);
  color: var(--text-faint);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.problem-close {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.problem-close-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

@media (min-width: 760px) {
  .step {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .step:last-child {
    border-right: none;
  }
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Use cases ---------- */
.use-case-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .use-case-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.use-case-list li {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .use-case-list li:nth-child(odd) {
    border-right: 1px solid var(--border);
    padding-right: 1.5rem;
  }

  .use-case-list li:nth-child(even) {
    padding-left: 1.5rem;
  }
}

.use-case-list li span::before {
  content: "\2014";
  color: var(--accent);
  margin-right: 0.75rem;
  font-weight: 700;
}

/* ---------- Why Taviloq ---------- */
.why-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .why-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
  }
}

.why-copy .section-title {
  margin-bottom: 1.25rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.why-list li {
  position: relative;
  padding: 1.05rem 0 1.05rem 1.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trust-strip ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .trust-strip ul {
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.trust-strip li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Pilot ---------- */
.pilot {
  border-bottom: none;
  padding-block: 3.5rem 4rem;
}

.pilot h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.pilot .lede {
  margin-bottom: 1.85rem;
}

.pilot-under-cta {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer a {
  text-decoration: none;
  color: var(--text-faint);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
}

/* Early Access Form */

.early-access-form {
  width: min(100%, 760px);
  margin: 32px auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field label span {
  font-weight: 400;
  opacity: 0.65;
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.early-access-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

