/**
 * Home 2026, sections 2–4.
 * Scoped to the draft page. The approved hero keeps its own stylesheet.
 */

body.ys-home-2026,
body.ys-home-2026 .x-main.full {
  background: #f4f1ea;
}

body.ys-home-2026 .entry-content {
  margin: 0;
  padding: 0;
}

body.ys-home-2026 .ys-home-hero__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.ys-home-2026 .ys-home-hero__accessible h1,
body.ys-home-2026 .ys-home-hero__accessible p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.ys-rebuild {
  --ys-ink: #0c2832;
  --ys-ink-soft: #243e48;
  --ys-teal: #005970;
  --ys-paper: #f4f1ea;
  --ys-field: #fbfaf6;
  --ys-line: rgba(12, 40, 50, 0.2);
  --ys-display: "miller-display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ys-sans: "avenir-next-lt-pro", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ys-rebuild__wrap {
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.ys-rebuild__wrap--text,
.ys-rebuild__intro {
  max-width: 40rem;
}

.ys-rebuild h2,
.ys-rebuild h3,
.ys-rebuild p,
.ys-rebuild ul,
.ys-rebuild ol,
.ys-rebuild li {
  margin: 0;
  padding: 0;
}

.ys-rebuild h2 {
  font-family: var(--ys-display);
  font-weight: 300;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ys-ink);
}

.ys-rebuild h3 {
  font-family: var(--ys-display);
  font-weight: 300;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 1.2;
  color: var(--ys-ink);
}

.ys-rebuild__intro {
  margin-top: 1.15rem;
  color: var(--ys-ink-soft);
  font-size: 1.125rem;
  line-height: 1.65;
}

.ys-discover .ys-rebuild__intro,
.ys-paths .ys-rebuild__intro {
  margin-top: 1.85rem;
}

.ys-rebuild a {
  color: var(--ys-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.ys-rebuild a:hover {
  color: var(--ys-ink);
}

.ys-rebuild :focus {
  outline: none;
}

.ys-rebuild :focus-visible {
  outline: 2px solid var(--ys-ink);
  outline-offset: 3px;
}

body.ys-home-2026 .ys-text-link {
  display: inline-flex;
  align-items: baseline;
  column-gap: 0.35em;
  padding-bottom: 0.15em;
  color: var(--ys-teal, #005970);
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

body.ys-home-2026 .ys-text-link__text {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  text-decoration-skip-ink: auto;
}

body.ys-home-2026 .ys-text-link__arrow {
  display: inline-block;
  text-decoration: none;
  transition: transform 180ms ease;
}

body.ys-home-2026 .ys-text-link__arrow::before {
  content: "→";
}

body.ys-home-2026 .ys-text-link:hover,
body.ys-home-2026 .ys-text-link:focus-visible {
  color: #00485c;
}

body.ys-home-2026 .ys-text-link:hover .ys-text-link__arrow,
body.ys-home-2026 .ys-text-link:focus-visible .ys-text-link__arrow {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  body.ys-home-2026 .ys-text-link,
  body.ys-home-2026 .ys-text-link__arrow {
    transition: none;
  }

  body.ys-home-2026 .ys-text-link:hover .ys-text-link__arrow,
  body.ys-home-2026 .ys-text-link:focus-visible .ys-text-link__arrow {
    transform: none;
  }
}

.ys-proof {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0 clamp(2.05rem, 4.1vw, 3.28rem);
}

.ys-proof__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

.ys-proof__list li {
  font-family: var(--ys-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ys-ink);
}

.ys-discover {
  padding: clamp(2.87rem, 5.74vw, 5.33rem) 0;
}

.ys-paths {
  padding: clamp(2.87rem, 5.74vw, 5.33rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}

.ys-discover__form {
  margin-top: 2.25rem;
  max-width: 44rem;
}

.ys-discover__label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ys-ink);
}

.ys-discover__controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ys-rebuild .ys-discover__input {
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 0.95rem;
  border: 1px solid var(--ys-line);
  border-radius: 2px;
  background: var(--ys-field);
  box-shadow: none;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 1rem;
  line-height: 1.4;
}

.ys-discover__input::placeholder {
  color: #4d646c;
  opacity: 1;
}

.ys-rebuild button.ys-discover__submit {
  appearance: none;
  box-sizing: border-box;
  height: 52px;
  margin: 0;
  padding: 0 1.4rem;
  border: 1px solid var(--ys-teal);
  border-radius: 2px;
  background: var(--ys-teal);
  box-shadow: none;
  color: #ffffff;
  font-family: var(--ys-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.ys-rebuild button.ys-discover__submit:hover {
  background: var(--ys-ink);
  border-color: var(--ys-ink);
  color: #ffffff;
}

.ys-discover__examples {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.35rem;
  margin-top: 1.35rem;
  max-width: 44rem;
}

.ys-discover__examples a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  color: var(--ys-ink);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: rgba(12, 40, 50, 0.45);
}

.ys-discover__examples li:not(:last-child) a {
  margin-right: 0.85rem;
}

.ys-discover .ys-text-link {
  margin-top: 1.35rem;
}

.ys-paths__list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.25rem;
}

.ys-rebuild .ys-paths__list {
  margin-top: 1.5rem;
}

.ys-paths__slot {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.35rem;
  overflow: hidden;
}

.ys-paths__slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ys-paths__item p {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: var(--ys-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.ys-paths__item .ys-text-link {
  margin-top: 0.85rem;
}

@media (min-width: 720px) {
  .ys-discover__controls {
    flex-direction: row;
    align-items: center;
  }

  .ys-discover__input {
    flex: 1 1 auto;
  }

  .ys-rebuild button.ys-discover__submit {
    flex: 0 0 auto;
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }
}

@media (min-width: 840px) {
  .ys-proof__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 1100px) {
  .ys-discover h2 {
    max-width: 10em;
  }
}

@media (min-width: 960px) {
  .ys-paths__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2.75rem;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .ys-discover__submit {
    width: 100%;
  }
}
