.polish-home {
  --site-v2-bg: #f3f6fa;
  --site-v2-paper: #f8fafc;
  --site-v2-surface: rgba(255, 255, 255, 0.88);
  --site-v2-surface-strong: rgba(255, 255, 255, 0.96);
  --site-v2-ink: #17243a;
  --site-v2-muted: #60738c;
  --site-v2-soft: #e7eef8;
  --site-v2-line: rgba(24, 59, 99, 0.12);
  --site-v2-line-strong: rgba(24, 59, 99, 0.18);
  --site-v2-primary: #183b63;
  --site-v2-primary-deep: #102f51;
  --site-v2-accent: #2d77ac;
  --site-v2-teal: #3bb7a6;
  --site-v2-warm: #b87624;
  --site-v2-shadow: 0 22px 48px rgba(24, 59, 99, 0.08);
  --site-v2-shadow-hover: 0 28px 62px rgba(24, 59, 99, 0.14);
  --site-v2-ring: 0 0 0 4px rgba(45, 119, 172, 0.24);
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(244, 251, 250, 0.98) 0%, rgba(238, 245, 251, 0.98) 48%, rgba(248, 250, 252, 0.98) 100%),
    linear-gradient(135deg, rgba(45, 119, 172, 0.08), rgba(59, 183, 166, 0.08) 52%, rgba(255, 255, 255, 0.72));
  color: var(--site-v2-ink);
}

.polish-home .site-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.polish-home .site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 59, 99, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 59, 99, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.06));
  content: "";
}

.polish-home .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(24, 59, 99, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(24, 59, 99, 0.06);
  backdrop-filter: blur(18px);
}

.polish-home .topbar--official {
  min-height: 76px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.polish-home .brand__mark {
  color: var(--site-v2-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0;
}

.polish-home .brand__subline {
  color: var(--site-v2-muted);
  font-weight: 700;
}

.polish-home .topbar__links {
  gap: 8px;
}

.polish-home .topbar__links a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--site-v2-muted);
  font-weight: 800;
  transition:
    background var(--ui-motion-duration-fast, 140ms) var(--ui-motion-ease, ease),
    color var(--ui-motion-duration-fast, 140ms) var(--ui-motion-ease, ease),
    box-shadow var(--ui-motion-duration-fast, 140ms) var(--ui-motion-ease, ease);
}

.polish-home .topbar__links a:hover,
.polish-home .topbar__links a:focus-visible {
  background: rgba(45, 119, 172, 0.1);
  color: var(--site-v2-primary);
  box-shadow: 0 8px 22px rgba(24, 59, 99, 0.08);
}

.polish-home .official-masthead {
  position: relative;
  display: grid;
  min-height: 650px;
  align-items: center;
  margin-top: 0;
  padding: clamp(92px, 10vw, 132px) 0 clamp(54px, 7vw, 88px);
  isolation: isolate;
}

.polish-home .official-masthead::before {
  position: absolute;
  inset: 24px 0 0;
  z-index: -2;
  border-bottom: 1px solid rgba(24, 59, 99, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(231, 238, 248, 0.42) 48%, rgba(233, 249, 246, 0.62)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  content: "";
}

.polish-home .official-masthead::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.86));
  content: "";
}

.polish-home .official-masthead__content {
  width: min(940px, 100%);
  max-width: 940px;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}

.polish-home .official-masthead h1 {
  max-width: 860px;
  margin: 0 auto;
  color: var(--site-v2-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.polish-home .official-masthead h1 span {
  display: block;
}

.polish-home .official-masthead__brandline {
  max-width: 700px;
  margin: 20px auto 0;
  color: #4f6378;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 800;
  line-height: 1.7;
}

.polish-home .official-masthead__subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--site-v2-muted);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 650;
  line-height: 1.86;
}

.polish-home .official-masthead {
  min-height: auto;
  padding: clamp(68px, 8vw, 102px) 0 clamp(38px, 5.4vw, 64px);
}

.polish-home .official-masthead::before {
  inset: 0 0 0;
}

.polish-home .official-masthead__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.polish-home .official-masthead__content {
  width: 100%;
  max-width: 780px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.polish-home .polish-hero-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 13px;
  border: 1px solid rgba(45, 119, 172, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--site-v2-accent);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.polish-home .official-masthead h1,
.polish-home .official-masthead__brandline,
.polish-home .official-masthead__subtitle {
  margin-left: 0;
  margin-right: 0;
}

.polish-home .official-masthead h1 {
  font-size: clamp(2.72rem, 5vw, 4.65rem);
}

.polish-home .official-masthead__brandline {
  margin-top: 18px;
}

.polish-home .official-masthead__subtitle {
  max-width: 680px;
}

.polish-home .polish-hero-actions {
  justify-content: flex-start;
}

.polish-home .polish-hero-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 26px;
}

.polish-home .polish-hero-panel__copy {
  display: grid;
  gap: 8px;
}

.polish-home .polish-hero-panel__copy h2 {
  margin: 0;
  color: var(--site-v2-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.42rem, 2.6vw, 2rem);
  line-height: 1.28;
}

.polish-home .polish-path-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.polish-home .polish-path-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.polish-home .polish-path-list span {
  display: inline-grid;
  min-width: 0;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(45, 119, 172, 0.12);
  color: var(--site-v2-primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.polish-home .polish-path-list strong {
  display: block;
  color: var(--site-v2-ink);
  font-size: 1rem;
  line-height: 1.35;
}

.polish-home .polish-path-list p {
  margin: 4px 0 0;
  color: var(--site-v2-muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.58;
}

.polish-home .polish-hero-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 18px;
  background: #f6f9fc;
}

.polish-home .polish-hero-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.polish-home .button {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0;
  transition:
    transform var(--ui-motion-duration-fast, 140ms) var(--ui-motion-ease, ease),
    box-shadow var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease),
    border-color var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease),
    background var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease),
    color var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease);
  -webkit-tap-highlight-color: transparent;
}

