:root {
  --bg: #1E1E1E;
  --bg-elevated: #252525;
  --bg-hover: #2B2B2E;
  --bg-popup: #1A1A1C;
  --border: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.12);

  --accent: #E91E63;
  --accent-hover: #F02E6E;
  --accent-pressed: #BE185D;
  --accent-soft: #F472B6;
  --accent-tint: rgba(233, 30, 99, 0.08);
  --accent-pill: rgba(233, 30, 99, 0.16);
  --accent-border: rgba(233, 30, 99, 0.75);
  --accent-glow: rgba(233, 30, 99, 0.32);

  --text-white: #FFFFFF;
  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-label: #8E8E93;
  --text-muted: #71717A;
  --text-dim: #52525B;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: radial-gradient(
    640px circle at 50% 0%,
    rgba(233, 30, 99, 0.07),
    transparent 70%
  );
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection {
  background-color: rgba(233, 30, 99, 0.32);
  color: var(--text-white);
}

.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
}

/* Site Header */
.site-header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(30, 30, 30, 0.82);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
  transition: opacity 0.15s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

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

.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.12s ease,
    box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn--primary {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.28);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 18px rgba(233, 30, 99, 0.42);
}

.btn--secondary {
  background-color: var(--bg-elevated);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

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

.btn--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 12.5px;
}

/* Main Content */
main {
  flex: 1;
}

/* Hero */
.hero {
  padding: 76px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 56px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background-color: var(--accent-pill);
  border: 1px solid rgba(233, 30, 99, 0.45);
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.eyebrow-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero__title {
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__meta-check {
  color: var(--accent);
  font-weight: 700;
}

kbd {
  padding: 2px 6px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
}

/* Interactive Extension Popup Replica */
.popup-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.popup-caption {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.ext-popup {
  width: 280px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background-color: #1E1E1E;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  user-select: none;
  font-size: 13px;
}

.ext-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ext-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ext-brand-icon {
  flex-shrink: 0;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.ext-popup.is-disabled .ext-brand-icon {
  filter: grayscale(1);
  opacity: 0.72;
}

.ext-brand-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.capsule-switch {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
}

.capsule-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.capsule-track {
  position: relative;
  width: 52px;
  height: 24px;
  border-radius: 999px;
  background-color: #252525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 6px;
  transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.capsule-state {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #71717A;
  margin-left: auto;
  margin-right: 1px;
  transition: color 0.2s ease;
}

.capsule-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #71717A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.capsule-switch input:checked + .capsule-track {
  background-color: rgba(233, 30, 99, 0.18);
  border-color: rgba(233, 30, 99, 0.75);
  box-shadow: 0 0 12px rgba(233, 30, 99, 0.35);
}

.capsule-switch input:checked + .capsule-track .capsule-state {
  color: #F472B6;
  margin-left: 2px;
  margin-right: auto;
}

.capsule-switch input:checked + .capsule-track .capsule-thumb {
  transform: translateX(28px);
  background-color: #E91E63;
  box-shadow: 0 0 8px rgba(233, 30, 99, 0.75);
}

.ext-copy-btn {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background-color: #E91E63;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.28);
  transition: background-color 0.18s ease, transform 0.12s ease,
    box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ext-copy-btn:hover:not(:disabled) {
  background-color: #F02E6E;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.42);
}

.ext-copy-btn:active:not(:disabled) {
  transform: scale(0.985);
}

.ext-copy-btn:disabled {
  background-color: #252525;
  border-color: rgba(255, 255, 255, 0.06);
  color: #71717A;
  box-shadow: none;
  cursor: default;
}

.ext-copy-btn.copied {
  background-color: #BE185D;
}

.ext-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.ext-popup.is-disabled .ext-history {
  opacity: 0.48;
  pointer-events: none;
}

.ext-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 16px;
  padding: 0 1px;
}

.ext-history-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8E8E93;
}

.ext-clear-btn {
  background: none;
  border: none;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: #71717A;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.ext-clear-btn:hover {
  color: #E91E63;
  background-color: rgba(233, 30, 99, 0.1);
}

.ext-viewport {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  scrollbar-width: none;
}

.ext-viewport::-webkit-scrollbar {
  display: none;
}

.ext-item {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  background-color: #252525;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ext-item:hover {
  background-color: #2B2B2E;
  border-color: rgba(255, 255, 255, 0.12);
}

.ext-item.active {
  background-color: rgba(233, 30, 99, 0.08);
  border-color: rgba(233, 30, 99, 0.78);
  box-shadow: 0 0 10px rgba(233, 30, 99, 0.12);
}

.ext-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.04);
  color: #A1A1AA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ext-item.active .ext-item-icon {
  background-color: rgba(233, 30, 99, 0.18);
  color: #F472B6;
}

.ext-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.ext-item-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #F4F4F5;
  line-height: 1.2;
}

.ext-item-meta {
  font-size: 10.5px;
  color: #8E8E93;
  line-height: 1.2;
}

.ext-item-check {
  font-size: 12px;
  font-weight: 700;
  color: #E91E63;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ext-item.active .ext-item-check {
  opacity: 1;
}

.ext-empty {
  min-height: 218px;
  padding: 20px 16px;
  border-radius: 8px;
  background-color: #252525;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  color: #71717A;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ext-empty[hidden],
.ext-viewport-list[hidden] {
  display: none;
}

.ext-popup-footer {
  margin: 0 -14px -2px;
  padding: 10px 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1;
  color: #71717A;
}

.ext-popup-footer strong {
  color: #E91E63;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-label);
  margin-bottom: 10px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 28px;
}

/* Steps Strip */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.step-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.step-card__desc {
  font-size: 13.5px;
  color: var(--text-label);
  line-height: 1.55;
}

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

.feature-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-hover);
}

.feature-card__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: rgba(233, 30, 99, 0.14);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.feature-card__desc {
  font-size: 13.5px;
  color: var(--text-label);
  line-height: 1.55;
}

/* Legal Pages (Privacy & Terms) */
.legal {
  padding: 56px 0 72px;
}

.legal__header {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal__updated {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-soft);
  margin-bottom: 8px;
}

.legal__title {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 10px;
}

.legal__lead {
  font-size: 15px;
  color: var(--text-secondary);
}

.legal-callout {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background-color: var(--accent-tint);
  border: 1px solid rgba(233, 30, 99, 0.35);
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-primary);
}

.legal-callout strong {
  color: var(--text-white);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-white);
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.legal-section li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.legal-section code {
  padding: 2px 6px;
  border-radius: 4px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
}

.legal-section a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: var(--text-white);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.footer-brand:hover {
  color: var(--accent-soft);
  text-shadow: 0 0 8px rgba(233, 30, 99, 0.45);
}

.footer-dot {
  color: var(--text-dim);
  user-select: none;
}

.footer-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

/* Responsive */
@media (max-width: 780px) {
  .hero {
    padding: 48px 0 44px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 12px;
  }
}
