@font-face {
  font-family: Jakarta;
  src: url(plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  font-family: Jakarta, Arial, sans-serif;
  color: #101024;
  background: #f7f6f8;
  --navy: #10102d;
  --blue: #123ef3;
  --ink: #101024;
  --muted: #484859;
  --rule: #cbc9d3;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5e7cff; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(100% - clamp(36px, 7.8vw, 114px), 1440px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; inset: 12px auto auto 12px; transform: translateY(-200%); padding: 10px 15px; background: white; color: var(--ink); }
.skip-link:focus { transform: none; }

.masthead, .hero, .footer { background: var(--navy); color: #f9f8ff; }
.masthead-inner { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 38px); min-height: 64px; }
.wordmark { display: inline-flex; gap: 10px; align-items: center; font-size: clamp(23px, 2.4vw, 35px); font-weight: 800; letter-spacing: -.055em; line-height: 1; white-space: nowrap; text-decoration: none; }
.icon { flex: none; width: 1em; height: 1em; }
.wordmark .icon { width: 1.42em; height: 1.42em; filter: brightness(0) saturate(100%) invert(22%) sepia(91%) saturate(5549%) hue-rotate(230deg) brightness(95%) contrast(103%); }
.primary-nav { flex: 1; display: flex; justify-content: space-between; gap: 4px; padding-left: clamp(14px, 2.3vw, 34px); border-left: 1px solid #514d72; }
.primary-nav a { font-size: clamp(12px, 1.15vw, 17px); font-weight: 750; line-height: 1.1; border-radius: 8px; padding: 8px clamp(4px, .66vw, 10px); white-space: nowrap; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--blue); }
.icon-button { flex: none; display: grid; place-items: center; width: 42px; height: 42px; font-size: 22px; color: inherit; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.icon-button:hover { background: #29274b; }
.icon-button .icon { filter: invert(1); }
.menu-button { display: none; }

.hero { background-image: url(hero-background.webp); background-position: center bottom; background-size: cover; }
.hero-inner { display: grid; grid-template-columns: .93fr 1fr; gap: clamp(25px, 3vw, 45px); align-items: center; padding-block: clamp(14px, 1.4vw, 21px) clamp(23px, 2.1vw, 32px); }
.hero-copy { padding-inline-start: clamp(0px, 1.9vw, 30px); }
.hero-copy h1 { font-size: clamp(47px, 5.88vw, 89px); font-weight: 800; letter-spacing: -.033em; line-height: .99; }
.hero-copy p { max-width: 35em; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.46; margin-block: 14px 29px; color: #f1effb; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid transparent; border-radius: 8px; background: var(--blue); color: white; padding: 12px 27px; text-decoration: none; font-weight: 800; cursor: pointer; }
.hero .button { min-height: 54px; padding-inline: 29px; font-size: clamp(17px, 1.55vw, 23px); }
.button:hover { background: #284fff; }
.hero-image { overflow: hidden; display: block; border: 2px solid #3259ff; border-radius: 14px; background: #071564; }
.hero-image img { width: 100%; object-fit: contain; height: auto; }

.section { padding-block: 34px 46px; }
.latest { padding-top: 18px; }
.ruled { display: flex; align-items: center; gap: 25px; font-size: clamp(31px, 3.6vw, 55px); font-weight: 800; letter-spacing: -.037em; line-height: 1.12; margin-bottom: 20px; }
.ruled::after { content: ''; flex: 1; border-top: 1px solid #3d3a58; }
.latest-grid { display: grid; grid-template-columns: 1fr 1.07fr; gap: 28px; align-items: start; }
.story-list { display: grid; gap: 12px; border-left: 1px solid var(--rule); padding-left: 27px; }
.story-card { min-width: 0; }
.card-image { display: block; overflow: hidden; border-radius: 11px; background: #e7e8ee; }
.card-image img { width: 100%; height: 100%; object-fit: contain; }
.story-card:not(.compact) .card-image { aspect-ratio: 2.16; }
.story-card.lead .card-image { aspect-ratio: 2.36; }
.lead .card-image { background: #101a31; }
.card-copy { padding-top: 11px; }
.eyebrow { color: #163ad5; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .005em; margin-bottom: 4px; }
.story-card h3 { font-size: clamp(19px, 2vw, 29px); font-weight: 800; line-height: 1.13; letter-spacing: -.045em; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { text-decoration: underline; color: #183bb9; }
.summary { margin-top: 7px; font-size: clamp(.85rem, 1.2vw, 1.05rem); line-height: 1.38; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; margin-top: 11px; color: #26263d; font-size: .8rem; font-weight: 650; }
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta span + span { border-left: 1px solid #6d6a80; padding-left: 14px; }
.meta .icon { width: 1.05em; height: 1.05em; }
.compact { display: grid; grid-template-columns: 38% 1fr; align-items: start; gap: clamp(12px, 2vw, 28px); padding-bottom: 11px; border-bottom: 1px solid var(--rule); }
.compact:last-child { border-bottom: 0; padding-bottom: 0; }
.compact .card-image { aspect-ratio: 1.97; }
.compact .card-image:has(img[src*="camera"]) { background: #e5ddd6; }
.compact .card-image:has(img[src*="earbuds"]) { background: #252442; }
.compact .card-image:has(img[src*="digital-tools"]) { background: #8b776a; }
.compact .card-copy { padding-top: 0; }
.compact h3 { font-size: clamp(17px, 1.48vw, 22px); }
.compact .summary { font-size: clamp(.78rem, 1.01vw, .95rem); margin-top: 4px; }
.compact .meta { margin-top: 6px; font-size: .72rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: 12px; }
.topic-links a { border: 1px solid #b5b2c5; border-radius: 8px; font-weight: 750; padding: 12px 18px; text-decoration: none; }
.topic-links a:hover { background: #e8edff; }

.listing, .prose.section { min-height: 58vh; padding-block: 53px 70px; }
.listing h1, .prose h1 { font-size: clamp(39px, 5vw, 68px); letter-spacing: -.065em; line-height: 1.06; font-weight: 800; }
.intro { font-size: clamp(17px, 2vw, 21px); max-width: 65ch; color: var(--muted); line-height: 1.55; margin-top: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin-top: 28px; }
.card-grid h3 { font-size: clamp(20px, 2vw, 27px); }
.prose { max-width: 740px; line-height: 1.65; }
.prose p, .prose ul { margin-top: 14px; }
.prose h2 { font-size: 1.38rem; margin-top: 28px; line-height: 1.2; }
.prose a { color: #1537bb; font-weight: 700; overflow-wrap: anywhere; }
.article-intro { margin-inline: auto; }
.article-intro .eyebrow { margin: 0 0 9px; }
.article-page > .prose { margin-inline: auto; }
.article-main { max-width: 920px; margin: 26px auto; }
.article-main img, .article-gallery img { width: 100%; height: auto; border-radius: 12px; }
.article-main figcaption, .image-note { color: var(--muted); font-size: .79rem; margin-top: 8px; }
.trade-offs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 25px; }
.trade-offs section { border-top: 2px solid #304df0; background: #eeeffa; padding: 13px 18px; border-radius: 0 0 8px 8px; }
.trade-offs h2 { margin: 0; }
.trade-offs ul { padding-left: 19px; margin-bottom: 0; }
.article-gallery { max-width: 920px; margin: 30px auto 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; }
.article-gallery img { object-fit: contain; aspect-ratio: 1.85; background: #edecf2; }
.image-note { max-width: 920px; margin-inline: auto; }
.related { border-top: 1px solid var(--rule); }

.search-form { display: none; margin-top: 21px; max-width: 580px; }
.js .search-form { display: block; }
.search-form label { display: block; font-weight: 750; margin-bottom: 8px; }
.search-form div { display: flex; gap: 10px; }
.search-form input { min-width: 0; flex: 1; border: 1px solid #77758d; border-radius: 8px; padding: 10px 14px; background: white; color: var(--ink); }
.search-status { margin-top: 13px; color: var(--muted); }
.search-status:empty { display: none; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 31px; padding-block: 23px; }
.footer .wordmark { font-size: 22px; }
.footer nav { display: flex; flex: 1; flex-wrap: wrap; gap: 11px 18px; font-size: .82rem; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer p { color: #d1cfe1; font-size: .78rem; }

@media (max-width: 1120px) {
  .masthead-inner { gap: 17px; }
  .primary-nav { padding-left: 12px; }
  .hero-copy { padding-left: 0; }
  .latest-grid { gap: 20px; }
  .story-list { padding-left: 19px; }
}

@media (max-width: 910px) {
  .masthead-inner { min-height: 59px; flex-wrap: wrap; gap: 5px; }
  .masthead .wordmark { margin-right: auto; }
  .masthead .search-link { order: 1; }
  .masthead .menu-button { order: 2; }
  .js .menu-button { display: grid; }
  .primary-nav { flex: 0 0 100%; order: 3; flex-wrap: wrap; justify-content: flex-start; border: 0; padding: 0 0 10px; }
  .js .primary-nav:not(.is-open) { display: none; }
  .primary-nav a { font-size: .92rem; padding: 10px; }
  .hero-copy h1 { font-size: clamp(43px, 6.3vw, 62px); }
  .hero-copy p { margin: 13px 0 17px; }
  .compact { grid-template-columns: 36% 1fr; }
  .compact .meta { gap: 4px 8px; }
  .compact .meta span + span { padding-left: 7px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .hero-inner { grid-template-columns: 1fr; gap: 21px; padding-block: 19px 23px; }
  .hero-break { display: none; }
  .hero-copy h1 { max-width: 13ch; }
  .hero .button { min-height: 46px; }
  .hero-image { border-radius: 10px; }
  .latest-grid { grid-template-columns: 1fr; }
  .story-list { border-left: 0; border-top: 1px solid var(--rule); padding: 13px 0 0; }
  .compact { grid-template-columns: 34% 1fr; align-items: start; }
  .compact .card-image { aspect-ratio: 1.4; }
  .ruled { gap: 15px; }
  .listing, .prose.section { padding-block: 36px 51px; }
  .card-grid { grid-template-columns: 1fr; }
  .trade-offs, .article-gallery { grid-template-columns: 1fr; }
  .footer-inner { display: grid; }
}
