@font-face {
  font-family: "Space Grotesk"; src: url("space-grotesk.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f8fc;
  --white: #fff;
  --ink: #161a2c;
  --muted: #52596b;
  --rule: #dfe1ec;
  --blue: #3832d9;
  --blue-deep: #2924a8;
  --lavender: #eae8ff;
  --lime: #e5f47e;
  --heading: "Space Grotesk", "DM Sans", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --frame: 1290px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); }
img { max-width: 100%; display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #615bff; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }
.container { width: min(var(--frame), calc(100% - 5rem)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--rule); background: var(--white); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; font: 700 1.45rem/1 var(--heading); letter-spacing: -.07em; }
.wordmark-rest { font-weight: 500; letter-spacing: -.059em; margin-left: 4px; }
.brand-icon { display: grid; place-items: center; background: var(--blue); color: white; width: 34px; aspect-ratio: 1; border-radius: 10px; font-size: 1.26rem; line-height: 1; }
.main-nav { display: flex; gap: clamp(14px, 2.2vw, 34px); align-items: center; }
.main-nav a, .search-link { font-size: .9375rem; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .search-link:hover { color: var(--blue); }
.search-link { display: inline-flex; align-items: center; gap: 9px; }
.search-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 1em; position: relative; border: 1.6px solid currentColor; border-radius: 50%; scale: .78; margin-right: 2px; }
.search-icon::after { content: ''; width: .51em; height: 1.6px; background: currentColor; position: absolute; left: .74em; top: .79em; rotate: 47deg; transform-origin: left; }

.hero { display: grid; grid-template-columns: .96fr 1.04fr; margin-top: 27px; min-height: clamp(420px, 43vw, 567px); border-radius: 28px; overflow: hidden; border: 1px solid var(--rule); background: var(--white); }
.hero-copy { position: relative; padding: clamp(35px, 6.1vw, 92px); display: flex; flex-direction: column; align-items: start; justify-content: center; }
.hero h1 { max-width: 9ch; font-size: clamp(3.55rem, 6.1vw, 6.65rem); letter-spacing: -.065em; line-height: .98; margin-bottom: 27px; color: var(--ink); }
.hero-copy p { max-width: 33ch; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.22rem); margin-bottom: 32px; }
.button { display: inline-flex; min-height: 47px; border-radius: 10px; gap: 8px; align-items: center; justify-content: center; padding: .65rem 1.14rem; border: 1px solid var(--blue); background: var(--blue); color: white; font-weight: 700; cursor: pointer; width: fit-content; }
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.hero-image { position: relative; display: grid; align-items: end; min-height: 350px; overflow: hidden; background: #171328; isolation: isolate; }
.hero-image img, .hero-image::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image img { object-fit: cover; object-position: 55% 53%; transition: transform .35s ease; }
.hero-image:hover img { transform: scale(1.035); }
.hero-image::after { content: ""; background: linear-gradient(180deg, transparent 30%, #0d10235c 58%, #101227f2 100%); }
.hero-caption { padding: clamp(24px, 4.4vw, 57px); color: white; }
.hero-caption > span:first-child { background: var(--lime); color: var(--ink); border-radius: 6px; padding: 5px 9px; font-size: .86rem; font-weight: 750; }
.hero-caption h2 { font-size: clamp(2.5rem, 5vw, 5.25rem); max-width: 10ch; letter-spacing: -.057em; line-height: .99; margin: 14px 0 12px; }
.feature-link { font-size: .98rem; text-decoration: underline; text-underline-offset: 4px; }

.home-section { margin-top: clamp(49px, 6.8vw, 97px); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.section-title h2 { margin: 0; font-size: clamp(1.95rem, 3.35vw, 3.6rem); letter-spacing: -.054em; line-height: 1.04; }
.inline-link, .official-link { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.inline-link:hover, .official-link:hover { color: var(--blue); }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category-tile { display: block; border-radius: 15px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); }
.category-tile:hover { border-color: var(--blue); }
.category-tile img { height: clamp(72px, 8.4vw, 104px); object-fit: cover; }
.category-tile span { display: block; padding: 12px 13px 15px; }
.category-tile strong { display: block; font: 700 1.13rem/1.05 var(--heading); letter-spacing: -.03em; }
.category-tile small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; margin-top: 6px; }
.featured-grid, .catalogue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story-card { border: 1px solid var(--rule); background: var(--white); border-radius: 18px; overflow: clip; }
.story-link { display: flex; flex-direction: column; height: 100%; }
.story-card:hover { border-color: var(--blue); }
.story-link:focus-visible { outline-offset: -4px; border-radius: 16px; }
.card-image { aspect-ratio: 2.0; overflow: hidden; }
.card-image img { height: 100%; object-fit: cover; }
.card-text { padding: 22px; display: flex; flex: 1; flex-direction: column; align-items: start; }
.story-category { display: inline-block; color: var(--blue-deep); font-size: .87rem; font-weight: 750; }
.card-text h3 { font-size: clamp(1.27rem, 2.2vw, 1.88rem); letter-spacing: -.055em; line-height: 1.14; margin: 8px 0 10px; }
.card-text p { font-size: .98rem; color: var(--muted); margin-bottom: 19px; line-height: 1.48; }
.story-count { color: var(--muted); font-weight: 650; font-size: .9rem; margin-top: auto; }
.catalogue { padding-bottom: 75px; }
.catalogue-head { align-items: center; }
.search-input { display: flex; gap: 10px; align-items: center; padding: .55rem .9rem; min-height: 46px; outline-offset: 3px; border: 1px solid var(--rule); border-radius: 10px; background: var(--white); color: var(--muted); }
.search-input:focus-within { border-color: var(--blue); }
.search-input input { background: transparent; border: 0; padding: 0; width: min(15vw, 220px); min-width: 134px; color: var(--ink); }
.search-input input:focus { outline: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: var(--white); border: 1px solid var(--rule); border-radius: 99px; min-height: 41px; padding: 6px 14px; font-size: .91rem; font-weight: 650; cursor: pointer; }
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--lavender); color: var(--blue-deep); border-color: #cbc8ff; }
.results-count { margin: 14px 0 12px; font-size: .9rem; color: var(--muted); }
.empty-state { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 32px; }
.empty-state h3 { margin-bottom: 5px; }
.empty-state p { margin-bottom: 18px; color: var(--muted); }

.site-footer { background: #edecf8; border-top: 1px solid var(--rule); }
.footer-inner { min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; gap: 23px; font-weight: 650; }
.footer-links a:hover { color: var(--blue); }
.site-footer small { color: var(--muted); font-size: .86rem; }
.breadcrumb { display: flex; gap: 9px; margin: 26px 0 19px; color: var(--muted); font-size: .92rem; }
.breadcrumb a:hover { text-decoration: underline; }
.article-hero { display: grid; grid-template-columns: 1.11fr .89fr; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); min-height: 350px; }
.article-heading { padding: clamp(27px, 5vw, 68px); align-self: center; }
.topic-tag { display: inline-block; background: var(--lavender); color: var(--blue-deep); padding: 4px 9px; border-radius: 6px; font-weight: 750; font-size: .87rem; }
.article-heading h1, .about h1 { font-size: clamp(2.55rem, 5.1vw, 5.35rem); letter-spacing: -.056em; line-height: 1; margin: 13px 0 19px; }
.article-heading p { color: var(--muted); font-size: 1.11rem; margin-bottom: 16px; max-width: 55ch; }
.article-image { overflow: hidden; min-height: 240px; }
.article-image img { object-fit: cover; height: 100%; }
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 790px); justify-content: center; gap: clamp(24px, 5vw, 75px); margin: 54px 0 0; }
.article-sidebar nav { position: sticky; top: 26px; display: grid; gap: 10px; border-left: 2px solid #dedbfe; padding-left: 14px; }
.article-sidebar a { color: var(--muted); font-size: .95rem; }
.article-sidebar a:hover { color: var(--blue); }
.article-body { min-width: 0; }
.article-body h2, .about h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); letter-spacing: -.06em; line-height: 1.08; margin-bottom: 17px; }
.article-body section + section { margin-top: 42px; }
.article-body p, .about p { max-width: 69ch; font-size: 1.04rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 12px 15px; border-bottom: 1px solid var(--rule); }
thead th { background: var(--lavender); color: var(--ink); font-size: .91rem; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 750; }
tbody th a:hover { color: var(--blue); text-decoration: underline; }
.method { background: var(--lavender); border-radius: 15px; padding: 25px; }
.method p { margin-bottom: 10px; }
.pick-list { margin: 0; list-style: none; padding: 0; }
.pick { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 24px 0; border-top: 1px solid var(--rule); }
.pick-number { font: 700 1.18rem/1 var(--heading); display: grid; place-items: center; width: 47px; height: 47px; border-radius: 10px; color: var(--blue-deep); background: var(--lavender); }
.pick h3 { margin: 0 0 2px; font-size: 1.65rem; letter-spacing: -.05em; line-height: 1.18; }
.pick .best-for { color: var(--blue-deep); font-weight: 750; margin: 4px 0 11px; font-size: .95rem; }
.pick p { margin-bottom: 12px; }
.tradeoff { border-inline-start: 2px solid #c5c2f7; padding-left: 11px; margin: 13px 0; }
.tradeoff strong { font-size: .92rem; }
.tradeoff p { margin: 2px 0; color: var(--muted); font-size: .975rem; }
.related { padding: 45px 0 65px; }
.about { padding-bottom: 72px; }
.about-heading { background: var(--lavender); padding: clamp(25px, 5vw, 66px); border-radius: 20px; }
.about-heading p { margin-bottom: 0; }
.about-content { max-width: 760px; margin: 44px auto 0; }
.about-content h2 { margin-top: 28px; }
.about-content a:not(.button) { color: var(--blue-deep); text-decoration: underline; }

@media (max-width: 1060px) {
  .container { width: calc(100% - 3rem); }
  .header-inner { gap: 17px; }
  .main-nav { gap: 13px; }
  .main-nav a, .search-link { font-size: .87rem; }
  .hero-copy { padding: 42px; }
}
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; min-height: 64px; gap: 0; padding-block: 12px 0; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; gap: 17px; padding: 13px 1px 10px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { margin-top: 16px; min-height: 0; }
  .hero-copy { padding: 34px 27px; }
  .hero h1 { font-size: clamp(3rem, 7.9vw, 4.6rem); margin-bottom: 17px; }
  .hero-copy p { margin-bottom: 21px; }
  .hero-image { min-height: 327px; }
  .featured-grid, .catalogue-grid { gap: 12px; }
  .card-text { padding: 15px; }
  .article-layout { grid-template-columns: 148px minmax(0, 1fr); gap: 22px; margin-top: 32px; }
}
@media (max-width: 610px) {
  .container { width: calc(100% - 2rem); }
  .hero, .article-hero { grid-template-columns: 1fr; border-radius: 18px; }
  .hero-copy { padding: 30px 24px 34px; }
  .hero h1 { max-width: 10ch; font-size: clamp(3rem, 12vw, 4.55rem); }
  .hero-image { min-height: clamp(285px, 80vw, 395px); }
  .hero-caption { padding: 21px; }
  .hero-caption h2 { font-size: clamp(2.7rem, 11vw, 4.1rem); }
  .home-section { margin-top: 44px; }
  .category-grid, .featured-grid, .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile img { height: 84px; }
  .section-title { align-items: start; }
  .section-title h2 { font-size: 2rem; }
  .section-title > .inline-link { font-size: .87rem; white-space: nowrap; align-self: end; }
  .catalogue-head { flex-direction: column; }
  .search-input { width: 100%; }
  .search-input input { width: 100%; }
  .article-image { max-height: 240px; }
  .article-layout { grid-template-columns: 1fr; gap: 18px; }
  .article-sidebar nav { position: static; display: flex; align-items: center; flex-wrap: wrap; padding-left: 10px; gap: 8px 14px; }
  .article-sidebar strong { width: 100%; }
  .pick { grid-template-columns: 36px 1fr; gap: 11px; }
  .pick-number { width: 36px; height: 36px; }
  .site-footer .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 15px; gap: 13px; }
  .site-footer small { width: 100%; }
}
@media (max-width: 385px) {
  .compact-card .card-text { padding: 13px; }
  .featured-grid { grid-template-columns: 1fr; }
  th, td { padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.category-page { padding-bottom: 68px; }
.category-hero { display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; border-radius: 24px; background: var(--lavender); }
.category-hero > div { align-self: center; padding: clamp(27px, 5vw, 68px); }
.category-hero h1 { font-size: clamp(2.8rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.07em; margin: 0 0 14px; }
.category-hero p { font-size: 1.12rem; color: var(--muted); }
.category-hero img { height: 100%; min-height: 250px; object-fit: cover; }
.category-guides { margin-top: clamp(34px, 5vw, 72px); }
.category-lead .story-link { display: grid; grid-template-columns: 1fr 1fr; }
.category-lead .card-image { aspect-ratio: 2.4; }
.category-lead .card-text { padding: clamp(18px, 4vw, 48px); justify-content: center; }
.category-lead .card-text h3 { font-size: clamp(1.45rem, 3vw, 2.65rem); }
.category-lead .story-count { margin-top: 0; }
.more-topics h2 { font-size: 1.55rem; }
.more-topics > div { display: flex; gap: 10px; flex-wrap: wrap; }
.more-topics a { background: var(--white); padding: .5rem .8rem; border: 1px solid var(--rule); border-radius: 9px; font-weight: 650; }
.more-topics a:hover { border-color: var(--blue); }
.editor-pick { padding: 23px 27px; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--blue); border-radius: 12px; }
.editor-pick .editor-pick-label { font-size: .92rem; font-weight: 750; color: var(--blue-deep); margin-bottom: 5px; }
.editor-pick h2 { margin-bottom: 7px; }
.editor-pick p { margin-bottom: 8px; }
.article-correction { margin: 22px 0 0; }
.contact-layout { max-width: 980px; margin: 44px auto 0; display: grid; grid-template-columns: .9fr 1.4fr; gap: 28px; align-items: start; }
.contact-aside { padding: 25px 0; }
.contact-aside p { color: var(--muted); }
.contact-form { background: var(--white); padding: 27px; border-radius: 16px; border: 1px solid var(--rule); display: grid; gap: 8px; }
.contact-form label { font-weight: 750; margin: 8px 0 0; }
.contact-form label span { font-weight: 400; color: var(--muted); }
.contact-form :is(select,input,textarea) { width: 100%; border: 1px solid #b9bdcf; background: var(--white); border-radius: 8px; padding: 9px 11px; color: var(--ink); font: inherit; }
.contact-form select { min-height: 46px; padding-right: 32px; }
.contact-form textarea { resize: vertical; }
.contact-form .button { margin-top: 12px; }
.response-page { padding: clamp(30px, 8vw, 100px) 0; }
.response-page h1 { font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.05em; }
@media (max-width: 720px) {
  .category-hero { grid-template-columns: 1fr; }
  .category-hero img { min-height: 0; max-height: 220px; }
  .category-lead .story-link { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .contact-aside { padding: 12px 0; }
  .footer-links { flex-wrap: wrap; gap: 11px 18px; }
}
.article-heading .revision-date { margin: 1px 0 15px; font-size: .88rem; }
.pick .model-spec { border-radius: 7px; background: #eeeefe; padding: 8px 11px; font-size: .94rem; }