.polish-home .button:focus-visible {
  outline: none;
  box-shadow: var(--site-v2-ring);
}

.polish-home .button--primary {
  border-color: rgba(24, 59, 99, 0.26);
  background: linear-gradient(135deg, var(--site-v2-primary) 0%, var(--site-v2-accent) 56%, var(--site-v2-teal) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(24, 59, 99, 0.18);
}

.polish-home .button--secondary {
  border-color: rgba(24, 59, 99, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--site-v2-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.polish-home .button--ghost {
  border-color: rgba(24, 59, 99, 0.12);
  background: rgba(255, 255, 255, 0.56);
  color: var(--site-v2-muted);
}

.polish-home .button--primary:hover,
.polish-home .button--primary:focus-visible {
  border-color: rgba(24, 59, 99, 0.28);
  filter: saturate(1.04);
  box-shadow:
    0 20px 44px rgba(24, 59, 99, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.polish-home .button--secondary:hover,
.polish-home .button--secondary:focus-visible,
.polish-home .button--ghost:hover,
.polish-home .button--ghost:focus-visible {
  border-color: rgba(45, 119, 172, 0.28);
  background: #f3f8ff;
  color: var(--site-v2-primary-deep);
  box-shadow: 0 12px 28px rgba(24, 59, 99, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .polish-home .button:hover,
  .polish-home .button:focus-visible {
    transform: translateY(-2px);
  }
}

.polish-home .polish-hero-actions,
.polish-home .polish-inline-actions {
  gap: 12px;
  margin-top: 28px;
}

.polish-home .polish-hero-actions .button {
  min-width: 188px;
  justify-content: center;
}

.polish-home .polish-hero-strip {
  gap: 14px;
  margin-top: 36px;
}

.polish-home .polish-hero-chip,
.polish-home .polish-feature-card,
.polish-home .polish-reading-panel,
.polish-home .polish-claim-band {
  border: 1px solid var(--site-v2-line);
  background:
    linear-gradient(180deg, var(--site-v2-surface-strong), var(--site-v2-surface)),
    linear-gradient(135deg, rgba(45, 119, 172, 0.08), rgba(59, 183, 166, 0.07));
  box-shadow: var(--site-v2-shadow);
}

.polish-home .polish-hero-chip {
  min-height: 128px;
  padding: 16px 18px;
  border-radius: 22px;
  text-align: left;
}

.polish-home .polish-hero-chip strong {
  color: var(--site-v2-primary);
  font-weight: 900;
}

.polish-home .polish-hero-chip span {
  margin-top: 6px;
  color: var(--site-v2-muted);
  font-weight: 650;
  line-height: 1.56;
}

.polish-home .polish-hero-strip {
  margin-top: clamp(22px, 4vw, 34px);
}

.polish-home .polish-hero-strip a {
  color: inherit;
  text-decoration: none;
}

.polish-home .polish-section--quick {
  padding: clamp(30px, 4vw, 46px) 0;
  background: rgba(255, 255, 255, 0.42);
}

.polish-home .polish-section--quick .polish-section__head {
  margin-bottom: 16px;
}

.polish-home .polish-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.polish-home .polish-quick-card {
  display: grid;
  gap: 8px;
  min-height: 108px;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--site-v2-line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, var(--site-v2-surface-strong), var(--site-v2-surface)),
    linear-gradient(135deg, rgba(45, 119, 172, 0.07), rgba(59, 183, 166, 0.05));
  box-shadow: 0 14px 32px rgba(24, 59, 99, 0.065);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.polish-home .polish-quick-card span {
  color: var(--site-v2-accent);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
}

.polish-home .polish-quick-card strong {
  color: var(--site-v2-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.38;
}

.polish-home .polish-section {
  margin-top: 0;
  padding: clamp(64px, 7vw, 92px) 0;
}

.polish-home #exam-training {
  padding: clamp(32px, 4vw, 46px) 0 clamp(40px, 4.8vw, 58px);
}

.polish-home .polish-section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.36);
}

.polish-home .polish-section__head {
  gap: 28px;
  margin-bottom: 26px;
}

.polish-home #exam-training .polish-section__head {
  grid-template-columns: minmax(0, 760px);
  align-items: start;
  margin-bottom: 14px;
}

.polish-home #exam-training .polish-section__note {
  max-width: 720px;
  margin-top: 8px;
}

.polish-home .eyebrow {
  color: var(--site-v2-accent);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.polish-home .polish-section__head h2 {
  color: var(--site-v2-ink);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.polish-home .polish-section__head p:not(.eyebrow),
.polish-home .polish-feature-card p,
.polish-home .polish-mini-note,
.polish-home .polish-claim-band p {
  color: var(--site-v2-muted);
  font-weight: 650;
  line-height: 1.76;
}

.polish-home .polish-module-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.polish-home .polish-feature-grid {
  gap: 18px;
}

.polish-home #starter-kits .polish-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.polish-home .polish-feature-card {
  align-content: start;
  min-height: 0;
  padding: 24px;
  border-radius: 24px;
}

.polish-home .polish-practice-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.polish-home #exam-training .polish-practice-entry-card {
  gap: 14px;
  padding: 21px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(24, 59, 99, 0.065);
}

.polish-home #exam-training .polish-module-card--split {
  align-items: start;
}

.polish-home #exam-training .polish-feature-grid--two {
  align-items: start;
  align-content: start;
}

.polish-home #exam-training .polish-feature-card {
  height: auto;
  min-height: 0;
}

