:root {
  --bg: #faeee7;
  --headline: #33272a;
  --body: #594a4e;
  --button: #ff8ba7;
  --stroke: #33272a;
  --fill: #fffffe;
  --secondary: #ffc6c7;
  --tertiary: #c3f0ca;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(250, 238, 231, 0.92);
  border-bottom: 2px solid var(--stroke);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--headline);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--stroke);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  color: var(--headline);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--stroke);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.nav-cta,
.primary-button {
  background: var(--button);
}

.nav-cta {
  padding: 8px 14px;
  font-size: 14px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
}

.secondary-button {
  background: var(--fill);
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--stroke);
}

.nav-cta:active,
.primary-button:active,
.secondary-button:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--stroke);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 6vw, 88px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 4px 10px;
  background: var(--tertiary);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  color: var(--headline);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--headline);
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 8vw, 86px);
  letter-spacing: -0.06em;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--body);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.payment-note {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--body);
  font-size: 14px;
}

.payment-note.compact {
  margin-top: 12px;
  font-size: 12px;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.demo-caption {
  margin: 0;
  max-width: 430px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--body);
}

.extension-card {
  width: min(100%, 430px);
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--stroke);
  overflow: hidden;
  transform: rotate(1deg);
}

.extension-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--secondary);
  border-bottom: 2px solid var(--stroke);
}

.extension-card-header strong {
  display: block;
  color: var(--headline);
  font-size: 22px;
}

.extension-card-header span {
  color: var(--body);
  font-size: 13px;
}

.level-badge,
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  color: var(--headline);
  font-size: 12px;
  font-weight: 800;
}

.level-badge {
  padding: 3px 10px;
  background: var(--tertiary);
}

/* Matches in-page “Save to library” control on the real extension */
.demo-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  color: var(--headline);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 2px 2px 0 var(--stroke);
  white-space: nowrap;
}

.pill {
  padding: 4px 10px;
  background: var(--bg);
}

.extension-quick {
  padding: 16px;
}

.extension-quick p {
  margin: 10px 0 0;
  color: var(--headline);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

blockquote {
  margin: 14px 0 0;
  padding-left: 10px;
  border-left: 3px solid var(--stroke);
  color: var(--body);
  font-style: italic;
}

.extension-expand {
  width: 100%;
  padding: 12px;
  border: 0;
  border-top: 2px dashed var(--stroke);
  background: var(--bg);
  color: var(--headline);
  font-weight: 800;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border-block: 2px solid var(--stroke);
  background: var(--fill);
}

.logo-strip span {
  padding: 6px 12px;
  background: var(--tertiary);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  color: var(--headline);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-lede {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}

.section-lede.wide {
  max-width: 62ch;
}

.split-section .section-lede {
  margin-top: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.feature-card,
.pricing-card,
.faq-grid details {
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--stroke);
}

.feature-card {
  padding: 20px;
}

.feature-card p,
.pricing-copy p,
.faq-grid p,
.steps li {
  margin: 0;
}

.feature-index {
  color: var(--headline);
  font-size: 13px;
  font-weight: 900;
}

.split-section,
.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 18px 20px;
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--stroke);
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--headline);
}

.maker-section {
  padding-top: 0;
}

.maker-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: stretch;
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--stroke);
  overflow: hidden;
}

.maker-intro {
  padding: clamp(24px, 5vw, 44px);
}

.maker-intro p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 17px;
}

.maker-link {
  width: fit-content;
  margin-top: 24px;
}

.maker-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 36px);
  background: var(--secondary);
  border-left: 2px solid var(--stroke);
}

.maker-avatar {
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: center;
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--stroke);
}

.maker-profile h3 {
  margin-top: 18px;
}

.maker-profile p {
  margin: 0 0 14px;
  color: var(--headline);
  font-weight: 800;
}

.maker-facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maker-facts li {
  position: relative;
  padding-left: 24px;
  color: var(--headline);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.maker-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 11px;
  height: 11px;
  background: var(--button);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  transform: translateY(-50%);
}

.pricing-section {
  background: var(--secondary);
  border-block: 2px solid var(--stroke);
}

.pricing-copy p {
  max-width: 560px;
  margin-top: 16px;
  font-size: 18px;
}

.pricing-card {
  padding: clamp(20px, 4vw, 34px);
  background: var(--fill);
}

.price-row {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 18px 0 16px;
}

.price {
  color: var(--headline);
  font-size: clamp(54px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.price-meta {
  padding-bottom: 8px;
  color: var(--body);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--headline);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  background: var(--tertiary);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  transform: translateY(-50%);
}

.full-width {
  width: 100%;
}

.checkout-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--headline);
  font-size: 13px;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid details {
  padding: 16px 18px;
}

.faq-grid summary {
  color: var(--headline);
  font-weight: 900;
  cursor: pointer;
}

.faq-grid p {
  margin-top: 10px;
}

.faq-grid code,
.install-steps code,
.success-help code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--stroke);
}

.install-steps li {
  line-height: 1.55;
}

#download-extension-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 6vw, 88px);
  color: var(--headline);
  font-weight: 800;
  border-top: 2px solid var(--stroke);
}

.success-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(32px, 8vw, 88px) clamp(18px, 6vw, 88px);
}

.success-hero {
  max-width: 720px;
}

.success-card {
  background: var(--fill);
  border: 2px solid var(--stroke);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--stroke);
  overflow: hidden;
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.install-steps li {
  padding: 14px 16px;
  background: var(--bg);
  border: 2px solid var(--stroke);
  border-radius: 12px;
}

.install-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--headline);
}

.success-help {
  padding: 12px 18px 18px;
  color: var(--body);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .pricing-section,
  .maker-card,
  .success-layout {
    grid-template-columns: 1fr;
  }

  .maker-profile {
    border-left: 0;
    border-top: 2px solid var(--stroke);
  }

  .hero {
    min-height: auto;
  }

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

  .feature-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding-inline: 10px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
