:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #536178;
  --line: #dbe3ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #0b1220;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #059669;
  --amber: #b7791f;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(84svh - 72px);
  padding: 80px 40px 96px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/images/phone-devices.png");
  background-position: right 8% center;
  background-repeat: no-repeat;
  background-size: auto 92%;
  opacity: 0.42;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 18, 32, 0.78);
  content: "";
}

.hero-content {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7dd3fc;
}

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

h1 {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 5rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.45rem;
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-copy {
  width: 100%;
  max-width: 680px;
  margin-bottom: 34px;
  color: #dbeafe;
  font-size: 1.22rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: #94a3b8;
}

.button.wide {
  width: 100%;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #bae6fd;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-metrics span {
  padding: 9px 12px;
  border: 1px solid rgba(186, 230, 253, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.band,
.section,
.download-band {
  padding: 92px 40px;
}

.intro-band,
.feature-band {
  background: var(--soft);
}

.section-grid,
.section-heading,
.workflow-grid,
.feature-grid,
.pricing-layout,
.download-grid,
.faq-list {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.section-grid p:last-child,
.section-heading p,
.pricing-note p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.phone-shot {
  padding: 16px;
  background: #e8eef7;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-shot img {
  width: 100%;
  border-radius: 8px;
}

.workflow-copy {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #ecfdf5;
  color: var(--green);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: #334155;
  font-size: 1.12rem;
}

.terminal-panel {
  margin-top: 12px;
  padding: 22px;
  overflow-x: auto;
  background: #0b1220;
  color: #d9f99d;
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}

.terminal-panel p {
  margin: 0 0 8px;
  white-space: nowrap;
}

.terminal-panel p:last-child {
  margin-bottom: 0;
}

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

.feature-card,
.pricing-card,
.download-card,
.pricing-note,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card,
.download-card {
  padding: 26px;
}

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

.download-card .download-meta {
  margin-top: 16px;
  color: #64748b;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.pricing-section {
  background: #ffffff;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  padding: 32px;
  box-shadow: var(--shadow);
}

.plan-name {
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.price {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.price-note,
.trial {
  color: var(--muted);
}

.trial {
  margin-bottom: 24px;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  color: #334155;
}

.pricing-card li::before {
  margin-right: 10px;
  color: var(--green);
  font-weight: 900;
  content: "+";
}

.pricing-note {
  display: grid;
  align-content: center;
  padding: 34px;
  background: #fefce8;
  border-color: #fde68a;
}

.download-band {
  background: #0f172a;
  color: #ffffff;
}

.download-band .section-kicker {
  color: #93c5fd;
}

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

.recommended-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto 20px;
  padding: 28px;
  background: #eaf2ff;
  color: var(--ink);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.recommended-download p {
  margin-bottom: 0;
  color: #334155;
}

.recommended-download .download-meta {
  margin-top: 14px;
  color: #64748b;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.download-card {
  background: #ffffff;
  color: var(--ink);
}

.download-card.is-recommended {
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.download-card .button {
  margin-top: 22px;
}

.platform {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  padding-top: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  color: #64748b;
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 18px 22px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
    font-size: 0.9rem;
  }

  .hero {
    width: 100%;
    min-height: auto;
    padding: 72px 22px 78px;
  }

  .hero::before {
    background-position: right -60px bottom -60px;
    background-size: auto 72%;
    opacity: 0.24;
  }

  .hero::after {
    background: rgba(11, 18, 32, 0.9);
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .band,
  .section,
  .download-band {
    padding: 72px 22px;
  }

  .section-grid,
  .workflow-grid,
  .pricing-layout,
  .download-grid,
  .recommended-download {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    gap: 40px;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    display: grid;
    gap: 14px;
  }

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

  .hero {
    padding-top: 58px;
  }

  .hero-content,
  .hero-copy,
  .hero-actions,
  .hero-metrics {
    max-width: calc(100vw - 44px);
  }

  .hero-copy {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy,
  .section-grid p:last-child,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-actions,
  .download-card .button,
  .recommended-download .button {
    width: 100%;
  }

  .hero-actions .button,
  .pricing-card .button,
  .download-card .button {
    width: 100%;
  }

  .price {
    font-size: 3rem;
  }
}
