/* ── Color tokens ── */
:root {
  --bg:           #0f172a;
  --surface:      #1e293b;
  --border:       #334155;
  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --accent:       #38bdf8;
  --accent-dark:  #0284c7;
  --on-accent:    #04293a;
  --accent-soft:  rgba(56, 189, 248, 0.14);
  --logo-accent:  var(--present);

  --present:      #22c55e;
  --absent:       #ef4444;
  --late:         #f59e0b;
  --excused:      #a855f7;
  --no-class:     #64748b;

  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --container:    1200px;
  --section-gap:  96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

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

section { padding: var(--section-gap) 0; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
p { max-width: 65ch; }

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 52ch; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover { background: #7dd3fc; }

.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: var(--radius-sm); }

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: rgba(56, 189, 248, 0.1); }

/* Header, family bar, footer, page hero, contact card, manual layout and the
   CTA banner's structure live in /assets/shell.css. This file only skins them. */

/* App-tile treatment for the header and footer icon: the SVG's own navy
   background matches the page, so give it an edge so it reads as a tile. */
.logo-mark {
  background: #0f172a;
  box-shadow: 0 0 0 1px #334155, 0 0 0 3px rgba(56, 189, 248, 0.08), 0 6px 14px rgba(0, 0, 0, 0.45);
}

/* ── Hero ── */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 auto 40px;
  max-width: 48ch;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-visual {
  margin: 40px auto 0;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
}

.hero-card-img {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.hero-laptop-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-visual { flex-direction: column; max-width: 280px; }
  .hero-laptop-img { max-width: 100%; }
}

/* ── Swipe card mockup ── */
.swipe-card-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}
.swipe-card-demo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--present), var(--accent));
}

.student-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.student-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--on-accent);
  margin: 0 auto 12px;
}
.student-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.student-meta { font-size: 13px; color: var(--text-muted); }
.student-absences {
  display: inline-block;
  background: rgba(239,68,68,0.15);
  color: var(--absent);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 8px;
}

.swipe-hints {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.swipe-hint-left { color: var(--absent); }
.swipe-hint-right { color: var(--present); }
.swipe-hint-down { color: var(--late); }

.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.swipe-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid;
}
.swipe-btn-absent { border-color: var(--absent); color: var(--absent); background: rgba(239,68,68,0.1); }
.swipe-btn-late   { border-color: var(--late);   color: var(--late);   background: rgba(245,158,11,0.1); }
.swipe-btn-present{ border-color: var(--present); color: var(--present); background: rgba(34,197,94,0.1); }

/* ── How it works ── */
.how-it-works { background: var(--surface); }
.how-it-works .section-header { text-align: center; margin-bottom: 60px; }
.how-it-works .section-subtitle { margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56,189,248,0.12);
  border: 2px solid rgba(56,189,248,0.3);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon { font-size: 40px; margin-bottom: 16px; color: var(--accent); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }

