/* 990728 homepage v7: soft rounded task portal. */
body.home-v7-page {
  --soft-ink: #17303d;
  --soft-muted: #526775;
  --soft-bg: #f3f8f7;
  --soft-line: #d7e2e1;
  --soft-orange: #ff8a5b;
  --soft-blue: #3a66d4;
  --soft-blue-deep: #284da9;
  --soft-mint: #a9e5d7;
  --soft-yellow: #f3c84f;
  background: var(--soft-bg);
  color: var(--soft-ink);
}

body.home-v7-page .v5-atmosphere {
  display: none;
}

body.home-v7-page .site-header {
  border-bottom-color: var(--soft-line);
  background: rgba(243, 248, 247, .97);
  backdrop-filter: blur(12px);
}

@media (min-width: 861px) {
  body.home-v7-page .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 180px;
    align-items: center;
    gap: 24px;
    padding-inline: max(24px, calc((100vw - 1240px) / 2));
  }

  body.home-v7-page .site-header .header-inner {
    display: contents;
  }

  body.home-v7-page .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  body.home-v7-page .site-header .brand-archive,
  body.home-v7-page .site-header .nav-toggle {
    display: none;
  }

  body.home-v7-page .site-header .main-nav {
    grid-column: 2;
    grid-row: 1;
    border: 0;
    background: transparent;
  }

  body.home-v7-page .site-header .main-nav > .wrap {
    width: auto;
    max-width: none;
    margin: 0;
  }

  body.home-v7-page .site-header .nav-inner {
    justify-content: center;
    gap: 30px;
  }

  body.home-v7-page .site-header .search-form {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 180px;
  }
}

body.home-v7-page .site-header .header-inner {
  min-height: 76px;
}

body.home-v7-page .site-header .brand-logo {
  border: 0;
  border-radius: 12px;
  background: var(--soft-yellow);
  box-shadow: none;
  color: var(--soft-ink);
}

body.home-v7-page .site-header .brand-text em,
body.home-v7-page .site-header .brand-archive {
  color: var(--soft-muted);
}

body.home-v7-page .site-header .search-form {
  border: 0;
  border-radius: 999px;
  background: var(--soft-ink);
}

body.home-v7-page .site-header .search-form input {
  color: #fff;
  background: transparent;
}

body.home-v7-page .site-header .search-form input::placeholder {
  color: #dfe7e7;
}

body.home-v7-page .site-header .search-form button {
  border-radius: 0 999px 999px 0;
  color: #fff;
}

body.home-v7-page .site-header .search-form button:hover {
  color: var(--soft-mint);
}

body.home-v7-page .site-header .main-nav {
  border-top-color: transparent;
  background: transparent;
}

body.home-v7-page .site-header .nav-link {
  color: var(--soft-muted);
}

body.home-v7-page .site-header .nav-link.active,
body.home-v7-page .site-header .nav-link:hover {
  color: var(--soft-blue);
}

body.home-v7-page .site-header .nav-link.active::after {
  height: 2px;
  background: var(--soft-blue);
}

body.home-v7-page main {
  background: var(--soft-bg);
}

.soft-home {
  padding-bottom: 72px;
}

.soft-hero {
  max-width: 930px;
  padding: 78px 0 58px;
  text-align: center;
}

.soft-kicker {
  margin: 0;
  color: var(--soft-blue);
  font-size: 12px;
  font-weight: 800;
}

.soft-hero h1 {
  margin: 17px 0 18px;
  color: var(--soft-ink);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.soft-hero h1 em {
  color: var(--soft-blue);
  font-style: normal;
}

.soft-lede {
  max-width: 660px;
  margin: 0 auto;
  color: #5d7180;
  font-size: 17px;
  line-height: 1.75;
}

.soft-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 720px;
  min-height: 64px;
  margin: 30px auto 0;
  padding: 6px;
  border: 1px solid var(--soft-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 48, 61, .09);
}

.soft-search input {
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  padding: 0 15px;
  background: transparent;
  color: var(--soft-ink);
}

.soft-search input::placeholder {
  color: #6b7d88;
}

.soft-search button {
  min-width: 94px;
  border: 0;
  border-radius: 11px;
  background: var(--soft-blue);
  color: #fff;
  font-weight: 800;
}

.soft-search button:hover {
  background: var(--soft-blue-deep);
}

