
.home a:focus-visible,
.home button:focus-visible,
.home select:focus-visible,
.home input:focus-visible {
  outline: 3px solid var(--c2);
  outline-offset: 3px;
}

.home h1,.home h2,.home h3 { word-break: keep-all; overflow-wrap: anywhere; }
.home img { max-width: 100%; }
.home-main { overflow: clip; }

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

/* Hero */
.home .home-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 7%, #fff), color-mix(in srgb, var(--c2) 5%, #fff));
  color: var(--c-text);
  padding: 48px 0;
  border-bottom: 1px solid var(--c-border);
}
.home .home-hero .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 48px;
  align-items: center;
}
.home-hero__copy { min-width: 0; }
.home .home-hero .hero__badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid var(--c1-line, var(--c-border));
  border-radius: 999px;
  background: #fff;
  color: var(--c-primary-dark);
  font-size: 13px;
  font-weight: 700;
}
.home .home-hero .hero__title {
  margin: 0;
  color: var(--c-text);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 800;
}
.home .home-hero .hero__sub {
  max-width: 42rem;
  margin: 18px 0 24px;
  color: var(--c-text-sub);
  font-size: 16px;
  line-height: 1.75;
}
.home .home-hero .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home .home-hero .hero__cta .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 0 18px;
  text-decoration: none;
}
.home .home-hero .btn-primary--alt {
  background: var(--c2);
  border-color: var(--c2);
}
.home .home-hero .btn-outline {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-text);
}
.home .home-hero .btn-outline:hover { border-color: var(--c1); background: var(--c1-soft, #f4fbfa); }
.home-hero__trust {
  margin: 18px 0 0;
  color: var(--c-text-hint);
  font-size: 13px;
  line-height: 1.55;
}
.home .home-hero .hero__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 65, 72, .10);
}
.home .home-hero .hero__media::after { display: none; }
.home .home-hero .hero__media picture,
.home .home-hero .hero__media img { width: 100%; height: 100%; display: block; }
.home .home-hero .hero__media img { object-fit: cover; }

/* Proof strip */
.home-proof { background: #fff; border-bottom: 1px solid var(--c-border); }
.home-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border-left: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
}
.home-proof__grid > div {
  background: #fff;
  padding: 18px 16px;
  text-align: center;
}
.home-proof__grid strong { display: block; color: var(--c-primary-deep); font-size: 22px; line-height: 1.2; }
.home-proof__grid span { display: block; margin-top: 5px; color: var(--c-text-sub); font-size: 13px; }
.home-proof__note { margin: 0; padding: 10px 0 12px; color: var(--c-text-hint); font-size: 12px; line-height: 1.6; text-align: center; }

