:root {
  color-scheme: light;
  font-family: Inter, ui-rounded, "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #131016;
  background: #fbfafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 300px; min-height: 100vh; margin: 0; background: #fbfafc; }
button, a { font: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 205px; height: auto; display: block; }
.student-badge { padding: 9px 13px; border: 1px solid #eadfe7; border-radius: 999px; color: #716771; background: white; font-size: 12px; font-weight: 800; }

.page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero-grid { min-height: 630px; display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 68px; padding: 52px 44px 58px; overflow: hidden; border: 1px solid #eee8ed; border-radius: 38px; background: linear-gradient(135deg, #ffffff 0%, #fff9fc 55%, #f8f3ff 100%); box-shadow: 0 26px 80px rgba(52, 32, 47, 0.08); }
.invite-copy { position: relative; z-index: 2; }
.invited-label { width: fit-content; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 9px 12px; border-radius: 999px; color: #d91e70; background: #ffeaf3; font-size: 11px; font-weight: 950; letter-spacing: 0.1em; }
.invited-label span { font-size: 15px; }
h1 { max-width: 570px; margin: 0; color: #171218; font-size: clamp(42px, 5.2vw, 68px); line-height: 0.98; letter-spacing: -0.058em; }
.lead { max-width: 520px; margin: 22px 0 28px; color: #6f6570; font-size: 17px; line-height: 1.58; }

.code-panel { max-width: 500px; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px 14px 20px; border: 1px dashed rgba(230, 29, 115, 0.45); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(74, 36, 60, 0.06); }
.code-panel > div { display: grid; gap: 4px; }
.code-panel span { color: #8a7883; font-size: 10px; font-weight: 900; letter-spacing: 0.13em; }
.code-panel strong { color: #211820; font-size: 25px; letter-spacing: 0.075em; }
.code-panel button { min-width: 70px; padding: 11px 14px; border: 0; border-radius: 12px; color: #cf155f; background: #ffeaf3; cursor: pointer; font-size: 13px; font-weight: 900; }
.code-panel button:hover { background: #ffdeeb; }

.primary { max-width: 500px; width: 100%; display: block; margin-top: 13px; padding: 17px 20px; border: 0; border-radius: 17px; color: white; background: #171217; box-shadow: 0 12px 28px rgba(23, 18, 23, 0.15); cursor: pointer; font-weight: 900; transition: transform 160ms ease, box-shadow 160ms ease; }
.primary:hover { transform: translateY(-1px); box-shadow: 0 15px 34px rgba(23, 18, 23, 0.2); }
.redirect-note { min-height: 18px; max-width: 500px; margin: 10px 0 14px; color: #8e858c; text-align: center; font-size: 11px; }

.store-actions.compact { max-width: 500px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-link { min-height: 57px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 13px; border: 1px solid #e7e0e5; border-radius: 15px; color: #201a1f; background: white; text-decoration: none; font-size: 15px; font-weight: 850; }
.store-link small { display: block; color: #756d73; font-size: 8px; font-weight: 700; letter-spacing: 0.04em; }
.store-icon { font-size: 22px; }
.play-icon { color: #16a34a; font-size: 19px; }

.phone-stage { min-height: 540px; position: relative; display: grid; place-items: center; }
.glow { position: absolute; border-radius: 999px; filter: blur(4px); }
.glow-pink { width: 380px; height: 380px; top: 2%; right: -7%; background: radial-gradient(circle, rgba(255, 85, 158, 0.28), rgba(255, 85, 158, 0)); }
.glow-purple { width: 330px; height: 330px; bottom: -4%; left: 0; background: radial-gradient(circle, rgba(172, 91, 255, 0.23), rgba(172, 91, 255, 0)); }
.phone { width: 290px; height: 570px; position: relative; z-index: 1; overflow: hidden; padding: 14px 14px 20px; border: 8px solid #1b181c; border-radius: 44px; background: white; box-shadow: 0 34px 75px rgba(34, 24, 32, 0.24); transform: rotate(3deg); }
.phone::before { content: ""; width: 92px; height: 21px; position: absolute; top: 0; left: 50%; z-index: 4; transform: translateX(-50%); border-radius: 0 0 14px 14px; background: #1b181c; }
.phone-top { display: flex; justify-content: space-between; padding: 4px 6px 13px; font-size: 9px; }
.app-title-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 2px 10px; }
.app-title-row img { width: 142px; height: auto; }
.bell { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; background: #f5f1f4; }
.stories { display: flex; gap: 9px; padding: 7px 1px 13px; overflow: hidden; }
.story { flex: 0 0 45px; width: 45px; height: 45px; padding: 3px; border-radius: 50%; background: linear-gradient(140deg, #ffb629, #ff2f86 48%, #9f45e9); box-shadow: inset 0 0 0 3px white; }
.story::after { content: ""; display: block; width: 100%; height: 100%; border-radius: inherit; background: #e7dce3; }
.story-two::after { background: #d8e7f4; }.story-three::after { background: #f2d4dd; }.story-four::after { background: #d8eadf; }
.composer { height: 42px; display: flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #ece6ea; border-radius: 15px; color: #8a8187; font-size: 9px; }
.composer b { margin-left: auto; color: #242025; font-size: 15px; }
.avatar { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: #262026; font-size: 9px; font-weight: 900; }
.avatar-pink { background: linear-gradient(145deg, #f68, #bd39df); }
.feed-card { margin-top: 12px; padding-top: 2px; border-top: 1px solid #f2edf0; }
.post-head { display: flex; align-items: center; gap: 8px; padding: 7px 1px; font-size: 9px; }.post-head div { display: grid; }.post-head small { color: #8c8389; font-size: 7px; }.post-head > span:last-child { margin-left: auto; color: #8c8389; }
.feed-card > p { margin: 4px 2px 10px; font-size: 10px; line-height: 1.4; }
.post-photo { height: 245px; display: grid; place-items: end start; padding: 15px; overflow: hidden; border-radius: 18px; color: white; background: linear-gradient(150deg, #162f42, #4585a4 55%, #eab78d); font-size: 12px; font-weight: 900; }
.post-photo::before { content: ""; width: 110px; height: 110px; position: absolute; margin: 0 0 42px 95px; border-radius: 50% 50% 42% 58%; background: rgba(255,255,255,.16); }
.post-actions { display: flex; gap: 24px; padding: 12px 4px; color: #5f565d; font-size: 9px; }.post-actions span:last-child { margin-left: auto; }

.feature-section { padding: 100px 0 90px; }
.section-heading { text-align: center; }
.eyebrow { margin: 0 0 9px; color: #d91e70; font-size: 11px; font-weight: 950; letter-spacing: .13em; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature-card { min-height: 338px; padding: 24px; overflow: hidden; border: 1px solid #ebe5e9; border-radius: 26px; background: white; box-shadow: 0 16px 42px rgba(50, 32, 45, .06); }
.feature-card h3 { margin: 16px 0 7px; font-size: 20px; letter-spacing: -.025em; }.feature-card > div > p { min-height: 44px; margin: 0; color: #756b73; font-size: 13px; line-height: 1.5; }
.feature-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; font-size: 20px; font-weight: 900; }.feature-icon.pink { color: #df196b; background: #ffe8f2; }.feature-icon.purple { color: #8546cb; background: #f1e6ff; }.feature-icon.green { color: #087a38; background: #e2f7ea; }
.mini-feed { display: flex; gap: 10px; margin-top: 28px; padding: 18px; border-radius: 18px; background: #faf7f9; }.mini-avatar { width: 35px; height: 35px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg, #ff8ab9, #813ac4); }.mini-feed div { width: 100%; display: grid; gap: 7px; }.mini-feed b { font-size: 10px; }.mini-feed i { width: 100%; height: 7px; border-radius: 5px; background: #e8dfe5; }.mini-feed i.short { width: 66%; }
.schedule { display: flex; justify-content: space-between; margin-top: 23px; }.day { width: 45px; height: 58px; display: grid; place-items: center; padding: 6px; border-radius: 14px; color: #8a8087; background: #f8f5f7; font-size: 9px; font-weight: 800; }.day small { font-size: 13px; }.day.active { color: white; background: linear-gradient(145deg, #ff3b88, #b23fe2); box-shadow: 0 8px 18px rgba(201, 42, 137, .22); }
.class-row { display: grid; grid-template-columns: 42px 4px 1fr; align-items: center; gap: 10px; margin-top: 18px; padding: 13px; border-radius: 15px; background: #fbf8fa; }.class-row time { color: #786e75; font-size: 9px; }.class-row > span { height: 35px; border-radius: 4px; background: #a24fe2; }.class-row div { display: grid; gap: 3px; }.class-row b { font-size: 10px; }.class-row small { color: #8a8087; font-size: 8px; }
.notice { display: flex; gap: 12px; margin-top: 29px; padding: 16px; border: 1px solid #dfeee5; border-radius: 18px; background: #f5fcf7; }.notice-mark { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: white; background: #0d8a44; font-weight: 950; }.notice div { display: grid; gap: 4px; }.notice small { color: #16844a; font-size: 8px; font-weight: 900; letter-spacing: .06em; }.notice b { font-size: 11px; }.notice p { margin: 0; color: #7a716f; font-size: 9px; line-height: 1.4; }

.site-footer { width: min(1180px, calc(100% - 40px)); display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto; padding: 24px 0 38px; border-top: 1px solid #ebe5e9; color: #8d838a; font-size: 12px; }.site-footer img { width: 30px; height: 30px; border-radius: 9px; }
noscript { display: block; padding: 14px; text-align: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 55px; padding: 52px 34px; }
  .invite-copy { max-width: 590px; margin: 0 auto; text-align: center; }.invited-label { margin-left: auto; margin-right: auto; }.lead { margin-left: auto; margin-right: auto; }.code-panel, .primary, .store-actions.compact { margin-left: auto; margin-right: auto; }
  .phone-stage { min-height: 490px; }.phone { transform: rotate(0); }
  .feature-grid { grid-template-columns: 1fr; max-width: 580px; margin-left: auto; margin-right: auto; }.feature-card { min-height: auto; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 28px); height: 68px; }.brand img { width: 174px; }.student-badge { display: none; }
  .page { width: calc(100% - 24px); }.hero-grid { padding: 35px 19px 42px; border-radius: 28px; }.invited-label { font-size: 9px; } h1 { font-size: 42px; }.lead { margin-top: 17px; font-size: 15px; }
  .code-panel { min-height: 78px; padding: 12px 12px 12px 16px; }.code-panel strong { font-size: 21px; }.code-panel button { min-width: 62px; }
  .store-actions.compact { grid-template-columns: 1fr; }.phone-stage { min-height: 470px; margin-top: -5px; }.phone { width: 260px; height: 510px; border-radius: 40px; }.post-photo { height: 195px; }
  .feature-section { padding: 72px 0 60px; }.feature-grid { margin-top: 27px; }.feature-card { padding: 21px; border-radius: 23px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