.polish-home #exam-training .polish-practice-entry-card p {
  margin-top: 7px;
  line-height: 1.52;
}

.polish-home .polish-feature-card h3,
.polish-home .polish-reading-panel h3,
.polish-home .polish-claim-band h3 {
  color: var(--site-v2-ink);
  letter-spacing: 0;
}

.polish-home .polish-feature-card h3 {
  font-size: clamp(1.26rem, 2.4vw, 1.62rem);
}

.polish-home .polish-feature-card__actions {
  gap: 10px;
}

.polish-home .polish-feature-card__actions .button {
  min-height: 42px;
}

.polish-home .polish-tag,
.polish-home .polish-case-status {
  border: 1px solid rgba(45, 119, 172, 0.15);
  border-radius: 999px;
  background: rgba(231, 238, 248, 0.88);
  color: var(--site-v2-primary);
  font-weight: 900;
}

.polish-home .polish-case-status {
  border-color: rgba(184, 118, 36, 0.2);
  background: rgba(255, 247, 218, 0.9);
  color: var(--site-v2-warm);
}

.polish-home .polish-reading-panel {
  gap: 24px;
  padding: 26px;
  border-top: 5px solid var(--site-v2-accent);
  border-radius: 26px;
}

.polish-home .polish-reading-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.polish-home .polish-reading-stats span {
  min-width: 0;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--site-v2-muted);
  box-shadow: none;
}

.polish-home .polish-reading-stats strong {
  color: var(--site-v2-primary);
}

.polish-home .polish-basic-practice-panel {
  align-content: start;
  align-self: start;
  gap: 14px;
  padding: 20px;
}

.polish-home .polish-basic-practice-head {
  display: grid;
  gap: 6px;
}

.polish-home .polish-basic-practice-item {
  gap: 10px;
  padding: 12px;
  border-color: rgba(24, 59, 99, 0.1);
  box-shadow: 0 12px 28px rgba(24, 59, 99, 0.06);
}

.polish-home .polish-basic-practice-item h4 {
  color: var(--site-v2-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.polish-home #exam-training .polish-basic-practice-card {
  gap: 10px;
  background:
    linear-gradient(180deg, var(--site-v2-surface-strong), var(--site-v2-surface)),
    linear-gradient(135deg, rgba(45, 119, 172, 0.07), rgba(59, 183, 166, 0.06));
}

.polish-home #exam-training .polish-basic-practice-panel h3 {
  font-family: var(--site-v2-font);
  font-size: clamp(1.22rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.polish-home #exam-training .polish-basic-practice-card h3 {
  font-family: var(--site-v2-font);
  font-size: clamp(1.26rem, 2.4vw, 1.62rem);
  line-height: 1.25;
}

.polish-home #exam-training .polish-basic-practice-panel .polish-mini-note,
.polish-home #exam-training .polish-basic-practice-card .polish-mini-note {
  margin: 0;
  line-height: 1.55;
}

.polish-home #exam-training .polish-basic-practice-list {
  gap: 0;
}

.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  gap: 7px;
  align-items: start;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > div:first-child {
  grid-column: 1;
  min-width: 0;
}

.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > .polish-reading-stats,
.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > .polish-practice-summary {
  grid-column: 1 / -1;
}

.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > .polish-feature-card__actions {
  grid-column: 2;
  grid-row: 1;
  justify-content: end;
}

.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item:last-child {
  padding-bottom: 0;
}

.polish-home #exam-training .polish-practice-summary {
  margin: 0;
  color: var(--site-v2-primary);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.5;
}

.polish-home #exam-training .polish-basic-practice-panel .polish-reading-stats,
.polish-home #exam-training .polish-basic-practice-card .polish-reading-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.polish-home #exam-training .polish-basic-practice-panel .polish-reading-stats span,
.polish-home #exam-training .polish-basic-practice-card .polish-reading-stats span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.polish-home #exam-training .polish-basic-practice-panel .polish-reading-stats strong,
.polish-home #exam-training .polish-basic-practice-card .polish-reading-stats strong {
  font-size: 0.92rem;
}

.polish-home #exam-training .polish-basic-practice-panel .polish-feature-card__actions .button,
.polish-home #exam-training .polish-basic-practice-card .polish-feature-card__actions .button {
  min-height: 38px;
  padding-inline: 14px;
  white-space: nowrap;
}

.polish-home .polish-claim-band {
  border-radius: 24px;
}

.polish-home .ui-card,
.polish-home .ui-soft-panel {
  transition:
    transform var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease),
    box-shadow var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease),
    border-color var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease),
    background var(--ui-motion-duration, 220ms) var(--ui-motion-ease, ease);
}

@media (hover: hover) and (pointer: fine) {
  .polish-home .ui-card:hover,
  .polish-home .ui-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(45, 119, 172, 0.28);
    box-shadow: var(--site-v2-shadow-hover);
  }
}

