.tt-essential {
  --tt-ea-ink: #111827;
  --tt-ea-muted: rgba(17, 24, 39, 0.72);
  --tt-ea-paper: #f5f3ff;
  --tt-ea-paper-strong: #eef2ff;
  --tt-ea-line: rgba(17, 24, 39, 0.12);
  --tt-ea-accent: #6366f1;
  --tt-ea-accent-strong: #8b5cf6;
  --tt-ea-warm: #f472b6;
  --tt-ea-gold: #a78bfa;
  --tt-ea-shadow: 0 22px 55px rgba(17, 24, 39, 0.1);
  --tt-ea-shell-x: clamp(20px, 2.8vw, 28px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 18% 8%, rgba(99, 102, 241, 0.2), transparent 62%),
    radial-gradient(900px 520px at 86% 14%, rgba(167, 139, 250, 0.18), transparent 58%),
    radial-gradient(900px 680px at 50% 110%, rgba(244, 114, 182, 0.14), transparent 62%),
    linear-gradient(135deg, #eef2ff 0%, #f5f3ff 45%, #fce7f3 100%);
  color: var(--tt-ea-ink);
}

.tt-essential__veil,
.tt-essential__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tt-essential__veil {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.36), transparent 40%),
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.45), transparent 18%);
}

.tt-essential__grain {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.025) 1px, transparent 1px);
  background-size: 14px 14px;
  mix-blend-mode: multiply;
}

.tt-essential__container {
  position: relative;
  padding-top: 72px;
  padding-bottom: 88px;
  padding-inline: clamp(16px, 2vw, 24px);
}

.tt-essential__section,
.tt-essential__footerCta {
  border: 1px solid var(--tt-ea-line);
  box-shadow: var(--tt-ea-shadow);
}

.tt-essential__sectionEyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font: 700 11px/1 "Avenir Next", "Segoe UI", sans-serif;
  color: var(--tt-ea-accent-strong);
}

.tt-essential__sectionCopy h2,
.tt-essential__footerCopy h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.97;
}

.tt-essential__sectionCopy p,
.tt-essential__footerCopy p,
.tt-essential__cardBody p {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.tt-essential__jump {
  position: sticky;
  top: 82px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 26px;
  padding: 14px var(--tt-ea-shell-x);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.tt-essential__jumpLabel {
  flex: 0 0 auto;
  font: 700 0.76rem/1 "Avenir Next", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tt-ea-muted);
}

.tt-essential__jumpLinks {
  display: flex;
  flex: 1 1 420px;
  flex-wrap: wrap;
  gap: 10px;
}

.tt-essential__jumpTab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.75);
  font: 600 0.92rem/1 "Avenir Next", "Segoe UI", sans-serif;
  color: var(--tt-ea-accent-strong);
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tt-essential__jumpTab:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.32);
  background: rgba(255, 255, 255, 0.98);
}

.tt-essential__jumpTab.is-active {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(244, 114, 182, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tt-essential__jumpTab:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.42);
  outline-offset: 2px;
}

.tt-essential__sections {
  display: grid;
  gap: 22px;
}

.tt-essential__section {
  padding: 26px var(--tt-ea-shell-x);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
}

.tt-essential__sectionHead {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.tt-essential__sectionMeta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(167, 139, 250, 0.04));
}

.tt-essential__sectionMeta span {
  font: 700 0.74rem/1 "Avenir Next", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tt-ea-muted);
}

.tt-essential__sectionMeta strong {
  font: 700 2rem/0.92 "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: var(--tt-ea-accent-strong);
}

.tt-essential__sectionCopy h2 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
}

.tt-essential__sectionCopy p {
  max-width: 62ch;
  margin: 12px 0 0;
  line-height: 1.72;
  color: var(--tt-ea-muted);
}

.tt-essential__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tt-essential__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
    linear-gradient(125deg, rgba(99, 102, 241, 0.06), rgba(244, 114, 182, 0.02) 58%, transparent 76%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tt-essential__card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.26);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.12);
}

.tt-essential__cardTop {
  display: flex;
  gap: 14px;
  align-items: center;
}

.tt-essential__mark {
  display: inline-flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--tt-ea-accent), var(--tt-ea-accent-strong));
  color: #fff8ef;
  font: 700 0.92rem/1 "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.tt-essential__titleWrap {
  min-width: 0;
}

.tt-essential__titleWrap h3 {
  margin: 0;
  font: 700 1.28rem/1.12 "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: var(--tt-ea-ink);
}

