/* Homepage-only design: shared teacher/admin styles are deliberately untouched. */
.public-site {
  --primary-pink: #df0870;
  --primary-pink-dark: #bd075d;
  --charcoal-900: #10284d;
  --charcoal-800: #203b61;
  --text-primary: #10284d;
  --text-secondary: #52647d;
  --text-muted: #697990;
  --border-light: #ecebf1;
  background: #fff;
  color: var(--text-primary);
  font-size: 16px;
}
.public-site button, .public-site input, .public-site select { font: inherit; }
.public-site [hidden] { display: none !important; }
.public-site :is(a, button, summary):focus-visible { outline: 3px solid #185c99; outline-offset: 4px; }
.public-site .top-nav { background: #fff; border-bottom: 1px solid #e5e9f0; box-shadow: 0 3px 20px #203b6110; }
.public-site .nav-container { max-width: 1600px; min-height: 84px; padding: 14px 24px; gap: 14px; }
.public-site .brand-logo { flex-shrink: 0; gap: 10px; }
.public-site .brand-symbol { color: var(--primary-pink); font-size: 37px; }
.public-site .brand-wordmark { font: 700 26px/1.15 'Prompt', sans-serif; color: var(--primary-pink); letter-spacing: -.8px; }
.public-site .brand-wordmark small { display: block; font: 400 13px/1.55 'Sarabun', sans-serif; color: var(--text-secondary); letter-spacing: 0; }
.public-site .nav-menu { gap: 3px; margin-left: auto; }
.public-site .nav-link { color: #344b68; min-height: 48px; padding: 10px 10px; font-size: 17px; font-weight: 600; gap: 7px; border-radius: 10px; white-space: nowrap; }
.public-site .nav-link i { font-size: 17px; }
.public-site .nav-link:hover { color: var(--primary-pink); background: #fff4f9; }
.public-site .nav-link.active { color: var(--primary-pink); background: #fde9f3; box-shadow: none; }
.public-site .user-menu { flex-shrink: 0; }
.public-site .btn-login { background: var(--primary-pink); border-radius: 10px; box-shadow: none; min-height: 46px; padding: 11px 17px; font-size: 16px; }
.public-site .nav-toggle { display: none; align-items: center; justify-content: center; gap: 6px; font-weight: 600; }
.public-site .main-wrapper { max-width: none; width: 100%; padding: 0; overflow: clip; }
.public-site .view-section:not(#view-home) { max-width: 1320px; padding: 32px 24px; margin: auto; }
.public-site .view-section { animation: none; }
.public-site #view-home { background: linear-gradient(180deg, #fff 34%, #fffafd 80%, #fff 100%); }

.home-hero { position: relative; isolation: isolate; height: clamp(480px, 35vw, 650px); min-height: 480px; background: #fff4f8; overflow: hidden; }
.home-hero-images { position: absolute; inset: 0; }
.home-slide { position: absolute; inset: 0; display: none; }
.home-slide.active { display: block; animation: home-slide-in .65s ease-out; }
.home-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.home-hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #fff6fbee 0%, #fff9fcf7 22%, #fffafae6 33%, #fff9fc80 45%, transparent 61%); }
.home-hero-inner { position: relative; max-width: 1440px; margin: auto; padding: 49px 48px 78px; pointer-events: none; }
.home-hero-copy { max-width: 525px; width: 45%; pointer-events: auto; }
.home-eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--primary-pink-dark); font-size: 18px; font-weight: 700; letter-spacing: .1px; }
.home-hero .home-eyebrow { padding: 8px 13px; border: 1px solid #f3bdd6; border-radius: 999px; background: #fff8fce8; box-shadow: 0 4px 15px #92355c12; }
.home-hero .home-eyebrow i { font-size: 17px; }
.home-hero h1 { margin: 13px 0 8px; font-size: clamp(48px, 5vw, 78px); line-height: 1.18; font-weight: 700; letter-spacing: -2.5px; }
.home-hero h1 span { color: var(--primary-pink); }
.home-hero h2 { font-size: clamp(19px, 1.75vw, 25px); line-height: 1.5; font-weight: 600; }
.home-hero-copy p { color: #435873; font-size: 18px; line-height: 1.75; margin: 14px 0 24px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; min-height: 45px; padding: 11px 19px; font: 600 15px/1.5 'Prompt', sans-serif !important; cursor: pointer; text-decoration: none; transition: background .2s, box-shadow .2s, transform .2s; }
.home-button.primary { color: #fff; background: var(--primary-pink); box-shadow: 0 5px 16px #df08701c; }
.home-button.primary:hover { background: #bd075d; color: #fff; transform: translateY(-1px); }
.home-button.outline { background: #ffffffb8; border-color: var(--primary-pink); color: var(--primary-pink-dark); }
.home-button.outline:hover { background: #fff0f7; }
.home-button.subtle { border-color: #f6b6d4; background: #fff; color: var(--primary-pink); white-space: nowrap; }
.home-button.subtle:hover { background: #fff0f7; }
.home-hero-actions .home-button { font-size: 17px !important; padding: 13px 20px; }
.home-hero-actions .home-button > i:first-child { font-size: 20px; }
.home-slider-toolbar { position: absolute; bottom: 45px; right: max(35px, calc((100% - 1344px)/2)); display: flex; align-items: center; gap: 9px; z-index: 2; background: #ffffffd9; border: 1px solid #ffffff; border-radius: 99px; padding: 5px 7px; box-shadow: 0 3px 14px #10284d15; }
.home-slider-arrow, .home-slider-pause { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #334860; cursor: pointer; font-size: 12px !important; }
.home-slider-arrow:hover, .home-slider-pause:hover { background: #fce7f3; color: var(--primary-pink); }
.home-slider-dots { display: flex; gap: 2px; }
.home-slider-dot { position: relative; height: 30px; width: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-slider-dot::after { content: ''; display: block; margin: auto; width: 7px; height: 7px; border-radius: 99px; background: #adb7c5; transition: width .2s; }
.home-slider-dot.active::after { width: 19px; background: var(--primary-pink); }
.home-hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 48px; pointer-events: none; }
@keyframes home-slide-in { from { opacity: .4; } to { opacity: 1; } }

.home-nav-search { position: relative; flex: 0 0 206px; width: 206px; min-width: 0; }
.home-search-field { display: flex; align-items: center; gap: 9px; min-height: 42px; border: 1px solid #d9e0e9; border-radius: 999px; padding: 0 13px; background: #fff; color: #697789; box-shadow: 0 1px 5px #1e365008; }
.home-search-field:focus-within { outline: 2px solid #f8d8e8; border-color: var(--primary-pink); }
.home-search-field svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.home-search-field input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #10284d; font-size: 15px; }
.home-search-field input::placeholder { color: #718096; opacity: 1; }
.home-search-results { position: absolute; z-index: 1200; top: calc(100% + 9px); left: 0; width: min(430px, calc(100vw - 32px)); max-height: min(60vh, 470px); overflow-y: auto; padding: 13px; background: #fff; border: 1px solid #e3e8f0; border-radius: 13px; box-shadow: 0 16px 40px #10284d24; }
.home-search-results h3 { font-size: 17px; margin: 0 0 8px; }
.home-search-result-list { display: grid; gap: 6px; }
.home-search-result { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; background: #f7f9fc; color: #10284d; text-align: left; font-size: 16px; cursor: pointer; }
.home-search-result:hover, .home-search-result:focus-visible { border-color: #efbfd7; background: #fff5fa; }
.home-search-result small { flex: 0 0 74px; color: #bd075d; font-size: 14px; font-weight: 600; }
.home-search-result span { overflow-wrap: anywhere; }
.home-search-results p { color: #52647d; font-size: 16px; }

.home-content-section { max-width: 1440px; margin: 0 auto; padding: 30px 48px 12px; }
.home-section-heading { display: flex; gap: 17px; align-items: center; margin-bottom: 21px; scroll-margin-top: 110px; }
.home-heading-icon { width: 47px; flex-shrink: 0; font-size: 29px; color: var(--primary-pink); text-align: center; border-left: 3px solid var(--primary-pink); line-height: 1.55; }
.home-heading-copy { flex: 1; min-width: 0; }
.home-section-heading h2 { font-size: clamp(23px, 1.9vw, 29px); font-weight: 600; margin-bottom: 3px; }
.home-section-heading p { color: #53647d; font-size: 16px; line-height: 1.65; }
.home-news-grid, .home-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; margin: 0; }
.home-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-content-card { background: #fff; border: 1px solid #eeebf0; border-radius: 13px; box-shadow: 0 3px 10px #1c385b08; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; }
.home-content-card:hover { box-shadow: 0 8px 24px #23395712; transform: translateY(-3px); }
.home-news-image { display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 2.4; background: #edf2f8; overflow: hidden; cursor: pointer; }
.home-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.home-news-image:hover img { transform: scale(1.035); }
.home-card-body { display: flex; flex-direction: column; flex: 1; padding: 17px 19px 16px; gap: 10px; }
.home-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; color: #61738c; font-size: 14px; }
.home-card-meta time { white-space: nowrap; }
.home-category { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; background: #fdebf4; color: #be0d60; font-size: 13px; line-height: 1.5; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.home-card-body h3 { font-size: 18px; font-weight: 600; line-height: 1.55; }
.home-title-button { padding: 0; margin: 0; background: none; border: 0; text-align: left; color: inherit; font: inherit !important; line-height: inherit !important; cursor: pointer; }
.home-title-button:hover { color: var(--primary-pink); }
.home-card-description { color: #53647c; font-size: 16px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-card-bottom { margin-top: auto; padding-top: 2px; }
.home-text-link { background: none; padding: 0; border: 0; color: var(--primary-pink-dark); cursor: pointer; font-size: 15px !important; font-weight: 600 !important; display: inline-flex; align-items: center; gap: 10px; }
.home-card-bottom .home-text-link { width: 100%; justify-content: space-between; }
.home-round-arrow { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--primary-pink); border-radius: 50%; }
.home-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; }
.home-page-button { border: 1px solid #ebdbe4; border-radius: 50%; width: 38px; height: 38px; background: white; color: #64748b; cursor: pointer; font-size: 15px !important; }
.home-page-button.active, .home-page-button:hover { background: var(--primary-pink); border-color: var(--primary-pink); color: #fff; }
.home-video-media { position: relative; aspect-ratio: 16/9; background: #edf2f8; overflow: hidden; }
.home-video-media :is(video, iframe) { width: 100%; height: 100%; display: block; border: 0; }
.home-video-play { position: absolute; inset: 0; padding: 0; width: 100%; height: 100%; background: #edf2f8; border: 0; cursor: pointer; }
.home-video-play > img { width: 100%; height: 100%; object-fit: cover; }
.home-video-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #10284d05, #10284d20); }
.home-video-badge { position: absolute; top: 10px; left: 10px; z-index: 1; color: #fff; background: #dd0873; padding: 2px 8px; border-radius: 5px; font-size: 11px; }
.home-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: grid; place-items: center; width: 48px; height: 36px; border-radius: 10px; background: #e80073; color: #fff; font-size: 17px; box-shadow: 0 3px 12px #10284d20; }
.home-video-grid .home-card-body { padding: 18px; gap: 8px; }
.home-video-grid h3 { font-size: 18px; line-height: 1.55; }
.home-video-grid .home-card-description { font-size: 16px; }
.home-video-date { margin-top: auto; padding-top: 7px; color: #61738c; font-size: 14px; }
.home-teacher-video-section { margin-top: 30px; }
.home-teacher-video-section[hidden] { display: none; }
.home-teacher-video-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #10284d; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; }
.home-teacher-video-title i { color: #d60970; }
.home-qa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-qa-card { display: flex; flex-direction: column; padding: 22px; gap: 14px; min-width: 0; background: white; border: 1px solid #e8eaf0; border-radius: 14px; box-shadow: 0 5px 16px #1c385b08; }
.home-qa-icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #fce9f3; color: var(--primary-pink); font-size: 21px; }
.home-qa-copy { flex: 1; min-width: 0; }
.home-qa-copy h3 { font-size: 19px; line-height: 1.5; margin: 13px 0; }
.home-qa-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 15px; color: #5e6e83; margin-top: 12px; }
.home-qa-link { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--primary-pink-dark); font-size: 16px !important; font-weight: 700 !important; cursor: pointer; }
.home-qa-link:hover { text-decoration: underline; }
.home-section-bottom { text-align: center; padding: 19px 0 5px; }
.home-related-section { padding-top: 32px; }
.home-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-related-card { display: flex; align-items: center; gap: 15px; min-height: 112px; padding: 21px; border: 1px solid #e7eaf0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px #1c385b08; color: #10284d; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.home-related-card:hover { border-color: #efb6d1; box-shadow: 0 10px 25px #1c385b14; transform: translateY(-2px); color: #10284d; }
.home-related-number { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 11px; background: #fcebf4; color: #bf0b60; font: 700 15px/1 'Prompt', sans-serif; }
.home-related-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.home-related-copy strong { font-size: 17px; line-height: 1.45; font-weight: 600; }
.home-related-copy small { color: #61718a; font-size: 14px; line-height: 1.45; }
.home-related-arrow { align-self: flex-start; margin-left: auto; color: #bd075d; font-size: 24px; line-height: 1; }
.home-empty { grid-column: 1/-1; text-align: center; border: 1px dashed #e5dfe6; border-radius: 12px; background: #fff; padding: 28px; color: #6b778b; }
.home-join-strip { max-width: 1344px; margin: 34px auto 8px; border-radius: 20px; border: 1px solid #f8d9e9; background: linear-gradient(120deg, #fff7fb, #ffedf6); padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 19px; text-align: center; }
.home-join-copy { max-width: 780px; }
.home-join-strip h2 { font-size: clamp(24px, 2.25vw, 32px); line-height: 1.45; margin-top: 8px; }
.home-join-strip p { font-size: 17px; line-height: 1.7; color: #52647d; margin-top: 8px; }
.home-join-strip .home-button { flex-shrink: 0; min-width: 240px; min-height: 52px; font-size: 17px !important; }
.public-site .qa-public-card { padding: 24px; margin-bottom: 20px; scroll-margin-top: 105px; }
.public-site .qa-public-answer { white-space: pre-line; }
.public-site #site-contact { margin-top: 45px !important; border-top-width: 3px !important; }

.home-dialog { margin: auto; padding: 0; width: min(850px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border: 1px solid #f2d7e5; border-radius: 18px; box-shadow: 0 24px 90px #14294535; color: #10284d; background: #fff; }
.home-dialog[open] { display: flex; flex-direction: column; }
.home-dialog::backdrop { background: #10203980; backdrop-filter: blur(4px); }
.home-dialog-head { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; padding: 16px 24px; background: #fff5fa; border-bottom: 1px solid #f5e3ed; color: var(--primary-pink); font-weight: 600; }
.home-dialog-close { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #546078; cursor: pointer; }
.home-dialog-body { padding: 25px 30px; overflow-y: auto; min-height: 0; font-size: 16px; }
.home-dialog-body h2 { font-size: 25px; margin: 8px 0 18px; }
.home-dialog-body h3 { font-size: 17px; }
.home-article-meta { color: #8c687e; font-size: 15px; }
#home-detail-image { width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
#home-detail-content { white-space: pre-line; overflow-wrap: anywhere; color: #52647d; line-height: 1.9; margin-bottom: 22px; }
.home-dialog-foot { padding: 14px 24px; flex-shrink: 0; display: flex; justify-content: flex-end; border-top: 1px solid #f1e8ed; background: #fff; }
.home-guide-intro { color: #6b778b; }
.home-guide-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 22px; }
.home-guide-steps li { display: flex; align-items: flex-start; gap: 18px; }
.home-guide-steps li > span { background: #fce7f3; color: var(--primary-pink); min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; }
.home-guide-steps p { margin-top: 5px; color: #52647d; }
.public-site .modal-overlay { z-index: 1100; }
.public-site .modal-card { max-height: calc(100dvh - 40px); overflow-y: auto; }

@media (min-width: 1600px) {
  .home-hero { min-height: 540px; }
  .home-hero-inner { padding-top: 62px; }
  .home-hero-copy p { font-size: 18px; }
}
@media (max-width: 1320px) {
  .public-site .nav-container { flex-wrap: wrap; gap: 12px; min-height: 76px; }
  .public-site .nav-toggle { display: inline-flex; order: 3; min-width: 84px; height: 46px; border: 1px solid #f3dce8; border-radius: 10px; color: var(--primary-pink); background: #fff5fa; cursor: pointer; font-size: 16px; }
  .public-site .user-menu { margin-left: auto; }
  .public-site .nav-menu { display: none; order: 4; width: 100%; flex: 1 1 100%; margin: 0; padding-top: 6px; border-top: 1px solid #f5e6ee; flex-wrap: wrap; justify-content: flex-start; }
  .public-site .nav-menu.is-open { display: flex; }
  .home-hero-inner { padding-left: 35px; padding-right: 35px; }
  .home-hero-copy { width: 48%; }
  .home-content-section { padding-left: 32px; padding-right: 32px; }
  .home-join-strip { margin-left: 32px; margin-right: 32px; }
}
@media (max-width: 900px) {
  .home-hero-copy { width: 53%; }
  .home-hero h1 { font-size: 51px; }
  .home-hero-wash { background: linear-gradient(90deg, #fff8fcf7 0%, #fff8fcf2 30%, #fff9fcba 45%, transparent 80%); }
  .home-hero-actions { gap: 8px; }
  .home-hero-actions .home-button { font-size: 15px !important; min-height: 46px; padding: 10px 12px; }
  .home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-news-grid { gap: 15px; }
  .home-card-body { padding: 14px; }
  .home-card-body h3 { font-size: 17px; }
  .home-news-image { aspect-ratio: 1.7; }
  .home-qa-grid { grid-template-columns: 1fr; }
  .home-qa-card { padding: 18px; }
  .home-qa-copy h3 { font-size: 17px; }
  .home-join-strip { align-items: center; }
  .home-related-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-related-card { min-height: 90px; }
}
@media (max-width: 640px) {
  .public-site .nav-container { padding: 11px 16px; min-height: 70px; gap: 9px; }
  .public-site .brand-symbol { font-size: 27px; }
  .public-site .brand-wordmark { font-size: 21px; }
  .public-site .brand-wordmark small { display: none; }
  .public-site .brand-logo { gap: 6px; }
  .public-site .btn-login { font-size: 14px; min-height: 44px; padding: 9px 11px; }
  .public-site .nav-toggle { min-width: 76px; height: 44px; font-size: 14px; }
  .public-site .nav-menu.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-site .nav-link { font-size: 15px; min-height: 48px; padding: 10px 8px; }
  .home-hero { height: auto; padding-bottom: 228px; min-height: 0; }
  .home-hero-inner { padding: 28px 22px 24px; background: radial-gradient(ellipse at top right, #fde0ee 0%, #fff6fb 60%, #fff 100%); }
  .home-hero-copy { width: 100%; max-width: none; }
  .home-hero h1 { font-size: 46px; margin: 10px 0 7px; }
  .home-hero h2 { font-size: 20px; }
  .home-hero h2 br { display: none; }
  .home-hero-copy p { font-size: 16px; margin: 10px 0 20px; }
  .desktop-break { display: none; }
  .home-eyebrow { font-size: 16px; }
  .home-hero .home-eyebrow { padding: 7px 10px; }
  .home-hero-images { top: auto; height: 228px; }
  .home-hero-wash { display: none; }
  .home-slide img { object-position: 65% center; }
  .home-hero-actions .home-button { font-size: 15px !important; min-height: 46px; padding: 10px 13px; }
  .home-hero-actions .home-button > i:first-child { font-size: 16px; }
  .home-slider-toolbar { bottom: 27px; right: 15px; padding: 2px 5px; gap: 3px; }
  .home-hero-wave { height: 27px; }
  .home-nav-search { order: 4; flex: 1 1 100%; width: 100%; }
  .public-site .nav-menu { order: 5; }
  .home-search-results { width: 100%; }
  .home-search-result { align-items: flex-start; flex-direction: column; gap: 3px; }
  .home-content-section { padding: 26px 18px 5px; }
  .home-section-heading { gap: 10px; flex-wrap: wrap; margin-bottom: 16px; scroll-margin-top: 90px; }
  .home-heading-icon { width: 33px; font-size: 22px; }
  .home-section-heading h2 { font-size: 22px; }
  .home-section-heading p { font-size: 15px; }
  .home-section-heading > .home-button { margin-left: 43px; font-size: 14px !important; padding: 8px 12px; }
  .home-related-section { padding-top: 28px; }
  .home-related-card { padding: 17px; }
  .home-news-grid, .home-video-grid { grid-template-columns: 1fr; gap: 17px; }
  .home-news-image { aspect-ratio: 2; }
  .home-card-body, .home-video-grid .home-card-body { padding: 17px; }
  .home-card-body h3, .home-video-grid h3 { font-size: 18px; }
  .home-card-description, .home-video-grid .home-card-description { font-size: 16px; }
  .home-join-strip { margin: 26px 18px 0; padding: 27px 20px; }
  .home-join-strip h2 { font-size: 23px; }
  .home-join-strip p { font-size: 16px; }
  .home-join-strip .home-button { width: 100%; font-size: 16px !important; }
  .home-dialog { max-height: calc(100dvh - 24px); width: calc(100vw - 24px); }
  .home-dialog-body { padding: 20px; }
  .home-dialog-body h2 { font-size: 21px; }
  .home-guide-steps li { gap: 12px; }
}
@media (max-width: 420px) {
  .public-site .brand-symbol { display: none; }
  .public-site .brand-wordmark { font-size: 19px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .public-site *, .public-site *::before, .public-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