@media (max-width: 1040px) {
  .polish-home .official-masthead {
    min-height: auto;
  }

  .polish-home .official-masthead__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .polish-home .official-masthead__content {
    max-width: 820px;
  }

  .polish-home .polish-hero-panel {
    max-width: 820px;
  }

  .polish-home .polish-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .polish-home .polish-practice-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polish-home #starter-kits .polish-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polish-home #exam-training .polish-basic-practice-card {
    grid-column: 1 / -1;
  }

  .polish-home .polish-reading-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .polish-home .site-shell__inner {
    width: min(100% - 28px, var(--container));
  }

  .polish-home .topbar--official {
    min-height: auto;
    padding: 14px 0;
  }

  .polish-home .topbar__actions {
    width: 100%;
  }

  .polish-home .official-masthead {
    padding: 58px 0 48px;
  }

  .polish-home .official-masthead__content {
    padding: 0;
    text-align: left;
  }

  .polish-home .official-masthead h1 {
    font-size: clamp(2rem, 9vw, 2.58rem);
    line-height: 1.18;
    word-break: break-word;
  }

  .polish-home .official-masthead__brandline,
  .polish-home .official-masthead__subtitle {
    font-size: 0.98rem;
  }

  .polish-home .polish-hero-actions {
    display: grid;
  }

  .polish-home .polish-hero-kicker {
    width: 100%;
    font-size: 0.82rem;
  }

  .polish-home .polish-hero-actions .button,
  .polish-home .polish-inline-actions .button,
  .polish-home .polish-feature-card__actions .button,
  .polish-home .button {
    width: 100%;
  }

  .polish-home .polish-hero-strip,
  .polish-home .polish-quick-grid,
  .polish-home .polish-reading-stats {
    grid-template-columns: 1fr;
  }

  .polish-home .polish-hero-panel {
    gap: 14px;
  }

  .polish-home .polish-path-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 11px;
  }

  .polish-home .polish-hero-preview img {
    aspect-ratio: 4 / 3;
  }

  .polish-home .polish-section {
    padding: 52px 0;
  }

  .polish-home #exam-training {
    padding: 48px 0;
  }

  .polish-home #exam-training .polish-section__head {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
  }

  .polish-home .polish-practice-entry-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .polish-home #starter-kits .polish-feature-grid {
    grid-template-columns: 1fr;
  }

  .polish-home #exam-training .polish-basic-practice-card {
    grid-column: auto;
  }

  .polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item {
    grid-template-columns: 1fr;
  }

