/* ==========================================================================
   Antilapse — Quiet Luxury Design System
   Zero-build static stylesheet for antilapse.in
   ========================================================================== */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-muted: #F3F3F0;
  --border: #E8E8E5;
  --border-strong: #D6D6D1;
  --text: #111111;
  --text-secondary: #5A5A5E;
  --text-tertiary: #7A7A80;
  --gold: #B59449;
  --gold-hover: #A2833D;
  --gold-soft: rgba(181, 148, 73, 0.11);
  --gold-border: rgba(181, 148, 73, 0.55);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-card: 0 1px 2px rgba(17, 17, 17, 0.03), 0 8px 24px rgba(17, 17, 17, 0.035);
  --shadow-elevated: 0 2px 6px rgba(17, 17, 17, 0.04), 0 20px 50px rgba(17, 17, 17, 0.07);
  --shadow-phone: 0 28px 64px rgba(17, 17, 17, 0.16), 0 6px 18px rgba(17, 17, 17, 0.08);

  --container: 1160px;
  --prose: 760px;
  --nav-height: 70px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Container & Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.prose-container {
  width: 100%;
  max-width: var(--prose);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.eyebrow-gold {
  color: var(--gold);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.03em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  flex-shrink: 0;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-drawer-link {
  padding: 11px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-link:last-child {
  border-bottom: none;
}

.mobile-drawer-link.is-active {
  color: var(--text);
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 24px;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.985);
}

.btn-sm {
  font-size: 13.5px;
  padding: 10px 18px;
}

.btn-primary {
  background-color: var(--text);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #262628;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.14);
}

.btn-outline {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--text);
  background-color: #FFFFFF;
}

.btn-gold {
  background-color: var(--gold);
  color: #FFFFFF;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  box-shadow: 0 8px 22px rgba(181, 148, 73, 0.25);
}

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 18px;
  background-color: var(--surface-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: default;
  user-select: none;
}

.soon-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background-color: #E7E7E2;
  color: var(--text-secondary);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
}

.pill-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

/* ==========================================================================
   Hero Section & Interactive Android Device Showcase
   ========================================================================== */
.hero {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 56px;
}

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

.hero-copy .pill-badge {
  margin-bottom: 24px;
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.45vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-device-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Minimal Android Phone Frame (1080x2400 -> 9:20 aspect ratio) */
.android-phone {
  position: relative;
  width: 100%;
  max-width: 282px;
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(155deg, #2B2B2E 0%, #151517 45%, #1E1E21 100%);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.android-phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 20;
  border-radius: 29px;
  overflow: hidden;
  background: #111111;
}

.android-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.android-punchhole {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0D0D0F;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.35);
  z-index: 4;
  pointer-events: none;
}

.android-punchhole::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(88, 120, 175, 0.45);
}

.hero-screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease);
}

.hero-screen-dark {
  opacity: 0;
}

.android-phone.is-dark .hero-screen-dark {
  opacity: 1;
}

/* Theme Segmented Switcher */
.theme-switcher {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  gap: 4px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.theme-btn:hover {
  color: var(--text);
}

.theme-btn.is-active {
  background-color: var(--text);
  color: #FFFFFF;
}

/* ==========================================================================
   Core Features (2x2 Grid)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 20px;
}

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

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Inside Antilapse (4-Card Screenshot Showcase)
   ========================================================================== */
.showcase-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.showcase-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.showcase-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.showcase-phone-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  border: none;
  background: transparent;
  text-align: left;
}

.android-phone-mini {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 7px;
  border-radius: 28px;
  background: linear-gradient(155deg, #2B2B2E 0%, #151517 50%, #1E1E21 100%);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.android-phone-mini .android-phone-screen {
  border-radius: 21px;
}

.android-phone-mini .android-punchhole {
  top: 7px;
  width: 7px;
  height: 7px;
}

.android-phone-mini .android-punchhole::after {
  display: none;
}

.showcase-expand-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.showcase-phone-trigger:hover .showcase-expand-hint,
.showcase-phone-trigger:focus-visible .showcase-expand-hint {
  opacity: 1;
  transform: scale(1);
}

.showcase-caption h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}

.showcase-caption p {
  font-size: 13.75px;
  line-height: 1.58;
}

/* ==========================================================================
   How It Works (3-Column Strip)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.step-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

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

.step-card p {
  font-size: 14.75px;
  line-height: 1.62;
}

/* ==========================================================================
   Plans: Silver & Gold
   ========================================================================== */
.plans-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.plan-card-gold {
  background: var(--surface);
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 18px 46px rgba(181, 148, 73, 0.08);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.plan-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.plan-badge-gold {
  background: var(--gold-soft);
  border-color: rgba(181, 148, 73, 0.3);
  color: #8D702D;
}

.plan-sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.75px;
  line-height: 1.55;
  color: var(--text);
}

.plan-check {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--text);
}

.plan-card-gold .plan-check {
  color: var(--gold);
}

.plan-cta {
  width: 100%;
}

/* ==========================================================================
   Bottom CTA & Footer
   ========================================================================== */
.cta-band {
  padding: 88px 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 52px 0 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-col {
  max-width: 340px;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

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

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.footer-link:hover {
  color: var(--text);
}

.footer-link-muted {
  color: var(--text-tertiary);
  cursor: default;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}

.footer-bottom a {
  color: var(--text-secondary);
}

.footer-bottom a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ==========================================================================
   Editorial / Compliance / Support Pages
   ========================================================================== */
.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 14px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.page-meta-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.editorial-body {
  padding: 52px 0 88px;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.doc-card:last-child {
  margin-bottom: 0;
}

.doc-card h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.doc-card p,
.doc-card li {
  font-size: 15.25px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.doc-card p + p,
.doc-card p + ul,
.doc-card ul + p {
  margin-top: 12px;
}

.doc-card ul,
.doc-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-card strong {
  color: var(--text);
  font-weight: 600;
}

.doc-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.doc-link:hover {
  text-decoration-color: var(--text);
}

.code-inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text);
}

/* Support Contact Card & Collapsible FAQs */
.support-contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.support-contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.faq-heading {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform 0.22s var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Modals (Early Access Modal & Screenshot Lightbox)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 17, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.22);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.24s var(--ease);
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.modal-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.modal-card p {
  font-size: 14.75px;
  line-height: 1.62;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-note {
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0 !important;
}

/* Lightbox Modal */
.lightbox-card {
  max-width: 390px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 22px 24px 20px;
  text-align: center;
}

.lightbox-card .lightbox-phone {
  max-width: min(240px, 28vh);
  max-width: min(240px, 28dvh);
  margin: 4px auto 14px;
}

.lightbox-caption-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.lightbox-caption-sub {
  font-size: 13.75px;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-grid {
    gap: 36px;
  }

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

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn-desktop-only {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 100%;
  }

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

  .section {
    padding: 68px 0;
  }

  .cta-band {
    padding: 64px 0;
  }
}

@media (max-width: 600px) {
  .container,
  .prose-container {
    padding: 0 18px;
  }

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

  .hero-actions .btn,
  .hero-actions .btn-coming-soon {
    justify-content: center;
  }

  .android-phone {
    max-width: 280px;
  }

  .showcase-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
  }

  .showcase-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .feature-card,
  .step-card,
  .plan-card,
  .doc-card,
  .support-contact-card {
    padding: 24px 20px;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 14.75px;
  }

  .faq-answer {
    padding: 14px 20px 18px;
  }
}
