:root {
  --primary: #ff3b5c;
  --primary-strong: #e62e4d;
  --primary-soft: #fff0f3;
  --ink: #1d1d1f;
  --muted: #666a73;
  --surface: #ffffff;
  --page: #fbfbfd;
  --line: #e8e8ed;
  --shadow: 0 16px 40px rgba(29, 29, 31, 0.08);
  --shadow-soft: 0 8px 24px rgba(29, 29, 31, 0.06);
  --shadow-red: 0 18px 36px rgba(255, 59, 92, 0.18);
  --radius-card: 8px;
  --radius-panel: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 70px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.hero {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 138px 0 70px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.news-title {
  margin: 20px 0 0;
  line-height: 1.1;
  font-weight: 800;
}

.hero h1 {
  font-size: 56px;
}

.accent {
  color: var(--primary);
}

.hero p {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.product-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.mockups {
  position: relative;
  height: 620px;
}

.mockup {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 260px;
  min-height: 430px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform-origin: center;
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.mockup img {
  display: block;
  width: 100%;
  aspect-ratio: 1320 / 2868;
  border-radius: var(--radius-panel);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

.image-mockup {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.mockup-position-1 {
  z-index: 3;
  opacity: 1;
  transform: translateX(-50%) perspective(1000px) rotateY(0) scale(1.04);
  box-shadow: 0 22px 46px rgba(29, 29, 31, 0.14);
}

.mockup-position-2 {
  z-index: 2;
  opacity: 0.62;
  transform: translateX(-10%) perspective(1000px) rotateY(-16deg) scale(0.74);
}

.mockup-position-3 {
  z-index: 1;
  opacity: 0.62;
  transform: translateX(-90%) perspective(1000px) rotateY(16deg) scale(0.74);
}

.mockup-position-hidden {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) perspective(1000px) scale(0.66);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mockup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.math-step {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.formula {
  margin-top: 8px;
  padding: 11px 12px;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  background: var(--page);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.formula-result {
  border-left: 0;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7d7de;
  cursor: pointer;
}

.dot.active {
  width: 28px;
  background: var(--primary);
}

.feature-copy h2,
.about h2,
.community h2,
.banner-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.16;
}

.feature-copy > p,
.about > p,
.community > p,
.banner-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-card,
.founder-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  display: flex;
  gap: 16px;
  padding: 22px;
}

.feature-card:hover {
  border-color: #ffd3dc;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}

.feature-text h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.feature-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tutor-banner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-panel);
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 5px white;
}

.tutor-photo {
  width: 300px;
  height: 300px;
  border: 8px solid white;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-red);
}

.community,
.about {
  padding: 80px 16px 100px;
  text-align: center;
}

.community > p {
  max-width: 620px;
  margin: 12px auto 46px;
}

.about > p {
  max-width: none;
  margin: 12px auto 46px;
  white-space: nowrap;
}

.review-carousel {
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
  padding: 0 54px 42px;
}

.review-viewport {
  overflow: hidden;
}

.review-strip {
  --visible: 3;
  --review-gap: 18px;
  display: flex;
  gap: var(--review-gap);
  text-align: left;
  transition: transform 0.45s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - (var(--review-gap) * (var(--visible) - 1))) / var(--visible));
  padding: 24px;
  min-width: 0;
}

.review-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transform: translateY(-50%);
}

.review-control:hover,
.review-control:focus-visible {
  border-color: #ffd3dc;
  color: var(--primary);
  outline: none;
  box-shadow: var(--shadow);
}

.review-control-prev {
  left: 0;
}

.review-control-next {
  right: 0;
}

.review-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.reviewer > div {
  min-width: 0;
}

.avatar,
.avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-soft);
  color: var(--primary);
}

.avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.stars {
  display: block;
  color: #f5a900;
  font-size: 13px;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.download-band {
  padding: 40px 16px 70px;
  background: linear-gradient(180deg, var(--page), #ffeaf0 48%, var(--page));
}

.download-card {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-red);
  overflow: hidden;
}

.download-card img {
  display: block;
  width: 100%;
}

.about {
  background: white;
}

.founders-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}

.founder-card {
  padding: 28px 20px;
}

.founder-card img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.founder-card h3 {
  margin: 18px 0 2px;
  font-size: 19px;
}

.founder-card p {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.closing-news {
  width: 100%;
  margin: -42px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px max(16px, calc((100% - var(--max)) / 2)) 42px;
  background: #ffffff;
}

.closing-news span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.closing-news h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.16;
}

.closing-news p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.closing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.news-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 90px;
}

.news-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 48px;
  align-items: end;
  padding: 42px 0 38px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.news-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 86px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.news-heading {
  min-width: 0;
}

.news-title {
  font-size: 56px;
  letter-spacing: 0;
}

.news-header-copy {
  max-width: 360px;
  justify-self: end;
  padding: 0 0 4px 18px;
  border-left: 2px solid rgba(255, 59, 92, 0.42);
}