.tt-essential__kind {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--tt-ea-accent-strong);
  font: 700 0.73rem/1 "Avenir Next", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.tt-essential__cardBody {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tt-essential__cardBody p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--tt-ea-muted);
}

.tt-essential__cardBody span {
  display: block;
  margin-bottom: 4px;
  font: 700 0.78rem/1.2 "Avenir Next", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--tt-ea-warm);
}

.tt-essential__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tt-essential__platform {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: var(--tt-ea-ink);
  font: 600 0.8rem/1 "Avenir Next", "Segoe UI", sans-serif;
  text-decoration: none;
}

a.tt-essential__platform:hover {
  border-color: rgba(99, 102, 241, 0.24);
  background: rgba(255, 255, 255, 0.98);
  color: var(--tt-ea-accent-strong);
}

a.tt-essential__platform:visited,
a.tt-essential__platform:focus-visible {
  color: var(--tt-ea-accent-strong);
}

a.tt-essential__platform:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.34);
  outline-offset: 2px;
}

.tt-essential__actions {
  margin-top: auto;
  padding-top: 18px;
}

.tt-essential__button,
.tt-essential__footerButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font: 700 0.92rem/1 "Avenir Next", "Segoe UI", sans-serif;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tt-essential__button {
  width: 100%;
  background: linear-gradient(135deg, var(--tt-ea-accent), var(--tt-ea-accent-strong));
  color: #fff;
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.24);
}

.tt-essential__button:visited,
.tt-essential__button:hover,
.tt-essential__button:active,
.tt-essential__button:focus-visible {
  color: #fff;
}

.tt-essential__button:hover,
.tt-essential__footerButton:hover {
  transform: translateY(-1px);
}

.tt-essential__button--internal,
.tt-essential__footerButton {
  background: linear-gradient(135deg, var(--tt-ea-accent-strong), var(--tt-ea-warm));
  color: #fff;
  box-shadow: 0 12px 24px rgba(167, 139, 250, 0.22);
}

.tt-essential__footerButton:visited,
.tt-essential__footerButton:hover,
.tt-essential__footerButton:active,
.tt-essential__footerButton:focus-visible {
  color: #fff;
}

html[data-theme="light"] main .tt-essential .tt-essential__button,
html[data-theme="light"] main .tt-essential .tt-essential__button:visited,
html[data-theme="light"] main .tt-essential .tt-essential__button:hover,
html[data-theme="light"] main .tt-essential .tt-essential__button:active,
html[data-theme="light"] main .tt-essential .tt-essential__button:focus-visible,
html[data-theme="light"] main .tt-essential .tt-essential__footerButton,
html[data-theme="light"] main .tt-essential .tt-essential__footerButton:visited,
html[data-theme="light"] main .tt-essential .tt-essential__footerButton:hover,
html[data-theme="light"] main .tt-essential .tt-essential__footerButton:active,
html[data-theme="light"] main .tt-essential .tt-essential__footerButton:focus-visible {
  color: #fff !important;
  opacity: 1 !important;
}

.tt-essential__footerCta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 26px var(--tt-ea-shell-x);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(147, 51, 234, 0.97)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%);
  color: #f8f1e3;
}

.tt-essential__footerCopy h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.tt-essential__footerCopy p {
  max-width: 54ch;
  margin: 10px 0 0;
  line-height: 1.72;
  color: rgba(248, 241, 227, 0.82);
}

@media (max-width: 1120px) {
  .tt-essential__footerCta {
    grid-template-columns: 1fr;
  }

  .tt-essential__sectionHead {
    grid-template-columns: 1fr;
  }

  .tt-essential__sectionMeta {
    flex-direction: row;
    align-items: baseline;
    width: fit-content;
  }
}

@media (max-width: 860px) {
  .tt-essential {
    --tt-ea-shell-x: 20px;
  }

  .tt-essential__container {
    padding-top: 52px;
    padding-bottom: 64px;
    padding-inline: 16px;
  }

  .tt-essential__section,
  .tt-essential__footerCta {
    border-radius: 22px;
  }

  .tt-essential__grid {
    grid-template-columns: 1fr;
  }

  .tt-essential__jump {
    top: 70px;
  }
}

@media (max-width: 620px) {
  .tt-essential__jump {
    gap: 10px;
    padding: 12px;
  }

  .tt-essential__jumpLinks {
    gap: 8px;
  }

  .tt-essential__jumpTab {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .tt-essential__card {
    padding: 16px;
  }

  .tt-essential__mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
}
