:root {
  color-scheme: light;
  --page: #f6f8f5;
  --surface: #ffffff;
  --ink: #10120f;
  --muted: #5c635b;
  --line: #d9e0d6;
  --soft: #edf4e9;
  --acid: #b7ff2a;
  --acid-dark: #4b7c00;
  --red: #d73d45;
  --red-soft: #ffe6e8;
  --green: #0a8f68;
  --green-soft: #ddf7ed;
  --shadow: 0 24px 70px rgba(16, 18, 15, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(183, 255, 42, 0.26), transparent 30rem),
    linear-gradient(180deg, #fbfcf8 0%, var(--page) 55%, #eef4eb 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header,
main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-actions a,
.primary-action,
.secondary-action,
.install-link {
  min-height: 42px;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.top-actions a {
  color: var(--muted);
}

.install-link,
.primary-action {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 26px 0 62px;
}

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

.eyebrow {
  margin: 0;
  color: var(--acid-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 12px;
  max-width: 760px;
  font-size: clamp(4rem, 11vw, 9.4rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 640px;
  margin-top: 28px;
  color: #31372f;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.browser-demo {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--ink), var(--shadow);
}

.browser-bar {
  display: grid;
  grid-template-columns: repeat(3, 12px) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  background: #f2f5ef;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.address-bar {
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
}

.news-page {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.publisher-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.publisher-row button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--acid);
  color: var(--ink);
  font: inherit;
}

.demo-headline,
.example-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.demo-headline {
  padding: 18px;
}

.demo-headline h2 {
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.demo-headline.is-clear {
  border-color: rgba(10, 143, 104, 0.38);
  background: var(--green-soft);
}

.old-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-section,
.examples-section,
.try-section {
  padding: 58px 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-intro h2,
.try-section h2 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.section-note,
.try-section p {
  max-width: 660px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

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

.feature-grid article {
  min-height: 210px;
  border-top: 3px solid var(--ink);
  padding-top: 16px;
}

.feature-grid span {
  color: var(--acid-dark);
  font-size: 0.82rem;
  font-weight: 950;
}

.feature-grid h3 {
  margin-top: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.feature-grid p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.live-result {
  margin-bottom: 16px;
}

.live-result:empty {
  display: none;
}

.example-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(16, 18, 15, 0.07);
}

.card-toggle {
  display: grid;
  gap: 0;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}

.source-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--soft);
  color: #30362e;
  font-size: 0.8rem;
  font-weight: 900;
}

.tag {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--red-soft);
  color: #9b1018;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-card.is-clear .tag {
  background: var(--green-soft);
  color: #056145;
}

.headline-stack {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 0;
  padding: 18px;
}

.headline-block {
  transition: opacity 180ms ease, transform 210ms ease;
}

.headline-block p {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline-block h3 {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.clear-block {
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.example-card.is-clear .original-block {
  opacity: 0.72;
}

.example-card.is-clear .original-block h3 {
  color: #626960;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  text-decoration-color: rgba(215, 61, 69, 0.72);
}

.example-card.is-clear .clear-block {
  display: block;
}

.example-card.is-unchanged .clear-block h3 {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.15rem;
  line-height: 1.35;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 14px 16px;
}

.why-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.action-text {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
}

.example-card.is-clear .action-text {
  background: var(--green);
}

.source-link {
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.source-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.try-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.7fr);
  gap: 32px;
  align-items: start;
  border-top: 2px solid var(--ink);
}

.install-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 42px;
  align-items: start;
  padding: 72px 0;
}

.install-page h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 24px 24px 24px 44px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
  color: #31372f;
  line-height: 1.5;
}

.install-steps li::marker {
  color: var(--acid-dark);
  font-weight: 950;
}

.url-tool {
  display: grid;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}

.url-tool label {
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.url-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.url-input-row input,
.url-input-row button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.url-input-row input {
  min-width: 0;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
}

.url-input-row input:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(183, 255, 42, 0.55);
}

.url-input-row button {
  border-color: var(--ink);
  padding: 0 16px;
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.url-input-row button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.is-error {
  color: #ad121b;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 930px) {
  .hero-section,
  .install-page,
  .try-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .feature-grid article {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  main {
    width: min(100% - 22px, 1160px);
  }

  .site-header,
  .top-actions,
  .hero-actions,
  .url-input-row {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .top-actions {
    width: 100%;
  }

  .top-actions a,
  .hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  h1 {
    font-size: 4.15rem;
  }

  .browser-demo {
    box-shadow: 7px 7px 0 var(--ink), var(--shadow);
  }

  .headline-stack {
    gap: 15px;
  }
}

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