﻿:root {
  --bg: #F8F6F0;
  --surface: #ffffff;
  --ink: #1C1C1C;
  --muted: #2F2F2F;
  --line: #EDE8E0;
  --green: #5FE66B;
  --lime: #5FE66B;
  --light-green: #E8F5E0;
  --coral: #f06f55;
  --blue: #3776d6;
  --shadow: 0 38px 100px rgba(28, 28, 28, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.learn-page {
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.learn-page .page-hero h1,
.learn-page .section h2 {
  font-size: 34px;
  line-height: 1.15;
  max-width: 760px;
}

.learn-page .page-hero p,
.learn-page .section p,
.learn-page .section li,
.learn-page .program-list span,
.learn-page .faq-section details p {
  font-size: 14px;
  line-height: 1.58;
}

.learn-page .section h3,
.learn-page .faq-section summary {
  font-size: 18px;
  line-height: 1.25;
}

.learn-page .price {
  font-size: 28px;
}

.learn-page .compact-split {
  padding: 0;
}

.learn-page .faq-section details:last-child,
.learn-page .site-footer {
  border-top-color: transparent;
  border-bottom: 0;
}

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

.check-list li,
.link-list a,
.mini-project-grid article,
.highlight-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.check-list li {
  padding: 13px 15px;
  font-weight: 400;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  padding: 13px 15px;
  color: var(--green);
  font-weight: 400;
}

.closing-line {
  max-width: 860px;
  margin: 28px 0 0;
  font-weight: 400;
}

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

.mini-project-grid article {
  padding: 18px;
}

.mini-project-grid h3 {
  margin-bottom: 8px;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.inline-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.inline-cta .button.primary {
  background: var(--lime);
  color: #102116;
  box-shadow: none;
  flex: 0 0 auto;
}

.highlight-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border-left: 5px solid var(--green);
}

.highlight-panel p {
  max-width: 760px;
  margin-bottom: 0;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(247, 247, 242, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 227, 218, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  letter-spacing: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #102116;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(23, 24, 22, 0.12);
}
.site-nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-nav a {
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
}
.site-nav a:hover { background: #ecefe6; color: var(--ink); }
.header-cta {
  justify-self: end;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
}
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 64px);
}
.home-hero { border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 690px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.28;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: clamp(18px, 2vw, 24px); line-height: 1.32; }
.hero-text, .page-hero p {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  max-width: 740px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 400;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: white; box-shadow: 0 12px 28px rgba(31, 122, 88, 0.22); }
.button.secondary { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.hero-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 24, 22, 0.08);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
}
.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}
.row-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.feature-grid, .lesson-grid, .pricing-grid, .project-grid, .gallery-grid, .result-grid {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .lesson-card, .price-card, .project-card, .testimonial {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.feature-card { padding: 24px; min-height: 230px; }
.feature-card p, .lesson-card p, .price-card p, .project-card p, .testimonial p, .site-footer p, .rules-list p { color: var(--muted); }
.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #eef6d5;
  color: var(--green);
  font-weight: 400;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}
.steps, .program-list, .rules-list {
  display: grid;
  gap: 12px;
}
.step, .program-list div, .rules-list p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  margin: 0;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.community-rules {
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-rules li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  box-shadow: 0 18px 54px rgba(28, 28, 28, 0.055);
}

.community-rules li::before {
  content: "";
  position: absolute;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(95, 230, 107, 0.16);
}
.step b, .program-list b { color: var(--coral); }
.muted-band { background: #eef1e8; }
.result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-grid p {
  margin: 0;
  padding: 22px;
  border-left: 4px solid var(--green);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  font-weight: 400;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0;
  cursor: pointer;
}

.carousel-controls .icon-button {
  position: relative;
}

.carousel-controls .icon-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
}

.carousel-controls .icon-button:first-child::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.carousel-controls .icon-button:last-child::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.carousel-controls .icon-button:focus-visible {
  outline: 3px solid rgba(95, 230, 107, 0.45);
  outline-offset: 3px;
}

.testimonial-carousel { position: relative; min-height: 220px; }
.testimonial {
  display: none;
  max-width: 820px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.testimonial.active { display: block; }
.testimonial p { font-size: 24px; color: var(--ink); }

.lesson-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lesson-card { overflow: hidden; }
.lesson-card img, .project-card img, .gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d8ded2;
}
.lesson-card h3, .lesson-card p { padding-inline: 18px; }
.lesson-card h3 { padding-top: 18px; }
.lesson-card p { padding-bottom: 18px; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: var(--ink);
}
.cta-band .eyebrow { color: var(--lime); }
.cta-band p { color: rgba(255,255,255,0.74); max-width: 720px; }
.cta-band .button.primary { background: var(--lime); color: #102116; }
.project-course-cta .button.primary {
  border-radius: 999px;
  background: var(--lime);
  color: #102116;
  box-shadow: none;
  font-weight: 500;
}

.page-hero {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 5vw, 64px) clamp(44px, 7vw, 82px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 1050px; font-size: clamp(42px, 7vw, 78px); }
.community-hero {
  background: linear-gradient(90deg, rgba(216,242,99,0.42), rgba(55,118,214,0.12)), var(--bg);
}

.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { padding: 26px; }
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow); }
.price { color: var(--ink); font-size: 34px; font-weight: 400; }
.price-card ul { padding-left: 20px; color: var(--muted); }
.price-card li { margin: 8px 0; }
.faq-section details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-section summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
}
.faq-section details:last-child { border-bottom: 1px solid var(--line); }

