:root {
  --ink: #13213c;
  --ink-2: #44506a;
  --ink-3: #6b7489;
  --line: #e7e1d4;
  --cream: #fbf6ec;
  --cream-2: #f4ecdc;
  --paper: #ffffff;
  --blue: #1d4fd1;
  --blue-2: #e8efff;
  --yellow: #f7b928;
  --yellow-2: #fff3d2;
  --green: #0a6a2f;
  --green-2: #e3f3e8;
  --navy: #0f1b33;
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(19, 33, 60, .35), 0 8px 20px -12px rgba(19, 33, 60, .18);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
/* 언어별 글꼴과 줄바꿈. 한국어는 어절 단위(keep-all)로, 일본어·중국어는 글자 단위로 줄을 바꾼다. */
:root:lang(ja) { --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif; }
:root:lang(zh) { --font: "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif; }
:lang(ja) body, :lang(zh) body { word-break: normal; line-break: strict; }
:lang(de) body { hyphens: auto; }
/* i18n.js가 번역을 마칠 때까지 한국어 원문을 가린다(JS가 없으면 이 클래스도 없다). */
.i18n-pending body { visibility: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 48px); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; text-align: center; text-wrap: balance; line-height: 1.25;
  border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 79, 209, .7); }
.btn--primary:hover { background: #1843b4; }
.btn--ghost { background: rgba(255, 255, 255, .7); border-color: var(--ink); color: var(--ink); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(247, 185, 40, .8); }
.btn--light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .1); }

