:root {
  color-scheme: light;
  --background: #f5f3ec;
  --surface: #fffefa;
  --surface-muted: #ece8dc;
  --text: #1f2520;
  --muted: #626960;
  --border: rgba(37, 49, 38, 0.14);
  --green: #3f7a5c;
  --green-dark: #24533d;
  --green-soft: #dfeade;
  --yellow: #f1c54d;
  --red: #d94b40;
  --shadow: 0 24px 60px rgba(41, 48, 35, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(145deg, rgba(63, 122, 92, 0.14), transparent 34rem),
    linear-gradient(315deg, rgba(241, 197, 77, 0.16), transparent 30rem),
    var(--background);
  color: var(--text);
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--green);
  box-shadow: 0 10px 30px rgba(47, 65, 47, 0.08);
}

.brand-mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  min-height: calc(100vh - 5.5rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12.5ch;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-text {
  max-width: 39rem;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  padding: 0.75rem 1.05rem;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 14px 32px rgba(63, 122, 92, 0.25);
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 254, 250, 0.7);
  color: var(--green-dark);
}

.browser-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: #252a25;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: grid;
  grid-template-columns: 0.75rem 0.75rem 0.75rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.95rem 1rem;
  color: #cdd3ca;
}

.browser-bar span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
}

.browser-bar span:nth-child(1) {
  background: var(--red);
}

.browser-bar span:nth-child(2) {
  background: var(--yellow);
}

.browser-bar span:nth-child(3) {
  background: #63c365;
}

.browser-bar p {
  margin: 0 0 0 0.4rem;
  color: #cdd3ca;
  font-size: 0.9rem;
}

.youtube-shell {
  margin: 0.65rem;
  border-radius: 1rem;
  background: var(--surface);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.youtube-top {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.youtube-logo {
  width: 2.4rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: var(--red);
  position: relative;
}

.youtube-logo::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0.43rem;
  border-top: 0.39rem solid transparent;
  border-bottom: 0.39rem solid transparent;
  border-left: 0.62rem solid white;
}

.search-pill,
.status-pill {
  min-height: 2.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f7f6f1;
  color: #81877e;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-weight: 650;
}

.status-pill {
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-dark);
}

.clean-panel {
  margin-top: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e6efe3, #f9f6e9);
  padding: clamp(1.4rem, 4vw, 2rem);
}

.panel-label {
  margin: 0 0 0.5rem;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.clean-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.clean-panel p:last-child {
  max-width: 28rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.blocked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.blocked-grid span {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #fbfaf5;
  padding: 0.85rem;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 720;
}

.section,
.page-main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.6rem;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.feature-grid article,
.support-card,
.cta-section {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 254, 250, 0.76);
  box-shadow: 0 16px 42px rgba(41, 48, 35, 0.08);
}

.feature-grid article {
  padding: 1.2rem;
}

.feature-grid h3,
.support-card h2,
.policy h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.feature-grid p,
.answer-copy p,
.support-card li,
.policy p,
.cta-section p,
.page-hero p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.answer-copy p:first-child {
  margin-top: 0;
}

.cta-section {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem);
  margin-bottom: 4rem;
}

.cta-section h2 {
  max-width: none;
}

.page-main {
  padding: clamp(2rem, 6vw, 5rem) 0 4rem;
}

.page-hero {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.support-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-card {
  padding: clamp(1.2rem, 3vw, 1.65rem);
}

.support-card ol,
.support-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.support-card li + li {
  margin-top: 0.45rem;
}

.policy {
  max-width: 48rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 254, 250, 0.78);
  box-shadow: 0 16px 42px rgba(41, 48, 35, 0.08);
  padding: clamp(1.4rem, 4vw, 2rem);
}

.policy h2:not(:first-child) {
  margin-top: 2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero,
  .split-section,
  .support-layout {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 9ch;
  }

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

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

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

  .button {
    width: 100%;
  }

  .youtube-top {
    grid-template-columns: 2.4rem 1fr;
  }

  .status-pill {
    grid-column: 1 / -1;
  }

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

  .site-footer div {
    white-space: normal;
  }
}
