:root {
  --bg: #0b1020;
  --bg-soft: rgba(19, 26, 48, 0.72);
  --surface: rgba(16, 24, 44, 0.78);
  --surface-strong: rgba(15, 21, 39, 0.95);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text: #ecf3ff;
  --muted: #a9b8d3;
  --accent: #7c9cff;
  --accent-2: #70e0c4;
  --accent-3: #c68fff;
  --danger: #ff7f9f;
  --shadow: 0 20px 60px rgba(1, 8, 26, 0.4);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 84px;
  --transition: 180ms ease;
}

body[data-theme='light'] {
  --bg: #f7f9ff;
  --bg-soft: rgba(255, 255, 255, 0.82);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --surface-border: rgba(17, 24, 39, 0.08);
  --text: #111827;
  --muted: #5c6677;
  --accent: #315cff;
  --accent-2: #108b72;
  --accent-3: #8b4fff;
  --danger: #c0264d;
  --shadow: 0 18px 45px rgba(48, 59, 94, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section-pad {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.section-gap {
  padding: 5.5rem 0 0;
}

.bg-orb {
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.35;
  z-index: -3;
}

.orb-1 {
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle at 30% 30%, rgba(124, 156, 255, 0.7), transparent 60%);
  top: -8rem;
  left: -10rem;
}

.orb-2 {
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle at 70% 70%, rgba(112, 224, 196, 0.45), transparent 60%);
  right: -8rem;
  top: 12rem;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  opacity: 0.2;
  z-index: -4;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5, 10, 22, 0.7), rgba(5, 10, 22, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-theme='light'] .site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a,
.theme-toggle {
  color: var(--muted);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.site-nav a:hover,
.theme-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-theme='light'] .theme-toggle,
body[data-theme='light'] .site-nav a:hover,
body[data-theme='light'] .theme-toggle:hover {
  background: rgba(17, 24, 39, 0.05);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.hero-grid,
.about-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.hero-visual,
.about-copy,
.about-panel,
.contact-copy,
.contact-form,
.section-heading,
.toolbar,
.stats-grid,
.highlight-grid,
.app-grid,
.screenshot-grid,
.testimonial-grid,
.resource-grid,
.accordion {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 156, 255, 0.22);
  background: rgba(124, 156, 255, 0.08);
  color: #c9d7ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 700;
}

body[data-theme='light'] .eyebrow {
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  line-height: 1.08;
  margin: 1rem 0 1rem;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.hero-subtitle {
  font-size: 1.17rem;
  color: var(--text);
  max-width: 55ch;
  margin: 0 0 0.6rem;
}

.hero-description,
.section-heading p,
.about-copy p,
.contact-copy p,
.footer-copy,
.floating-card span,
.device-meta span,
.app-description,
.resource-card p,
.testimonial-card p {
  color: var(--muted);
}

.hero-cta,
.about-actions,
.contact-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
  box-shadow: 0 12px 28px rgba(70, 82, 255, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-subtle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

body[data-theme='light'] .btn-ghost,
body[data-theme='light'] .btn-subtle {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.1);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 34rem;
}

.device-card {
  position: relative;
  width: min(100%, 25rem);
  margin-inline: auto;
  padding: 1.1rem;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

body[data-theme='light'] .device-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
}

.device-frame {
  position: relative;
  padding: 1rem;
  background: rgba(5, 10, 22, 0.75);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme='light'] .device-frame {
  background: #e9eefb;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

body[data-theme='light'] .device-frame::before {
  background: rgba(17, 24, 39, 0.12);
}

.device-frame img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.device-meta {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.device-meta strong,
.app-card h3,
.highlight-card h3,
.testimonial-card strong,
.resource-card h3,
.accordion-summary strong {
  display: block;
  font-size: 1.05rem;
}

.device-meta span,
.mini-link {
  font-size: 0.9rem;
}

.mini-link {
  color: var(--accent-2);
}

.floating-card {
  position: absolute;
  max-width: 14rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.floating-card strong,
.info-item strong,
.stat-card strong {
  display: block;
}

.floating-card-top {
  top: 1.6rem;
  left: -1rem;
}

.floating-card-bottom {
  bottom: 2rem;
  right: 0;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.8rem;
}

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

.section-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.stats-grid,
.highlight-grid,
.app-grid,
.screenshot-grid,
.testimonial-grid,
.resource-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

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

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

.app-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

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

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

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

.stat-card,
.highlight-card,
.app-card,
.testimonial-card,
.resource-card,
.about-panel,
.contact-form,
.accordion-item,
.support-card,
.policy-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.stat-card,
.highlight-card,
.testimonial-card,
.resource-card {
  padding: 1.35rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 156, 255, 0.14), transparent 70%);
}

.stat-card strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 0.3rem;
}

.stat-card span,
.highlight-card p,
.app-meta span,
.tag,
.card-badge,
.info-item span,
.social-link,
.form-note,
.accordion-body,
.footer-links a {
  color: var(--muted);
}

.highlight-card {
  min-height: 100%;
}

.highlight-card::before,
.app-card::before,
.resource-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%);
}