.soft-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.soft-choice {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  border: 2px solid var(--soft-ink);
  border-radius: 22px;
  box-shadow: 0 8px 0 var(--soft-ink);
  color: var(--soft-ink);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.soft-choice:hover {
  transform: translateY(3px);
  box-shadow: 0 5px 0 var(--soft-ink);
}

.soft-choice-exam { background: var(--soft-orange); }
.soft-choice-quiz { background: #c8d9ff; }
.soft-choice-tool { background: var(--soft-mint); }

.soft-choice > span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.soft-choice h2 {
  margin: 38px 0 8px;
  color: var(--soft-ink);
  font-size: 28px;
  line-height: 1.2;
}

.home-v7-page .soft-choice p {
  margin: 0;
  color: #344c57;
  font-size: 13px;
  line-height: 1.7;
}

.home-v7-page .soft-choice-exam p {
  color: #192b33;
}

.soft-choice b {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
}

.soft-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 38px;
  padding-top: 68px;
}

.soft-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.soft-head h2 {
  margin: 0;
  color: var(--soft-ink);
  font-size: 28px;
}

.soft-head a {
  color: var(--soft-blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.soft-exams {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.soft-exams a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #fff;
  color: var(--soft-ink);
  font-size: 12px;
  text-decoration: none;
}

.soft-exams a:hover {
  border-color: var(--soft-blue);
  color: var(--soft-blue);
}

.soft-latest {
  margin-top: 30px;
}

.soft-latest > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border-top: 1px solid var(--soft-line);
  color: var(--soft-ink);
  text-decoration: none;
}

.soft-latest > a:last-child {
  border-bottom: 1px solid var(--soft-line);
}

.soft-latest > a:hover span {
  color: var(--soft-blue);
}

.soft-latest span {
  font-size: 14px;
  line-height: 1.55;
}

.soft-latest time {
  color: var(--soft-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.soft-empty {
  margin: 18px 0 0;
  color: var(--soft-muted);
  font-size: 13px;
}

.soft-tools {
  align-self: start;
  padding: 24px;
  border-radius: 22px;
  background: var(--soft-ink);
  color: #fff;
}

.soft-tools > span {
  color: var(--soft-mint);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

body.home-v7-page .soft-tools h2 {
  margin: 10px 0 22px;
  color: #fff;
  font-size: 28px;
}

body.home-v7-page .soft-tools > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
}

body.home-v7-page .soft-tools > a:hover b {
  color: var(--soft-mint);
}

body.home-v7-page .soft-tools b {
  color: #fff;
  font-size: 14px;
}

.soft-tools span {
  grid-column: 1;
  color: #bac7cb;
  font-size: 11px;
}

.soft-tools i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--soft-mint);
  font-style: normal;
}

.soft-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-block: 1px solid var(--soft-line);
}

.soft-mini-strip a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 0 18px;
  border-right: 1px solid var(--soft-line);
  color: var(--soft-ink);
  text-decoration: none;
}

.soft-mini-strip a:last-child {
  border-right: 0;
}

.soft-mini-strip a:hover strong {
  color: var(--soft-blue);
}

.soft-mini-strip span {
  color: var(--soft-blue);
  font-size: 11px;
  font-weight: 800;
}

.soft-mini-strip strong {
  font-size: 13px;
}

.soft-mini-strip i {
  color: var(--soft-blue);
  font-style: normal;
}

@media (max-width: 900px) {
  .soft-hero {
    padding: 48px 0 42px;
    text-align: left;
  }

  .soft-lede {
    margin-inline: 0;
  }

  .soft-search {
    margin-inline: 0;
  }

  .soft-choices,
  .soft-main-grid {
    grid-template-columns: 1fr;
  }

  .soft-choice {
    min-height: 194px;
  }

  .soft-main-grid {
    gap: 30px;
    padding-top: 46px;
  }

  .soft-tools {
    width: 100%;
  }

  .soft-mini-strip {
    grid-template-columns: 1fr;
  }

  .soft-mini-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .soft-mini-strip a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .soft-hero h1 {
    font-size: 46px;
  }

  .soft-search {
    grid-template-columns: 1fr;
    padding: 5px;
  }

  .soft-search button {
    min-height: 48px;
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soft-choice {
    transition-duration: .01ms;
  }
}