.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid img { border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.filter {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 400;
}
.filter.active { background: var(--ink); color: white; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card { overflow: hidden; }
.project-card div { padding: 20px; display: grid; gap: 8px; }
.project-card span { color: var(--green); font-size: 13px; font-weight: 400; }
.project-card strong { font-size: 14px; }
.project-card.hidden { display: none; }
.text-link { color: var(--blue); font-weight: 400; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}
.site-footer nav, .socials { display: grid; gap: 10px; align-content: start; }
.site-footer a:not(.brand) { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.copyright { grid-column: 1 / -1; margin: 0; font-size: 14px; }

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-brand-block p {
  max-width: 290px;
  margin: 0;
}

.footer-nav,
.footer-legal {
  display: grid;
  gap: 10px;
}

.footer-legal {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal a {
  font-size: 13px;
}

@media (max-width: 760px) {
  .site-header.premium-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 68px;
    padding: 13px 16px;
    background: rgba(248, 246, 240, 0.92);
  }

  .premium-header .brand {
    min-width: 0;
    gap: 10px;
    font-size: 16px;
  }

  .premium-header .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .premium-header .menu-toggle {
    justify-self: end;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .premium-header .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  }

  .premium-header .menu-toggle:focus {
    outline: none;
  }

  .premium-header .menu-toggle:hover,
  .premium-header .menu-toggle:focus-visible {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: none;
  }

  .premium-header .menu-toggle:hover span,
  .premium-header .menu-toggle:focus-visible span {
    background: var(--green);
  }

  .premium-header .menu-toggle[aria-expanded="true"] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .premium-header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .premium-header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .premium-header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .premium-header .menu-toggle[aria-expanded="true"]:hover span,
  .premium-header .menu-toggle[aria-expanded="true"]:focus-visible span {
    background: var(--green);
  }

  .premium-header .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(237, 232, 224, 0.94);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
  }

  .premium-header .site-nav.open {
    display: grid;
  }

  .premium-header .site-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
  }

  .premium-header .site-nav a:hover,
  .premium-header .site-nav a:focus-visible {
    background: var(--light-green);
    color: var(--ink);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .footer-brand-block,
  .footer-legal,
  .copyright {
    grid-column: 1 / -1;
  }

  .footer-brand-block {
    gap: 18px;
  }

  .footer-brand-block p {
    max-width: 260px;
  }

  .footer-nav,
  .socials,
  .footer-legal {
    gap: 9px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .footer-legal a {
    font-size: 13px;
  }
}

.home-premium {
  --premium-bg: #F8F6F0;
  --premium-text: #1C1C1C;
  --premium-muted: #2F2F2F;
  --premium-accent: #5FE66B;
  --premium-surface: #E8F5E0;
  --premium-border: #EDE8E0;
  overflow-x: hidden;
}

.home-premium h1,
.home-premium h2,
.home-premium h3,
.home-premium .brand {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.home-premium {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.premium-header {
  min-height: 88px;
  padding: 20px clamp(22px, 4.8vw, 76px);
  background: rgba(248, 246, 240, 0.78);
  border-bottom: 1px solid rgba(237, 232, 224, 0.84);
}

.premium-header .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--premium-accent);
  color: var(--premium-text);
  box-shadow: 0 12px 32px rgba(95, 230, 107, 0.32);
}

.premium-header .site-nav {
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(237, 232, 224, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.premium-header .site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(47, 47, 47, 0.72);
  font-size: 14px;
  font-weight: 400;
}

.premium-header .site-nav a:hover {
  background: var(--premium-surface);
  color: var(--premium-text);
}

.premium-header .header-cta {
  border-radius: 999px;
  background: var(--premium-text);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(28, 28, 28, 0.12);
  white-space: nowrap;
}

.premium-hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(360px, 42fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
  padding: clamp(54px, 7vw, 102px) clamp(22px, 4.8vw, 76px) clamp(44px, 6vw, 86px);
  background:
    radial-gradient(circle at 78% 22%, rgba(95, 230, 107, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(248, 246, 240, 0));
}

.premium-hero__copy {
  max-width: 920px;
}

.hero-copy-mobile {
  display: none;
}

.premium-kicker {
  margin: 0 0 22px;
  color: rgba(28, 28, 28, 0.58);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-title {
  display: grid;
  gap: 0;
  margin: 0;
  color: var(--premium-text);
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.premium-title span {
  display: block;
}

.premium-title--single {
  display: block;
  max-width: 900px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.premium-description {
  max-width: 70ch;
  margin: 28px 0 0;
  color: var(--premium-muted);
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.premium-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.premium-button:hover {
  transform: translateY(-3px);
}

.premium-button--primary {
  background: var(--premium-accent);
  color: var(--premium-text);
  box-shadow: 0 20px 48px rgba(95, 230, 107, 0.27);
}

.premium-button--primary:hover {
  box-shadow: 0 0 0 1px rgba(95, 230, 107, 0.35), 0 26px 70px rgba(95, 230, 107, 0.38);
}

.premium-button--ghost {
  border: 1px solid var(--premium-border);
  background: rgba(255, 255, 255, 0.66);
  color: var(--premium-text);
}

.premium-button--ghost:hover {
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(28, 28, 28, 0.08);
}

.premium-hero__visual {
  position: relative;
}

.premium-hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% -7% -5% 10%;
  border-radius: 34px;
  background: rgba(95, 230, 107, 0.22);
  filter: blur(34px);
  z-index: 0;
}

.workspace-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 760px;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 72px rgba(28, 28, 28, 0.1);
}

.workspace-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 20px;
  color: var(--premium-text);
  background:
    linear-gradient(135deg, rgba(95, 230, 107, 0.9) 0%, rgba(189, 247, 165, 0.86) 52%, rgba(232, 245, 224, 0.96) 100%);
}

.workspace-topbar p {
  margin: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.workspace-topbar span {
  display: block;
  margin-top: 6px;
  color: rgba(28, 28, 28, 0.64);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workspace-status {
  display: block;
  align-self: center;
  margin-left: auto;
  width: 12px;
  height: 12px;
  transform: translateY(-13px);
  padding: 0;
  border-radius: 50%;
  background: var(--premium-accent);
  border: 0;
  box-shadow: 0 0 0 0 rgba(95, 230, 107, 0.58);
  animation: onlinePulse 1.8s ease-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.workspace-status:hover {
  transform: translateY(-15px);
  background: var(--premium-accent);
  box-shadow: 0 0 0 6px rgba(95, 230, 107, 0.2);
}

@keyframes onlinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 230, 107, 0.58);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(95, 230, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 230, 107, 0);
  }
}

.workspace-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.workspace-panel {
  border: 1px solid var(--premium-border);
  border-radius: 18px;
  padding: 18px;
  background: #FDFCF8;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(28, 28, 28, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-panel h2 {
  margin: 0 0 8px;
  color: var(--premium-text);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.workspace-panel p {
  margin: 0;
  color: rgba(47, 47, 47, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.prompt-chip-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.prompt-chip-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--premium-surface);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.task-stack {
  display: grid;
  gap: 8px;
}

.task-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--premium-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.task-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 230, 107, 0.72);
  box-shadow: 0 16px 36px rgba(28, 28, 28, 0.08);
}

.task-card--active {
  border-color: rgba(95, 230, 107, 0.85);
  background: linear-gradient(135deg, #ffffff, #F1FAEC);
}

.task-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--premium-text);
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
}

.task-card h3 {
  margin: 0 0 2px;
  color: var(--premium-text);
  font-size: 16px;
  line-height: 1.35;
}

.task-card p {
  margin: 0;
  color: rgba(47, 47, 47, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.premium-proof,
.premium-process,
.premium-lessons,
.premium-final-cta {
  padding-inline: clamp(22px, 4.8vw, 76px);
}

.premium-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
  padding-bottom: clamp(72px, 9vw, 118px);
}

.premium-proof article,
.premium-card,
.premium-lesson {
  border: 1px solid var(--premium-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 50px rgba(28, 28, 28, 0.055);
}

.premium-proof article {
  padding: 28px;
}

.premium-proof span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--premium-surface);
  font-weight: 400;
}

.premium-proof h2,
.premium-card h3,
.premium-lesson h3 {
  color: var(--premium-text);
  letter-spacing: -0.03em;
}

.premium-proof h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.05;
}

.premium-proof p,
.premium-card p,
.premium-lesson p,
.premium-final-cta p {
  margin: 0;
  color: rgba(47, 47, 47, 0.76);
}

.premium-process,
.premium-lessons {
  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
  border-top: 1px solid var(--premium-border);
}

.premium-process {
  background: rgba(232, 245, 224, 0.36);
}

.premium-section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.premium-section-head h2,
.premium-final-cta h2 {
  margin: 0;
  color: var(--premium-text);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.premium-grid,
.premium-lesson-grid {
  display: grid;
  gap: 16px;
}

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

.premium-card {
  min-height: 238px;
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.premium-card-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--premium-surface);
  color: var(--premium-text);
  font-size: 13px;
  font-weight: 400;
}

.premium-card:hover,
.premium-lesson:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(28, 28, 28, 0.08);
}

.premium-card h3 {
  margin-bottom: 18px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.32;
}

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

.premium-lesson-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-lesson {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.premium-lesson img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.premium-lesson h3 {
  margin: 22px 22px 8px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.32;
}

.premium-lesson p {
  padding: 0 22px 24px;
}

.premium-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(22px, 4.8vw, 76px) clamp(72px, 8vw, 108px);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(95, 230, 107, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(95, 230, 107, 0.28), transparent 32%),
    #1C1C1C;
  color: #ffffff;
  box-shadow: 0 34px 90px rgba(28, 28, 28, 0.16);
}

.premium-final-cta .premium-kicker {
  color: rgba(95, 230, 107, 0.9);
}

.premium-final-cta h2 {
  max-width: 740px;
  color: #ffffff;
}

.premium-final-cta p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.55;
}

.premium-footer {
  border-top-color: var(--premium-border);
  background: rgba(255, 255, 255, 0.52);
}

.motion-fade,
.motion-rise {
  opacity: 0;
}

.premium-split,
.premium-results,
.premium-testimonials {
  padding: clamp(72px, 9vw, 118px) clamp(22px, 4.8vw, 76px);
  border-top: 1px solid var(--premium-border);
}

.premium-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.premium-split .premium-section-head {
  margin-bottom: 0;
}

.premium-step-list {
  display: grid;
  gap: 12px;
}

.premium-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--premium-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 50px rgba(28, 28, 28, 0.045);
}

.premium-step b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--premium-accent);
  color: var(--premium-text);
}