.news-header-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.news-header-copy span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font: 800 12px "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: 800 12px "JetBrains Mono", monospace;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 18px rgba(255, 59, 92, 0.22);
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.news-list {
  display: grid;
  gap: 22px;
  padding-top: 34px;
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item h2 a {
  color: inherit;
  text-decoration: none;
}

.news-item h2 a:hover {
  color: var(--primary);
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.news-date,
.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-date {
  color: var(--muted);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.news-copy {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  justify-content: center;
  padding: 4px 0;
}

.news-copy h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.news-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.news-action-top {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
}

.news-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.news-image {
  width: 100%;
  height: 190px;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.news-article {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  gap: 46px;
  padding: 46px 0 54px;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: grid;
  align-content: start;
  gap: 14px;
}

.article-body h1,
.article-body h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.article-page {
  width: min(1040px, calc(100% - 32px));
}

.article-page .news-article {
  border-bottom: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.article-lead {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}

.article-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.article-body a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body mark {
  padding: 0 0.18em;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.article-image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin: 0 0 28px;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.social-page {
  width: min(1180px, calc(100% - 32px));
  padding-top: 82px;
}

.social-page > .back-link {
  margin-bottom: 12px;
}

.social-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.social-page .news-title {
  margin-top: 0;
  font-size: 28px;
}

.social-hero p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.social-carousel {
  padding-top: 14px;
}

.social-frame {
  position: relative;
  height: min(72vh, 680px);
  min-height: 560px;
  overflow: hidden;
}

.social-track {
  position: relative;
  height: 100%;
}

.social-post-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(430px, 42vw);
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.86);
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}

.social-post-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.social-post-copy h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.social-post-card img {
  display: block;
  width: auto;
  max-width: calc(100% - 28px);
  height: calc(100% - 73px);
  margin: 0 auto;
  object-fit: contain;
  cursor: zoom-in;
}

.social-slide-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
  box-shadow: var(--shadow);
}

.social-slide-prev {
  z-index: 2;
  opacity: 0.52;
  pointer-events: auto;
  transform: translateX(-138%) scale(0.72);
}

.social-slide-next {
  z-index: 2;
  opacity: 0.52;
  pointer-events: auto;
  transform: translateX(38%) scale(0.72);
}

.social-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transform: translateY(-50%);
}

.social-nav:hover {
  border-color: #ffd3dc;
  color: var(--primary);
}

.social-nav-prev {
  left: 18px;
}

.social-nav-next {
  right: 18px;
}

.social-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.social-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(29, 29, 31, 0.52);
  backdrop-filter: blur(6px);
}

.social-lightbox[hidden] {
  display: none;
}

.social-lightbox-frame {
  width: min(560px, 100%);
  max-height: 92vh;
  border-radius: var(--radius-card);
  background: white;
  box-shadow: 0 24px 70px rgba(29, 29, 31, 0.28);
  overflow: auto;
}

.social-lightbox-frame img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.social-lightbox-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.72);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 34px;
  align-items: center;
  padding: 30px 0;
}

.footer-brand p {
  margin: 10px 0 0;
}

.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a,
.footer-meta a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--primary);
}

.footer-meta {
  justify-content: end;
}

@media (max-width: 980px) {
  .product-grid,
  .tutor-banner,
  .news-item {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 28px;
  }

  .mockups {
    height: 600px;
  }

  .tutor-photo {
    justify-self: center;
  }

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

  .review-strip {
    --visible: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links,
  .footer-meta {
    justify-content: start;
    flex-wrap: wrap;
  }

  .closing-news {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    justify-content: flex-start;
  }

  .news-article {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-header {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .news-header-copy {
    justify-self: start;
  }

  .news-action-top {
    position: static;
    justify-self: start;
    margin-top: 18px;
  }

  .social-page {
    width: min(720px, calc(100% - 32px));
  }

  .social-post-card img {
    width: min(calc(100% - 80px), 620px);
  }

  .news-image {
    height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
  }

  .nav {
    min-height: 70px;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 156px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .product-grid {
    width: min(100% - 24px, var(--max));
  }

  .mockups {
    height: 540px;
    overflow: hidden;
  }

  .mockup {
    top: 18px;
    width: 230px;
  }

  .feature-copy h2,
  .about h2,
  .community h2,
  .banner-copy h2,
  .news-title {
    font-size: 32px;
  }

  .feature-card {
    padding: 18px;
  }

  .tutor-banner {
    padding: 28px 20px;
  }

  .tutor-photo {
    width: 220px;
    height: 220px;
  }

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

  .review-carousel {
    padding-inline: 44px;
  }

  .review-strip {
    --visible: 1;
  }

  .about > p {
    white-space: normal;
  }

  .news-main {
    padding-top: 142px;
  }

  .news-header {
    padding: 28px 0 30px;
  }

  .news-header-copy p {
    font-size: 16px;
  }

  .social-post-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .social-page {
    padding-top: 126px;
  }

  .social-hero {
    display: block;
    padding-bottom: 14px;
  }

  .social-frame,
  .social-post-card {
    max-height: none;
  }

  .social-frame {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .social-track {
    height: auto;
  }

  .social-post-card {
    position: static;
    display: none;
    width: 100%;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .social-slide-active {
    display: grid;
    transform: none;
  }

  .social-slide-prev,
  .social-slide-next {
    display: none;
  }

  .social-page .news-title {
    margin-top: 12px;
    font-size: 32px;
  }

  .social-post-copy h2 {
    font-size: 18px;
  }

  .social-post-card img {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    height: auto;
    cursor: default;
  }

  .social-nav {
    top: auto;
    bottom: 14px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .social-nav-prev {
    left: 16px;
  }

  .social-nav-next {
    right: 16px;
  }

  .article-body h1,
  .article-body h2 {
    font-size: 28px;
  }

  .article-lead {
    font-size: 18px;
  }
}