.step-gif {
  display: block;
  margin: 24px auto 0;
  width: 100%;
  max-width: 220px;
  max-height: 260px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ── Screenshots ── */
.screenshots-section .section-header { text-align: center; margin-bottom: 48px; }
.screenshots-section .section-subtitle { margin: 0 auto; }

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshot-img {
  flex: 0 0 auto;
  width: 240px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  scroll-snap-align: start;
}

/* ── Classroom carousel ── */
.classroom-carousel { width: 100%; }

.carousel-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel-track {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1290 / 2796;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.is-active { background: var(--accent); }

/* ── Features grid ── */
.features-section .section-header { text-align: center; margin-bottom: 60px; }
.features-section .section-subtitle { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(56,189,248,0.4);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(56,189,248,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ── Social proof ── */
.social-proof {
  background: var(--surface);
  text-align: center;
}

.proof-stat {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent);
}
.proof-label { color: var(--text-muted); font-size: 1rem; margin: 0 auto 48px; }

.testimonial {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  max-width: none;
}
.testimonial blockquote::before { content: '\201C'; color: var(--accent); font-size: 1.5em; line-height: 0; vertical-align: -0.3em; }
.testimonial cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}
.cite-name { font-weight: 600; color: var(--text); }

/* ── Pricing summary ── */
.pricing-summary { text-align: center; }
.pricing-summary .section-header { margin-bottom: 48px; }

.price-card {
  max-width: 400px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.price-badge {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.price-period { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

.price-features {
  text-align: left;
  margin-bottom: 32px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features .check { color: var(--present); flex-shrink: 0; display: flex; align-items: center; }

.price-cta { width: 100%; text-align: center; justify-content: center; }
.price-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* ── FAQ ── */
.faq-section { background: var(--surface); }
.faq-section .section-header { text-align: center; margin-bottom: 56px; }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer p { max-width: none; padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Prose (terms/privacy) ── */
.prose {
  max-width: 720px;
  padding: 64px 0;
}
.prose h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 12px; }
.prose p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.prose ul { color: var(--text-muted); padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.prose ul li { margin-bottom: 8px; line-height: 1.7; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: var(--on-accent); }
.prose strong { color: var(--text); font-weight: 600; }

/* ── Account deletion form ── */
.account-deletion-form {
  max-width: 620px;
  margin: 28px 0 40px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.account-deletion-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}
.account-deletion-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  outline: none;
}
.account-deletion-form input::placeholder { color: var(--text-muted); opacity: 0.7; }
.account-deletion-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14); }
.account-deletion-form-help {
  margin: 8px 0 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.account-deletion-form-submit { width: 100%; justify-content: center; }
.account-deletion-form .btn-sending { display: none; }
.account-deletion-form-feedback {
  max-width: 620px;
  margin: -16px 0 40px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.account-deletion-form-feedback a { color: inherit; text-decoration: underline; }
.account-deletion-form-success { border: 1px solid rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.1); color: #86efac; }
.account-deletion-form-error { border: 1px solid rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.1); color: #fca5a5; }

/* ── Status badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-present { background: rgba(34,197,94,0.12);  color: var(--present); }
.badge-absent  { background: rgba(239,68,68,0.12);  color: #fca5a5; }
.badge-late    { background: rgba(245,158,11,0.12); color: var(--late); }

/* ── Calendar mini ── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-cell {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.cal-present { background: rgba(34,197,94,0.2);  color: var(--present); }
.cal-absent  { background: rgba(239,68,68,0.2);  color: #fca5a5; }
.cal-late    { background: rgba(245,158,11,0.2); color: var(--late); }
.cal-none    { background: var(--border); color: var(--text-muted); }
.cal-header  { color: var(--text-muted); font-size: 10px; font-weight: 600; }

/* ── Sister-app cross-promo ── */
.sister-promo { padding-top: 0; padding-bottom: var(--section-gap); }
.sister-promo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 36px 32px;
  text-align: center;
}
.sister-promo-card .section-label { margin-bottom: 8px; }
.sister-promo-name { margin-bottom: 4px; }
.sister-promo-card p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.sister-promo-lead { color: var(--text); font-weight: 600; margin-bottom: 6px; }
.sister-promo-support { color: var(--text-muted); margin-bottom: 20px; }

/* ── CTA banner skin (structure in shell.css) ── */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(56,189,248,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > .container { position: relative; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }
}

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

/* ── Utilities ── */
.container-sm { max-width: 560px; }
.container-md { max-width: 860px; }
.link-accent { color: var(--accent); }
.hidden { display: none; }
.section-cta { text-align: center; margin-top: 48px; }
.pricing-more { text-align: center; margin-top: 24px; }
.features-section-surface { background: var(--surface); }
.cal-mt { margin-top: 16px; }
.qr-fallback-caption { font-size: 12px; color: var(--text-muted); }

/* ── Features page ── */
.feature-detail { padding: var(--section-gap) 0; }
.feature-detail-alt { background: var(--surface); }

.feature-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-detail-visual { min-width: 0; }

.feature-detail-reverse .feature-detail-text { order: 2; }
.feature-detail-reverse .feature-detail-visual { order: 1; }

.feature-detail-text .section-label { margin-bottom: 8px; color: var(--accent); }
.feature-detail-text h2 { margin-bottom: 16px; }
.feature-detail-text > p { color: var(--text-muted); margin-bottom: 24px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-muted); }
.check-green { color: var(--present); flex-shrink: 0; display: flex; align-items: center; }

.offline-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.offline-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.offline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--no-class);
  box-shadow: 0 0 6px var(--no-class);
}
.offline-queue { display: flex; flex-direction: column; gap: 10px; }
.queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.queue-name { flex: 1; color: var(--text); font-weight: 500; }
.queue-status { font-size: 12px; color: var(--text-muted); }
.offline-note { font-size: 12px; color: var(--text-muted); margin-top: 16px; text-align: center; }

.calendar-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.calendar-legend { display: flex; gap: 12px; flex-wrap: wrap; }

.screenshot-detail-img {
  width: 100%;
  height: auto;
  max-width: 340px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.laptop-mockup-img {
  width: 100%;
  height: auto;
  max-width: 480px;
  display: block;
  margin: 0 auto;
}

.flagged-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.flagged-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.flagged-list { display: flex; flex-direction: column; gap: 12px; }
.flagged-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.flagged-info { display: flex; flex-direction: column; gap: 2px; }
.flagged-name { font-size: 14px; font-weight: 600; color: var(--text); }
.flagged-sub { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  .feature-detail-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-detail-reverse .feature-detail-text { order: unset; }
  .feature-detail-reverse .feature-detail-visual { order: unset; }
}

/* ── Pricing page ── */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.pricing-card-featured { border-color: var(--accent); position: relative; }
.pricing-card-header { margin-bottom: 28px; }
.pricing-card-header .price-amount { font-size: 2.25rem; margin: 8px 0 4px; }

.payment-steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.payment-step { display: flex; gap: 16px; align-items: flex-start; }
.payment-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56,189,248,0.12);
  border: 1.5px solid rgba(56,189,248,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.payment-step strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.payment-step p { font-size: 13px; color: var(--text-muted); margin: 0; max-width: none; }
.payment-how-title { margin-bottom: 20px; font-size: 1rem; }


.pricing-faq { margin-top: 80px; }
.pricing-faq-title { margin-bottom: 40px; text-align: center; }

@media (max-width: 680px) {
  .pricing-cards { grid-template-columns: minmax(0, 1fr); }
  .pricing-card { min-width: 0; padding: 24px; overflow-wrap: anywhere; }
}

/* ── Focus styles ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .feature-card:hover { transform: none; }
  .faq-answer { transition: none; }
}

/* ── Split hero: copy left, visual right ── */
.hero.hero-grid-wrap, .hero:has(> .hero-grid) { text-align: left; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-grid .hero-copy { min-width: 0; }
.hero-grid h1 { margin-left: 0; margin-right: 0; max-width: 18ch; }
.hero-grid .hero-sub { margin-left: 0; margin-right: 0; margin-bottom: 32px; }
.hero-grid .hero-ctas { justify-content: flex-start; margin-bottom: 24px; }
.hero-grid .hero-trust { margin: 0; }
.hero-grid .hero-visual { margin: 0; max-width: none; width: 100%; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid h1 { max-width: none; }
}
@media (max-width: 560px) { .hero-grid .hero-ctas .btn { flex: 1 1 100%; } }
.hero-grid .hero-visual { justify-content: center; }
.hero-grid .hero-card-img { max-width: 190px; }
.hero-grid .hero-laptop-img { max-width: 100%; flex: 1 1 0; min-width: 0; }
@media (max-width: 768px) { .hero-grid .hero-visual { flex-direction: row; max-width: 100%; } .hero-grid .hero-card-img { max-width: 120px; } }
.hero-grid .hero-card-img { max-height: none; height: auto; width: 34%; max-width: 200px; }
.hero-grid .hero-laptop-img { flex: 1 1 0; width: 62%; border-radius: var(--radius-lg); }
.hero-grid .hero-visual { gap: 16px; }

/* Tap targets (44px minimum) on small screens */
@media (max-width: 768px) {
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-dots { gap: 36px; }
  .carousel-dot { position: relative; }
  .carousel-dot::after { content: ''; position: absolute; inset: -18px; }
  .price-note a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }
}

/* ── About page ── */
.about-section { padding-bottom: 24px; }
.about-section .about-content[data-astro-cid-ta2fbyqs] { padding-top: 0; }
.about-content { max-width: 720px; }

/* ── Pricing page: payment steps below the plan cards ── */
.payment-section { border-top: 1px solid var(--border); }
.section-header .section-label { max-width: none; }
.payment-section .section-header,
.faq-section .section-header { text-align: center; margin-bottom: 48px; }
.payment-section .section-subtitle { margin: 0 auto; }
.payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.payment-panel .payment-steps { margin-bottom: 0; }
.payment-panel .payment-step strong { font-size: 15px; }
.payment-panel .payment-step p { font-size: 14px; }
.payment-panel-form .payment-email-form { margin-top: 0; }
.payment-panel .payment-alt-note { background: var(--bg); }
@media (max-width: 680px) {
  .payment-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; overflow-wrap: anywhere; }
}

/* Inner pages: same hero-to-content spacing everywhere */
.page-hero + section:not(.feature-detail) { padding-top: 24px; }
.page-hero + .container > .prose { padding-top: 24px; }