.premium-step span {
  color: rgba(47, 47, 47, 0.82);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

.premium-results {
  background: rgba(232, 245, 224, 0.42);
}

.premium-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.premium-result-grid p {
  min-height: 124px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--premium-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--premium-text);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  box-shadow: 0 18px 50px rgba(28, 28, 28, 0.045);
}

.premium-testimonials {
  background: var(--premium-bg);
}

.premium-testimonials .row-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.premium-testimonials .premium-section-head h2 {
  max-width: 850px;
}

.premium-carousel {
  min-height: 236px;
}

.premium-carousel .testimonial {
  max-width: 900px;
  border-radius: 28px;
  border-color: var(--premium-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(28, 28, 28, 0.09);
}

.premium-carousel .testimonial p {
  color: var(--premium-text);
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.premium-carousel .testimonial strong {
  color: rgba(47, 47, 47, 0.72);
}

.home-premium .icon-button {
  border-radius: 999px;
  border-color: var(--premium-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--premium-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.home-premium .icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 230, 107, 0.58);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(95, 230, 107, 0.12), 0 14px 34px rgba(28, 28, 28, 0.08);
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    position: relative;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  .menu-toggle span {
    position: absolute;
    left: 50%;
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  }

  .menu-toggle span:nth-child(1) {
    top: 15px;
    transform: translateX(-50%);
  }

  .menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .menu-toggle span:nth-child(3) {
    bottom: 15px;
    transform: translateX(-50%);
  }

  .menu-toggle:hover,
  .menu-toggle.active,
  .menu-toggle[aria-expanded="true"] {
    background: transparent;
    box-shadow: none;
  }

  .menu-toggle:hover span,
  .menu-toggle.active span,
  .menu-toggle[aria-expanded="true"] span {
    background: var(--premium-accent);
  }

  .menu-toggle.active span:nth-child(1),
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateX(-50%) rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2),
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3),
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg) translate(6px, -6px);
  }

  .menu-toggle:focus-visible {
    outline: 3px solid rgba(95, 230, 107, 0.42);
    outline-offset: 3px;
  }
  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero, .split-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .feature-grid, .feature-grid.three, .lesson-grid, .pricing-grid, .gallery-grid, .result-grid, .project-grid, .mini-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inline-cta,
  .highlight-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .premium-header .site-nav {
    border-radius: 24px;
  }
  .premium-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .premium-title {
    font-size: 42px;
    line-height: 1.18;
    letter-spacing: -0.025em;
  }
  .premium-title--single {
    font-size: 60px;
    line-height: 1.6;
  }
  .premium-hero__visual {
    max-width: 680px;
  }
  .premium-proof,
  .premium-grid,
  .premium-lesson-grid,
  .premium-lesson-grid--four,
  .premium-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .premium-split {
    grid-template-columns: 1fr;
  }
  .premium-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; padding: 13px 16px; }
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
  .hero, .section, .page-hero { padding-left: 16px; padding-right: 16px; }
  .feature-grid, .feature-grid.three, .lesson-grid, .pricing-grid, .gallery-grid, .result-grid, .project-grid, .mini-project-grid {
    grid-template-columns: 1fr;
  }
  .row-head, .cta-band { align-items: flex-start; flex-direction: column; }
  .project-course-cta {
    gap: 20px;
  }
  .project-course-cta .button.primary {
    width: auto;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .project-course-cta .button.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(95, 230, 107, 0.16);
  }
  .testimonial p { font-size: 20px; }
  .site-footer { grid-template-columns: 1fr; }
  .premium-header {
    min-height: 72px;
    padding: 14px 16px;
  }
  .premium-hero {
    padding: 42px 16px 54px;
  }
  .premium-title {
    font-size: 32px;
    line-height: 1.22;
    letter-spacing: -0.02em;
  }
  .premium-title--single {
    font-size: 42px;
    line-height: 1.28;
    letter-spacing: -0.015em;
  }
  .premium-description {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.55;
  }
  .premium-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .premium-button {
    width: 100%;
  }
  .workspace-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
  .workspace-body {
    padding: 12px;
  }
  .workspace-panel h2 {
    font-size: 24px;
  }
  .task-card {
    grid-template-columns: 38px 1fr;
    padding: 12px;
  }
  .task-card > span {
    width: 38px;
    height: 38px;
  }
  .premium-proof,
  .premium-grid,
  .premium-lesson-grid,
  .premium-lesson-grid--four,
  .premium-result-grid {
    grid-template-columns: 1fr;
  }
  .premium-proof,
  .premium-process,
  .premium-lessons,
  .premium-final-cta {
    padding-left: 16px;
    padding-right: 16px;
  }
  .premium-section-head h2,
  .premium-final-cta h2 {
    font-size: 28px;
    line-height: 1.28;
  }
  .premium-final-cta {
    margin-left: 16px;
    margin-right: 16px;
    border-radius: 28px;
  }
  .premium-split,
  .premium-results,
  .premium-testimonials {
    padding-left: 16px;
    padding-right: 16px;
  }
  .premium-testimonials .row-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Homepage typography system: readable sizes, 1.4-1.6 leading, consistent spacing. */
.home-premium {
  --type-h1: 48px;
  --type-h2: 32px;
  --type-h3: 22px;
  --type-body: 17px;
  --type-small: 13px;
  --lead-tight: 1.22;
  --lead-heading: 1.28;
  --lead-body: 1.55;
  --space-page-x: clamp(20px, 4.8vw, 76px);
  --space-section-y: clamp(72px, 8vw, 112px);
  --space-block: 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--type-body);
  line-height: var(--lead-body);
}

.home-premium h1,
.home-premium h2,
.home-premium h3 {
  text-wrap: balance;
}

.home-premium p {
  line-height: var(--lead-body);
}

.premium-hero {
  padding: var(--space-section-y) var(--space-page-x) calc(clamp(56px, 6vw, 88px) + 200px);
  grid-template-columns: minmax(0, 64fr) minmax(340px, 36fr);
  gap: clamp(34px, 4.6vw, 68px);
}

.premium-hero__copy {
  max-width: 1040px;
}