/* Shared home sections */
.home .section { padding: 48px 0; }
.home .section--soft { background: color-mix(in srgb, var(--c1) 3.5%, #fff); }
.home .eyebrow {
  margin: 0 0 7px;
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home .section__title {
  margin: 0;
  color: var(--c-text);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.home .section__head { margin-bottom: 22px; }
.home .section__intro { max-width: 720px; margin-bottom: 22px; }
.home .section__intro > p:last-child { margin: 9px 0 0; color: var(--c-text-sub); font-size: 15px; line-height: 1.7; }
.home .section__all { color: var(--c-primary); font-weight: 700; text-decoration: none; }

/* Time tasks */
.home-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-task-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 17px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.home-task-card:hover { transform: translateY(-2px); border-color: var(--c1); box-shadow: 0 10px 26px rgba(17, 74, 77, .07); }
.home-task-card__icon,
.home-pillar-card__icon {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.home-task-card__icon svg,.home-pillar-card__icon svg { width: 22px; height: 22px; }
.home-task-card__body { min-width: 0; }
.home-task-card strong { display: block; font-size: 16px; line-height: 1.45; }
.home-task-card small { display: block; margin-top: 3px; color: var(--c-text-sub); font-size: 13px; line-height: 1.5; }
.home-task-card__arrow { color: var(--c-text-hint); font-size: 18px; }

/* Regions */
.home-region-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.home-region-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: #fff;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}
.home-region-card:hover { transform: translateY(-2px); border-color: var(--c1); }
.home-region-card__pin {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  border-radius: 9px;
  background: var(--c2-soft, #edf5fc);
  color: var(--c2);
}
.home-region-card__pin svg { width: 19px; height: 19px; }
.home-region-card strong { font-size: 18px; }
.home-region-card > span:not(.home-region-card__pin) { margin-top: 5px; color: var(--c-text-sub); font-size: 13px; }
.home-region-card small { margin-top: auto; padding-top: 10px; color: var(--c-text-hint); font-size: 12px; line-height: 1.5; }

/* Subject cards */
.home-subject-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.home-subject-card {
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: #fff;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}
.home-subject-card:hover { transform: translateY(-2px); border-color: var(--c1); }
.home-subject-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.home-subject-card__media picture,.home-subject-card__media img { width: 100%; height: 100%; display: block; }
.home-subject-card__media img { object-fit: cover; }
.home-subject-card > strong { padding: 12px 13px 0; font-size: 15px; }
.home-subject-card > small { padding: 4px 13px 13px; color: var(--c-text-hint); font-size: 12px; line-height: 1.45; }

/* Pillars */
.home-pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.home-pillar-card {
  display: flex; flex-direction: column;
  min-height: 190px;
  padding: 17px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: #fff;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.home-pillar-card:hover { transform: translateY(-2px); border-color: var(--c1); box-shadow: 0 10px 26px rgba(17,74,77,.06); }
.home-pillar-card > strong { margin-top: 14px; font-size: 16px; line-height: 1.4; }
.home-pillar-card > small { margin-top: 5px; color: var(--c-text-sub); font-size: 13px; line-height: 1.5; }
.home-pillar-card__link { margin-top: auto; padding-top: 16px; color: var(--c-primary); font-size: 13px; font-weight: 700; }

/* Pre-visit */
.home-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.home-steps li {
  display: flex; gap: 12px;
  padding: 18px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: #fff;
}
.home-steps li > span {
  flex: 0 0 32px; width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--c-primary-deep); color: #fff;
  font-size: 13px; font-weight: 800;
}
.home-steps strong { display: block; font-size: 16px; }
.home-steps p { margin: 6px 0 0; color: var(--c-text-sub); font-size: 13px; line-height: 1.65; }
.home-previsit__more { margin: 16px 0 0; text-align: right; }
.home-previsit__more a { color: var(--c-primary); font-weight: 700; text-decoration: none; }

/* Magazine */
.home-mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.home-mag-card {
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease;
}
.home-mag-card:hover { transform: translateY(-2px); border-color: var(--c1); }
.home-mag-card a { color: var(--c-text); text-decoration: none; }
.home-mag-card figure { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: var(--surface-2); }
.home-mag-card figure picture,.home-mag-card figure img { width:100%;height:100%;display:block; }
.home-mag-card figure img { object-fit:cover; }
.home-mag-card__body { padding: 15px; }
.home-mag-card h3 { margin:0; font-size:17px; line-height:1.5; }
.home-mag-card p { margin:7px 0 0; color:var(--c-text-sub); font-size:13px; line-height:1.6; }
.home-mag-card small { display:block; margin-top:10px; color:var(--c-text-hint); font-size:12px; }

/* FAQ/source */
.home .faq { max-width: 820px; }
.home-source { padding: 28px 0 34px; background: var(--c-primary-deep); color: #fff; }
.home-source strong { display:block; font-size:18px; }
.home-source p { max-width:760px; margin:8px 0 14px; color:rgba(255,255,255,.82); font-size:13px; line-height:1.7; }
.home-source nav { display:flex; flex-wrap:wrap; gap:10px 18px; }
.home-source a { color:#fff; font-size:13px; font-weight:700; }

@media (max-width: 895px) {
  .home .home-hero { padding: 30px 0; }
  .home .home-hero .hero__inner { grid-template-columns: 1fr; gap: 22px; }
  .home .home-hero .hero__title { font-size: 30px; }
  .home .home-hero .hero__media { grid-row: auto; max-height: 220px; }
  .home .section { padding: 34px 0; }
  .home-region-grid,.home-pillar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-subject-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-mag-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 639px) {
  .home .home-hero .hero__title { font-size: 28px; }
  .home .home-hero .hero__cta { display: grid; grid-template-columns: 1fr 1fr; }
  .home .home-hero .hero__cta .btn:last-child { grid-column: 1 / -1; }
  .home-proof__grid { grid-template-columns: repeat(2,1fr); }
  .home-task-grid { grid-template-columns: 1fr; }
  .home-region-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-region-card { min-height: 132px; padding: 14px; }
  .home-subject-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-pillar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-pillar-card { min-height: 180px; padding: 14px; }
  .home-steps { grid-template-columns: 1fr; }
  .home-mag-grid { grid-template-columns: 1fr; }
  .home .section__head { align-items: flex-end; gap:12px; }
  .home .section__title { font-size: 23px; }
}