.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > div:first-child,
.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > .polish-reading-stats,
.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > .polish-practice-summary,
.polish-home #exam-training .polish-basic-practice-card .polish-basic-practice-item > .polish-feature-card__actions {
  grid-column: auto;
  grid-row: auto;
}

  .polish-home #exam-training .polish-basic-practice-card .polish-feature-card__actions .button {
    white-space: normal;
  }

  .polish-home .polish-section__head h2 {
    font-size: clamp(1.54rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }

  .polish-home .polish-hero-chip,
  .polish-home .polish-feature-card,
  .polish-home .polish-reading-panel,
  .polish-home .polish-claim-band {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .polish-home *,
  .polish-home *::before,
  .polish-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Official home cleanup refit: keep the original tool-directory feel, not a SaaS hero rewrite. */
.polish-home {
  --site-v2-bg: #eef4f8;
  --site-v2-surface: #ffffff;
  --site-v2-surface-strong: #ffffff;
  --site-v2-ink: #17243a;
  --site-v2-muted: #5f7187;
  --site-v2-line: rgba(24, 59, 99, 0.13);
  --site-v2-line-strong: rgba(24, 59, 99, 0.2);
  --site-v2-primary: #183b63;
  --site-v2-accent: #1f78a8;
  --site-v2-teal: #1f9d96;
  --site-v2-warm: #a96d21;
  --site-v2-shadow: 0 14px 34px rgba(24, 59, 99, 0.07);
  --site-v2-shadow-hover: 0 18px 42px rgba(24, 59, 99, 0.11);
  background: linear-gradient(180deg, #f4f8fb 0%, #eef4f8 56%, #f7fafc 100%);
}

.polish-home .site-shell::before {
  display: none;
}

.polish-home .site-shell__inner {
  width: min(100% - 40px, 1180px);
}

.polish-home .site-header {
  border-bottom: 1px solid rgba(24, 59, 99, 0.1);
  background: rgba(244, 248, 251, 0.94);
  box-shadow: 0 8px 26px rgba(24, 59, 99, 0.05);
  backdrop-filter: blur(10px);
}

.polish-home .topbar--official {
  min-height: 68px;
}

.polish-home .topbar__links a {
  padding: 7px 11px;
  color: #435870;
  font-size: 0.94rem;
  font-weight: 800;
}

.polish-home .button {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 850;
}

.polish-home .button--primary {
  border-color: var(--site-v2-primary);
  background: var(--site-v2-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(24, 59, 99, 0.16);
}

.polish-home .button--secondary {
  border-color: rgba(24, 59, 99, 0.16);
  background: #fff;
  color: var(--site-v2-primary);
}

.polish-home .button--ghost {
  border-color: rgba(24, 59, 99, 0.16);
  background: #f7fafc;
  color: var(--site-v2-primary);
}

.polish-home .button--primary:hover,
.polish-home .button--primary:focus-visible {
  background: #102f51;
}

.polish-home .official-masthead {
  min-height: 0;
  padding: clamp(42px, 5.5vw, 72px) 0 clamp(34px, 4vw, 48px);
}

.polish-home .official-masthead::before {
  inset: 0;
  border-bottom: 1px solid rgba(24, 59, 99, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 244, 248, 0.86)),
    linear-gradient(135deg, rgba(24, 59, 99, 0.06), rgba(31, 157, 150, 0.05));
}

.polish-home .official-masthead::after {
  display: none;
}

.polish-home .polish-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.polish-home .official-masthead__content {
  max-width: 760px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.polish-home .polish-hero-kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(31, 120, 168, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--site-v2-accent);
  font-size: 0.9rem;
  font-weight: 850;
}

.polish-home .official-masthead h1 {
  max-width: 760px;
  margin: 0;
  color: var(--site-v2-ink);
  font-size: clamp(2.25rem, 4.7vw, 4.05rem);
  line-height: 1.15;
}

.polish-home .official-masthead__subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4f6178;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 680;
  line-height: 1.82;
}

.polish-home .polish-hero-actions {
  justify-content: flex-start;
  gap: 11px;
  margin-top: 24px;
}

.polish-home .polish-hero-actions .button {
  min-width: 156px;
}

.polish-home .polish-hero-toolbox,
.polish-home .polish-choice-card,
.polish-home .polish-tool-group,
.polish-home .polish-community-card {
  border: 1px solid var(--site-v2-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--site-v2-shadow);
}

.polish-home .polish-hero-toolbox {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.polish-home .polish-hero-tool-list {
  display: grid;
  gap: 10px;
}

.polish-home .polish-hero-tool-list a {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 14px;
  background: #f7fafc;
  color: inherit;
  text-decoration: none;
}

.polish-home .polish-hero-tool-list strong {
  color: var(--site-v2-primary);
  font-size: 1.02rem;
  line-height: 1.35;
}

.polish-home .polish-hero-tool-list span {
  color: var(--site-v2-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.polish-home .polish-section {
  padding: clamp(40px, 5vw, 62px) 0;
}

.polish-home .polish-section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.42);
}

.polish-home .polish-choice-section {
  padding-top: clamp(32px, 4vw, 48px);
}

.polish-home .polish-section__head {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.38fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.polish-home .polish-section__head--compact {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.4fr);
}

.polish-home .polish-section__head h2 {
  margin-top: 6px;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.2;
}

.polish-home .polish-section__head p:not(.eyebrow) {
  color: var(--site-v2-muted);
  font-weight: 700;
  line-height: 1.72;
}

.polish-home .eyebrow {
  color: var(--site-v2-accent);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.polish-home .polish-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.polish-home .polish-choice-card {
  display: grid;
  gap: 12px;
  align-content: space-between;
  min-height: 190px;
  padding: 18px;
}

.polish-home .polish-choice-card h3,
.polish-home .polish-tool-card h4,
.polish-home .polish-tool-group__head h3,
.polish-home .polish-community-card h2 {
  margin: 0;
  color: var(--site-v2-ink);
  letter-spacing: 0;
}

.polish-home .polish-choice-card h3 {
  font-size: 1.18rem;
  line-height: 1.32;
}

.polish-home .polish-choice-card p,
.polish-home .polish-tool-card p,
.polish-home .polish-community-card p {
  margin: 0;
  color: var(--site-v2-muted);
  font-weight: 650;
  line-height: 1.62;
}

.polish-home .polish-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.polish-home .polish-card-actions .button,
.polish-home .polish-tool-card > .button {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 0.92rem;
}

.polish-home .polish-disabled-link {
  cursor: default;
  opacity: 0.78;
}

.polish-home .polish-tool-groups {
  display: grid;
  gap: 18px;
}

.polish-home .polish-tool-group {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
}

.polish-home .polish-tool-group__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.polish-home .polish-tool-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #e6f0f8;
  color: var(--site-v2-primary);
  font-size: 0.92rem;
  font-weight: 900;
}

.polish-home .polish-tool-group__head h3 {
  font-size: clamp(1.32rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}

.polish-home .polish-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.polish-home .polish-tool-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.polish-home .polish-tool-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 190px;
  padding: 17px;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 16px;
  background: #fbfdff;
}

.polish-home .polish-tool-card h4 {
  margin-top: 10px;
  font-size: 1.18rem;
  line-height: 1.32;
}

.polish-home .polish-tool-card--soon {
  background: #fffaf0;
}

.polish-home .polish-method-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 16px;
  background: #f7fafc;
}

.polish-home .polish-method-band h4 {
  margin: 0;
  color: var(--site-v2-ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.polish-home .polish-method-band p {
  margin: 6px 0 0;
  color: var(--site-v2-muted);
  font-weight: 650;
  line-height: 1.58;
}

.polish-home .polish-tag,
.polish-home .polish-case-status {
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(31, 120, 168, 0.16);
  border-radius: 999px;
  background: #eef6fb;
  color: var(--site-v2-primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.polish-home .polish-tag--warm,
.polish-home .polish-case-status {
  border-color: rgba(169, 109, 33, 0.22);
  background: #fff3d8;
  color: var(--site-v2-warm);
}

.polish-home .polish-path-section {
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}

.polish-home .polish-flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.polish-home .polish-flow-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--site-v2-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 59, 99, 0.05);
}

.polish-home .polish-flow-list span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--site-v2-primary);
  color: #fff;
  font-weight: 900;
}

.polish-home .polish-flow-list strong {
  color: var(--site-v2-ink);
  font-size: 1rem;
}

.polish-home .polish-community-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
}

.polish-home .polish-community-copy {
  display: grid;
  gap: 12px;
}

.polish-home .polish-community-card h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.22;
}

.polish-home .polish-community-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px;
  border: 1px solid rgba(24, 59, 99, 0.1);
  border-radius: 16px;
  background: #f7fafc;
  text-align: center;
}