.premium-title {
  max-width: 820px;
  font-size: clamp(56px, 6.6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.premium-description {
  max-width: 62ch;
  margin-top: 28px;
  font-size: 18px;
  line-height: var(--lead-body);
  color: rgba(47, 47, 47, 0.82);
}

.premium-kicker,
.workspace-topbar span,
.panel-label,
.task-card p,
.premium-carousel .testimonial strong,
.copyright {
  font-size: var(--type-small);
  line-height: 1.45;
}

.premium-actions {
  margin-top: 32px;
}

.premium-process,
.premium-lessons,
.premium-split,
.premium-results,
.premium-testimonials {
  padding: var(--space-section-y) var(--space-page-x);
}

.premium-proof {
  padding-right: var(--space-page-x);
  padding-left: var(--space-page-x);
  padding-bottom: var(--space-section-y);
}

.premium-section-head {
  max-width: 760px;
  margin-bottom: var(--space-block);
}

.premium-section-head .premium-kicker {
  margin-bottom: 12px;
}

.premium-section-head h2,
.premium-final-cta h2,
.premium-proof h2 {
  font-size: var(--type-h2);
  line-height: var(--lead-heading);
  letter-spacing: -0.018em;
}

.premium-card h3,
.premium-lesson h3 {
  font-size: var(--type-h3);
  line-height: var(--lead-heading);
  letter-spacing: -0.012em;
}

.task-card h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.006em;
}

.premium-proof p,
.premium-card p,
.premium-lesson p,
.premium-final-cta p,
.premium-result-grid p,
.premium-step span {
  font-size: var(--type-body);
  line-height: var(--lead-body);
}

.workspace-panel h2 {
  font-size: 24px;
  line-height: var(--lead-heading);
}

.workspace-panel p {
  font-size: 14px;
  line-height: 1.55;
}

.premium-card,
.premium-proof article {
  padding: 28px;
}

.premium-result-grid p {
  min-height: 118px;
}

.premium-carousel .testimonial p {
  font-size: 32px;
  line-height: 1.32;
}

.premium-final-cta {
  margin-right: var(--space-page-x);
  margin-left: var(--space-page-x);
  padding: clamp(34px, 5vw, 56px);
}

@media (max-width: 980px) {
  .home-premium {
    --type-h1: 44px;
    --type-h2: 30px;
    --type-h3: 21px;
    --type-body: 16px;
    --space-section-y: 72px;
  }

  .premium-description {
    font-size: 17px;
  }

  .premium-title {
    max-width: 760px;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .premium-carousel .testimonial p {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .home-premium {
    --type-h1: 36px;
    --type-h2: 26px;
    --type-h3: 20px;
    --type-body: 16px;
    --space-page-x: 16px;
    --space-section-y: 56px;
    --space-block: 24px;
  }

  .premium-hero {
    padding-top: 44px;
  }

  .premium-title {
    max-width: 100%;
    font-size: clamp(42px, 12.8vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .premium-description {
    margin-top: 20px;
    font-size: 16px;
  }

  .premium-proof article,
  .premium-card,
  .premium-lesson,
  .premium-carousel .testimonial {
    border-radius: 22px;
  }

  .premium-carousel .testimonial p {
    font-size: 24px;
    line-height: 1.35;
  }
}

/* Inner pages design system */
.inner-premium {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
}

.inner-premium h1,
.inner-premium h2,
.inner-premium h3,
.inner-premium .brand {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.inner-premium h1 {
  max-width: 980px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
}

.inner-premium h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
}

.inner-premium h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.28;
}

.inner-premium p,
.inner-premium li,
.inner-premium summary,
.inner-premium span {
  line-height: 1.55;
}

.inner-premium .site-header {
  background: rgba(248, 246, 240, 0.78);
  border-bottom-color: rgba(237, 232, 224, 0.84);
}

.inner-premium .brand-mark {
  border-radius: 14px;
  background: var(--green);
  box-shadow: 0 12px 32px rgba(95, 230, 107, 0.24);
}

.inner-premium .site-nav {
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(237, 232, 224, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.inner-premium .site-nav a {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.inner-premium .site-nav a:hover {
  background: var(--light-green);
}

.inner-premium .header-cta {
  border-radius: 999px;
  background: var(--ink);
}

.inner-hero {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 4.8vw, 76px) clamp(48px, 6vw, 84px);
  background:
    radial-gradient(circle at 82% 20%, rgba(95, 230, 107, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.36), rgba(248,246,240,0));
}

.inner-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(47, 47, 47, 0.82);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.inner-premium .section {
  padding: clamp(68px, 8vw, 108px) clamp(20px, 4.8vw, 76px);
}

.inner-premium .section-head {
  max-width: 840px;
  margin-bottom: 32px;
}

.inner-premium .eyebrow {
  color: rgba(28, 28, 28, 0.58);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.inner-premium .feature-card,
.inner-premium .price-card,
.inner-premium .project-card,
.inner-premium .lesson-card,
.inner-premium .check-list li,
.inner-premium .link-list a,
.inner-premium .mini-project-grid article,
.inner-premium .highlight-panel,
.inner-premium .program-list div,
.inner-premium .rules-list p,
.team-card {
  border-color: var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 54px rgba(28, 28, 28, 0.055);
}

.inner-premium .feature-card,
.inner-premium .price-card,
.team-card {
  min-height: 220px;
  padding: 26px;
}

.inner-premium .button,
.inner-premium .filter {
  border-radius: 999px;
  font-weight: 600;
}

.inner-premium .button.primary,
.inner-premium .filter.active {
  background: var(--green);
  color: #132017;
  box-shadow: 0 18px 44px rgba(95, 230, 107, 0.22);
}

.inner-premium .button.secondary,
.inner-premium .filter {
  background: rgba(255,255,255,0.7);
}

.inner-premium .muted-band {
  background: rgba(232, 245, 224, 0.5);
}

.inner-premium .cta-band {
  background: #1C1C1C;
}

.inner-premium .cta-band .button.primary {
  background: var(--green);
}

.inner-premium .price {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.inner-premium .project-card img,
.inner-premium .gallery-grid img {
  border-radius: 18px 18px 0 0;
}

.legal-page {
  background: var(--bg);
}

.legal-document {
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0 clamp(64px, 9vw, 112px);
}

.legal-document h1 {
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.legal-document section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-document section:first-of-type {
  margin-top: 30px;
}

.legal-document h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-document p {
  max-width: 760px;
  color: rgba(47, 47, 47, 0.82);
}

.legal-document a {
  color: var(--blue);
}

.legal-note {
  padding: 16px 18px;
  border: 1px solid rgba(95, 230, 107, 0.42);
  border-radius: 18px;
  background: rgba(232, 245, 224, 0.62);
}

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

.team-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--light-green);
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 980px) {
  .inner-premium .site-nav {
    border-radius: 24px;
  }

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

@media (max-width: 640px) {
  .inner-premium {
    font-size: 16px;
  }

  .inner-premium h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .inner-premium h2 {
    font-size: 28px;
  }

  .inner-hero,
  .inner-premium .section {
    padding-left: var(--mobile-grid-margin);
    padding-right: var(--mobile-grid-margin);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .legal-document {
    width: calc(100vw - 32px);
    padding-top: 42px;
  }

  .legal-document h1 {
    font-size: 26px;
    line-height: 1.12;
  }

  .legal-document h2 {
    font-size: 21px;
  }
}

/* Mobile polish: current homepage adaptation. */
.motion-fade,
.motion-rise {
  opacity: 1;
}

.hero-copy-mobile {
  display: none;
}

.workspace-status {
  display: block;
  align-self: center;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--premium-accent);
  box-shadow: 0 0 0 0 rgba(95, 230, 107, 0.58);
  animation: onlinePulse 1.8s ease-out infinite;
}

.workspace-status::before {
  content: none;
}

.workspace-status:hover {
  transform: none;
  background: var(--premium-accent);
  box-shadow: 0 0 0 0 rgba(95, 230, 107, 0.58);
}

@media (max-width: 760px) {
  .home-premium {
    --mobile-grid-width: min(300px, calc(100vw - 32px));
    --mobile-grid-margin: max(16px, calc((100vw - var(--mobile-grid-width)) / 2));
    --space-page-x: var(--mobile-grid-margin);
    --space-section-y: 56px;
  }

  .premium-header {
    min-height: 68px;
    padding: 13px var(--mobile-grid-margin);
  }

  .premium-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 28px var(--mobile-grid-margin) 56px;
  }

  .premium-hero__copy {
    max-width: var(--mobile-grid-width);
  }

  .hero-copy-desktop {
    display: none;
  }

  .hero-copy-mobile {
    display: grid;
  }

  p.hero-copy-mobile {
    display: block;
  }

  .premium-kicker.hero-copy-mobile {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  .premium-title {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .premium-description {
    max-width: 100%;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
  }

  .premium-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
    margin-top: 18px;
  }

  .premium-button {
    width: auto;
    min-height: 38px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .premium-hero__visual {
    width: var(--mobile-grid-width);
    max-width: var(--mobile-grid-width);
  }

  .premium-hero__visual::before {
    display: none;
  }

  .workspace-card {
    border-radius: 18px;
  }

  .workspace-topbar {
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
    padding: 16px;
  }

  .workspace-topbar p {
    font-size: 16px;
    line-height: 1.2;
  }

  .workspace-topbar span {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.35;
  }

  .workspace-status {
    width: 10px;
    height: 10px;
    transform: translateY(2px);
  }

  .workspace-body {
    padding: 10px;
  }

  .workspace-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .workspace-panel h2 {
    font-size: 18px;
  }

  .workspace-panel p {
    font-size: 12px;
  }

  .task-card {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .task-card > span {
    width: 32px;
    height: 32px;
  }
}

/* Mobile checkpoint before footer experiments. */
@media (max-width: 760px) {
  .home-premium {
    --mobile-grid-width: min(300px, calc(100vw - 32px));
    --mobile-grid-margin: max(16px, calc((100vw - var(--mobile-grid-width)) / 2));
    --mobile-grid-gutter: calc(var(--mobile-grid-width) * 20 / 300);
    --mobile-grid-column: calc((var(--mobile-grid-width) - (var(--mobile-grid-gutter) * 3)) / 4);
    --space-page-x: var(--mobile-grid-margin);
  }

  .home-premium .site-header {
    padding: 13px var(--mobile-grid-margin);
  }

  .home-premium .premium-hero,
  .home-premium .premium-process,
  .home-premium .premium-split,
  .home-premium .premium-results,
  .home-premium .premium-testimonials,
  .home-premium .premium-lessons {
    padding-right: var(--mobile-grid-margin);
    padding-left: var(--mobile-grid-margin);
  }

  .home-premium .premium-hero__copy,
  .home-premium .premium-hero__visual,
  .home-premium .premium-section-head,
  .home-premium .premium-grid,
  .home-premium .premium-step-list,
  .home-premium .premium-result-grid,
  .home-premium .testimonial-carousel,
  .home-premium .premium-lesson-grid {
    width: var(--mobile-grid-width);
    max-width: var(--mobile-grid-width);
  }

  .home-premium .premium-title {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .home-premium .premium-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .home-premium .premium-section-head h2 {
    font-size: 25px;
    line-height: 1.22;
    letter-spacing: 0;
  }

  .home-premium .premium-card h3,
  .home-premium .premium-lesson h3 {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .home-premium .premium-card p,
  .home-premium .premium-lesson p,
  .home-premium .premium-step span,
  .home-premium .premium-result-grid p {
    font-size: 15px;
    line-height: 1.55;
  }

  .home-premium .menu-toggle {
    justify-self: end;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: none;
    transition: none;
    -webkit-tap-highlight-color: transparent;
  }

  .home-premium .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--premium-text);
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  }

  .home-premium .menu-toggle:focus {
    outline: none;
  }

  .home-premium .menu-toggle:hover,
  .home-premium .menu-toggle:focus-visible {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: none;
  }

  .home-premium .menu-toggle:hover span,
  .home-premium .menu-toggle:focus-visible span {
    background: var(--premium-accent);
  }

  .home-premium .menu-toggle[aria-expanded="true"] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .home-premium .menu-toggle[aria-expanded="true"] span {
    background: var(--premium-text);
  }

  .home-premium .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .home-premium .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .home-premium .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .home-premium .menu-toggle[aria-expanded="true"]:hover span,
  .home-premium .menu-toggle[aria-expanded="true"]:focus-visible span {
    background: var(--premium-accent);
  }

  .home-premium .site-nav {
    padding: 10px;
    border-color: rgba(237, 232, 224, 0.94);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
  }

  .home-premium .site-nav a:hover,
  .home-premium .site-nav a:focus-visible {
    background: var(--premium-surface);
    color: var(--premium-text);
  }

  .home-premium .footer-brand-block {
    grid-column: 1 / -1;
    gap: 18px;
  }

  .home-premium .footer-brand-block p {
    max-width: 260px;
  }

  .home-premium .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .home-premium .footer-nav,
  .home-premium .socials,
  .home-premium .footer-legal {
    gap: 9px;
  }

  .home-premium .footer-legal {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .home-premium .footer-legal a {
    font-size: 13px;
  }

  .home-premium .copyright {
    grid-column: 1 / -1;
  }

}

@media (max-width: 760px) {
  .home-premium.show-mobile-grid::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 9999;
    width: var(--mobile-grid-width);
    pointer-events: none;
    transform: translateX(-50%);
    background:
      linear-gradient(
        to right,
        rgba(121, 84, 255, 0.16) 0 var(--mobile-grid-column),
        transparent var(--mobile-grid-column) calc(var(--mobile-grid-column) + var(--mobile-grid-gutter)),
        rgba(121, 84, 255, 0.16) calc(var(--mobile-grid-column) + var(--mobile-grid-gutter)) calc((var(--mobile-grid-column) * 2) + var(--mobile-grid-gutter)),
        transparent calc((var(--mobile-grid-column) * 2) + var(--mobile-grid-gutter)) calc((var(--mobile-grid-column) * 2) + (var(--mobile-grid-gutter) * 2)),
        rgba(121, 84, 255, 0.16) calc((var(--mobile-grid-column) * 2) + (var(--mobile-grid-gutter) * 2)) calc((var(--mobile-grid-column) * 3) + (var(--mobile-grid-gutter) * 2)),
        transparent calc((var(--mobile-grid-column) * 3) + (var(--mobile-grid-gutter) * 2)) calc((var(--mobile-grid-column) * 3) + (var(--mobile-grid-gutter) * 3)),
        rgba(121, 84, 255, 0.16) calc((var(--mobile-grid-column) * 3) + (var(--mobile-grid-gutter) * 3)) var(--mobile-grid-width)
      );
    box-shadow:
      inset 1px 0 rgba(121, 84, 255, 0.36),
      inset -1px 0 rgba(121, 84, 255, 0.36);
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .footer-brand-block,
  .footer-legal,
  .copyright {
    grid-column: 1 / -1;
  }

  .footer-nav,
  .socials {
    gap: 9px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 22px;
  }
}

/* Mobile polish */
@media (max-width: 760px) {
  :root {
    --mobile-grid-width: min(300px, calc(100vw - 32px));
    --mobile-grid-margin: max(16px, calc((100vw - var(--mobile-grid-width)) / 2));
  }

  html,
  body {
    overflow-x: hidden;
  }

  .home-premium {
    --type-h2: 28px;
    --type-h3: 20px;
    --type-body: 16px;
    --type-small: 13px;
    font-size: var(--type-body);
    line-height: 1.55;
  }

  .site-header,
  .premium-header,
  .inner-premium .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px var(--mobile-grid-margin);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 13px;
  }

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
  }

  .menu-toggle span {
    width: 24px;
  }

  .site-nav,
  .premium-header .site-nav,
  .inner-premium .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-self: stretch;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a,
  .premium-header .site-nav a,
  .inner-premium .site-nav a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 15px;
  }

  .header-cta {
    display: none;
  }

  .premium-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
    padding: 30px var(--mobile-grid-margin) 64px;
  }

  .hero-copy-desktop {
    display: none;
  }

  .hero-copy-mobile {
    display: grid;
  }

  p.hero-copy-mobile {
    display: block;
  }

  .premium-hero__copy {
    width: var(--mobile-grid-width);
    max-width: var(--mobile-grid-width);
    justify-self: center;
  }

  .premium-kicker,
  .eyebrow,
  .inner-premium .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.09em;
  }

  .premium-title {
    max-width: 100%;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.018em;
  }

  .premium-description {
    max-width: 100%;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .premium-actions,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
  }

  .premium-button,
  .button {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
  }

  .carousel-controls {
    justify-content: flex-start;
    gap: 8px;
  }

  .carousel-controls .icon-button {
    width: 42px;
    height: 42px;
  }

  .premium-hero__visual {
    width: var(--mobile-grid-width);
    max-width: var(--mobile-grid-width);
    justify-self: center;
    margin-top: 2px;
  }

  .workspace-card {
    border-radius: 22px;
    min-height: auto;
    box-shadow: 0 20px 54px rgba(28, 28, 28, 0.1);
  }

  .workspace-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px;
    padding: 18px 18px 16px;
  }

  .workspace-topbar p {
    font-size: 18px;
    line-height: 1.2;
  }

  .workspace-topbar span {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
  }

  .workspace-status {
    align-self: start;
    margin-left: 0;
    margin-top: 4px;
    transform: none;
  }

  .workspace-status:hover {
    transform: none;
  }

  .workspace-body {
    padding: 12px;
  }

  .workspace-panel {
    padding: 15px;
    border-radius: 18px;
  }

  .workspace-panel h2 {
    font-size: 19px;
    line-height: 1.28;
  }

  .workspace-panel p {
    font-size: 14px;
    line-height: 1.5;
  }

  .prompt-chip-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .prompt-chip-row span {
    font-size: 11px;
  }

  .task-card {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 11px;
  }

  .task-card > span {
    width: 34px;
    height: 34px;
  }

  .task-card strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .task-card small {
    font-size: 12px;
    line-height: 1.35;
  }

  .premium-proof,
  .premium-process,
  .premium-split,
  .premium-results,
  .premium-testimonials,
  .premium-lessons,
  .section,
  .inner-premium .section,
  .inner-hero {
    padding-left: var(--mobile-grid-margin);
    padding-right: var(--mobile-grid-margin);
  }

  .premium-proof,
  .premium-process,
  .premium-split,
  .premium-results,
  .premium-testimonials,
  .premium-lessons,
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .premium-proof,
  .premium-grid,
  .premium-result-grid,
  .premium-lesson-grid,
  .premium-lesson-grid--four,
  .feature-grid,
  .feature-grid.three,
  .pricing-grid,
  .project-grid,
  .gallery-grid,
  .mini-project-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .premium-section-head,
  .section-head,
  .inner-premium .section-head {
    margin-bottom: 26px;
  }

  .premium-section-head h2,
  .premium-final-cta h2,
  .premium-proof h2,
  .inner-premium h2,
  h2 {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -0.018em;
  }

  .premium-section-head p,
  .section-head p,
  .inner-premium .section-head p {
    font-size: 16px;
    line-height: 1.55;
  }

  .premium-card h3,
  .premium-lesson h3,
  .inner-premium h3,
  h3 {
    font-size: 20px;
    line-height: 1.32;
  }

  .premium-card,
  .premium-proof article,
  .premium-lesson,
  .feature-card,
  .price-card,
  .project-card,
  .team-card {
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .premium-card p,
  .premium-proof p,
  .premium-lesson p,
  .feature-card p,
  .price-card p,
  .project-card p,
  .team-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .split-section,
  .premium-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .result-grid,
  .premium-result-grid {
    gap: 10px;
  }

  .result-grid p,
  .premium-result-grid p {
    min-height: auto;
    padding: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .row-head,
  .premium-testimonials .row-head,
  .cta-band,
  .premium-final-cta,
  .highlight-panel,
  .inline-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .premium-final-cta {
    margin: 0 var(--mobile-grid-margin) 56px;
    padding: 28px 20px;
    border-radius: 24px;
  }

  .cta-band {
    gap: 18px;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter {
    width: 100%;
    min-height: 46px;
  }

  .project-card img,
  .lesson-card img,
  .premium-lesson img,
  .gallery-grid img {
    aspect-ratio: 16 / 11;
  }

  .project-card div {
    padding: 18px;
  }

  .program-list div,
  .step,
  .premium-step,
  .rules-list p {
    grid-template-columns: 38px 1fr;
    padding: 16px;
    gap: 12px;
  }

  .premium-step b {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .premium-step span,
  .step span,
  .program-list p,
  .rules-list p {
    font-size: 15px;
    line-height: 1.55;
  }

  .site-footer,
  .premium-footer {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0;
    padding: 48px var(--mobile-grid-margin) 32px;
    border-top: 0;
    background: #0a0a0a;
    color: #e0e0e0;
  }

  .site-footer > *,
  .premium-footer > * {
    width: var(--mobile-grid-width);
    max-width: var(--mobile-grid-width);
    justify-self: center;
  }

  .site-footer .brand,
  .premium-footer .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #e0e0e0;
  }

  .site-footer .brand-mark,
  .premium-footer .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--premium-accent);
    color: #000000;
    font-size: 15px;
    font-weight: 700;
  }

  .site-footer p,
  .premium-footer p {
    color: rgba(224, 224, 224, 0.7);
    font-size: 15px;
    line-height: 1.4;
  }

  .site-footer > div:first-child {
    margin-bottom: 20px;
  }

  .site-footer nav,
  .site-footer .socials,
  .premium-footer nav,
  .premium-footer .socials {
    display: grid;
    gap: 0;
    align-content: start;
  }

  .site-footer nav,
  .premium-footer nav {
    margin-bottom: 4px;
  }

  .site-footer .socials,
  .premium-footer .socials {
    margin-bottom: 34px;
  }

  .site-footer a:not(.brand),
  .premium-footer a:not(.brand) {
    display: block;
    color: #e0e0e0;
    font-size: 15px;
    line-height: 2.1;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .site-footer a:not(.brand):hover,
  .premium-footer a:not(.brand):hover {
    color: var(--premium-accent);
  }

  .site-footer .copyright,
  .premium-footer .copyright {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(224, 224, 224, 0.5);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
  }

  .page-hero,
  .section,
  .hero {
    padding-left: var(--mobile-grid-margin);
    padding-right: var(--mobile-grid-margin);
  }
}

@media (max-width: 380px) {
  .premium-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .inner-premium h1 {
    font-size: 32px;
  }

  .premium-section-head h2,
  .premium-final-cta h2,
  .premium-proof h2,
  .inner-premium h2,
  h2 {
    font-size: 25px;
  }
}

/* Prompt Picker */
.prompt-picker-page .site-nav a[aria-current="page"] {
  background: var(--light-green);
  color: var(--ink);
}

.prompt-picker-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.prompt-picker-orbit {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(237, 232, 224, 0.92);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(95, 230, 107, 0.32), transparent 34%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 26px 72px rgba(28, 28, 28, 0.08);
}

.prompt-picker-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 74px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 16px 42px rgba(28, 28, 28, 0.08);
}

.prompt-picker-orbit span:first-child {
  top: 50%;
  left: 50%;
  min-width: 96px;
  min-height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: var(--green);
  font-size: 28px;
}

.prompt-picker-orbit span:nth-child(2) {
  top: 34px;
  left: 34px;
}

.prompt-picker-orbit span:nth-child(3) {
  top: 78px;
  right: 28px;
}

.prompt-picker-orbit span:nth-child(4) {
  right: 56px;
  bottom: 38px;
}

.prompt-picker-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: stretch;
}

.prompt-options {
  display: grid;
  gap: 12px;
}

.prompt-option {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 54px rgba(28, 28, 28, 0.045);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.prompt-option:hover,
.prompt-option.active {
  transform: translateY(-2px);
  border-color: rgba(95, 230, 107, 0.84);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(28, 28, 28, 0.075);
}

.prompt-option__index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--light-green);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.prompt-option.active .prompt-option__index {
  background: var(--green);
}

.prompt-option strong,
.prompt-option small {
  display: block;
}

.prompt-option strong {
  margin-bottom: 4px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  line-height: 1.25;
}

.prompt-option small {
  color: rgba(47, 47, 47, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.prompt-result {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 560px;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 72px rgba(28, 28, 28, 0.08);
}

.prompt-result--centered {
  width: min(940px, 100%);
  margin: 0 auto;
  grid-template-rows: auto auto 1fr auto;
}

.prompt-result__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(95, 230, 107, 0.92), rgba(232, 245, 224, 0.96));
}

.prompt-result__top .eyebrow {
  margin-bottom: 8px;
}

.prompt-result__top h3 {
  margin: 0;
}

.prompt-result__top span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(28, 28, 28, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.prompt-select-field {
  display: grid;
  gap: 10px;
  padding: 22px 24px 0;
}

.prompt-select-field span {
  color: rgba(28, 28, 28, 0.58);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.prompt-select-field select {
  width: 100%;
  min-height: 56px;
  padding: 0 46px 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.prompt-select-field select:hover,
.prompt-select-field select:focus {
  border-color: rgba(95, 230, 107, 0.84);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(95, 230, 107, 0.13);
}

.prompt-result pre {
  min-height: 0;
  margin: 22px 0 0;
  padding: 24px;
  overflow: auto;
  background: #101510;
  color: #eef8ed;
  white-space: pre-wrap;
}

.prompt-result code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

.prompt-result__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 24px;
  background: rgba(255, 255, 255, 0.82);
}

.prompt-result__actions .button {
  border: 0;
  cursor: pointer;
}

.prompt-result__actions span {
  color: rgba(47, 47, 47, 0.72);
  font-size: 14px;
}

.prompt-picker-guide .feature-card {
  min-height: 190px;
}

.prompt-picker-cta {
  margin: 0 clamp(20px, 4.8vw, 76px) clamp(68px, 8vw, 108px);
  border-radius: 28px;
}

@media (max-width: 980px) {
  .prompt-picker-hero,
  .prompt-picker-layout {
    grid-template-columns: 1fr;
  }

  .prompt-picker-orbit {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .prompt-picker-hero {
    gap: 24px;
  }

  .prompt-picker-orbit {
    min-height: 190px;
    border-radius: 22px;
  }

  .prompt-picker-orbit span {
    min-width: 64px;
    min-height: 36px;
    font-size: 13px;
  }

  .prompt-picker-orbit span:first-child {
    min-width: 76px;
    min-height: 76px;
    border-radius: 20px;
    font-size: 22px;
  }

  .prompt-option {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 15px;
    border-radius: 18px;
  }

  .prompt-option__index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 12px;
  }

  .prompt-option strong {
    font-size: 18px;
  }

  .prompt-option small {
    font-size: 13px;
  }

  .prompt-result {
    min-height: 0;
    border-radius: 22px;
  }

  .prompt-result--centered {
    width: 100%;
  }

  .prompt-result__top,
  .prompt-result__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .prompt-result__top span {
    width: fit-content;
  }

  .prompt-select-field {
    padding: 18px 18px 0;
  }

  .prompt-select-field select {
    min-height: 50px;
    border-radius: 14px;
    font-size: 17px;
  }

  .prompt-result pre {
    max-height: 520px;
    margin-top: 18px;
    padding: 18px;
  }

  .prompt-result code {
    font-size: 13px;
    line-height: 1.55;
  }

.prompt-picker-cta {
    margin: 0 var(--mobile-grid-margin) 58px;
    border-radius: 24px;
  }
}

/* Prompts Pack */
.prompts-page .site-nav a[aria-current="page"] {
  background: var(--light-green);
  color: var(--ink);
}

.prompts-page .site-footer {
  border-top: 0;
}

.prompts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.prompts-hero .hero-actions {
  margin-top: 30px;
}

.prompts-hero-card {
  min-height: 320px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 18%, rgba(95, 230, 107, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(232, 245, 224, 0.72));
  box-shadow: 0 28px 72px rgba(28, 28, 28, 0.09);
}

.prompts-hero-card span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.prompts-hero-card strong {
  max-width: 220px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.prompts-hero-card p {
  max-width: 260px;
  margin: 0;
  color: rgba(47, 47, 47, 0.76);
  font-size: 15px;
  line-height: 1.5;
}

.prompts-intro .feature-card {
  min-height: 190px;
}

.prompt-lead-flow {
  padding-top: clamp(18px, 3vw, 42px);
}

.prompt-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.prompt-step-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(28, 28, 28, 0.06);
}

.prompt-step-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--light-green);
  color: rgba(28, 28, 28, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.prompt-step-grid h3 {
  margin-bottom: 10px;
}

.prompt-step-grid p {
  margin: 0;
  color: rgba(47, 47, 47, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.prompt-magnet-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #101510;
  color: #eef8ed;
}

.prompt-magnet-note p {
  max-width: 720px;
  margin: 0;
  color: rgba(238, 248, 237, 0.76);
  font-size: 16px;
  line-height: 1.55;
}

.prompt-magnet-note .button,
.prompt-magnet-note .button.primary {
  flex: 0 0 auto;
  border-color: #5fe66b;
  background: #5fe66b;
  color: #102116;
  box-shadow: 0 12px 28px rgba(95, 230, 107, 0.24);
}

.prompt-library .section-head {
  max-width: 860px;
}

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

.prompt-pack-grid.is-terminal {
  display: block;
}

.prompt-pack-terminal {
  width: min(1160px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 72px rgba(28, 28, 28, 0.08);
}

.prompt-pack-terminal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(95, 230, 107, 0.92), rgba(232, 245, 224, 0.96));
}

.prompt-pack-terminal__top .eyebrow {
  margin-bottom: 8px;
}

.prompt-pack-terminal__top h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.prompt-pack-terminal__top p:not(.eyebrow) {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(47, 47, 47, 0.76);
  font-size: 16px;
  line-height: 1.5;
}

.prompt-pack-terminal__top span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(28, 28, 28, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.prompt-search {
  position: relative;
  padding: 24px 26px 0;
  background: rgba(255, 255, 255, 0.82);
}

.prompt-search__field {
  display: grid;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(28, 28, 28, 0.28);
  transition: border-color 0.18s ease;
}

.prompt-search__field > span:first-child {
  color: rgba(28, 28, 28, 0.58);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.prompt-search__value {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  position: relative;
  height: 24px;
  text-transform: none;
  letter-spacing: 0;
}

.prompt-search__field input {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  color: transparent;
  caret-color: transparent;
}

.prompt-search__value [data-search-mirror] {
  max-width: 100%;
  min-height: 24px;
  overflow: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  text-transform: none;
  letter-spacing: 0;
  white-space: pre;
  pointer-events: none;
}

.prompt-search__value i {
  flex: 0 0 auto;
  width: 2px;
  height: 17px;
  margin-left: 3px;
  background: var(--ink);
  animation: promptCaretBlink 1.05s steps(1, end) infinite;
}

@keyframes promptCaretBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

.prompt-search__field:focus-within {
  border-bottom-color: var(--green);
}

.prompt-search.open .prompt-search__field {
  border-bottom-color: rgba(28, 28, 28, 0.46);
}

.prompt-search__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 26px;
  right: 26px;
  z-index: 5;
  display: none;
  height: 340px;
  overflow-y: auto;
  margin-top: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(253, 252, 248, 0.98);
  box-shadow: 0 16px 34px rgba(28, 28, 28, 0.075);
  scrollbar-width: thin;
  scrollbar-color: rgba(95, 230, 107, 0.9) rgba(237, 232, 224, 0.6);
}

.prompt-search__dropdown::-webkit-scrollbar {
  width: 9px;
}

.prompt-search__dropdown::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(237, 232, 224, 0.62);
}

.prompt-search__dropdown::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(95, 230, 107, 0.9);
}

.prompt-search.open .prompt-search__dropdown {
  display: grid;
  gap: 0;
  border-radius: 16px;
}

.prompt-search__option {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 5px 12px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 18px;
  border: 0;
  border-bottom: 1px solid rgba(237, 232, 224, 0.78);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.18s ease;
}

.prompt-search__option:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 18px 18px;
}

.prompt-search__option:hover,
.prompt-search__option.active {
  background: rgba(232, 245, 224, 0.62);
}

.prompt-search__option span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: rgba(28, 28, 28, 0.42);
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.18s ease;
}

.prompt-search__option:hover span,
.prompt-search__option.active span {
  background: transparent;
  color: rgba(28, 28, 28, 0.72);
}

.prompt-search__option strong,
.prompt-search__option small {
  min-width: 0;
}

.prompt-search__option strong {
  font-size: 15px;
  line-height: 1.25;
}

.prompt-search__option small {
  color: rgba(47, 47, 47, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.prompt-search__empty {
  padding: 16px;
  color: rgba(47, 47, 47, 0.72);
  font-size: 14px;
}

.prompt-pack-terminal pre {
  min-height: 380px;
  max-height: 560px;
  margin: 24px 0 0;
  padding: 26px;
  overflow: auto;
  background: #101510;
  color: #eef8ed;
  white-space: pre-wrap;
}

.prompt-pack-terminal code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

.prompt-pack-terminal__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px 26px;
  background: rgba(255, 255, 255, 0.82);
}

.prompt-pack-terminal__actions .button {
  border: 0;
  cursor: pointer;
}

.prompt-pack-terminal__actions span {
  color: rgba(47, 47, 47, 0.72);
  font-size: 14px;
}

.prompt-pack-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(237, 232, 224, 0.96);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 56px rgba(28, 28, 28, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.prompt-pack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 230, 107, 0.76);
  box-shadow: 0 26px 68px rgba(28, 28, 28, 0.085);
}

.prompt-pack-card__head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.prompt-pack-card__head span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green);
  color: #132017;
  font-size: 13px;
  font-weight: 700;
}

.prompt-pack-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.prompt-pack-card p {
  margin: 0;
  color: rgba(47, 47, 47, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.prompt-pack-card pre {
  min-height: 280px;
  max-height: 360px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 16px;
  background: #101510;
  color: #eef8ed;
  white-space: pre-wrap;
}

.prompt-pack-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
}

.prompt-pack-card .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.prompt-pack-card .button.is-copied {
  background: var(--green);
  color: #132017;
}

.prompts-cta {
  margin: 0 clamp(20px, 4.8vw, 76px) clamp(68px, 8vw, 108px);
  border-radius: 28px;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .site-header,
  .premium-header,
  .inner-premium .site-header {
    gap: 14px;
    padding-left: clamp(18px, 3vw, 34px);
    padding-right: clamp(18px, 3vw, 34px);
  }

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .brand-mark,
  .premium-header .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 13px;
  }

  .site-nav,
  .premium-header .site-nav,
  .inner-premium .site-nav {
    gap: 2px;
    padding: 5px;
  }

  .site-nav a,
  .premium-header .site-nav a,
  .inner-premium .site-nav a {
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .header-cta,
  .premium-header .header-cta,
  .inner-premium .header-cta {
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .button,
  .premium-button,
  .inner-premium .button {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .inner-premium h1 {
    font-size: clamp(44px, 5vw, 56px);
    line-height: 1.06;
  }

  .inner-premium h2 {
    font-size: clamp(26px, 2.8vw, 34px);
  }

  .inner-premium h3 {
    font-size: clamp(20px, 2vw, 23px);
  }

  .inner-hero p:not(.eyebrow) {
    font-size: clamp(16px, 1.6vw, 19px);
  }

  .prompts-hero-card {
    min-height: 280px;
    padding: 24px;
  }

  .prompts-hero-card span {
    font-size: clamp(76px, 8vw, 88px);
  }

  .prompts-hero-card strong {
    font-size: clamp(24px, 2.8vw, 27px);
  }

  .prompt-pack-terminal__top {
    gap: 16px;
    padding: 22px;
  }

  .prompt-pack-terminal__top h3 {
    font-size: clamp(25px, 3vw, 28px);
  }

  .prompt-pack-terminal__top p:not(.eyebrow) {
    font-size: 15px;
  }

  .prompt-search {
    padding: 22px 22px 0;
  }

  .prompt-search__dropdown {
    left: 22px;
    right: 22px;
    height: 330px;
  }

  .prompt-pack-terminal pre {
    padding: 22px;
  }

  .prompt-pack-terminal code {
    font-size: 13px;
  }

  .premium-final-cta,
  .cta-band,
  .prompts-cta,
  .prompt-picker-cta {
    gap: 18px;
  }

  .premium-final-cta .premium-button,
  .cta-band .button,
  .prompts-cta .button,
  .prompt-picker-cta .button {
    flex: 0 0 auto;
    max-width: 260px;
  }
}

@media (max-width: 1180px) {
  .prompt-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .prompts-hero {
    grid-template-columns: 1fr;
  }

  .prompts-hero-card {
    min-height: 240px;
  }

  .prompt-step-grid {
    grid-template-columns: 1fr;
  }

  .prompt-step-grid article {
    min-height: 0;
  }

  .prompt-magnet-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .prompts-hero {
    gap: 24px;
  }

  .prompts-hero-card {
    min-height: 210px;
    padding: 22px;
    border-radius: 22px;
  }

  .prompts-hero-card span {
    font-size: 68px;
  }

  .prompts-hero-card strong {
    font-size: 24px;
  }

  .prompt-lead-flow {
    padding-top: 16px;
  }

  .prompt-step-grid {
    gap: 12px;
  }

  .prompt-step-grid article {
    padding: 18px;
    border-radius: 20px;
  }

  .prompt-step-grid span {
    margin-bottom: 20px;
  }

  .prompt-magnet-note {
    gap: 18px;
    padding: 18px;
    border-radius: 20px;
  }

  .prompt-magnet-note .button {
    width: 100%;
  }

  .prompt-pack-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prompt-pack-terminal {
    border-radius: 22px;
  }

  .prompt-pack-terminal__top,
  .prompt-pack-terminal__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .prompt-pack-terminal__top h3 {
    font-size: 24px;
  }

  .prompt-pack-terminal__top span {
    width: fit-content;
  }

  .prompt-search {
    padding: 18px 18px 0;
  }

  .prompt-search__field input,
  .prompt-search__value [data-search-mirror] {
    font-size: 15px;
  }

  .prompt-search__dropdown {
    left: 18px;
    right: 18px;
    height: 320px;
  }

  .prompt-pack-terminal pre {
    min-height: 0;
    max-height: 520px;
    margin-top: 18px;
    padding: 18px;
  }

  .prompt-pack-terminal code {
    font-size: 13px;
    line-height: 1.55;
  }

  .prompt-pack-card {
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .prompt-pack-card h3 {
    font-size: 19px;
  }

  .prompt-pack-card pre {
    min-height: 0;
    max-height: 420px;
    padding: 14px;
  }

  .prompt-pack-card code {
    font-size: 12px;
    line-height: 1.5;
  }

  .prompts-cta {
    margin: 0 var(--mobile-grid-margin) 58px;
    border-radius: 24px;
  }
}
