/* Marketing site layout. Design tokens and shared components live in base.css. */

/* ---------- header navigation ---------- */
.main-nav {
  display: none;
  gap: 0.25rem;
  margin-left: 1.5rem;
}
.main-nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 0.6rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--foreground);
  background: var(--surface-2);
}
.header-cta {
  display: none;
}
.mobile-menu {
  position: relative;
}
.mobile-menu summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--surface);
  cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 14rem;
  display: grid;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}
.mobile-menu nav a {
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu nav a:hover {
  background: var(--surface-2);
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .mobile-menu {
    display: none;
  }
}

/* ---------- common blocks ---------- */
.narrow {
  max-width: 50rem;
}
.center {
  text-align: center;
}
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-block: 1px solid var(--border);
}
.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 0.9rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.eyebrow .icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}
.grad {
  background-image: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
}
.center .lead {
  margin-inline: auto;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.cta-center {
  justify-content: center;
}
.check-list,
.plain-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.check-list .icon {
  color: var(--primary);
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
}
.plain-list li {
  padding-left: 1.1rem;
  position: relative;
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.hero::before {
  width: 36rem;
  height: 36rem;
  right: -10rem;
  top: -8rem;
  background: var(--brand-from);
  opacity: 0.2;
}
.hero::after {
  width: 26rem;
  height: 26rem;
  left: -9rem;
  bottom: -6rem;
  background: var(--brand-to);
  opacity: 0.14;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 1.2rem 0 1.2rem;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}
.hero-points li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.hero-points .icon {
  color: var(--primary);
  width: 1.1rem;
  height: 1.1rem;
}
@media (min-width: 980px) {
  .hero {
    padding: 5.5rem 0 4.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.08fr;
  }
}

/* browser frame around screenshots */
.frame {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: var(--surface);
  box-shadow:
    var(--shadow),
    0 30px 80px -30px rgb(1 218 129 / 0.25);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.frame-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--border);
}
.frame .shot-figure {
  margin: 0;
}
.frame .shot {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.frame figcaption {
  display: none;
}

/* ---------- trust strip ---------- */
.trust {
  border-block: 1px solid var(--border);
  padding: 1.4rem 0;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: center;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}
.trust-list li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.trust-list .icon {
  color: var(--primary);
  width: 1.05rem;
  height: 1.05rem;
}

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}
.feature h3 {
  font-size: 1.12rem;
  margin: 1rem 0 0.5rem;
}
.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
}
.feature-icon .icon {
  width: 1.4rem;
  height: 1.4rem;
}

/* ---------- steps + compare ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 860px) {
  .steps:not(.steps-stack) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
}
.step h3 {
  font-size: 1.12rem;
  margin: 0.9rem 0 0.5rem;
}
.step p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background-image: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  color: #03140c;
  font-weight: 800;
}
.compare {
  display: grid;
  gap: 1.1rem;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 760px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}
.compare h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.compare h3 .icon {
  color: var(--primary);
}
.compare .plain-list {
  margin: 0;
}

/* ---------- showcase ---------- */
.showcase {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.showcase-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
}
.showcase-copy p {
  color: var(--muted);
}
.showcase-copy .check-list {
  color: var(--foreground);
}
@media (min-width: 980px) {
  .showcase {
    grid-template-columns: 1fr 1.1fr;
  }
  .showcase-reverse {
    grid-template-columns: 1.1fr 1fr;
  }
  .showcase-reverse .showcase-visual {
    order: -1;
  }
}
.phones {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
  max-width: 54rem;
}
.phone {
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.phone .shot-figure {
  margin: 0;
}
.phone .shot {
  border-radius: 1.2rem;
  border: 0;
  box-shadow: none;
}
.phone figcaption {
  display: none;
}
@media (max-width: 560px) {
  .phones {
    gap: 0.6rem;
  }
  .phone {
    padding: 0.3rem;
    border-radius: 1rem;
  }
  .phone .shot {
    border-radius: 0.7rem;
  }
}

.code-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--code-bg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.code-card-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
}
.code-card-bar .dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border);
}
.code-card-bar span:last-child {
  margin-left: 0.5rem;
}
.code-card pre {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 1.2rem 1.3rem;
  font-size: 0.92rem;
}