.polish-home .polish-community-qr img {
  width: min(100%, 180px);
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

.polish-home .polish-community-qr__label {
  color: var(--site-v2-primary);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .polish-home .polish-hero-grid,
  .polish-home .polish-community-card {
    grid-template-columns: 1fr;
  }

  .polish-home .polish-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polish-home .polish-choice-card:last-child {
    grid-column: 1 / -1;
  }

  .polish-home .polish-tool-grid,
  .polish-home .polish-tool-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polish-home .polish-method-band {
    grid-template-columns: 1fr;
  }

  .polish-home .polish-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .polish-home .site-shell__inner {
    width: min(100% - 28px, 1180px);
  }

  .polish-home .official-masthead {
    padding: 34px 0 32px;
  }

  .polish-home .official-masthead h1 {
    font-size: clamp(2rem, 8.2vw, 2.45rem);
  }

  .polish-home .official-masthead__subtitle {
    font-size: 0.98rem;
  }

  .polish-home .polish-hero-actions,
  .polish-home .polish-card-actions {
    display: grid;
  }

  .polish-home .polish-hero-actions .button,
  .polish-home .polish-card-actions .button,
  .polish-home .polish-tool-card > .button,
  .polish-home .button {
    width: 100%;
  }

  .polish-home .polish-section {
    padding: 34px 0;
  }

  .polish-home .polish-section__head,
  .polish-home .polish-section__head--compact,
  .polish-home .polish-choice-grid,
  .polish-home .polish-tool-grid,
  .polish-home .polish-tool-grid--two,
  .polish-home .polish-method-band,
  .polish-home .polish-flow-list {
    grid-template-columns: 1fr;
  }

  .polish-home .polish-section__head {
    align-items: start;
    margin-bottom: 16px;
  }

  .polish-home .polish-section__head h2 {
    font-size: clamp(1.58rem, 6.4vw, 2.02rem);
  }

  .polish-home .polish-choice-card,
  .polish-home .polish-tool-card {
    min-height: 0;
  }

  .polish-home .polish-choice-card:last-child {
    grid-column: auto;
  }

  .polish-home .polish-tool-group__head {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .polish-home .polish-tool-index {
    width: 36px;
    height: 36px;
  }
}

/* P02.1 visual reference alignment: keep the original tool-home shape, borrow Stitch's compact card rhythm. */
.polish-home {
  --site-v2-bg: #f6f8fc;
  --site-v2-paper: #f9fbff;
  --site-v2-surface: #ffffff;
  --site-v2-surface-strong: #ffffff;
  --site-v2-soft: #e7eef8;
  --site-v2-ink: #111c2d;
  --site-v2-muted: #556678;
  --site-v2-primary: #0e4362;
  --site-v2-primary-deep: #082f49;
  --site-v2-accent: #2d5b7b;
  --site-v2-teal: #2e8f89;
  --site-v2-warm: #9c6421;
  --site-v2-line: rgba(14, 67, 98, 0.13);
  --site-v2-line-strong: rgba(14, 67, 98, 0.2);
  --site-v2-shadow: 0 4px 20px rgba(45, 91, 123, 0.08);
  --site-v2-shadow-hover: 0 12px 30px rgba(45, 91, 123, 0.13);
  background: linear-gradient(180deg, #f9fbff 0%, #f1f5f8 48%, #f8fafc 100%);
}

.polish-home .site-shell__inner {
  width: min(100% - 48px, 1160px);
}

.polish-home .site-header {
  background: rgba(249, 251, 255, 0.96);
  box-shadow: 0 3px 18px rgba(14, 67, 98, 0.05);
}

.polish-home .topbar--official {
  min-height: 62px;
}

.polish-home .topbar__links a {
  border-radius: 4px;
  background: transparent;
}

.polish-home .topbar__links a:hover,
.polish-home .topbar__links a:focus-visible {
  background: rgba(45, 91, 123, 0.08);
  box-shadow: inset 0 -2px 0 var(--site-v2-primary);
}

.polish-home .button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
}

.polish-home .button--primary {
  border-color: var(--site-v2-primary);
  background: var(--site-v2-primary);
  box-shadow: 0 10px 22px rgba(14, 67, 98, 0.16);
}

.polish-home .button--secondary,
.polish-home .button--ghost {
  border-color: rgba(14, 67, 98, 0.2);
  background: #ffffff;
  color: var(--site-v2-primary);
  box-shadow: none;
}

.polish-home .button--ghost {
  background: #f6f8fc;
}

.polish-home .official-masthead {
  padding: clamp(36px, 5vw, 64px) 0 clamp(30px, 4vw, 44px);
}

.polish-home .official-masthead::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.9) 58%, rgba(230, 237, 246, 0.9) 100%),
    linear-gradient(135deg, rgba(14, 67, 98, 0.055), rgba(239, 190, 123, 0.055));
}

.polish-home .polish-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.74fr);
  gap: clamp(22px, 4vw, 42px);
}

.polish-home .official-masthead h1 {
  max-width: 720px;
  font-size: clamp(2.18rem, 4.25vw, 3.7rem);
  line-height: 1.16;
}

.polish-home .official-masthead__subtitle {
  max-width: 700px;
  margin-top: 16px;
  line-height: 1.72;
}

.polish-home .polish-hero-actions {
  margin-top: 22px;
}

.polish-home .polish-hero-toolbox,
.polish-home .polish-choice-card,
.polish-home .polish-tool-tier,
.polish-home .polish-community-card,
.polish-home .polish-path-compact {
  border: 1px solid var(--site-v2-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--site-v2-shadow);
}

.polish-home .polish-hero-toolbox {
  gap: 12px;
  padding: 18px;
}

.polish-home .polish-hero-tool-list {
  gap: 8px;
}

.polish-home .polish-hero-tool-list a {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.polish-home .polish-hero-tool-list a:nth-child(-n + 3) {
  border-color: rgba(14, 67, 98, 0.18);
  background: #ffffff;
}

.polish-home .polish-hero-tool-list strong {
  font-size: 1rem;
}

.polish-home .polish-section {
  padding: clamp(34px, 4.5vw, 54px) 0;
}

.polish-home .polish-choice-section {
  background: #f4f7f3;
  padding-top: clamp(32px, 4vw, 44px);
}

.polish-home .polish-section__head {
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.36fr);
  margin-bottom: 16px;
}

.polish-home .polish-section__head h2 {
  font-size: clamp(1.72rem, 3.2vw, 2.5rem);
}

.polish-home .polish-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.polish-home .polish-choice-card {
  min-height: 138px;
  padding: 16px;
  align-content: start;
}

.polish-home .polish-choice-card h3 {
  font-size: 1.1rem;
}

.polish-home .polish-choice-card p {
  margin-bottom: 2px;
  font-size: 0.94rem;
  line-height: 1.48;
}

