/* Quicksand (SIL Open Font License), served from the site: no third-party request before first paint */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/redesign/fonts/quicksand-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/redesign/fonts/quicksand-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #0a1636;
  --navy: #0a1636;
  --navy-2: #13224a;
  --text: #36405a;
  --muted: #636c84;
  --soft: #f4f6fa;
  --white: #ffffff;
  --line: #e3e8f0;
  --blue: #2e9ce5;
  --blue-dark: #1b6fae;
  --blue-ink: #1d78b8;
  --blue-text: #2690d6;
  --link: #1b6fae;
  --tint-blue: #e6f2fc;
  --tint-peach: #eaeef8;
  --tint-mint: #e8f4fb;
  --tint-lilac: #edf0f8;
  --radius: 20px;
  --wrap: 1080px;
  --serif: "Quicksand", system-ui, sans-serif;
  --sans: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--text); font: 500 17px/1.7 var(--sans); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.serif em { font-style: normal; color: var(--blue-text); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.band { padding-block: 104px; }
.band.white { background: var(--white); }
.lede { color: var(--muted); font-size: 18px; max-width: 560px; }
.center { text-align: center; }
.center.lede, .center .lede { margin-inline: auto; }

.nav-shell { position: sticky; top: 14px; z-index: 20; padding-inline: 16px; margin-top: 14px; height: 60px; }
.nav { max-width: var(--wrap); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 8px 0 22px; background: rgba(10,22,54,.94); backdrop-filter: blur(12px) saturate(1.4); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; box-shadow: 0 10px 30px rgba(10,22,54,.18); }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 45px; width: auto; }
.nav ul { display: flex; gap: 22px; white-space: nowrap; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 600; color: #c3cbe0; }
.nav ul a:hover { color: #fff; }
.nav .pill-dark { background: #fff; color: var(--navy); }
.nav .pill-dark:hover { background: #e6f2fc; }
.nav .sp { flex: 1; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, transform .15s; }
.pill:active { transform: scale(.98); }
.pill-dark { background: var(--navy); color: #fff; }
.pill-dark:hover { background: var(--navy-2); }
.pill-blue { background: var(--blue-ink); color: #fff; height: 52px; padding: 0 28px; font-size: 16px; }
.pill-blue:hover { background: var(--blue-dark); }

.hero { padding-block: 150px 92px; margin-top: -84px; text-align: center; background: var(--navy); color: #c3cbe0; }
.hero h1 { color: #fff; }
.hero .lede { color: #b4bdd3; }
.hero h1 em { color: #7cc4f5; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); max-width: 820px; margin: 0 auto 22px; }
.hero .lede { font-size: 19px; margin-bottom: 36px; max-width: 620px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 600px; margin: 0 auto; height: 62px; padding: 0 8px 0 22px; background: var(--white); border: 1px solid transparent; border-radius: 999px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.search:focus-within { border-color: var(--blue); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.search input::placeholder { color: #a3a7b1; }
.search button { height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--blue-ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.search button:hover { background: var(--blue-dark); }
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-links a { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 500; color: #dfe5f2; }
.hero-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.proof { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #9aa5c0; }
.proof b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.sh { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sh h2 { font-size: clamp(32px, 4vw, 46px); }
.sh .lede { margin: 12px 0 0; }
.more { font-weight: 600; color: var(--link); white-space: nowrap; }
.more:hover { color: var(--navy); }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--soft); transition: transform .2s; }
.post:hover { transform: translateY(-3px); }
.post.big { grid-column: span 2; background: var(--tint-blue); padding: 34px; }
.post.big h3 { font-size: 30px; }
.post .cat { font-size: 13px; font-weight: 600; color: var(--link); }
.post h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.post p { margin: 0; color: var(--muted); font-size: 15px; }
.post .by { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.post .by img { width: 30px; height: 30px; border-radius: 50%; background: var(--white); }
.post.peach { background: var(--tint-peach); }
.post.mint { background: var(--tint-mint); }

.qa-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.qa-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; background: var(--white); border-radius: var(--radius); padding: 6px 28px; border: 1px solid var(--line); }
.qa-panel a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink); }
.qa-panel a:nth-last-child(-n+2) { border-bottom: 0; }
.qa-grid .ask-card { position: sticky; top: 96px; }
.qa-panel a:hover { color: var(--link); }
.qa-panel a::after { content: "→"; color: var(--muted); }
.ask-card { background: var(--tint-lilac); border-radius: var(--radius); padding: 34px; }
.ask-card h3 { font-size: 28px; margin-bottom: 10px; }
.ask-card p { margin: 0 0 24px; color: var(--text); }
.bubble { background: var(--white); border-radius: 18px 18px 18px 6px; padding: 14px 18px; font-size: 15px; color: var(--ink); max-width: 88%; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(17,19,24,.05); }
.bubble.me { margin-left: auto; border-radius: 18px 18px 6px 18px; background: var(--navy); color: #fff; }
.bubble small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.qa-stats { margin-top: 18px; font-size: 14px; color: var(--muted); }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .15s; }
.tool:hover { border-color: #cfccc4; }
.tool .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-blue); color: var(--link); }
.tool h3 { font-size: 17px; font-weight: 700; font-family: var(--sans); }
.tool p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

.essay { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; }
.essay-side { align-self: start; position: sticky; top: 110px; display: grid; gap: 16px; justify-items: start; }
.essay-side h2 { font-size: clamp(32px, 4vw, 46px); margin: 0; }
.essay-side p { margin: 0; color: var(--text); font-size: 15px; }
.essay .body h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; margin: 34px 0 12px; }
.essay .body p { margin: 0 0 16px; max-width: 64ch; }

.cta { border-radius: 28px; background: var(--navy); color: #c9ccd4; padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.cta h2 em { color: #7cc4f5; }
.cta p { margin: 14px 0 0; max-width: 520px; }

footer { padding-block: 72px 48px; font-size: 15px; background: var(--navy); color: #9aa5c0; }
.cols .fh { color: #fff; }
.cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.cols .fh { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.f-brand p { margin: 12px 0 18px; max-width: 260px; }
.f-cta { color: #7cc4f5; font-weight: 700; }
.legal a { color: #9aa5c0; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #9aa5c0; }
.cols a:hover { color: #fff; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7e8aa8; font-size: 14px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 1080px) { .nav ul { display: none; } }
@media (max-width: 960px) {
  .posts, .tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .post.big { grid-column: span 2; }
  .qa-grid, .essay { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .essay-side { position: static; }
  .essay-side p, .essay-side .pill { display: none; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 48px 32px; }
  .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .band { padding-block: 72px; }
  .hero { padding-block: 116px 56px; }
  .posts, .tools { grid-template-columns: minmax(0, 1fr); }
  .post.big { grid-column: auto; padding: 26px; }
  .post.big h3 { font-size: 24px; }
  .sh { flex-direction: column; align-items: flex-start; }
  .proof { gap: 18px 28px; }
  .search { height: 56px; }
  .search button { padding: 0 16px; }
  .qa-panel { padding: 4px 20px; grid-template-columns: minmax(0, 1fr); }
  .qa-panel a:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .qa-panel a:nth-child(n+9) { display: none; }
  .qa-panel a:nth-child(8) { border-bottom: 0; }
  .qa-grid .ask-card { position: static; }
  .ask-card { padding: 26px; }
  .nav { padding-left: 18px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* search button + instant search dialog */
.nav-search { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #c3cbe0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-search:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-search kbd { font: inherit; font-size: 12px; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.12); }
.qs { width: min(640px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 30px 80px rgba(10,22,54,.35); }
.qs::backdrop { background: rgba(10,22,54,.55); backdrop-filter: blur(4px); }
.qs-bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 64px; border-bottom: 1px solid var(--line); color: var(--muted); }
.qs-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 18px; color: var(--ink); background: transparent; }
.qs kbd { font: inherit; font-size: 12px; padding: 2px 7px; border-radius: 6px; background: var(--soft); color: var(--muted); }
.qs-list { list-style: none; margin: 0; padding: 8px; max-height: 52vh; overflow-y: auto; }
.qs-list a { display: flex; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.qs-list li.on a, .qs-list a:hover { background: var(--tint-blue); }
.qs-kind { flex: none; width: 82px; font-size: 12px; font-weight: 600; color: var(--link); }
.qs-empty { padding: 18px 14px; color: var(--muted); }
.qs-foot { margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .nav-search span, .nav-search kbd { display: none; } .qs { margin-top: 16px; } .qs-kind { width: 70px; } }

/* Scroll motion on inner pages. Scroll-driven CSS only: browsers without it, reduced-motion
   readers and anything already on screen at load see the finished state. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
    @keyframes settle { from { opacity: 0; transform: scale(.94); clip-path: inset(8% 6% round 18px); } to { opacity: 1; transform: none; clip-path: inset(0 round 14px); } }
    @keyframes slide-in { from { transform: translateX(-24px); } to { transform: none; } }
    @keyframes spin-in { from { transform: rotate(-90deg) scale(.6); } to { transform: none; } }
    @keyframes lift-out { to { opacity: .15; transform: translateY(-60px); } }
    @keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

    :is(.article-page, .tool-page, .tl-page) :is(.a-head, .t-head, .tl-head) > .wrap {
      animation: lift-out linear both; animation-timeline: scroll(root); animation-range: 0 420px;
    }
    :is(.article-page, .tool-page, .tl-page) :is(.ch, .tool, .rel, .post, .ev, .checks li, .faq details, .help, .g-next, .tldr, .serp-card, .out, .result, .note, .split > .tool-form) {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    .prose :is(img, .embed) { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .prose h2:not(.g-ch-head h2), .prose h3 { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
    .g-ch-head { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .g-ch-head .ch-ic svg { animation: spin-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .ev a { transition: border-color .15s, transform .15s; }

    .evs { position: relative; }
    .evs::after { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--blue); transform-origin: top; animation: fill linear both; animation-timeline: view(); animation-range: entry 30% exit 60%; }
  }
}

/* Mobile menu */
.nav { position: relative; }
.nav-menu { display: none; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.nav-menu[aria-expanded="true"] { background: #fff; color: var(--navy); }
.nav-panel { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; padding: 10px; border-radius: 24px; background: var(--navy); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 50px -20px rgba(10,22,54,.6); }
.nav-panel[hidden] { display: none; }
.nav-panel > a { padding: 13px 16px; border-radius: 14px; font-weight: 600; color: #e3e8f5; }
.nav-panel > a:hover, .nav-panel > a[aria-current] { background: rgba(255,255,255,.08); color: #fff; }
.nav-panel-cta { display: grid; gap: 8px; margin-top: 8px; }
.nav-panel-cta .pill { height: 46px; }
.pill-light-on-dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
@media (max-width: 1080px) { .nav-menu { display: inline-grid; } }
@media (min-width: 1081px) { .nav-panel { display: none !important; } }
@media (max-width: 600px) { .nav > .pill-dark { display: none; } .nav { gap: 10px; padding-right: 8px; } }

/* Smooth page-to-page transitions where the browser supports them */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.by-av { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-ink); color: #fff; font-size: 14px; font-weight: 700; }
.by-av.sm { width: 28px; height: 28px; font-size: 11px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Services dropdown */
.has-menu { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.nav-drop:hover, .has-menu:hover .nav-drop, .nav-drop[aria-expanded="true"] { color: #fff; }
.nav-drop svg { transition: transform .15s; }
.has-menu:hover .nav-drop svg, .nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 22px); left: 50%; width: 340px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -16px rgba(10,22,54,.45), 0 0 0 1px rgba(10,22,54,.06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.has-menu:hover .drop, .nav-drop[aria-expanded="true"] + .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .15s, transform .15s; }
.drop > a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: var(--ink); }
.drop > a:hover { background: var(--soft); }
.drop b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.drop small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.dd-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-blue); color: var(--blue-ink); }
.drop-foot { display: flex; justify-content: space-between; margin-top: 6px; padding: 10px 12px 4px; border-top: 1px solid var(--line); font-size: 14px; }
.drop-foot a { color: var(--link); font-weight: 600; }
.nav .drop a:hover { color: var(--ink); }
.nav .drop-foot a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.np-label { margin: 10px 0 2px; padding: 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #7cc4f5; text-transform: uppercase; }

.qa-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; }
.qa-topics span { color: var(--muted); font-weight: 700; }
.qa-topics a { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.qa-topics a:hover { border-color: var(--blue); color: var(--link); }

.lede.center a { color: #7cc4f5; text-decoration: underline; text-underline-offset: 3px; }
.lede.center a:hover { color: #fff; }
.hero-service { margin: 18px 0 0; text-align: center; font-size: 15px; font-weight: 700; }
.hero-service a { color: #7cc4f5; }
.hero-service a:hover { color: #fff; }
.hero-service span { display: inline-block; transition: transform .15s; }
.hero-service a:hover span { transform: translateX(3px); }
.lede a { text-decoration: underline; text-underline-offset: 3px; }
