/* Homepage gateway: a real learning preview and a direct, optional account path. */
.home-clear.home-gateway {
  --gateway-bg: #121617;
  --gateway-surface: #1b2021;
  --gateway-input: #23292a;
  --gateway-ink: #f3f2ec;
  --gateway-muted: #abb3af;
  --gateway-line: #394240;
  --gateway-accent: #d3c6a7;
  --gateway-button: #eee9dc;
  --gateway-button-ink: #1b2421;
  color: var(--gateway-ink);
  background: var(--gateway-bg);
}
:root[data-theme="light"] .home-clear.home-gateway {
  --gateway-bg: #f1f1eb;
  --gateway-surface: #fcfcf7;
  --gateway-input: #f0f1eb;
  --gateway-ink: #202923;
  --gateway-muted: #5c665e;
  --gateway-line: #cbd1c5;
  --gateway-accent: #6b5c3d;
  --gateway-button: #202d26;
  --gateway-button-ink: #fffef8;
}
.home-clear.home-gateway main { width: 100%; max-width: 100%; overflow-x: clip; }
.home-clear.home-gateway .gateway-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
  grid-auto-flow: dense;
  align-items: center;
  gap: 24px 64px;
  width: min(90%, 1280px);
  margin: 0 auto;
  padding: 64px 0 40px;
  position: relative;
  isolation: isolate;
}
.home-clear.home-gateway .gateway-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20px -10% -40px;
  pointer-events: none;
  background: radial-gradient(ellipse at 32% 62%, #c9b98a0b, transparent 65%);
}
.home-clear.home-gateway .gateway-intro { min-width: 0; grid-column: 1; grid-row: 1; align-self: end; }
.home-clear.home-gateway .gateway-hero > .gateway-preview { grid-column: 1; grid-row: 2; align-self: start; }
.home-clear.home-gateway .gateway-hero > .gateway-access { grid-column: 2; grid-row: 1 / span 2; }
.home-clear.home-gateway .gateway-kicker,
.home-clear.home-gateway .gateway-access-header > p:first-child {
  margin: 0 0 20px;
  color: var(--gateway-muted);
  font: 500 11px/1.6 "DM Mono", monospace;
  letter-spacing: .1em;
}
.home-clear.home-gateway .gateway-title {
  width: 100%;
  max-width: 680px;
  margin: 0;
  color: var(--gateway-ink);
  font: 650 clamp(38px, 4.05vw, 58px)/1.07 Manrope, sans-serif;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.home-clear.home-gateway .gateway-title > span { display: block; }
.home-clear.home-gateway .gateway-title > span + span { color: var(--gateway-muted); }
.home-clear.home-gateway .gateway-description {
  max-width: 520px;
  margin: 24px 0 30px;
  color: var(--gateway-muted);
  font-size: 16px;
  line-height: 1.8;
}
.home-clear.home-gateway .gateway-preview {
  --preview-ink: #f1f1e8;
  --preview-muted: #b0bab5;
  width: 100%;
  overflow: hidden;
  border: 1px solid #414b46;
  border-radius: 14px;
  background: #151a18;
  color: var(--preview-ink);
  box-shadow: 0 18px 44px #00000012;
}
.home-clear.home-gateway .gateway-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 17px 20px;
  border-bottom: 1px solid #333d37;
  font-size: 12px;
  line-height: 1.5;
}
.home-clear.home-gateway .gateway-preview-top > :first-child { font-weight: 750; letter-spacing: -.025em; }
.home-clear.home-gateway .gateway-preview-top > span:nth-child(2) { color: var(--preview-muted); font: 10px/1.6 "DM Mono", monospace; margin-left: auto; }
.home-clear.home-gateway .gateway-preview-top > i { display: none; }
.home-clear.home-gateway .gateway-preview-layout {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  grid-auto-flow: dense;
}
.home-clear.home-gateway .gateway-preview-lessons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 10px;
  background: #111613;
  border-right: 1px solid #333d37;
}
.home-clear.home-gateway .gateway-preview-lessons > p { color: var(--preview-muted); padding: 0 10px; font: 10px/1.6 "DM Mono", monospace; margin: 0 0 12px; }
.home-clear.home-gateway .gateway-preview-lessons button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px;
  background: transparent;
  color: #b9c2bd;
  font: 500 12px/1.6 Manrope, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.home-clear.home-gateway .gateway-preview-lessons button > span:first-child { font: 10px/1.5 "DM Mono", monospace; }
