/* ================================================================
   GLIPPY LANDING PAGE STYLES
   ================================================================ */

/* --- 1. CSS Custom Properties --- */
:root {
  --bg-primary: #0f1117;
  --bg-deeper: #0a0c12;
  --bg-card: #181b24;
  --bg-card-hover: #1e2230;
  --border: #2a2e3b;
  --text-primary: #f0f2f5;
  --text-secondary: #b0b5c5;
  --text-muted: #9a9fb0;
  --accent-green: #4ade80;
  --accent-green-bg: rgba(74, 222, 128, 0.12);
  --accent-yellow: #facc15;
  --accent-yellow-bg: rgba(250, 204, 21, 0.12);
  --accent-red: #f87171;
  --accent-red-bg: rgba(248, 113, 113, 0.12);
  --accent-blue: #60a5fa;
  --accent-blue-bg: rgba(96, 165, 250, 0.12);
  --accent-purple: #c4b5fd;
  --accent-purple-bg: rgba(196, 181, 253, 0.1);
  --gradient-primary: linear-gradient(135deg, #a78bfa, #34d399);
  --gradient-text: linear-gradient(135deg, #4ade80, #60a5fa);
}

/* --- 2. Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Mono', monospace;
  line-height: 1.3;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-green);
}

img, svg {
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-deeper);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Screen reader only utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-purple);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
  transition: top 0.2s;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --- 3. Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.25);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent-purple);
  border: 1.5px solid var(--accent-purple);
}

.btn-outline:hover {
  background: var(--accent-purple-bg);
  color: var(--accent-purple);
}

/* --- Focus styles for all interactive elements --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

/* --- 4. Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  opacity: 0.9;
  color: #fff !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 5. Hero --- */
.hero {
  padding: 160px 0 80px;
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-mascot {
  flex-shrink: 0;
}

.hero-glippy {
  width: 220px;
  height: 220px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(167, 139, 250, 0.15));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-content {
  max-width: 600px;
}

.speech-bubble {
  background: var(--accent-purple-bg);
  border: 1.5px solid rgba(196, 181, 253, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
  margin-bottom: 20px;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 28px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right-color: rgba(196, 181, 253, 0.2);
}

.speech-bubble h1 {
  font-size: 1.75rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.speech-bubble-sm {
  padding: 16px 20px;
}

.speech-bubble-sm p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--accent-purple);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-divider {
  height: 2px;
  margin-top: 80px;
  background: var(--gradient-primary);
  opacity: 0.3;
  border-radius: 1px;
}

/* --- 6. Feature Cards --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 18px;
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.weight-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent-purple);
  background: var(--accent-purple-bg);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.feature-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Glippy comment below features */
.glippy-comment {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  justify-content: center;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* --- 7. Product Showcases --- */
.showcase {
  display: flex;
  align-items: center;
  gap: 60px;
}

.showcase-reverse {
  flex-direction: row-reverse;
}

.showcase-content {
  flex: 1;
}

.showcase-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.showcase-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.showcase-features {
  list-style: none;
  margin-bottom: 28px;
}

.showcase-features li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.check-icon {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.platform-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.platform-badge {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
}

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

.showcase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Screenshot Frame */
.screenshot-frame {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(167, 139, 250, 0.15);
}

.screenshot-frame-wide {
  max-width: 520px;
}

.showcase-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Browser Mockup */
.browser-mockup {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-deeper);
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-url {
  margin-left: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 3px 10px;
  border-radius: 4px;
  flex: 1;
}

.browser-body {
  padding: 20px;
}

/* Extension Mock */
.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mock-avatar {
  width: 36px;
  height: 36px;
}

.mock-title {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 16px;
}

.mock-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.mock-ring {
  width: 70px;
  height: 70px;
}

.mock-score-text {
  display: flex;
  flex-direction: column;
}

.mock-score-num {
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-green);
}

.mock-score-grade {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
}

.mock-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-cat {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-cat-bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Desktop Mock */
.mock-bulk-header {
  margin-bottom: 16px;
  font-size: 14px;
}

.mock-domain-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.mock-domain-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-primary);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.mock-domain-name {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

.mock-domain-score {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}

.score-high { color: var(--accent-green); }
.score-mid { color: var(--accent-yellow); }
.score-low { color: var(--accent-red); }

.mock-bulk-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-status {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-export-btn {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent-green);
  background: var(--accent-green-bg);
  padding: 4px 10px;
  border-radius: 4px;
}

/* --- 8. FAQ Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.25s;
}

.faq-item:hover {
  border-color: rgba(167, 139, 250, 0.25);
}

.faq-item.open {
  border-color: rgba(167, 139, 250, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
}

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

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-item.open .faq-answer:has(.resend-license-form) {
  max-height: 350px;
}

.faq-answer p {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.resend-license-form {
  padding: 0 22px 18px;
}

.resend-input-group {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.resend-input-group input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.resend-input-group input::placeholder {
  color: var(--text-muted);
}

.resend-input-group input:focus {
  border-color: var(--accent-purple);
}

.resend-license-form .waitlist-msg {
  margin-top: 10px;
}

/* --- 8b. Glossary (Definition List) --- */
.glossary-list {
  max-width: 800px;
  margin: 0 auto;
}

.glossary-list dt {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.glossary-list dt:first-child {
  margin-top: 0;
}

.glossary-list dd {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 12px;
  padding-left: 0;
}

/* --- 8c. Comparison Table --- */
.table-wrapper {
  overflow-x: auto;
  max-width: 700px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  background: var(--bg-deeper);
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table thead th:nth-child(2),
.comparison-table thead th:nth-child(3) {
  text-align: center;
}

.comparison-table tbody th {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table tbody td {
  text-align: center;
  color: var(--text-secondary);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: var(--bg-card-hover);
}

/* --- 9. Waitlist Form --- */
.waitlist-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.waitlist-mascot {
  flex-shrink: 0;
}

.waitlist-glippy {
  width: 140px;
  height: 140px;
  animation: float 4s ease-in-out infinite;
  animation-delay: -1s;
}

.waitlist-content {
  flex: 1;
}

.waitlist-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.waitlist-form {
  margin-top: 20px;
}

.waitlist-input-group {
  display: flex;
  gap: 10px;
}

.waitlist-input-group input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input-group input::placeholder {
  color: var(--text-muted);
}

.waitlist-input-group input:focus {
  border-color: var(--accent-purple);
}

.waitlist-msg {
  margin-top: 10px;
  font-size: 14px;
  min-height: 20px;
}

.msg-success { color: var(--accent-green); }
.msg-error { color: var(--accent-red); }
.msg-info { color: var(--accent-blue); }

/* --- 9b. Waitlist Compact (Top) --- */
.waitlist-top {
  padding: 40px 0;
}

.waitlist-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.waitlist-compact-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

.waitlist-form-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.waitlist-form-inline .waitlist-input-group {
  display: flex;
  gap: 10px;
}

.waitlist-form-inline .waitlist-msg {
  margin-top: 0;
  margin-left: 8px;
}

/* --- 10. Footer --- */
.site-footer {
  background: var(--bg-deeper);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-about {
  grid-column: span 1;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.social-links a:hover {
  color: var(--accent-purple);
  border-color: rgba(167, 139, 250, 0.4);
  background: var(--accent-purple-bg);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-updated {
  margin-top: 8px;
}

.footer-updated time {
  color: var(--text-secondary);
}

/* --- 11. Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- 12. Responsive --- */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-glippy {
    width: 160px;
    height: 160px;
  }

  .speech-bubble::before {
    display: none;
  }

  .speech-bubble h1 {
    font-size: 1.35rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

  .showcase,
  .showcase-reverse {
    flex-direction: column;
    gap: 40px;
  }

  .showcase-content h2 {
    font-size: 1.5rem;
  }

  .waitlist-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .waitlist-content h2 {
    font-size: 1.5rem;
  }

  .waitlist-input-group {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .glippy-comment {
    flex-direction: column;
    text-align: center;
  }

  .speech-bubble-sm {
    text-align: left;
  }

  .glossary-list dt {
    font-size: 1rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .waitlist-compact {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .waitlist-form-inline .waitlist-input-group {
    flex-direction: column;
    width: 100%;
  }

  .waitlist-form-inline .waitlist-msg {
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-glippy {
    width: 120px;
    height: 120px;
  }

  .speech-bubble h1 {
    font-size: 1.15rem;
  }

  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .feature-card {
    padding: 18px;
  }

  .browser-mockup {
    max-width: 100%;
  }

  .screenshot-frame,
  .screenshot-frame-wide {
    max-width: 100%;
  }

  .resend-input-group {
    flex-direction: column;
  }

  .resend-input-group .btn {
    width: 100%;
  }
}
