:root {
  color-scheme: light;
  --red: #e03e3e;
  --red-dark: #b92727;
  --red-soft: #fff3f3;
  --red-mid: #f2b7b7;
  --ink: #171717;
  --muted: #626262;
  --line: #e8e2df;
  --paper: #fffaf7;
  --soft: #f6f1ee;
  --white: #ffffff;
  --green: #1f7a4a;
  --blue: #255f99;
  --shadow: 0 22px 80px rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(224, 62, 62, 0.45);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms ease,
    border-color 240ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

h1,
h2,
h3,
.lead,
.jp-title {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 226, 223, 0.82);
  background: rgba(255, 250, 247, 0.86);
  backdrop-filter: blur(18px);
}

.motion-ready .site-header {
  animation: headerDrop 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

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

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.disabled {
  border-color: var(--line);
  background: var(--soft);
  color: #8a807c;
  cursor: default;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 0 14px 0 18px;
  border-radius: 8px;
  border: 1px solid #ded7d3;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.05);
}

.store-button small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 23, 23, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 74%);
}

.motion-ready .hero::before {
  animation: gridDrift 18s linear infinite;
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 46px;
}

.hero-inner > *,
.section-header > *,
.split > *,
.contact-inner > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
}

.motion-ready .eyebrow {
  animation: riseIn 560ms 90ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

h1 {
  margin: 26px 0 18px;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.motion-ready h1 .title-line {
  animation: titleIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready h1 .title-line:nth-child(2) {
  animation-delay: 90ms;
}

.motion-ready h1 .title-line:nth-child(3) {
  animation-delay: 160ms;
}

.motion-ready h1 .title-line:nth-child(4) {
  animation-delay: 220ms;
}

.title-line {
  display: block;
}

.lead {
  max-width: 640px;
  margin: 0;
  color: #3f3a38;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.8;
  font-weight: 600;
}

.lead-line {
  display: block;
}

.motion-ready .lead,
.motion-ready .hero-metrics,
.motion-ready .hero-actions,
.motion-ready .service-note {
  animation: riseIn 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready .lead {
  animation-delay: 260ms;
}

.motion-ready .hero-metrics {
  animation-delay: 360ms;
}

.motion-ready .hero-actions {
  animation-delay: 450ms;
}

.motion-ready .service-note {
  animation-delay: 540ms;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-metrics div {
  min-height: 82px;
  padding: 16px 14px;
  border: 1px solid rgba(224, 62, 62, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-metrics div,
.feature,
.flow-grid article,
.audience-card,
.university-card,
.contact-box,
.list-panel {
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.hero-metrics div:hover,
.feature:hover,
.flow-grid article:hover,
.audience-card:hover,
.university-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 62, 62, 0.35);
  box-shadow: 0 18px 52px rgba(23, 23, 23, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--red);
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: #4f4946;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.service-note {
  max-width: 680px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid #f0caca;
  border-radius: 8px;
  background: #fff3f3;
  color: #4f3939;
  font-size: 13px;
  line-height: 1.75;
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 680px;
}

.real-screens {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.real-screen {
  margin: 0;
  width: min(348px, 100%);
  border-radius: 44px;
  background: transparent;
  box-shadow: 0 30px 90px rgba(23, 23, 23, 0.18);
  overflow: hidden;
}

.real-screen img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.real-screen figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.real-screen.sub {
  position: absolute;
  right: -4px;
  bottom: 18px;
  width: 228px;
  transform: rotate(2deg);
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.2);
}

.real-screen.main {
  transform: translateX(-38px);
}

.app-preview-panel {
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(232, 226, 223, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 70px rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(12px);
}

.preview-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.preview-panel-header span {
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
}

.preview-panel-header strong {
  font-size: 18px;
  font-weight: 900;
}

.preview-shots {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 12px;
  align-items: start;
}

.preview-shot {
  margin: 0;
  height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.preview-shot.secondary {
  height: 330px;
  margin-top: 64px;
}

.preview-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.preview-shot figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.phone {
  position: relative;
  width: min(376px, 100%);
  border: 9px solid #111;
  border-radius: 44px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(23, 23, 23, 0.2);
  overflow: hidden;
}

.motion-ready .phone {
  animation: phoneEnter 780ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready .phone-stage {
  animation: phoneFloat 5.8s 1.1s ease-in-out infinite;
}

.phone-status {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.dynamic-island {
  position: absolute;
  top: 0;
  left: 50%;
  width: 134px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #000;
  transform: translateX(-50%);
}

.status-icons {
  width: 46px;
  height: 14px;
  background:
    radial-gradient(circle at 4px 50%, #aaa 2px, transparent 3px),
    radial-gradient(circle at 12px 50%, #aaa 2px, transparent 3px),
    linear-gradient(#111, #111) 28px 3px / 16px 8px no-repeat;
}

.phone-screen {
  position: relative;
  height: 642px;
  padding: 16px 16px 72px;
  background: #fbfbfb;
  overflow: hidden;
}

.app-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.app-date {
  color: #888;
  font-size: 13px;
  font-weight: 700;
}

.app-heading {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 900;
}

.mock-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.check-icon,
.bell-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}

.check-icon {
  border: 3px solid #222;
  border-radius: 999px;
}

.check-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 10px;
  height: 6px;
  border-left: 3px solid #222;
  border-bottom: 3px solid #222;
  transform: rotate(-45deg);
}

.bell-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 12px;
  height: 15px;
  border: 3px solid #222;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
}

.bell-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 3px;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: #222;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #8b827e;
  font-weight: 700;
}

.search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 3px solid var(--red);
  border-radius: 999px;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transform: rotate(45deg);
}

.mini-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.motion-ready .mini-panel {
  animation: cardPulse 4.8s 1.6s ease-in-out infinite;
}

.next-class-panel {
  min-height: 142px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.class-period,
.live-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #333;
  font-size: 13px;
  font-weight: 900;
}

.live-badge {
  background: var(--red-soft);
  color: var(--red);
}

.mini-title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.mini-meta {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.mock-section-title,
.mock-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 18px;
  font-weight: 900;
}

.mock-section-title {
  justify-content: flex-start;
  gap: 8px;
}

.mock-section-title span {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #46505c;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.review-card {
  min-height: 108px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #222;
  font-size: 14px;
}

.review-head strong {
  color: #222;
}

.review-head small,
.mock-section-row span {
  color: #9b9b9b;
  font-size: 12px;
  font-weight: 800;
}

.review-card p {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.book-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.book-tile {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
}

.tile-red {
  background: linear-gradient(135deg, #e03e3e, #f1b0b0);
}

.tile-green {
  background: linear-gradient(135deg, #4b8a37, #c7f0a4);
}

.tile-blue {
  background: linear-gradient(135deg, #255f99, #bddbf5);
}

.mock-fab {
  position: absolute;
  right: 18px;
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 32px rgba(23, 23, 23, 0.22);
  font-size: 16px;
  font-weight: 900;
}

.motion-ready .mock-fab {
  animation: fabLift 3.6s 1.8s ease-in-out infinite;
}

.mock-fab span {
  width: 18px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 4px;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  padding: 8px 12px 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  border-top: 1px solid #eee;
  background: #fff;
  color: #8b827e;
  font-size: 10px;
  text-align: center;
  font-weight: 800;
}

.tabbar span:first-child {
  color: var(--red);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.5fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.feature {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

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

.feature-mark {
  position: relative;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  background: var(--red-soft);
  border: 1px solid #f0caca;
  overflow: hidden;
}

.mark-books span {
  position: absolute;
  bottom: 10px;
  width: 11px;
  border-radius: 3px 3px 1px 1px;
  background: var(--red);
}

.mark-books span:nth-child(1) {
  left: 14px;
  height: 24px;
}

.mark-books span:nth-child(2) {
  left: 28px;
  height: 30px;
  background: var(--ink);
}

.mark-books span:nth-child(3) {
  left: 42px;
  height: 20px;
  background: var(--red-mid);
}

.mark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 10px;
}

.mark-grid span {
  border-radius: 4px;
  background: #fff;
  border: 1px solid #f0caca;
}

.mark-grid span:nth-child(2),
.mark-grid span:nth-child(3) {
  background: var(--red-mid);
}

.mark-event span {
  position: absolute;
  inset: 12px 10px;
  border-radius: 5px;
  border: 2px solid var(--red);
}

.mark-event span::before,
.mark-event span::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 6px;
  height: 10px;
  border-radius: 4px;
  background: var(--ink);
}

.mark-event span::before {
  left: 8px;
}

.mark-event span::after {
  right: 8px;
}

.mark-auth span {
  position: absolute;
  left: 18px;
  top: 11px;
  width: 28px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 5px;
}

.mark-auth span::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -15px;
  width: 12px;
  height: 14px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.mark-report span:first-child {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 36px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid var(--red);
  background: #fff;
}

.mark-report span:last-child {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--ink);
}

.mark-pr {
  display: grid;
  place-items: center;
}

.mark-pr span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 28px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.feature h3 {
  margin: 54px 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

.comparison {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 170px 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.comparison-row > div:last-child {
  border-right: 0;
}

.comparison-row > div:first-child,
.comparison-row > div:last-child {
  color: var(--ink);
  font-weight: 900;
}

.comparison-row > div:last-child {
  background: #fff6f6;
}

.comparison-head > div {
  color: var(--ink);
  background: #fbf7f4;
  font-size: 13px;
  font-weight: 900;
}

.comparison-head > div:last-child {
  background: var(--red-soft);
  color: var(--red-dark);
}

.fine-note {
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid #f0caca;
  border-radius: 8px;
  background: #fff6f6;
  color: #5c5350;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flow-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.flow-grid h3 {
  margin: 54px 0 12px;
  font-size: 22px;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.audience-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.audience-card:first-child {
  background: #fff6f6;
  border-color: #f0caca;
}

.audience-card h2 {
  max-width: 560px;
  font-size: clamp(28px, 3.7vw, 44px);
}

.audience-card ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.audience-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.audience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--red);
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.screen-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.screen-label {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.timetable-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.timetable-mini span {
  height: 38px;
  border-radius: 6px;
  border: 1px solid #efe4df;
  background: #fbf7f4;
}

.timetable-mini span:nth-child(3n) {
  background: var(--red-soft);
  border-color: #f0caca;
}

.trade-mini {
  display: grid;
  gap: 10px;
}

.trade-mini div {
  height: 44px;
  border-radius: 8px;
  border: 1px solid #efe4df;
  background: linear-gradient(90deg, var(--red-soft) 0 56px, #fff 56px);
}

.event-mini {
  min-height: 138px;
  border-radius: 8px;
  border: 1px solid #f0caca;
  background: var(--red-soft);
  padding: 16px;
}

.event-mini strong {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.event-mini span {
  display: block;
  height: 12px;
  margin-top: 16px;
  border-radius: 999px;
  background: #fff;
}

.event-mini span:last-child {
  width: 64%;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}

.statement {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.statement::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.statement-stamp {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(224, 62, 62, 0.16);
  color: #ffd3d3;
  font-size: 12px;
  font-weight: 900;
}

.statement h2,
.statement p {
  position: relative;
  z-index: 1;
}

.statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.85;
  font-weight: 600;
}

.list-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.list-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row strong {
  font-size: 16px;
}

.list-row span {
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

.university-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.university-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.university-card.primary {
  background: #fff5f5;
  border-color: #f0caca;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.university-card h3 {
  margin: 24px 0 10px;
  font-size: 30px;
}

.university-card p {
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

.contact-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #171717;
  color: var(--white);
}

.contact-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.5fr);
  gap: 40px;
}

.contact-inner h2 {
  color: var(--white);
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  font-weight: 600;
}

.contact-box {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-box a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.06);
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field span {
  font-size: 13px;
  font-weight: 900;
  color: #4a4542;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ded7d3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 13px 14px;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6a625f 50%),
    linear-gradient(135deg, #6a625f 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(224, 62, 62, 0.22);
  border-color: var(--red);
}

.bot-field {
  display: none;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
}

.form-footer button {
  cursor: pointer;
  min-width: 140px;
}

.form-footer button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red-dark);
}

.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-hero {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 40px;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.page-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.legal-page {
  width: min(1080px, calc(100% - 40px));
}

.legal-document-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.legal-document-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.legal-document-link:last-child {
  border-bottom: 0;
}

.legal-document-link:hover {
  background: var(--red-soft);
}

.legal-document-link span,
.legal-kicker {
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-document-link strong {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
}

.legal-document-link em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.legal-doc-hero {
  padding-bottom: 28px;
}

.legal-doc-hero h1 {
  word-break: normal;
  overflow-wrap: anywhere;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.back-link:hover {
  color: var(--red-dark);
}

.legal-doc-layout {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 86px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-doc-nav {
  position: sticky;
  top: 96px;
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.legal-doc-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.legal-doc-nav a:hover,
.legal-doc-nav a[aria-current="page"] {
  background: var(--red-soft);
  color: var(--red-dark);
}

.legal-doc-content {
  min-width: 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-doc-content h2 {
  margin: 2.2em 0 0.8em;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
}

.legal-doc-content h2:first-child {
  margin-top: 0;
}

.legal-doc-content h3 {
  margin: 2em 0 0.8em;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
}

.legal-doc-content h4,
.legal-doc-content h5 {
  margin: 1.7em 0 0.7em;
  font-size: 18px;
  line-height: 1.45;
}

.legal-doc-content p,
.legal-doc-content li {
  color: #4f4946;
  line-height: 1.95;
  font-weight: 600;
}

.legal-doc-content p {
  margin: 0 0 1em;
}

.legal-doc-content ul,
.legal-doc-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.legal-doc-content strong {
  color: var(--ink);
}

.legal-doc-content hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-doc-content a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.legal-doc-table {
  max-width: 100%;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  background: var(--white);
}

.legal-doc-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.legal-doc-table th,
.legal-doc-table td {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}

.legal-doc-table th:last-child,
.legal-doc-table td:last-child {
  border-right: 0;
}

.legal-doc-table tr:last-child td {
  border-bottom: 0;
}

.legal-doc-table th {
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 900;
}

.legal-doc-table td {
  color: #4f4946;
  font-weight: 600;
}

.qa {
  border-top: 1px solid var(--line);
}

.qa details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.qa summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.qa p,
.page-content p,
.page-content li {
  color: var(--muted);
  line-height: 1.9;
  font-weight: 600;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(42px) skewY(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

@keyframes phoneEnter {
  from {
    opacity: 0;
    transform: translateY(34px) rotate(1.5deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(224, 62, 62, 0);
  }
  50% {
    box-shadow: 0 12px 38px rgba(224, 62, 62, 0.08);
  }
}

@keyframes fabLift {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 14px 32px rgba(23, 23, 23, 0.22);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(23, 23, 23, 0.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    display: none;
  }
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .nav {
    width: min(100% - 28px, 1160px);
    height: auto;
    padding: 12px 0 10px;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    font-size: 12px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner,
  .section,
  .contact-inner,
  .footer,
  .nav {
    width: min(100% - 40px, 1160px);
  }

  .hero-inner,
  .section-header,
  .split,
  .university-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 42px);
    line-height: 1.08;
  }

  .lead {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .section-copy,
  .service-note,
  .fine-note,
  .audience-card h2,
  .feature p,
  .flow-grid p,
  .audience-card li,
  .list-row span,
  .university-card p,
  .contact-inner p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .audience-card,
  .feature,
  .flow-grid article,
  .university-card,
  .statement,
  .list-panel {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .store-button {
    width: 100%;
  }

  .phone-stage {
    min-height: auto;
  }

  .real-screens {
    min-height: 650px;
    margin-top: 20px;
  }

  .app-preview-panel {
    margin-top: 24px;
  }

  .preview-shots {
    grid-template-columns: 1fr;
  }

  .preview-shot,
  .preview-shot.secondary {
    height: 340px;
    margin-top: 0;
  }

  .real-screen {
    width: min(292px, 88vw);
  }

  .real-screen.sub {
    right: 0;
    bottom: 10px;
    width: 172px;
  }

  .real-screen.main {
    transform: translateX(-24px);
  }

  .phone {
    width: min(318px, 100%);
  }

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

  .comparison {
    display: grid;
    gap: 12px;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
  }

  .comparison-row > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-row > div:last-child {
    border-bottom: 0;
  }

  .comparison-head {
    display: none;
  }

  .flow-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .legal-document-link,
  .legal-doc-layout {
    grid-template-columns: 1fr;
  }

  .legal-document-link {
    min-height: 0;
    gap: 12px;
    padding: 22px;
  }

  .legal-doc-nav {
    position: static;
    grid-template-columns: 1fr;
  }

  .legal-doc-content {
    padding: 24px;
  }

  .legal-doc-table table {
    min-width: 560px;
  }

  .product-strip {
    grid-template-columns: 1fr;
  }

  .list-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .form-grid,
  .form-footer {
    grid-template-columns: 1fr;
  }

  .form-footer {
    display: grid;
  }

  .form-footer button {
    width: 100%;
  }
}
