:root {
  color-scheme: light;
  --bg: #f7fbff;
  --bg-strong: #ffffff;
  --bg-soft: #eef7ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-elevated: #ffffff;
  --text: #0b1830;
  --text-soft: #40516d;
  --text-muted: #657590;
  --border: rgba(18, 42, 74, 0.14);
  --border-strong: rgba(18, 42, 74, 0.22);
  --accent: #16c6cf;
  --accent-strong: #0d7fa7;
  --accent-soft: rgba(22, 198, 207, 0.13);
  --navy: #08244d;
  --shadow: 0 22px 70px rgba(8, 36, 77, 0.14);
  --shadow-soft: 0 12px 34px rgba(8, 36, 77, 0.1);
  --focus: #00bcd4;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1160px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071426;
  --bg-strong: #091b31;
  --bg-soft: #0c213c;
  --surface: rgba(11, 31, 55, 0.82);
  --surface-solid: #0d223c;
  --surface-elevated: #102a4a;
  --text: #f6fbff;
  --text-soft: #c5d6e8;
  --text-muted: #91a7bd;
  --border: rgba(151, 197, 224, 0.18);
  --border-strong: rgba(151, 197, 224, 0.28);
  --accent: #31d4dc;
  --accent-strong: #73ecf2;
  --accent-soft: rgba(49, 212, 220, 0.15);
  --navy: #041121;
  --shadow: 0 28px 76px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.24);
  --focus: #63f1f6;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(22, 198, 207, 0.2), transparent 28rem),
    linear-gradient(180deg, var(--bg-strong), var(--bg) 34rem, var(--bg-soft));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent, rgba(22, 198, 207, 0.08), transparent),
    radial-gradient(circle at 82% 18%, rgba(8, 80, 150, 0.18), transparent 24rem);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-strong) 82%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 720;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

.nav-link,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  color: var(--text-soft);
  font: inherit;
  font-size: 0.94rem;
}

.nav-link {
  padding: 8px 13px;
}

.nav-link[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
}

.theme-toggle {
  width: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.theme-toggle:hover,
.nav-link:hover {
  background: var(--accent-soft);
  color: var(--text);
  text-decoration: none;
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid currentColor;
}

.theme-toggle-icon::after {
  position: absolute;
  top: -2px;
  right: -5px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--surface-solid);
  content: "";
}

:root[data-theme="dark"] .theme-toggle-icon::after {
  transform: translate(-7px, 4px);
  background: var(--surface);
}

.main {
  overflow: hidden;
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  align-items: center;
  gap: 56px;
  width: min(100% - 32px, 1280px);
  min-height: calc(100svh - 68px);
  padding-top: 48px;
  padding-bottom: 52px;
}

.hero-copy {
  max-width: 760px;
}

.hero-icon {
  width: 116px;
  height: 116px;
  margin-bottom: 28px;
  border-radius: 26px;
  filter: drop-shadow(0 22px 38px rgba(8, 36, 77, 0.18));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 820;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(3.4rem, 6.7vw, 6.2rem);
}

.tagline {
  margin: 20px 0 0;
  max-width: 800px;
  color: var(--text);
  font-size: clamp(1.55rem, 3.4vw, 3.05rem);
  font-weight: 760;
  line-height: 1.12;
}

.subheading {
  margin: 22px 0 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #5fe7ed);
  color: #041121;
  box-shadow: 0 16px 38px rgba(15, 166, 183, 0.28);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-image {
  width: 100%;
  max-width: 680px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.features {
  display: grid;
  gap: 34px;
  padding-top: 36px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: 30px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, var(--accent) 12%), var(--surface)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card:nth-child(even) {
  grid-template-columns: minmax(320px, 1.18fr) minmax(0, 0.82fr);
}

.feature-card:nth-child(even) .feature-copy {
  order: 2;
}

.feature-card:nth-child(even) .screenshot-frame {
  order: 1;
}

.feature-copy {
  padding: 10px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 780;
}

.feature-copy h3 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.feature-copy p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 22px 50px rgba(8, 36, 77, 0.2);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.info-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.info-card h2,
.info-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.info-card p {
  margin: 14px 0 0;
  color: var(--text-soft);
}

.pill-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

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

.pill-list li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--text-soft);
  font-size: 0.94rem;
}

.plain-list {
  display: grid;
  gap: 10px;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
}

.plain-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.page-hero {
  max-width: 840px;
  padding-top: 78px;
  padding-bottom: 42px;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}

.page-hero p {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
}

.content-grid {
  display: grid;
  gap: 20px;
  padding-top: 26px;
}

.content-section {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.content-section h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.content-section p {
  margin: 14px 0 0;
  color: var(--text-soft);
}

.issue-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.issue {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
}

.issue h3 {
  font-size: 1.02rem;
}

.issue p {
  margin-top: 6px;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--text-soft);
}

.steps li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 780;
  content: counter(steps);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-strong) 76%, transparent);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg-strong);
  font-weight: 720;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero,
  .feature-card,
  .feature-card:nth-child(even),
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
  }

  .feature-card:nth-child(even) .feature-copy,
  .feature-card:nth-child(even) .screenshot-frame {
    order: initial;
  }

  .hero-product-image {
    max-width: 640px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .section {
    width: min(100% - 24px, var(--max-width));
    padding: 54px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 22px;
    border-radius: 21px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-card,
  .info-card,
  .content-section {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-product-image {
    transform: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
