/* ─── Google Fonts ──────────────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --background: hsl(210, 25%, 99%);
  --foreground: hsl(222, 25%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 25%, 10%);
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(210, 40%, 99%);
  --secondary: hsl(214, 26%, 93%);
  --secondary-foreground: hsl(222, 25%, 10%);
  --muted: hsl(214, 26%, 95%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(214, 26%, 93%);
  --accent-foreground: hsl(217, 91%, 60%);
  --border: hsl(214, 26%, 90%);
  --input: hsl(214, 26%, 92%);
  --radius: 0.75rem;

  /* raw HSL channels for dynamic use */
  --primary-h: 217;
  --primary-s: 91%;
  --primary-l: 60%;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

ol,
ul {
  list-style: none;
}

/* ─── Keyframes ─────────────────────────────────────────────────────────────── */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes gentle-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-breathe {
  animation: breathe 4s ease-in-out infinite;
}
.animate-gentle-pulse {
  animation: gentle-pulse 3s ease-in-out infinite;
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-layout--full main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ─── Custom Utility Classes ────────────────────────────────────────────────── */
.calma-glow {
  box-shadow:
    0 0 0 1px hsla(217, 91%, 60%, 0.1),
    0 20px 60px -20px hsla(217, 91%, 60%, 0.35);
}

.calma-card {
  background-color: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 hsla(222, 25%, 10%, 0.02),
    0 24px 48px -24px hsla(222, 25%, 10%, 0.1);
}

.neon-text {
  background: linear-gradient(
    180deg,
    hsl(217, 91%, 60%) 0%,
    hsl(217, 91%, 50%) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grid-bg {
  background-image:
    linear-gradient(hsla(222, 25%, 10%, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsla(222, 25%, 10%, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 75%
  );
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.column-bg {
  background-image:
    linear-gradient(hsla(222, 25%, 10%, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, hsla(222, 25%, 10%, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 80%
  );
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ─── Header ────────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: hsla(210, 25%, 99%, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.header.scrolled {
  box-shadow: 0 1px 12px hsla(222, 25%, 10%, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.header__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.header__logo:hover .header__logo-icon {
  transform: scale(1.05);
}

.header__logo-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: hsla(214, 26%, 93%, 0.6);
}

.nav-link.active {
  color: var(--foreground);
  background-color: var(--secondary);
}

.header__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.header__hamburger:hover {
  background-color: var(--secondary);
}

.header__hamburger .icon-x {
  display: none;
}
.header__hamburger .icon-menu {
  display: block;
}
.header__hamburger.open .icon-x {
  display: block;
}
.header__hamburger.open .icon-menu {
  display: none;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background-color: hsla(210, 25%, 99%, 0.95);
  backdrop-filter: blur(12px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

.mobile-menu .nav-link {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
  .header__hamburger {
    display: none;
  }
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer__logo-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
  }
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 0.75rem;
  padding: 0.625rem 1.25rem;
  height: 2.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow:
    0 1px 3px hsla(217, 91%, 60%, 0.3),
    0 1px 2px hsla(217, 91%, 60%, 0.2);
}

.btn-primary:hover {
  background-color: hsl(217, 91%, 53%);
  box-shadow: 0 4px 12px hsla(217, 91%, 60%, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px hsla(217, 91%, 60%, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}

.btn-hero:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px hsla(217, 91%, 60%, 0.45);
  background-color: hsl(217, 91%, 53%);
}

.btn-lg {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
}

.btn svg {
  flex-shrink: 0;
}

/* ─── Badges ────────────────────────────────────────────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.badge-dot {
  display: flex;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--primary);
}

/* ─── Feature badges row ────────────────────────────────────────────────────── */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.feature-item svg {
  color: var(--primary);
}

/* ─── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
}

.hero__blob-left {
  top: 25%;
  left: -5rem;
  width: 18rem;
  height: 18rem;
  background-color: hsla(217, 91%, 60%, 0.15);
}
.hero__blob-right {
  bottom: 25%;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background-color: hsla(217, 91%, 60%, 0.1);
}

.hero__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

.hero__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero__version {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .hero__text {
    text-align: left;
  }
  .hero__cta {
    flex-direction: row;
    justify-content: flex-start;
  }
  .features {
    justify-content: flex-start;
  }
}

/* ─── Browser Mockup ────────────────────────────────────────────────────────── */
.mockup-wrap {
  display: flex;
  justify-content: center;
}

.mockup {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.mockup__card {
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid hsla(214, 26%, 90%, 0.6);
  box-shadow: 0 20px 40px -20px hsla(222, 25%, 10%, 0.05);
  padding: 1.25rem;
}

.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.mockup__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: var(--secondary);
}

.mockup__bar {
  margin-left: 0.75rem;
  flex: 1;
  height: 2rem;
  border-radius: 9999px;
  background-color: hsla(214, 26%, 93%, 0.8);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: monospace;
}

.mockup__search-box {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup__search-box svg {
  color: var(--primary);
  flex-shrink: 0;
}

.mockup__kbd {
  margin-left: auto;
  font-size: 0.625rem;
  font-family: monospace;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
}

.mockup__spacer {
  margin-top: 0.75rem;
  height: 8rem;
}

.mockup__sparkle {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px hsla(217, 91%, 60%, 0.4);
}

/* ─── Install Pages (Chrome / Firefox) ─────────────────────────────────────── */
.install-section {
  display: flex;
  min-height: calc(100vh - 200px);
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.install-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.install-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

@media (min-width: 1024px) {
  .install-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.install__illustration {
  display: none;
  justify-content: center;
}

@media (min-width: 1024px) {
  .install__illustration {
    display: flex;
  }
}

.install__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
  height: 12rem;
  border-radius: 1rem;
  background-color: hsla(217, 91%, 60%, 0.05);
  border: 1px solid hsla(217, 91%, 60%, 0.2);
}

.install__icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.checklist__item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.legal-note {
  max-width: 24rem;
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.legal-note a {
  color: var(--primary);
}
.legal-note a:hover {
  text-decoration: underline;
}

/* ─── Firefox page floating cards ──────────────────────────────────────────── */
.ff-card-wrap {
  position: relative;
}

.ff-main-card {
  padding: 2.5rem;
  animation: float 6s ease-in-out infinite;
}

.ff-main-card__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14rem;
  height: 14rem;
  background: linear-gradient(
    135deg,
    hsla(214, 26%, 93%, 0.2),
    var(--background),
    hsla(217, 91%, 60%, 0.15)
  );
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

.ff-main-card__inner svg {
  color: var(--primary);
}

.ff-float-chip {
  position: absolute;
  padding: 0.75rem;
  background-color: var(--card);
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px hsla(222, 25%, 10%, 0.08);
  border: 1px solid var(--border);
}

.ff-float-chip--tl {
  top: -0.75rem;
  left: -0.75rem;
  animation: float 6s ease-in-out 0.5s infinite;
}
.ff-float-chip--br {
  bottom: -0.75rem;
  right: -0.75rem;
  animation: float 6s ease-in-out 1s infinite;
}
.ff-float-chip--tl svg {
  color: var(--primary);
}
.ff-float-chip--br svg {
  color: var(--accent-foreground);
}

/* ─── ThankYou / Goodbye centered pages ────────────────────────────────────── */
.centered-page {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.centered-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.centered-page__content {
  position: relative;
  max-width: 42rem;
  width: 100%;
  text-align: center;
}

.icon-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  margin: 0 auto 2rem;
}

.icon-hero--primary {
  background-color: hsla(217, 91%, 60%, 0.1);
  border: 1px solid hsla(217, 91%, 60%, 0.3);
  color: var(--primary);
}

.icon-hero--muted {
  background-color: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  line-height: 1.1;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 2rem;
}

.how-it-works {
  margin-bottom: 2.5rem;
  text-align: left;
}

.how-it-works__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.how-it-works__title svg {
  color: var(--primary);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.step-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.step-item--primary svg {
  color: var(--primary);
}
.step-item--accent svg {
  color: var(--accent-foreground);
}

/* ─── Contact Page ──────────────────────────────────────────────────────────── */
.contact-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.contact-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-header .icon-hero {
  margin-bottom: 1.5rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background-color: var(--input);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.15);
}

.form-textarea {
  resize: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23697282' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-success {
  text-align: center;
}
.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: hsla(217, 91%, 60%, 0.1);
  border: 1px solid hsla(217, 91%, 60%, 0.3);
  margin: 0 auto 1rem;
  color: var(--primary);
}

.form-success__title {
  font-size: 1.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-success__msg {
  color: var(--muted-foreground);
  font-style: italic;
}

/* ─── Prose Pages (Privacy, Terms) ─────────────────────────────────────────── */
.prose-section {
  padding: 4rem 0 5rem;
}

.prose-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--muted-foreground);
}

.prose-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
  color: var(--foreground);
}

.prose-inner h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.prose-inner p {
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.prose-inner strong {
  color: var(--foreground);
}
.prose-inner a {
  color: var(--primary);
}
.prose-inner a:hover {
  text-decoration: underline;
}

/* ─── Uninstall Page ────────────────────────────────────────────────────────── */
.uninstall-section {
  padding: 4rem 0 5rem;
}

.uninstall-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.uninstall-header {
  text-align: center;
  margin-bottom: 3rem;
}

.uninstall-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--foreground);
}

.uninstall-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.uninstall-grid {
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .uninstall-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.uninstall-card {
  padding: 1.5rem;
}

.uninstall-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.uninstall-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
}

.uninstall-card__icon--primary {
  background-color: hsla(217, 91%, 60%, 0.1);
  border: 1px solid hsla(217, 91%, 60%, 0.3);
  color: var(--primary);
}

.uninstall-card__icon--accent {
  background-color: hsla(214, 26%, 93%, 0.15);
  border: 1px solid hsla(214, 26%, 93%, 0.4);
  color: var(--accent-foreground);
}

.uninstall-card__title {
  font-size: 1.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  color: var(--foreground);
}

.steps-numbered {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-foreground);
}

.step-numbered {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-num--primary {
  background-color: hsla(217, 91%, 60%, 0.1);
  color: var(--primary);
}
.step-num--accent {
  background-color: hsla(214, 26%, 93%, 0.15);
  color: var(--accent-foreground);
}

.help-box {
  border: 1px solid hsla(214, 26%, 93%, 0.5);
  background-color: hsla(214, 26%, 93%, 0.05);
  padding: 1.5rem;
}

.help-box__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.help-box__inner > svg {
  flex-shrink: 0;
  color: var(--accent-foreground);
}

.help-box__title {
  font-size: 1.125rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.help-box__msg {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* ─── 404 Page ──────────────────────────────────────────────────────────────── */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.not-found__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.not-found__content {
  position: relative;
  text-align: center;
}

.not-found__title {
  font-size: 5rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.not-found__msg {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ─── Gradient text in install pages ───────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    hsl(217, 91%, 75%) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Utility helpers ───────────────────────────────────────────────────────── */
.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;
}

.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.text-primary {
  color: var(--primary);
}
.italic {
  font-style: italic;
}

/* ─── Contact email card ─────────────────────────────────────────────────────── */
.contact-email-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  transition:
    background 0.18s,
    color 0.18s;
}

.contact-email-link:hover {
  background: var(--primary);
  color: #fff;
}