.polish-home .polish-card-actions .button,
.polish-home .polish-tool-card > .button,
.polish-home .polish-tool-row .button {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 0.9rem;
}

.polish-home .polish-tool-library {
  display: grid;
  gap: 14px;
}

.polish-home .polish-tool-tier {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 22px);
}

.polish-home .polish-tool-tier__head {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(14, 67, 98, 0.1);
  padding-bottom: 12px;
}

.polish-home .polish-tool-tier__head h3 {
  margin: 4px 0 0;
  color: var(--site-v2-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  line-height: 1.32;
}

.polish-home .polish-tool-tier__head > span {
  color: var(--site-v2-muted);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.polish-home .polish-tool-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.polish-home .polish-tool-card {
  min-height: 0;
  padding: 15px;
  border-radius: 8px;
  background: #fbfdff;
}

.polish-home .polish-tool-card--featured {
  border-top: 3px solid var(--site-v2-primary);
}

.polish-home .polish-tool-card--accent {
  border-top-color: var(--site-v2-warm);
}

.polish-home .polish-tool-card h4,
.polish-home .polish-tool-row h4 {
  margin: 8px 0 0;
  color: var(--site-v2-ink);
  font-size: 1.1rem;
  line-height: 1.3;
}

.polish-home .polish-tool-card p,
.polish-home .polish-tool-row p {
  margin-top: 5px;
  font-size: 0.93rem;
  line-height: 1.52;
}

.polish-home .polish-tool-list {
  display: grid;
  gap: 0;
}

.polish-home .polish-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(14, 67, 98, 0.1);
}

.polish-home .polish-tool-row:first-child {
  padding-top: 0;
}

.polish-home .polish-tool-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.polish-home .polish-tool-row--soon {
  background: linear-gradient(90deg, rgba(255, 246, 224, 0.62), rgba(255, 255, 255, 0));
}

.polish-home .polish-tool-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.polish-home .polish-tool-link {
  display: grid;
  gap: 8px;
  min-height: 92px;
  align-content: start;
  padding: 13px;
  border: 1px solid rgba(14, 67, 98, 0.1);
  border-radius: 8px;
  background: #fbfdff;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.polish-home .polish-tool-link strong {
  color: var(--site-v2-ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.polish-home .polish-tag,
.polish-home .polish-case-status {
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
}

.polish-home .polish-method-band {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px;
  border-radius: 8px;
  background: #f6f8fc;
}

.polish-home .polish-method-band p {
  margin-top: 3px;
  font-size: 0.92rem;
}

.polish-home .polish-path-section {
  padding: clamp(24px, 3vw, 36px) 0;
  background: #ffffff;
}

.polish-home .polish-path-compact {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.polish-home .polish-path-compact h2 {
  margin: 6px 0 0;
  color: var(--site-v2-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.16rem, 2vw, 1.46rem);
  line-height: 1.38;
}

.polish-home .polish-flow-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.polish-home .polish-flow-list li {
  justify-content: center;
  min-height: 62px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: none;
}

.polish-home .polish-flow-list span {
  width: 26px;
  height: 26px;
  font-size: 0.86rem;
}

.polish-home .polish-community-section {
  padding-top: clamp(30px, 4vw, 48px);
  background: linear-gradient(180deg, #d9ecfb 0%, #c8e4f6 100%);
}

.polish-home .polish-community-card {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  padding: clamp(18px, 2.8vw, 24px);
  border-color: rgba(14, 67, 98, 0.18);
}

.polish-home .polish-community-card h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.polish-home .polish-community-qr {
  padding: 12px;
  border-radius: 8px;
  background: #f9fbff;
}

.polish-home .polish-community-qr img {
  width: min(100%, 150px);
}

@media (max-width: 1080px) {
  .polish-home .polish-hero-grid,
  .polish-home .polish-path-compact,
  .polish-home .polish-community-card {
    grid-template-columns: 1fr;
  }

  .polish-home .polish-tool-core-grid,
  .polish-home .polish-tool-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .polish-home .site-shell__inner {
    width: min(100% - 28px, 1160px);
  }

  .polish-home .official-masthead {
    padding: 28px 0 26px;
  }

  .polish-home .official-masthead h1 {
    font-size: clamp(1.82rem, 8vw, 2.26rem);
  }

  .polish-home .official-masthead__subtitle {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .polish-home .polish-hero-actions {
    gap: 9px;
    margin-top: 16px;
  }

  .polish-home .polish-hero-toolbox {
    display: none;
  }

  .polish-home .polish-section {
    padding: 28px 0;
  }

  .polish-home .polish-section__head,
  .polish-home .polish-choice-grid,
  .polish-home .polish-tool-core-grid,
  .polish-home .polish-tool-link-grid,
  .polish-home .polish-method-band,
  .polish-home .polish-flow-list {
    grid-template-columns: 1fr;
  }

  .polish-home .polish-section__head {
    gap: 8px;
    margin-bottom: 12px;
  }

  .polish-home .polish-section__head h2 {
    font-size: clamp(1.46rem, 6.2vw, 1.9rem);
  }

  .polish-home .polish-choice-grid {
    gap: 10px;
  }

  .polish-home .polish-choice-card {
    min-height: 0;
    padding: 14px;
  }

  .polish-home .polish-tool-tier {
    padding: 15px;
  }

  .polish-home .polish-tool-tier__head {
    display: grid;
    gap: 6px;
  }

  .polish-home .polish-tool-tier__head > span {
    white-space: normal;
  }

  .polish-home .polish-tool-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .polish-home .polish-tool-row .polish-card-actions {
    display: grid;
  }

  .polish-home .polish-path-compact {
    padding: 15px;
  }

  .polish-home .polish-flow-list li {
    justify-content: flex-start;
  }

  .polish-home .polish-community-card {
    gap: 14px;
  }

  .polish-home .polish-community-qr {
    justify-items: start;
    text-align: left;
  }

  .polish-home .polish-community-qr img {
    width: 132px;
  }
}

/* P02.2 small tune: warmer teacher-led entry page, not a feature report. */
.polish-home {
  --site-v2-warm-bg: #fbf6ec;
  --site-v2-warm-soft: #fff9ee;
  --site-v2-warm-line: rgba(156, 100, 33, 0.18);
  background: linear-gradient(180deg, #fbfcff 0%, #f4f8fb 36%, #fbfaf6 100%);
}

.polish-home .brand {
  align-items: center;
  gap: 10px;
}

.polish-home .brand__badge {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(14, 67, 98, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #eef6fb);
  color: var(--site-v2-primary);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(14, 67, 98, 0.08);
}

.polish-home .brand__mark {
  color: var(--site-v2-primary-deep);
  font-size: 1.16rem;
}

.polish-home .brand__subline {
  color: #526579;
  font-size: 0.82rem;
}

.polish-home .topbar__cta {
  min-height: 38px;
  padding-inline: 14px;
}

.polish-home .polish-teacher-note,
.polish-home .polish-tool-note {
  margin: 14px 0 0;
  border: 1px solid var(--site-v2-warm-line);
  border-radius: 8px;
  background: var(--site-v2-warm-soft);
  color: #5f4a2e;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.58;
}

.polish-home .polish-teacher-note {
  max-width: 660px;
  padding: 11px 13px;
}

.polish-home .polish-choice-section {
  background: linear-gradient(180deg, #fbf8f1 0%, #f6f8fb 100%);
}

.polish-home .polish-choice-card {
  gap: 10px;
  min-height: 126px;
  background: #fffefb;
}

.polish-home .polish-choice-card .button {
  min-height: 36px;
  box-shadow: none;
}

.polish-home .polish-tool-tier--core {
  gap: 18px;
  border-color: rgba(14, 67, 98, 0.18);
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf7 100%),
    linear-gradient(135deg, rgba(14, 67, 98, 0.04), rgba(239, 190, 123, 0.08));
  box-shadow: 0 12px 32px rgba(45, 91, 123, 0.11);
}

.polish-home .polish-tool-tier--core .polish-tool-tier__head {
  padding-bottom: 10px;
}

.polish-home .polish-tool-tier--core .polish-tool-tier__head h3 {
  font-size: clamp(1.32rem, 2.3vw, 1.72rem);
}

.polish-home .polish-tool-core-grid {
  gap: 14px;
}

.polish-home .polish-tool-card--featured {
  min-height: 202px;
  padding: 20px;
  border-color: rgba(14, 67, 98, 0.16);
  border-top-width: 4px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(45, 91, 123, 0.08);
}

.polish-home .polish-tool-card--featured h4 {
  font-size: clamp(1.18rem, 1.9vw, 1.34rem);
}

.polish-home .polish-tool-card--featured p {
  max-width: 20rem;
  color: #4f6178;
  font-size: 0.98rem;
  line-height: 1.55;
}

.polish-home .polish-tool-card--featured .button--primary {
  min-height: 46px;
  font-size: 0.96rem;
}

.polish-home .polish-tool-note {
  margin-top: -2px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.polish-home .polish-tool-row {
  padding: 11px 0;
}

.polish-home .polish-tool-row h4 {
  font-size: 1.03rem;
}

.polish-home .polish-tool-row p {
  color: #617286;
  font-size: 0.9rem;
}

.polish-home .polish-tool-row .button,
.polish-home .polish-tool-link,
.polish-home .polish-method-band .button {
  box-shadow: none;
}

.polish-home .polish-tool-link-grid {
  gap: 8px;
}

.polish-home .polish-tool-link {
  min-height: 78px;
  padding: 11px;
  background: #fff;
}

.polish-home .polish-tool-link strong {
  font-size: 0.94rem;
}

.polish-home .polish-method-band {
  padding: 12px;
  background: #fffaf0;
}

.polish-home .polish-path-section {
  background: #fffdf8;
}

.polish-home .polish-path-compact {
  box-shadow: 0 3px 14px rgba(45, 91, 123, 0.06);
}

.polish-home .polish-community-section {
  padding: clamp(24px, 3.2vw, 34px) 0;
  background: linear-gradient(180deg, #f4f8fb 0%, #e9f4fb 100%);
}

.polish-home .polish-community-card {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 210px);
  padding: clamp(16px, 2.4vw, 20px);
  box-shadow: 0 6px 22px rgba(45, 91, 123, 0.08);
}

.polish-home .polish-community-copy {
  gap: 9px;
}

.polish-home .polish-community-card h2 {
  font-size: clamp(1.38rem, 2.4vw, 1.88rem);
}

.polish-home .polish-community-qr {
  gap: 7px;
  padding: 10px;
}

.polish-home .polish-community-qr img {
  width: min(100%, 118px);
}

.polish-home .polish-community-qr p {
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .polish-home .brand {
    align-items: flex-start;
  }

  .polish-home .brand__badge {
    width: 30px;
    height: 30px;
    margin-top: 2px;
  }

  .polish-home .brand__mark {
    font-size: 1.02rem;
  }

  .polish-home .brand__subline {
    font-size: 0.72rem;
  }

  .polish-home .polish-teacher-note {
    padding: 10px 11px;
    font-size: 0.9rem;
  }

  .polish-home .polish-tool-card--featured {
    min-height: 0;
    padding: 17px;
  }

  .polish-home .polish-tool-link {
    min-height: 0;
  }

  .polish-home .polish-community-section {
    padding: 24px 0;
  }

  .polish-home .polish-community-qr img {
    width: 110px;
  }
}