/* 내비게이션 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, .82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(19, 33, 60, .4); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.02em; }
.brand--small { font-size: 1rem; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: .96rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--cream-2); color: var(--ink); }
.lang { display: none; position: relative; flex: none; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.js .lang { display: inline-flex; }
.lang::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--globe) center / contain no-repeat; mask: var(--globe) center / contain no-repeat; --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E"); }
.lang::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.lang:hover { background: #fff; color: var(--ink); }
.lang:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.lang__select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font: inherit; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: grid; padding: 8px 24px 20px; gap: 2px; border-top: 1px solid var(--line); }
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 12px 8px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile a[aria-current="page"] { color: var(--blue); }
.nav.is-measuring .nav__inner > * { flex-shrink: 0; white-space: nowrap; }
.nav.is-compact .nav__links, .nav.is-compact .nav__inner > .btn { display: none; }
.nav.is-compact .nav__toggle { display: block; margin-left: 0; }
.nav.is-compact .lang { margin-left: auto; }

/* 공통 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 700; letter-spacing: .02em; color: var(--blue);
  background: var(--blue-2); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--blue { color: var(--blue); background: var(--blue-2); }
.eyebrow--green { color: var(--green); background: var(--green-2); }
.eyebrow--yellow { color: var(--ink); background: var(--yellow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot--live { background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.lead { font-size: 1.15rem; color: var(--ink-2); }

.section { padding: 120px 0; }
.section--tint { background: var(--paper); }
.section--dark { background: var(--navy); color: #e9eefb; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__head--left { text-align: left; margin: 0; }
.section__head h1, .section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; margin-bottom: 16px; }
.section__head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }
.section--dark .section__head p:not(.eyebrow) { color: #b9c3dc; }

/* 히어로 */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero__bg {
  position: absolute; inset: 0 0 auto 0; height: min(820px, 92vh);
  background: url("assets/illust/hero.webp") right top / cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251, 246, 236, .9) 0%, rgba(251, 246, 236, .55) 38%, rgba(251, 246, 236, 0) 60%),
              linear-gradient(180deg, rgba(251, 246, 236, 0) 70%, var(--cream) 100%);
}
.hero__inner { position: relative; min-height: min(560px, 64vh); display: flex; align-items: center; }
.hero__copy { max-width: 560px; padding: 40px 0 24px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 850; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 em {
  font-style: normal; color: var(--blue);
  background: linear-gradient(transparent 62%, rgba(247, 185, 40, .55) 62%);
}
.hero .lead { margin-bottom: 32px; max-width: 500px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero__chips li {
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}
.hero__chips li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.hero__stage { position: relative; padding: 40px 0 120px; display: grid; place-items: center; }
.hero__stage .browser { width: min(900px, 82%); }
.hero__stage .phone--left, .hero__stage .phone--right { position: absolute; width: clamp(150px, 17vw, 220px); bottom: 70px; }
.phone--left { left: 0; transform: rotate(-4deg); }
.phone--right { right: 0; transform: rotate(4deg); }
.toast {
  position: absolute; right: 13%; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.toast__icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--yellow-2); border-radius: 12px; font-size: 1.3rem; }
.toast b { display: block; font-size: .95rem; }
.toast small { color: var(--ink-3); font-size: .82rem; }
@keyframes float { 50% { translate: 0 -8px; } }

/* 기기 목업 */
.browser {
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(19, 33, 60, .08);
}
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f1ede4; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2dbcd; }
.browser__bar i:nth-child(1) { background: #f26b5b; }
.browser__bar i:nth-child(2) { background: #f7b928; }
.browser__bar i:nth-child(3) { background: #45c06a; }
.browser__bar span { margin-left: 10px; font-size: .8rem; color: var(--ink-3); font-weight: 600; }

.phone { position: relative; z-index: 2; }
.phone img {
  border-radius: 28px; border: 7px solid #121826; background: #121826;
  box-shadow: var(--shadow); aspect-ratio: 9 / 20; object-fit: cover;
}
.phone figcaption {
  text-align: center; margin-top: 12px; font-size: .9rem; font-weight: 700; color: var(--ink-2);
}
.hero .phone figcaption {
  position: absolute; left: 50%; bottom: -14px; translate: -50% 0; margin: 0;
  background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .8rem; white-space: nowrap;
}

/* 지표 띠 */
.strip { background: var(--ink); color: #fff; padding: 44px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip__grid div { display: flex; align-items: center; gap: 16px; }
.strip strong { font-size: 2.3rem; font-weight: 850; color: var(--yellow); letter-spacing: -0.03em; flex: none; }
.strip span { color: #c8d0e2; font-size: .95rem; line-height: 1.5; }

/* 하루 흐름 */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 0;
  border-top: 3px dashed #c9bfa9;
}
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow__no {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 850; font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--cream);
}
.flow li:nth-child(2) .flow__no { background: var(--green); color: #fff; }
.flow li:nth-child(3) .flow__no, .flow li:nth-child(4) .flow__no { background: var(--blue); color: #fff; }
.flow li:nth-child(5) .flow__no { background: var(--ink); color: #fff; }
.flow h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.flow p { color: var(--ink-2); font-size: .96rem; }

/* 기능 섹션 */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.feature--reverse .feature__text { order: 2; }
.feature__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.feature__text .lead { margin-bottom: 24px; }
.feature__illust { margin-top: 28px; border-radius: var(--radius); width: 100%; max-width: 440px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; font-weight: 900;
  background: var(--blue-2); color: var(--blue);
}
.checks--green li::before { background: var(--green-2); color: var(--green); }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; padding: 24px 0; }
.phones .phone--up { transform: translateY(-36px); }
.phones .phone img { border-radius: 24px; border-width: 6px; }
#parents .phones { background: radial-gradient(closest-side, var(--blue-2), transparent); }
#drivers .phones { background: radial-gradient(closest-side, var(--green-2), transparent); }

/* 학교 섹션 */
.school__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.school__illust { border-radius: var(--radius); width: 100%; }
.feature > *, .school__head > *, .tabs__panel > *, .phones > * { min-width: 0; }
.tabs__list {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; margin-bottom: 28px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; width: fit-content;
}
.tabs__list button {
  font: inherit; font-weight: 700; font-size: .96rem; color: #b9c3dc; background: transparent;
  border: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s;
}
.tabs__list button:hover { color: #fff; }
.tabs__list button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.tabs__panel { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; align-items: center; animation: fade .35s ease; }
.tabs__panel[hidden] { display: none; }
.panel__text h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.panel__text p { color: #b9c3dc; }
.section--dark .browser { border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
@keyframes fade { from { opacity: 0; translate: 0 8px; } }

/* 도입 절차 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 14px 14px 24px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #fff; margin-bottom: 18px; }
.step__shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: right top; transition: transform .4s; }
.step:hover .step__shot img { transform: scale(1.04); }
.step__no { display: inline-block; font-size: 1.3rem; font-weight: 800; color: var(--blue); margin: 0 6px 6px; }
.step h3 { display: inline; font-size: 1.12rem; font-weight: 800; }
.step p { color: var(--ink-2); font-size: .95rem; padding: 4px 6px 0; }

/* 카드 */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; background: #fff; border-radius: 14px; margin-bottom: 18px; box-shadow: 0 6px 16px -10px rgba(19, 33, 60, .4); }
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .96rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 12px 30px -20px rgba(19, 33, 60, .4); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 1.06rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: rotate .2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* CTA */
.cta { padding: 0 0 120px; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--blue) url("assets/illust/hero.webp") right 30% / cover no-repeat;
  background-blend-mode: multiply;
  color: #fff; border-radius: 32px; padding: 64px 56px; position: relative; overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 56, 160, .96) 30%, rgba(29, 79, 209, .6)); }
.cta__inner > * { position: relative; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 10px; }
.cta p { color: #dbe4ff; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 요금제 */
.pricing { padding-top: 88px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 40px 36px 36px; }
.plan__name { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.plan__price strong { font-size: clamp(2.4rem, 4.6vw, 3.2rem); font-weight: 850; letter-spacing: -0.035em; line-height: 1.1; }
.plan__price span { font-weight: 700; color: var(--ink-3); }
.plan__desc { color: var(--ink-2); margin-bottom: 24px; }
.plan .checks { margin-bottom: 32px; }
.plan__cta { margin-top: auto; }
.plan__note { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--ink-3); }
.plan--pro { background: var(--navy); border-color: var(--navy); color: #e9eefb; box-shadow: var(--shadow); }
.plan--pro .plan__price strong { color: var(--yellow); }
.plan--pro .plan__price span, .plan--pro .plan__note { color: #b9c3dc; }
.plan--pro .plan__desc, .plan--pro .checks li { color: #c8d0e2; }
.plan--pro .checks li b { color: #fff; }
.plan--pro .checks li::before { background: var(--yellow); color: var(--ink); }
.pricing__faq { max-width: 820px; margin: 96px auto 0; }
.pricing__faq-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; text-align: center; margin-bottom: 28px; }
.faq details p a { color: var(--blue); font-weight: 700; }

/* 푸터 */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--ink-3); font-size: .88rem; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__inner p:last-child { margin-left: auto; }

/* 라이트박스 */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 27, 51, .82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox__close {
  position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow); line-height: 1;
}
.zoomable { cursor: zoom-in; }

/* 등장 애니메이션 */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease var(--d, 0s), translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* 반응형 */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .tabs__panel { grid-template-columns: 1fr; gap: 24px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle { display: block; margin-left: 0; }
  .lang { margin-left: auto; }
  .section { padding: 88px 0; }
  .feature, .school__head { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .pricing { padding-top: 64px; }
  .feature--reverse .feature__text { order: 0; }
  .feature__illust { display: none; }
  .school__illust { max-width: 480px; }
  .hero__bg { background-position: 70% top; height: 640px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(251, 246, 236, .92) 0%, rgba(251, 246, 236, .7) 55%, var(--cream) 100%); }
  .hero__stage .browser { width: 100%; }
  .hero__stage .phone--left, .hero__stage .phone--right { width: 26%; bottom: -10px; }
  .hero__stage { padding-bottom: 80px; }
  .toast { right: 4%; top: 10px; }
  .tabs__list { border-radius: 20px; }
}
@media (max-width: 600px) {
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .nav__inner { gap: 12px; }
  .hero { padding-top: 24px; }
  .hero__inner { min-height: auto; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__stage { padding-top: 64px; padding-bottom: 72px; }
  .toast { display: none; }
  .hero__stage .phone--left, .hero__stage .phone--right { width: 30%; bottom: 16px; }
  .hero .phone figcaption { display: none; }
  .flow { grid-template-columns: 1fr; text-align: left; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; }
  .flow__no { grid-row: span 2; margin: 0; }
  .steps, .cards, .strip__grid { grid-template-columns: 1fr; }
  .phones { gap: 10px; }
  .phones .phone img { border-radius: 16px; border-width: 4px; }
  .phones .phone--up { transform: translateY(-16px); }
  .phone figcaption { font-size: .78rem; }
  .tabs__list { width: 100%; }
  .tabs__list button { flex: 1 1 auto; padding: 10px 12px; font-size: .9rem; }
  .cta__inner { padding: 44px 28px; border-radius: 24px; }
  .cta__actions .btn { flex: 1 1 auto; }
  .plan { padding: 32px 24px 28px; border-radius: 24px; }
  .pricing__faq { margin-top: 72px; }
  .footer__inner p:last-child { margin-left: 0; }
}