.home-clear.home-gateway .gateway-preview-lessons button > b { font-weight: 600; }
.home-clear.home-gateway .gateway-preview-lessons button > i { display: none; }
.home-clear.home-gateway .gateway-preview-progress-note { margin-top: auto; padding: 18px 10px 0; color: var(--preview-muted); font-size: 10px; line-height: 1.8; }
.home-clear.home-gateway .gateway-preview-lessons button[aria-pressed="true"] { background: #e9e7dc; color: #1c2820; border-color: #e9e7dc; }
.home-clear.home-gateway .gateway-preview-lessons button:hover:not([aria-pressed="true"]) { color: #fffef7; background: #26322b; border-color: #48564c; }
.home-clear.home-gateway .gateway-preview-chart { min-width: 0; padding: 16px 18px 18px; }
.home-clear.home-gateway .gateway-preview-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.home-clear.home-gateway .gateway-preview-chart svg text { font-family: "DM Mono", monospace; }
.home-clear.home-gateway .gateway-preview-chart .gateway-chart-grid { stroke: #303b34; stroke-width: 1; }
.home-clear.home-gateway .gateway-preview-chart .gateway-chart-label { fill: #c8d1ca; font-size: 12px; }
.home-clear.home-gateway .gateway-candle-up { fill: #e6e8df; stroke: #e6e8df; }
.home-clear.home-gateway .gateway-candle-down { fill: #65796b; stroke: #9ead9f; }
.home-clear.home-gateway .gateway-candle-wick { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.home-clear.home-gateway .gateway-chart-zone { fill: #cbbb9220; }
.home-clear.home-gateway .gateway-chart-level { stroke: #cbbb92; stroke-width: 1; stroke-dasharray: 5 5; }
.home-clear.home-gateway .gateway-chart-pointer { fill: none; stroke: #cbbb92; stroke-width: 1.2; }
.home-clear.home-gateway .gateway-chart-structure { fill: none; stroke: #cbbb92; stroke-width: 1.3; stroke-dasharray: 4 5; }
.home-clear.home-gateway .gateway-chart-dot { fill: #cbbb92; }
.home-clear.home-gateway .gateway-chart-candle-focus { fill: #cbbb9215; stroke: #cbbb92; stroke-width: 1; }
.home-clear.home-gateway .gateway-preview-market { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; color: var(--preview-muted); font: 9px/1.7 "DM Mono", monospace; }
.home-clear.home-gateway .gateway-preview-insight { border-top: 1px solid #354139; margin-top: 12px; padding-top: 14px; }
.home-clear.home-gateway .gateway-preview-insight :is(h2,h3,.preview-lesson-title) { color: var(--preview-ink); font-size: 14px; line-height: 1.5; font-weight: 650; letter-spacing: -.015em; margin: 0 0 6px; }
.home-clear.home-gateway .gateway-preview-insight p { color: var(--preview-muted); font-size: 12px; line-height: 1.7; margin: 0; }
.home-clear.home-gateway .gateway-preview-insight a { color: #f2efdf; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 4px; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.home-clear.home-gateway .gateway-preview-note { margin: 0; border-top: 1px solid #333d37; padding: 12px 20px; color: var(--preview-muted); font: 10px/1.7 "DM Mono", monospace; }
.home-clear.home-gateway .gateway-access {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--gateway-line);
  border-radius: 16px;
  background: var(--gateway-surface);
  color: var(--gateway-ink);
  box-shadow: 0 16px 48px #00000007;
  scroll-margin-top: 100px;
}
.home-clear.home-gateway .gateway-access-header > p:first-child { margin-bottom: 12px; font-size: 10px; }
.home-clear.home-gateway .gateway-access-header h2 { margin: 0; font: 650 29px/1.2 Manrope, sans-serif; color: var(--gateway-ink); letter-spacing: -.045em; }
.home-clear.home-gateway .gateway-access-header .gateway-access-note { margin: 12px 0 22px; color: var(--gateway-muted); font-size: 13px; line-height: 1.7; }
.home-clear.home-gateway [data-home-session-status] { margin: 10px 0; font-size: 12px; line-height: 1.7; color: var(--gateway-muted); }
.home-clear.home-gateway [data-home-session-status]:empty { display: none; }
.home-clear.home-gateway .gateway-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; border-bottom: 1px solid var(--gateway-line); margin: 0 0 20px; gap: 18px; }
.home-clear.home-gateway .gateway-auth-tabs button { border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0; min-height: 44px; padding: 8px 0 13px; text-align: center; font: 650 12px/1.5 Manrope, sans-serif; background: transparent; color: var(--gateway-muted); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.home-clear.home-gateway .gateway-auth-tabs button[aria-selected="true"] { border-bottom-color: var(--gateway-ink); color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-auth-tabs button:hover { color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-google { margin: 0; }
.home-clear.home-gateway .gateway-google button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--gateway-line); border-radius: 7px; background: var(--gateway-surface); color: var(--gateway-ink); font: 650 13px/1.5 Manrope, sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.home-clear.home-gateway .gateway-google button:hover { background: var(--gateway-input); border-color: var(--gateway-muted); }
.home-clear.home-gateway .gateway-google svg { width: 18px; height: 18px; flex-shrink: 0; }
.home-clear.home-gateway .gateway-google [data-google-status] { font-size: 12px; line-height: 1.7; margin: 10px 0 0; color: var(--gateway-muted); }
.home-clear.home-gateway .gateway-google [data-google-status]:empty { display: none; }
.home-clear.home-gateway .gateway-divider { display: flex; gap: 12px; align-items: center; color: var(--gateway-muted); font-size: 11px; margin: 18px 0; }
.home-clear.home-gateway .gateway-divider::before, .home-clear.home-gateway .gateway-divider::after { content: ""; flex: 1; height: 1px; background: var(--gateway-line); }
.home-clear.home-gateway .gateway-form { display: block; margin: 0; }
.home-clear.home-gateway .gateway-form > :is(h2,h3) { margin: 0 0 18px; font-size: 20px; line-height: 1.4; letter-spacing: -.025em; color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-form > p:not([data-auth-status]) { margin: 0 0 18px; font-size: 13px; line-height: 1.8; color: var(--gateway-muted); }
.home-clear.home-gateway .gateway-field { display: block; margin: 0 0 14px; color: var(--gateway-ink); font-size: 12px; font-weight: 600; line-height: 1.6; }
.home-clear.home-gateway .gateway-field > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
.home-clear.home-gateway .gateway-field input { display: block; margin-top: 7px; width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid var(--gateway-line); border-radius: 7px; background: var(--gateway-input); color: var(--gateway-ink); font: 400 16px/1.5 Manrope, sans-serif; box-sizing: border-box; }
.home-clear.home-gateway .gateway-field input::placeholder { color: var(--gateway-muted); opacity: 1; }
.home-clear.home-gateway .gateway-field input:focus { border-color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-consent { display: flex; align-items: flex-start; gap: 10px; margin: 17px 0; padding: 0; color: var(--gateway-muted); font: 400 11px/1.7 Manrope, sans-serif; cursor: pointer; }
.home-clear.home-gateway .gateway-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--gateway-button); }
.home-clear.home-gateway .gateway-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; border: 1px solid var(--gateway-button); border-radius: 7px; padding: 12px 16px; background: var(--gateway-button); color: var(--gateway-button-ink); font: 700 13px/1.6 Manrope, sans-serif; cursor: pointer; transition: filter .2s, transform .2s; }
.home-clear.home-gateway .gateway-submit:hover { filter: brightness(1.15); transform: translateY(-1px); }
.home-clear.home-gateway .gateway-access button:disabled { cursor: wait; opacity: .6; transform: none; }
.home-clear.home-gateway .gateway-access [data-auth-status] { margin: 12px 0 0; color: var(--gateway-muted); font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.home-clear.home-gateway .gateway-access [data-auth-status]:empty { display: none; }
.home-clear.home-gateway .gateway-access [data-type="error"] { color: #ffbfae; }
:root[data-theme="light"] .home-clear.home-gateway .gateway-access [data-type="error"] { color: #8b3226; }
.home-clear.home-gateway .gateway-auth-help { margin: 14px 0 0; color: var(--gateway-muted); font-size: 11px; line-height: 1.75; }
.home-clear.home-gateway .gateway-auth-help a { text-decoration: underline; text-underline-offset: 4px; }
.home-clear.home-gateway details.gateway-auth-help > summary { min-height: 44px; align-content: center; cursor: pointer; }
.home-clear.home-gateway .gateway-auth-footnote { margin: 12px 0 0; color: var(--gateway-muted); font-size: 11px; line-height: 1.75; }
.home-clear.home-gateway .gateway-auth-fallback { display: none; border-top: 1px solid var(--gateway-line); padding-top: 16px; margin-top: 18px; }
.home-clear.home-gateway [data-home-gateway-state][data-state="error"] .gateway-auth-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.home-clear.home-gateway .gateway-auth-fallback :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--gateway-ink); font: 600 12px/1.7 Manrope, sans-serif; }
.home-clear.home-gateway .gateway-auth-fallback button { background: none; border: 1px solid var(--gateway-line); border-radius: 6px; padding: 8px 12px; cursor: pointer; }
.home-clear.home-gateway [data-home-member] > p { color: var(--gateway-muted); font-size: 13px; line-height: 1.8; }
.home-clear.home-gateway [data-home-member] > .gateway-submit { margin-top: 24px; }
.home-clear.home-gateway .gateway-access [data-auth-resend], .home-clear.home-gateway .gateway-access [data-auth-mode] { display: inline-flex; align-items: center; min-height: 44px; border: 0; border-radius: 0; background: none; color: var(--gateway-ink); font: 600 12px/1.7 Manrope, sans-serif; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.home-clear.home-gateway .gateway-access .auth-confirm-help { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gateway-line); font-size: 12px; }
.home-clear.home-gateway .gateway-access .auth-confirm-help summary { min-height: 44px; align-content: center; cursor: pointer; }
.home-clear.home-gateway .gateway-access .auth-confirm-help p { font-size: 12px; line-height: 1.7; color: var(--gateway-muted); }
.home-clear.home-gateway .gateway-access .auth-captcha { margin: 16px 0; min-width: 0; }
.home-clear.home-gateway .gateway-access .auth-captcha-note { color: var(--gateway-muted); font-size: 11px; line-height: 1.7; }
.home-clear.home-gateway .gateway-access .auth-connection { margin: 14px 0; padding: 12px; border: 1px solid var(--gateway-line); font-size: 12px; line-height: 1.7; }
.home-clear.home-gateway .gateway-access .auth-connection button { min-height: 44px; background: transparent; color: inherit; border: 1px solid currentColor; padding: 8px 12px; border-radius: 5px; margin-top: 10px; }
.home-clear.home-gateway .gateway-access [hidden] { display: none !important; }
.home-clear.home-gateway .gateway-member-heading { margin: 20px 0 0; font-size: 15px; line-height: 1.6; }
.home-clear.home-gateway .gateway-access .home-resume { width: 100%; max-width: none; display: block; margin: 20px 0 0; padding: 0; background: none; border: 0; color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-access .home-resume[hidden] { display: none; }
.home-clear.home-gateway .gateway-access .home-resume :is(p,small,.home-resume-kicker) { color: var(--gateway-muted); }
.home-clear.home-gateway .gateway-access .home-resume strong { font-size: 24px; margin: 12px 0; color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-access .home-resume-meter { margin: 24px 0; }
.home-clear.home-gateway .gateway-access .home-resume-actions { align-items: stretch; gap: 10px; }
.home-clear.home-gateway .gateway-access .home-resume-go { background: var(--gateway-button); color: var(--gateway-button-ink); border-color: var(--gateway-button); width: 100%; min-height: 48px; }
.home-clear.home-gateway .gateway-access .home-resume-actions > a:last-child:not(:first-child) { justify-content: center; min-height: 44px; color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-access .home-resume-state { display: block; }
.home-clear.home-gateway .gateway-access .home-resume-state button { margin-top: 12px; }
.home-clear.home-gateway .gateway-access .home-resume:has(.home-resume-actions) + .gateway-submit { display: none; }
.home-clear.home-gateway .gateway-access .gateway-member-link { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; background: var(--gateway-button); color: var(--gateway-button-ink); border-radius: 7px; font-size: 13px; font-weight: 700; margin-top: 24px; }
.home-clear.home-gateway .gateway-public-links { width: min(90%, 1280px); max-width: 1280px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 30px; padding: 4px 0 32px; border-bottom: 1px solid var(--gateway-line); color: var(--gateway-muted); font-size: 12px; line-height: 1.7; }
.home-clear.home-gateway .gateway-hero > .gateway-public-links { grid-column: 1/-1; width: 100%; padding-bottom: 0; border-bottom: 0; }
.home-clear.home-gateway .gateway-public-links a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--gateway-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.home-clear.home-gateway .gateway-public-links small { font-size: 11px; margin-left: auto; }
.home-clear.home-gateway .gateway-film-section { width: min(90%, 1280px); margin: 0 auto; padding: 112px 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-auto-flow: dense; gap: 64px; align-items: center; }
.home-clear.home-gateway .gateway-film-copy h2 { color: var(--gateway-ink); font: 600 clamp(32px, 3.2vw, 46px)/1.15 Manrope, sans-serif; letter-spacing: -.045em; max-width: 440px; margin: 0 0 24px; }
.home-clear.home-gateway .gateway-film-copy p { color: var(--gateway-muted); font-size: 15px; line-height: 1.85; max-width: 370px; }
.home-clear.home-gateway .gateway-film-copy > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.home-clear.home-gateway .gateway-film-section .home-film { width: 100%; margin: 0; padding: 16px; border-radius: 14px; background: var(--gateway-surface); border: 1px solid var(--gateway-line); box-shadow: none; min-width: 0; }
.home-clear.home-gateway .gateway-film-section .home-film > header { display: none; }
.home-clear.home-gateway .gateway-film-section .home-film .film-bottom { color: var(--gateway-muted); font-size: 11px; margin-top: 8px; gap: 16px; }
.home-clear.home-gateway .gateway-film-section .home-film .film-bottom > a { color: var(--gateway-ink); }
.home-clear.home-gateway .home-example-step { padding-top: 96px; padding-bottom: 96px; }
.home-clear.home-gateway #vip.home-path { padding-top: 96px; padding-bottom: 96px; }
.home-clear.home-gateway .home-discover-links { margin-top: 64px; margin-bottom: 64px; }
.home-clear.home-gateway :is(.gateway-public-links a,.gateway-preview button,.gateway-preview a,.gateway-access button,.gateway-access input,.gateway-access a):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.home-clear.home-gateway .gateway-access :is(button,input,a):focus-visible { outline-color: var(--gateway-ink); }
.home-clear.home-gateway .gateway-access input:focus-visible { outline-color: var(--gateway-ink); outline-offset: 3px; }
@media (max-width: 1150px) {
  .home-clear.home-gateway .gateway-hero { gap: 40px; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); }
  .home-clear.home-gateway .gateway-title { font-size: clamp(38px, 4.25vw, 48px); }
  .home-clear.home-gateway .gateway-preview-layout { grid-template-columns: 1fr; }
  .home-clear.home-gateway .gateway-preview-lessons { flex-direction: row; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid #333d37; }
  .home-clear.home-gateway .gateway-preview-lessons > p, .home-clear.home-gateway .gateway-preview-progress-note { display: none; }
  .home-clear.home-gateway .gateway-preview-lessons button { justify-content: center; font-size: 11px; padding-inline: 7px; gap: 6px; }
  .home-clear.home-gateway .gateway-preview-chart { padding-top: 8px; }
  .home-clear.home-gateway .gateway-preview-chart svg { max-height: 196px; }
  .home-clear.home-gateway .gateway-access { padding: 26px; }
  .home-clear.home-gateway .gateway-film-section { gap: 40px; }
}
@media (max-width: 800px) {
  .home-clear.home-gateway .gateway-hero { display: flex; flex-direction: column; align-items: stretch; width: min(calc(100% - 40px), 600px); padding-top: 40px; gap: 20px; }
  .home-clear.home-gateway .gateway-intro { display: contents; }
  .home-clear.home-gateway .gateway-kicker { order: 0; margin: 0; }
  .home-clear.home-gateway .gateway-title { order: 1; font-size: clamp(35px, 6.5vw, 48px); max-width: 100%; }
  .home-clear.home-gateway .gateway-description { order: 2; font-size: 15px; line-height: 1.75; margin: 0 0 8px; }
  .home-clear.home-gateway .gateway-access { order: 3; }
  .home-clear.home-gateway .gateway-hero > .gateway-public-links { order: 4; width: 100%; }
  .home-clear.home-gateway .gateway-preview { order: 5; margin-top: 10px; }
  .home-clear.home-gateway .gateway-preview-chart svg { max-height: none; }
  .home-clear.home-gateway .gateway-public-links { width: min(calc(100% - 40px), 600px); gap: 8px 24px; padding-bottom: 24px; }
  .home-clear.home-gateway .gateway-public-links small { flex-basis: 100%; margin-left: 0; }
  .home-clear.home-gateway .gateway-film-section { width: min(calc(100% - 40px), 680px); padding: 72px 0; grid-template-columns: 1fr; gap: 24px; }
  .home-clear.home-gateway .gateway-film-copy h2 { max-width: 520px; font-size: clamp(32px, 6vw, 42px); margin-bottom: 16px; }
  .home-clear.home-gateway .gateway-film-copy p { max-width: 520px; }
  .home-clear.home-gateway .home-example-step { padding-top: 64px; padding-bottom: 64px; }
  .home-clear.home-gateway #vip.home-path { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 420px) {
  .home-clear.home-gateway .gateway-hero { width: calc(100% - 32px); padding-top: 32px; gap: 18px; }
  .home-clear.home-gateway .gateway-title { font-size: clamp(31px, 8.9vw, 37px); }
  .home-clear.home-gateway .gateway-access { padding: 22px 20px; border-radius: 12px; }
  .home-clear.home-gateway .gateway-access-header h2 { font-size: 27px; }
  .home-clear.home-gateway .gateway-preview-top { padding: 14px 16px; }
  .home-clear.home-gateway .gateway-preview-lessons button { gap: 5px; padding-inline: 4px; }
  .home-clear.home-gateway .gateway-preview-chart { padding: 10px 14px 14px; }
  .home-clear.home-gateway .gateway-preview-note { padding-inline: 14px; }
  .home-clear.home-gateway .gateway-public-links,.home-clear.home-gateway .gateway-film-section { width: calc(100% - 32px); }
  .home-clear.home-gateway .gateway-film-section .home-film { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-clear.home-gateway { scroll-behavior: auto; }
  .home-clear.home-gateway :is(.gateway-preview button,.gateway-submit,.gateway-google button,.gateway-auth-tabs button) { transition: none; }
  .home-clear.home-gateway .gateway-submit:hover { transform: none; }
}