.highlight-card h3,
.resource-card h3,
.app-card h3 {
  margin: 0 0 0.45rem;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-chip {
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.filter-chip.is-active,
.filter-chip:hover {
  background: rgba(124, 156, 255, 0.15);
  border-color: rgba(124, 156, 255, 0.28);
  color: var(--text);
}

body[data-theme='light'] .filter-chip {
  background: rgba(17, 24, 39, 0.03);
  border-color: rgba(17, 24, 39, 0.08);
}

.search-box {
  display: flex;
  align-items: center;
  min-width: min(100%, 18rem);
}

.search-box input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

body[data-theme='light'] .search-box input,
body[data-theme='light'] .contact-form input,
body[data-theme='light'] .contact-form textarea {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(17, 24, 39, 0.08);
}

.search-box input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(124, 156, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 156, 255, 0.12);
}

.app-card {
  position: relative;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.app-head {
  display: flex;
  gap: 0.95rem;
  align-items: center;
}

.app-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(112, 224, 196, 0.12);
  border: 1px solid rgba(112, 224, 196, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  color: #baf5e5;
}

body[data-theme='light'] .card-badge {
  color: var(--accent-2);
}

.app-description {
  margin: 0;
}

.feature-list,
.tag-row,
.app-actions,
.social-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.feature-list {
  padding-left: 1.1rem;
  margin: 0;
}

.feature-list li {
  margin: 0.15rem 0;
}

.tag-row {
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

body[data-theme='light'] .tag {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.08);
}

.app-actions {
  margin-top: auto;
}

.app-inline-btn {
  min-height: 2.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme='light'] .app-inline-btn {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.08);
}

.app-card.is-hidden {
  display: none;
}

.screenshot-card {
  position: relative;
  padding: 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.screenshot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 156, 255, 0.25);
}

.screenshot-card button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 20px;
}

.screenshot-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.screenshot-caption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-grid,
.contact-grid,
.faq-grid {
  align-items: start;
}

.about-panel,
.contact-form {
  padding: 1.35rem;
}

.info-list {
  display: grid;
  gap: 0.9rem;
}

.info-item {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme='light'] .info-item {
  background: rgba(17, 24, 39, 0.03);
  border-color: rgba(17, 24, 39, 0.08);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.social-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

body[data-theme='light'] .social-link {
  background: rgba(17, 24, 39, 0.03);
  border-color: rgba(17, 24, 39, 0.08);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.testimonial-card p {
  margin: 0;
}

.testimonial-card .quote-mark {
  font-size: 2rem;
  line-height: 1;
  color: rgba(124, 156, 255, 0.7);
}

.resource-card {
  position: relative;
  overflow: hidden;
}

.resource-card p {
  margin: 0 0 1rem;
}

.resource-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.12);
  border: 1px solid rgba(124, 156, 255, 0.2);
  font-size: 0.8rem;
  color: #c9d7ff;
}

body[data-theme='light'] .resource-meta {
  color: var(--accent);
}

.accordion {
  display: grid;
  gap: 0.85rem;
}

.accordion-item {
  overflow: hidden;
}

.accordion-summary {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.accordion-summary span {
  color: var(--muted);
}

.accordion-body {
  padding: 0 1.2rem 1.1rem;
  display: none;
}

.accordion-item.is-open .accordion-body {
  display: block;
}

.accordion-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  font-weight: 600;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.site-footer {
  padding: 5rem 0 2rem;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme='light'] .footer-grid {
  border-top-color: rgba(17, 24, 39, 0.08);
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer-links {
  flex-direction: column;
  gap: 0.45rem;
}

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

.footer-bottom {
  padding-top: 1.4rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.back-to-top {
  min-height: 2.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

body[data-theme='light'] .back-to-top {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.08);
}

.lightbox {
  width: min(92vw, 32rem);
  padding: 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 26px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(3, 8, 20, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  border-radius: 20px;
  margin-top: 0.8rem;
}

.lightbox-close {
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.lightbox-caption {
  margin-top: 0.8rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 20rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 50;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #111827;
  color: white;
  z-index: 70;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-shell {
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
}

.page-header {
  max-width: 56rem;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0.8rem 0 1rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.policy-card,
.support-card {
  padding: 1.35rem;
}

.policy-card h2,
.support-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.policy-card p,
.policy-card li,
.support-card p,
.support-card li {
  color: var(--muted);
}

.policy-card ul,
.support-card ul {
  padding-left: 1.1rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

body[data-theme='light'] .kicker {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.08);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.9rem 0;
}

body[data-theme='light'] .divider {
  background: rgba(17, 24, 39, 0.08);
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.anchor-list a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

body[data-theme='light'] .anchor-list a {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.08);
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .faq-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid,
  .stats-grid,
  .testimonial-grid,
  .resource-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-visual {
    min-height: auto;
    padding-top: 1rem;
  }

  .floating-card-top {
    left: 0;
  }

  .floating-card-bottom {
    right: 0;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.7rem);
    flex-direction: column;
    align-items: stretch;
    min-width: 14rem;
    padding: 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .theme-toggle {
    width: 100%;
    text-align: left;
  }

  .section-heading-inline {
    align-items: start;
    flex-direction: column;
  }

  .toolbar {
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .section-pad {
    padding: calc(var(--header-h) + 1.25rem) 0 3rem;
  }

  .section-gap {
    padding-top: 4rem;
  }

  .hero h1,
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2,
  .page-header h1 {
    letter-spacing: -0.04em;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .device-card {
    width: 100%;
  }

  .stats-grid,
  .highlight-grid,
  .screenshot-grid,
  .testimonial-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form,
  .about-panel,
  .app-card,
  .stat-card,
  .highlight-card,
  .testimonial-card,
  .resource-card,
  .accordion-item,
  .policy-card,
  .support-card {
    padding: 1rem;
  }

  .lightbox {
    width: calc(100vw - 1rem);
    padding: 0.8rem;
  }
}