/* ---------- limits ---------- */
.limits {
  display: grid;
  gap: 0.9rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .limits {
    grid-template-columns: 1fr 1fr;
  }
}
.limit {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  color: var(--muted);
}
.limit .icon {
  color: var(--muted);
  margin-top: 0.2rem;
}
.limit strong {
  color: var(--foreground);
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: 0.7rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0 1.3rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  flex: none;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details > p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

/* ---------- call to action band ---------- */
.cta-band {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  color: #f2f4f7;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 22rem;
  background: radial-gradient(closest-side, rgb(1 218 129 / 0.35), transparent);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}
.cta-band p {
  color: #9aa3b2;
  font-size: 1.1rem;
}
.cta-band .btn-secondary {
  background: rgb(255 255 255 / 0.06);
  color: #f2f4f7;
  border-color: rgb(255 255 255 / 0.18);
}
.cta-band .btn-secondary:hover {
  background: rgb(255 255 255 / 0.12);
}

/* ---------- inner pages ---------- */
.page-hero {
  padding: 4rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  right: -8rem;
  top: -12rem;
  border-radius: 50%;
  background: var(--brand-from);
  opacity: 0.14;
  filter: blur(110px);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 1.1rem 0 1rem;
}
.not-found-logo {
  margin: 0 auto 1.5rem;
}
.prose h2 {
  font-size: 1.7rem;
  margin: 2.8rem 0 1rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.5rem;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose strong {
  color: var(--foreground);
}
.prose .check-list li,
.prose .plain-list li {
  color: var(--foreground);
}
.limits-list li {
  color: var(--muted);
}
.included-grid,
.setup-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 720px) {
  .included-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 980px) {
  .setup-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.included-grid h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.included-grid h3 .icon {
  color: var(--primary);
}
.included-grid p {
  margin: 0;
  color: var(--muted);
}
.setup h2 {
  font-size: 1.3rem;
  margin: 1rem 0 0.6rem;
}
.setup p {
  color: var(--muted);
}
.setup-meta {
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  margin-top: 1rem;
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 1.3rem;
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.3rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: color-mix(in srgb, var(--primary) 65%, var(--border));
  box-shadow:
    var(--shadow),
    0 24px 70px -30px rgb(1 218 129 / 0.45);
}
.price-card h3 {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 600;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.8rem 0 0.4rem;
}
.price .amount {
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price .per {
  color: var(--muted);
  font-weight: 500;
}
.price-note {
  color: var(--muted);
  font-size: 0.93rem;
  min-height: 3.4rem;
}
.price-card .check-list {
  margin: 1rem 0 1.8rem;
  font-size: 0.97rem;
}
.price-cta {
  margin-top: auto;
  width: 100%;
}
.badge {
  position: absolute;
  top: -0.8rem;
  right: 1.5rem;
  margin: 0;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  color: #03140c;
  font-size: 0.82rem;
  font-weight: 800;
}
.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-disabled:hover,
.btn-disabled:active {
  transform: none;
  filter: none;
}
.pricing-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
}
.pricing-section {
  padding-top: 1rem;
}

/* ---------- footer extras ---------- */
.footer-blurb {
  margin: 1rem 0 0;
  max-width: 22rem;
}
.site-footer .brand {
  color: var(--foreground);
}

.theme-switch,
.mobile-menu,
.header-cta {
  flex: none;
}
@media (max-width: 419px) {
  .header-inner {
    gap: 0.6rem;
  }
  .site-header .theme-switch button {
    width: 1.9rem;
    height: 1.9rem;
  }
}
