:root {
  --ink: #141414;
  --ink-2: #141414;
  --muted: #5f5f67;
  --placeholder: #73737c;
  --accent: #5025d1;
  --accent-hover: #3f1da8;
  --accent-soft: #f0ebff;
  --accent-on-dark: #c8b8ff;
  --line: #e2e0e8;
  --line-dark: #cbc7d6;
  --paper: #fff;
  --white: #fff;
  --cream: #f7f5fc;
  --soft: #faf9fc;
  --green: #5025d1;
  --green-2: #f0ebff;
  --green-dark: #5025d1;
  --blue: #5025d1;
  --blue-soft: #f0ebff;
  --orange: #ffb45d;
  --purple: #bd9cff;
  --shadow-sm: 0 8px 24px rgba(20, 20, 20, .07);
  --shadow-lg: 0 30px 80px rgba(20, 20, 20, .13);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-h: 76px;
  --text-display: clamp(3rem, 6.2vw, 5.5rem);
  --text-h1: clamp(2.4rem, 5.5vw, 4.35rem);
  --text-h2: clamp(1.8rem, 3.5vw, 3rem);
  --text-h3: clamp(1.1rem, 1.8vw, 1.35rem);
  --text-card: 1.2rem;
  --text-body: 1rem;
  --text-support: .9rem;
  --text-label: .84rem;
  --text-helper: .75rem;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: var(--text-body); line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.035em; }
h1 { font-size: var(--text-h1); font-weight: 820; line-height: 1.04; }
h2 { font-size: var(--text-h2); font-weight: 780; line-height: 1.12; }
h3 { font-size: var(--text-h3); font-weight: 740; line-height: 1.25; }
p { color: var(--ink-2); }
small { line-height: 1.45; }
strong { color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: 76px; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 999; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.section-heading { max-width: 650px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 15px; }
.section-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: clamp(.95rem, 1.4vw, 1.08rem); line-height: 1.65; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 24px; }
.section-heading-row > div { max-width: 680px; }
.section-heading-row > span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .82rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.text-link { flex: none; color: var(--accent); font-weight: 750; border-bottom: 1px solid currentColor; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; font-size: .9rem; font-weight: 760; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .88rem; }
.button-dark { background: var(--accent); color: var(--white); box-shadow: 0 8px 18px rgba(80, 37, 209, .24); }
.button-dark:hover { background: var(--accent-hover); box-shadow: 0 12px 24px rgba(80, 37, 209, .28); }
.button-light { background: var(--white); color: var(--accent); }
.button-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.button-light-outline { background: transparent; border-color: rgba(255, 255, 255, .28); color: var(--white); }
.button-ghost { background: transparent; border-color: transparent; color: var(--accent); }
.button-wide { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 20, 20, .05); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.15rem; font-weight: 850; letter-spacing: -.035em; }
.brand-mark { position: relative; width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 10px 10px 5px 10px; background: var(--accent); color: var(--white); transform: rotate(-4deg); }
.brand-mark::after { content: ""; position: absolute; inset: auto -4px -9px 7px; height: 14px; border-radius: 50%; background: var(--accent-on-dark); opacity: .75; transform: rotate(-9deg); }
.brand-mark span { position: relative; z-index: 1; transform: rotate(4deg); font-size: 1rem; }
.main-nav { display: none; align-items: center; gap: 5px; }
.main-nav a { position: relative; padding: 9px 10px; border-radius: 9px; color: var(--ink); font-size: .88rem; font-weight: 650; }
.main-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.main-nav a[aria-current] { color: var(--accent); font-weight: 760; }
.main-nav a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-secondary { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--white); cursor: pointer; }
.icon-button { font-size: 1.45rem; line-height: 1; }
.menu-button { gap: 4px; }
.menu-button span:not(.sr-only) { width: 18px; height: 2px; display: block; border-radius: 2px; background: var(--ink); }
.nav-cta { display: none; }
.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); padding: 20px 16px 40px; background: var(--white); border-top: 1px solid var(--line); }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.2rem; font-weight: 760; }
.mobile-menu a[aria-current] { color: var(--accent); }

.search-dialog { width: min(calc(100% - 24px), 720px); margin-top: 8vh; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow-lg); }
.search-dialog::backdrop { background: rgba(10, 25, 20, .55); backdrop-filter: blur(5px); }
.search-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.search-dialog-head h2 { margin: 0; font-size: 1.55rem; }
.search-box { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border: 1px solid var(--line-dark); border-radius: 15px; background: var(--white); box-shadow: 0 7px 20px rgba(30, 55, 46, .06); }
.search-box > span:first-child { flex: none; color: var(--muted); font-size: 1.5rem; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: var(--placeholder); opacity: 1; }
.search-box kbd { display: none; flex: none; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); color: var(--muted); font-size: var(--text-helper); }
.tool-search { position: relative; width: 100%; }
.search-results { position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 8px); display: none; overflow: hidden; padding: 7px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow-lg); }
.search-results.is-open { display: grid; }
.search-result-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 11px; }
.search-result-item:hover { background: var(--soft); }
.search-result-item > span:nth-child(2) { min-width: 0; display: grid; }
.search-result-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-item small { color: var(--muted); }
.search-status { margin: 0; padding: 15px; color: var(--muted); text-align: center; }

.hero { position: relative; padding: 62px 0 28px; overflow: hidden; background: radial-gradient(circle at 74% 28%, rgba(80, 37, 209, .11), transparent 24%), linear-gradient(180deg, #fff, #faf9fc); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(80, 37, 209, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 37, 209, .045) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-orbit { position: absolute; border: 1px solid rgba(80, 37, 209, .15); border-radius: 50%; }
.hero-orbit-one { width: 480px; height: 480px; right: -270px; top: 20px; }
.hero-orbit-two { width: 300px; height: 300px; right: -135px; top: 110px; }
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 54px; }
.hero-copy { max-width: 680px; }
.hero-kicker { width: fit-content; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 11px; border: 1px solid var(--line-dark); border-radius: 99px; background: rgba(255, 255, 255, .82); color: var(--muted); font-size: .78rem; font-weight: 760; }
.hero-kicker span { color: var(--accent); }
.hero h1 { max-width: 760px; margin-bottom: 23px; font-size: var(--text-display); }
.hero h1 em { position: relative; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero h1 em::after { content: ""; position: absolute; left: 4%; right: 2%; bottom: -3px; height: 7px; border-top: 3px solid var(--accent); border-radius: 50%; transform: rotate(-1deg); opacity: .45; }
.hero-lead { max-width: 610px; margin-bottom: 28px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero-copy .tool-search { max-width: 610px; }
.hero-copy .search-box { min-height: 65px; border-color: var(--line-dark); box-shadow: 0 16px 34px rgba(80, 37, 209, .1); }
.hero-trust { display: flex; align-items: center; gap: 13px; margin-top: 23px; }
.hero-trust p { margin: 0; font-size: .78rem; line-height: 1.35; }
.hero-trust strong { color: var(--ink); }
.avatar-stack { display: flex; padding-left: 8px; }
.avatar-stack span { width: 33px; height: 33px; display: grid; place-items: center; margin-left: -8px; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: var(--text-helper); font-weight: 800; }
.avatar-stack span:nth-child(2) { background: #e8e3f8; color: var(--accent); }
.avatar-stack span:nth-child(3) { background: var(--green-2); color: var(--green-dark); }
.avatar-stack span:nth-child(4) { background: var(--ink); color: var(--white); }

.hero-product { position: relative; max-width: 600px; margin-inline: auto; }
.product-window { overflow: hidden; border: 1px solid var(--line-dark); border-radius: 20px; background: var(--soft); box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.window-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 13px; border-bottom: 1px solid var(--line); background: #fff; }
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #d4d1dc; }
.window-bar > span:first-child { background: var(--accent); }
.window-bar > span:nth-child(2) { background: #9c8cc8; }
.window-bar > span:nth-child(3) { background: #c8b8ff; }
.window-bar p { margin: 0 auto; padding-right: 36px; color: var(--muted); font-size: var(--text-helper); }
.workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px; }
.workspace-head small { color: var(--muted); font-size: var(--text-helper); }
.workspace-head h2 { margin: 4px 0 0; font-size: 1.2rem; }
.focus-score { display: flex; align-items: center; gap: 8px; }
.focus-score strong { width: 44px; height: 44px; display: grid; place-items: center; border: 5px solid var(--green); border-left-color: #dfe6df; border-radius: 50%; font-size: .8rem; }
.focus-score span { color: var(--muted); font-size: var(--text-helper); line-height: 1.3; }
.workspace-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 10px; padding: 0 14px 14px; }
.workspace-card { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.workspace-card-head { display: flex; justify-content: space-between; color: var(--muted); font-size: var(--text-helper); font-weight: 700; }
.progress-track { height: 5px; overflow: hidden; margin: 10px 0 12px; border-radius: 5px; background: var(--line); }
.progress-track span { display: block; height: 100%; border-radius: 5px; background: var(--green-dark); }
.progress-60 { width: 60%; }
.workspace-plan ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.workspace-plan li { display: flex; align-items: center; gap: 8px; font-size: var(--text-helper); }
.workspace-plan li > span { width: 17px; height: 17px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: #fff; font-size: var(--text-helper); }
.workspace-plan li.is-done > span { border-color: var(--green-dark); background: var(--green-dark); }
.workspace-plan li.is-done > div { color: var(--muted); text-decoration: line-through; }
.workspace-plan small { display: block; color: var(--muted); font-size: var(--text-helper); text-decoration: none; }
.workspace-progress { text-align: center; }
.workspace-progress > span { display: block; text-align: left; color: var(--muted); font-size: var(--text-helper); font-weight: 700; }
.ring-chart { width: 92px; height: 92px; display: grid; place-content: center; margin: 10px auto; border-radius: 50%; background: radial-gradient(circle, white 59%, transparent 60%), conic-gradient(var(--blue) 75%, #e8ebec 0); }
.ring-chart strong { font-size: .9rem; }
.ring-chart small { color: var(--muted); font-size: var(--text-helper); }
.workspace-progress p { margin: 0; color: var(--muted); font-size: var(--text-helper); }
.workspace-progress p span { color: var(--green-dark); font-weight: 800; }
.workspace-next { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); }
.workspace-next .spark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(200, 184, 255, .16); color: var(--accent-on-dark); }
.workspace-next div { display: grid; }
.workspace-next small { color: #c4becd; font-size: var(--text-helper); }
.workspace-next strong { font-size: var(--text-helper); }
.workspace-next a { margin-left: auto; color: var(--accent-on-dark); }
.float-pill { position: absolute; display: none; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid #dbe0db; border-radius: 12px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); }
.float-pill > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: var(--text-helper); }
.float-pill p { display: grid; margin: 0; font-size: var(--text-helper); line-height: 1.35; }
.float-pill small { color: var(--muted); }
.float-pill-one { left: -36px; bottom: 45px; }
.float-pill-two { right: -28px; top: 92px; }
.float-pill-two > span { background: var(--accent-soft); color: var(--accent); }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 48px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.hero-stats div { display: grid; padding: 16px; background: rgba(255, 255, 255, .7); }
.hero-stats strong { font-size: 1.3rem; letter-spacing: -.04em; }
.hero-stats span { color: var(--muted); font-size: var(--text-helper); }

.tool-grid { display: grid; gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; min-height: 285px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.tool-card:hover { transform: translateY(-5px); border-color: #cbbcf7; box-shadow: 0 20px 46px rgba(80, 37, 209, .1); }
.tool-card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.tool-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid rgba(80, 37, 209, .09); border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; font-weight: 800; }
.tool-icon-student, .tool-icon-teacher, .tool-icon-institution { background: var(--accent-soft); color: var(--accent); }
.tool-badges { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--soft); color: var(--muted); font-size: var(--text-helper); font-weight: 750; line-height: 1; }
.badge-green { border-color: #d5c8ff; background: var(--accent-soft); color: var(--accent); }
.badge-warm { border-color: #d5c8ff; background: var(--accent-soft); color: var(--accent); }
.tool-card-body { margin-top: 24px; }
.tool-category { margin-bottom: 7px; color: var(--muted); font-size: var(--text-helper); font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.tool-card h3 { margin-bottom: 10px; font-size: var(--text-card); line-height: 1.3; }
.tool-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tool-card-body > p:last-child { margin-bottom: 20px; color: var(--muted); font-size: var(--text-support); line-height: 1.6; }
.tool-card-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 780; }
.tool-card-link span { transition: transform .2s ease; }
.tool-card:hover .tool-card-link span { transform: translate(3px, -3px); }

.audience-section { background: var(--ink); color: var(--white); }
.audience-section .section-heading h2 { color: var(--white); }
.audience-section .section-heading p:last-child { color: #aebdb7; }
.audience-section .eyebrow { color: var(--accent-on-dark); }
.audience-grid { display: grid; gap: 14px; }
.audience-card { position: relative; min-height: 440px; display: flex; flex-direction: column; overflow: hidden; padding: 28px; border: 1px solid rgba(80, 37, 209, .08); border-radius: var(--radius); background: #faf9ff; color: var(--ink); transition: transform .25s ease; }
.audience-card:hover { transform: translateY(-5px); }
.audience-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border: 1px solid rgba(80, 37, 209, .12); border-radius: 50%; box-shadow: 0 0 0 35px rgba(80, 37, 209, .035), 0 0 0 70px rgba(80, 37, 209, .02); }
.audience-teacher { background: #f7f5ff; }
.audience-institution { background: #f4f1ff; }
.audience-number { position: absolute; right: 20px; top: 18px; color: rgba(80, 37, 209, .48); font-size: var(--text-helper); font-weight: 850; }
.audience-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 50px; border-radius: 13px; background: rgba(255, 255, 255, .7); font-size: 1.15rem; }
.audience-card > p { margin-bottom: 10px; color: var(--accent); font-size: var(--text-helper); font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.audience-card h3 { margin-bottom: 22px; font-size: clamp(1.5rem, 2.3vw, 1.85rem); }
.audience-card ul { display: grid; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.audience-card li::before { content: "✓"; margin-right: 8px; font-weight: 800; }
.audience-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(80, 37, 209, .18); color: var(--accent); font-size: .82rem; font-weight: 800; }
.audience-link b { font-size: 1.2rem; }

.split-showcase { display: grid; padding-inline: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.showcase-column { padding: 30px; }
.showcase-column .section-heading { margin-bottom: 24px; }
.showcase-dark { background: var(--ink); color: var(--white); }
.showcase-dark h2 { color: var(--white); }
.showcase-dark p { color: #a8b8b1; }
.showcase-dark .eyebrow { color: var(--accent-on-dark); }
.showcase-dark .compact-tool-list a { color: var(--white); }
.compact-tool-list { display: grid; margin-bottom: 24px; }
.compact-tool-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.showcase-dark .compact-tool-list a { border-color: rgba(255, 255, 255, .12); }
.compact-tool-list a > div { display: grid; }
.compact-tool-list strong { font-size: .88rem; }
.compact-tool-list small { color: var(--muted); font-size: var(--text-helper); }
.showcase-dark .compact-tool-list small { color: #97aaa2; }
.compact-tool-list b { transition: transform .2s ease; }
.compact-tool-list a:hover b { transform: translateX(4px); }
.recent-row { display: grid; gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.recent-row h2 { margin: 0; font-size: 2rem; }
.recent-tools { display: grid; gap: 8px; }
.recent-tools a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: .82rem; font-weight: 730; }
.recent-tools a > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--green-2); color: var(--green-dark); }
.recent-tools b { padding: 3px 6px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: var(--text-helper); }
.category-chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.category-chip-grid a { min-height: 150px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s, transform .2s; }
.category-chip-grid a:hover { transform: translateY(-3px); border-color: #b9c6be; }
.category-chip-grid a > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: auto; border-radius: 10px; background: var(--cream); }
.category-chip-grid strong { margin-top: 18px; font-size: .9rem; }
.category-chip-grid small { color: var(--muted); font-size: var(--text-helper); }

.process-section { background: #f5f2ff; }
.process-grid { display: grid; gap: 40px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(80, 37, 209, .18); }
.process-list li { display: grid; grid-template-columns: 45px 1fr; gap: 10px; padding: 24px 0; border-bottom: 1px solid rgba(80, 37, 209, .18); }
.process-list li > span { color: var(--accent); font-size: var(--text-helper); font-weight: 850; }
.process-list h3 { margin: 0 0 6px; font-size: 1.25rem; }
.process-list p { margin: 0; color: var(--muted); font-size: var(--text-support); }
.benefit-grid { display: grid; gap: 12px; }
.benefit-grid article { min-height: 245px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.benefit-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 12px; background: var(--green-2); color: var(--green-dark); font-weight: 850; }
.benefit-grid article:nth-child(2) > span, .benefit-grid article:nth-child(3) > span, .benefit-grid article:nth-child(4) > span { background: var(--accent-soft); color: var(--accent); }
.benefit-grid h3 { margin-bottom: 9px; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .86rem; }

.faq-layout { display: grid; gap: 32px; }
.faq-layout .section-heading a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; font-weight: 760; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; transition: transform .2s; }
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary span { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-answer { padding: 0 44px 18px 2px; }
.faq-answer p { margin: 0; color: var(--ink); }
.cta-section { padding-top: 25px; padding-bottom: 90px; }
.cta-card { position: relative; display: grid; gap: 28px; overflow: hidden; padding: 36px 28px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.cta-card::after { content: ""; position: absolute; right: -120px; top: -160px; width: 390px; height: 390px; border: 1px solid rgba(200, 184, 255, .28); border-radius: 50%; box-shadow: 0 0 0 50px rgba(200, 184, 255, .04), 0 0 0 100px rgba(200, 184, 255, .03); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card .eyebrow { color: var(--accent-on-dark); }
.cta-card h2 { max-width: 640px; margin-bottom: 12px; color: var(--white); }
.cta-card p { max-width: 550px; margin: 0; color: #acbbb5; }
.cta-actions { display: grid; gap: 12px; align-content: center; }
.newsletter-form { position: relative; display: flex; max-width: 430px; overflow: visible; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .06); }
.newsletter-form input { min-width: 0; flex: 1; padding: 12px; border: 0; outline: 0; background: transparent; color: var(--white); }
.newsletter-form input::placeholder { color: #b6b0c2; opacity: 1; }
.newsletter-form button { margin: 4px; padding: 7px 14px; border: 0; border-radius: 8px; background: var(--accent); color: var(--white); font-weight: 800; cursor: pointer; }
.newsletter-form [role="status"] { position: absolute; top: calc(100% + 7px); left: 2px; color: var(--accent-on-dark); font-size: var(--text-helper); }

.site-footer { padding: 65px 0 25px; background: #111114; color: var(--white); }
.footer-grid { display: grid; gap: 36px; }
.brand-light { color: var(--white); }
.brand-light .brand-mark { background: var(--accent); color: var(--white); }
.brand-light .brand-mark::after { background: var(--white); opacity: .45; }
.footer-brand p { max-width: 350px; margin: 20px 0; color: #90a29a; font-size: .9rem; }
.footer-status { display: flex; align-items: center; gap: 8px; color: #aaa5b3; font-size: var(--text-helper); }
.footer-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-on-dark); box-shadow: 0 0 0 5px rgba(200, 184, 255, .1); }
.footer-grid h2 { margin-bottom: 14px; color: #aaa5b3; font-size: var(--text-helper); letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; }
.footer-grid > div:not(.footer-brand) a { color: #c9d4cf; font-size: .83rem; }
.footer-grid a:hover { color: var(--accent-on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; color: #aaa5b3; font-size: var(--text-helper); }

.breadcrumbs { margin-bottom: 32px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: 8px; color: var(--muted); font-size: var(--text-helper); }
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { color: var(--accent-hover); text-decoration: underline; }
.page-hero { padding: 64px 0 58px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; margin-bottom: 20px; font-size: var(--text-h1); }
.page-hero > .container > p:last-child, .page-hero-grid > div > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.65; }
.page-hero-category { padding-bottom: 32px; }
.page-hero-grid { display: grid; align-items: end; gap: 24px; }
.category-stat { display: flex; align-items: center; gap: 13px; }
.category-stat strong { font-size: 3.2rem; letter-spacing: -.06em; }
.category-stat span { color: var(--muted); font-size: .75rem; line-height: 1.3; }
.category-filter { margin-top: 34px; }
.filter-count { flex: none; color: var(--muted); font-size: var(--text-helper) !important; }
.category-content { display: grid; gap: 66px; }
.tool-group .section-heading { margin-bottom: 22px; }
.empty-filter { padding: 80px 20px; text-align: center; }
.empty-filter > span { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--cream); font-size: 1.7rem; }
.empty-filter h2 { margin-bottom: 10px; font-size: 1.8rem; }
.empty-filter p { color: var(--muted); }
.category-cta { padding-top: 0; }
.category-cta > div { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.category-cta > div > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.category-cta h2 { margin: 0 0 4px; font-size: 1.2rem; }
.category-cta p { margin: 0; color: var(--muted); font-size: .82rem; }
.category-cta .button { margin-left: auto; }
.categories-directory { display: grid; gap: 24px; }
.directory-group { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.directory-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px; padding: 24px; border-bottom: 1px solid var(--line); }
.directory-head > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.directory-head h2 { margin: 0 0 4px; font-size: 1.4rem; }
.directory-head p { margin: 0; color: var(--muted); font-size: .82rem; }
.directory-head > a { grid-column: 1 / -1; color: var(--accent); font-weight: 760; }
.directory-links { display: grid; }
.directory-links a { display: flex; justify-content: space-between; gap: 20px; padding: 15px 24px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: .88rem; font-weight: 700; }
.directory-links a:last-child { border-bottom: 0; }
.directory-links a:hover { background: var(--soft); }
.directory-links small { color: var(--muted); font-weight: 500; }

.legal-hero small { color: var(--muted); }
.legal-content { display: grid; gap: 40px; }
.legal-content section { padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.legal-content section h2 { margin-bottom: 14px; font-size: 1.45rem; }
.legal-content section p { margin: 0; color: var(--ink); }
.notice-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--cream); }
.notice-card > span { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-family: Georgia, serif; }
.notice-card h2 { margin-bottom: 6px; font-size: 1.15rem; }
.notice-card p { margin-bottom: 8px; color: var(--muted); }
.notice-card a { color: var(--accent); font-weight: 760; }
.contact-layout { display: grid; gap: 38px; }
.contact-aside { padding-top: 12px; }
.contact-aside h2 { max-width: 480px; }
.contact-points { display: grid; gap: 16px; margin-top: 32px; }
.contact-points > div { display: flex; align-items: start; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-points > div > span { color: var(--accent); font-size: var(--text-helper); font-weight: 850; }
.contact-points p { display: grid; margin: 0; }
.contact-points small { color: var(--muted); }
.contact-form { padding: 24px; }
.form-heading { margin-bottom: 24px; }
.form-heading h2 { margin-bottom: 5px; font-size: 1.5rem; }
.form-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.form-row { display: grid; gap: 16px; }
.field { min-width: 0; display: grid; align-content: start; gap: 7px; margin-bottom: 17px; }
.field label { color: var(--ink); font-size: var(--text-label); font-weight: 740; line-height: 1.35; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; border: 1px solid var(--line-dark); border-radius: 10px; outline: 0; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(80, 37, 209, .14); }
.field small { color: var(--muted); font-size: var(--text-helper); line-height: 1.5; }
.was-validated :invalid { border-color: #c33f36 !important; }
.form-status { margin-bottom: 18px; padding: 13px 15px; border-radius: 10px; font-size: .82rem; }
.form-status ul { margin: 5px 0 0; padding-left: 20px; }
.form-success { border: 1px solid #b7ddb1; background: #edffe9; color: #236830; }
.form-error { border: 1px solid #edbbb5; background: #fff0ee; color: #8d2f29; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.not-found { position: relative; min-height: 650px; display: grid; place-items: center; padding-block: 80px; }
.not-found-code { position: absolute; z-index: -1; color: var(--cream); font-size: clamp(10rem, 40vw, 31rem); font-weight: 900; letter-spacing: -.1em; line-height: .8; }
.not-found-copy { width: min(100%, 680px); text-align: center; }
.not-found-copy h1 { margin-bottom: 16px; font-size: clamp(2.5rem, 8vw, 4.7rem); }
.not-found-copy > p { color: var(--muted); }
.not-found-copy .tool-search { margin-top: 28px; text-align: left; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.role-links { display: grid; gap: 10px; padding-bottom: 80px; }
.role-links a { display: flex; justify-content: space-between; padding: 20px; border-radius: 14px; background: var(--cream); color: var(--accent); font-weight: 760; }

.tool-hero { padding: 24px 0 75px; background: var(--cream); border-bottom: 1px solid var(--line); }
.tool-hero-grid { display: grid; align-items: end; gap: 28px; }
.tool-hero-tags { display: flex; gap: 7px; margin-bottom: 16px; }
.tool-hero h1 { max-width: 850px; margin-bottom: 19px; font-size: var(--text-h1); }
.tool-hero-copy > p { max-width: 700px; margin-bottom: 22px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.12rem); line-height: 1.65; }
.tool-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.tool-trust span::first-letter { color: var(--accent); }
.tool-hero-mark { display: none; width: 135px; height: 135px; place-items: center; align-content: center; gap: 6px; border: 1px solid rgba(17, 35, 31, .12); border-radius: 30px; background: rgba(255, 255, 255, .5); transform: rotate(3deg); }
.tool-hero-mark > span { font-size: 3rem; }
.tool-hero-mark small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tool-workspace-section { position: relative; z-index: 2; margin-top: -38px; padding-bottom: 45px; }
.tool-workspace { display: grid; gap: 16px; align-items: start; }
.tool-input-panel, .tool-result-panel { padding: 22px; }
.panel-label { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.panel-label span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: var(--white); font-size: var(--text-helper); font-weight: 800; }
.panel-label p { margin: 0; color: var(--muted); font-size: var(--text-helper); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.form-intro { margin-bottom: 22px; }
.form-intro h2 { margin-bottom: 7px; font-size: clamp(1.35rem, 2vw, 1.55rem); }
.form-intro p { margin: 0; color: var(--muted); font-size: var(--text-support); line-height: 1.6; }
.repeat-list { display: grid; gap: 12px; }
.repeat-row { position: relative; display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.repeat-row .field { margin-bottom: 0; }
.row-remove { position: absolute; right: 6px; top: 6px; width: 27px; height: 27px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; }
.row-remove:hover { background: #ffe9e6; color: #a53b33; }
.add-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 20px; padding: 8px 0; border: 0; background: transparent; font-size: .76rem; font-weight: 760; cursor: pointer; }
.add-row span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 8px; }
.range-grid { display: grid; gap: 10px; }
input[type="range"], input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
input[type="range"] { min-height: auto !important; padding: 0 !important; }
.timer-display { margin: 8px 0 22px; font-variant-numeric: tabular-nums; font-size: clamp(4rem, 15vw, 7rem); font-weight: 850; letter-spacing: -.08em; line-height: 1; text-align: center; }
.timer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.form-message { margin: 8px 0 14px; padding: 12px 14px; border: 1px solid #e6aaa4; border-radius: 10px; background: #fff0ee; color: #8d2f29; font-size: .78rem; }
.form-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin-top: 6px; }
.tool-result-panel { min-height: 430px; border-color: #d9d1ee; background: var(--white); color: var(--ink); box-shadow: 0 24px 64px rgba(80, 37, 209, .13); }
.tool-result-panel .panel-label span { background: var(--accent); color: var(--white); }
.tool-result-panel .panel-label p { color: var(--muted); }
.result-empty, .result-loading { min-height: 315px; display: grid; place-content: center; justify-items: center; padding: 20px; text-align: center; }
.result-empty > span { width: 65px; height: 65px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid #d9ccff; border-radius: 18px; background: var(--accent-soft); color: var(--accent); font-size: 1.6rem; }
.result-empty h2, .result-loading h2 { margin-bottom: 10px; color: var(--ink); font-size: 1.35rem; }
.result-empty p, .result-loading p { max-width: 360px; margin: 0; color: var(--muted); font-size: .84rem; }
.loader { width: 45px; height: 45px; margin-bottom: 20px; border: 4px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-kicker { margin: 0 0 4px; color: var(--accent); font-size: var(--text-helper); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.result-primary { color: var(--ink); font-size: clamp(2.6rem, 7vw, 4.3rem); font-weight: 850; letter-spacing: -.06em; line-height: 1.1; overflow-wrap: anywhere; }
.result-summary { margin: 7px 0 22px; color: var(--muted); }
.result-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.result-metrics div { min-width: 0; display: grid; padding: 12px 10px; background: var(--soft); }
.result-metrics strong { overflow-wrap: anywhere; color: var(--ink); font-size: .84rem; }
.result-metrics span { color: var(--muted); font-size: var(--text-helper); }
.result-detail { display: grid; gap: 10px; }
.result-detail section { padding: 14px; border-radius: 11px; background: var(--soft); }
.result-detail h3 { margin-bottom: 8px; color: var(--ink); font-size: .95rem; letter-spacing: -.015em; }
.result-detail p { margin: 0; color: var(--ink); font-size: .8rem; }
.result-detail ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: var(--ink); font-size: .8rem; }
.result-recommendation { margin-top: 14px; padding: 14px; border: 1px solid #d7caff; border-radius: 11px; background: var(--accent-soft); }
.result-recommendation strong { color: var(--accent); font-size: var(--text-helper); text-transform: uppercase; letter-spacing: .07em; }
.result-recommendation p { margin: 5px 0 0; color: var(--ink); font-size: .8rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.result-actions button { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #d4c7fb; border-radius: 8px; background: transparent; color: var(--accent); font-size: var(--text-helper); cursor: pointer; }
.result-actions button:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.result-table-wrap { overflow-x: auto; }
.result-table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; color: var(--ink); font-size: var(--text-helper); }
.result-table-wrap th, .result-table-wrap td { padding: 8px; border: 1px solid var(--line); text-align: left; }
.result-table-wrap th { color: var(--ink); background: var(--accent-soft); }
.tool-content-grid { display: grid; gap: 16px; }
.content-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.content-card h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.content-card > p:not(.eyebrow) { color: var(--ink); }
.how-card ol { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.how-card li { display: flex; align-items: start; gap: 12px; }
.how-card li > span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: var(--text-helper); font-weight: 800; }
.how-card strong { font-size: .9rem; }
.how-card p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.method-grid { display: grid; gap: 24px; }
.method-grid > div > p:not(.eyebrow) { color: var(--ink); }
.formula-box { overflow: hidden; margin-top: 22px; border: 1px solid var(--line-dark); border-radius: 13px; background: var(--white); }
.formula-box span { display: block; padding: 8px 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--text-helper); font-weight: 800; text-transform: uppercase; }
.formula-box code { display: block; overflow-wrap: anywhere; padding: 15px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; white-space: normal; }
.example-card { padding: 26px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.example-card > span { color: var(--accent-on-dark); font-size: var(--text-helper); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.example-card h3 { margin: 25px 0 10px; color: var(--white); font-size: 1.45rem; }
.example-card p { color: #a9bab3; }
.example-card a { color: var(--accent-on-dark); font-size: .8rem; font-weight: 780; }
.academic-disclaimer { display: flex; align-items: start; gap: 13px; padding: 18px; border: 1px solid #ecd7ae; border-radius: 13px; background: #fff8e9; }
.academic-disclaimer > span { width: 27px; height: 27px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #8b5b22; color: var(--white); font-family: Georgia, serif; }
.academic-disclaimer p { margin: 0; color: #71552f; font-size: .76rem; }

@media (min-width: 560px) {
  .search-box kbd { display: block; }
  .tool-grid-3, .tool-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repeat-row.gpa-row { grid-template-columns: minmax(130px, 1.4fr) minmax(85px, .5fr) minmax(110px, .65fr); padding-right: 34px; }
  .repeat-row.compact-row { grid-template-columns: repeat(3, minmax(90px, 1fr)); padding-right: 34px; }
  .range-grid { grid-template-columns: repeat(3, 1fr); }
  .category-chip-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .role-links { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 760px) {
  .container { width: min(calc(100% - 56px), var(--container)); }
  .section { padding-block: 98px; }
  .hero { padding-top: 80px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats div { padding: 20px 24px; }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-card { padding: 25px; }
  .audience-card h3 { font-size: clamp(1.5rem, 2.3vw, 1.85rem); }
  .float-pill { display: flex; }
  .split-showcase { grid-template-columns: repeat(2, 1fr); }
  .showcase-column { padding: 42px; }
  .recent-row { grid-template-columns: .7fr 1.3fr; }
  .category-chip-grid { grid-template-columns: repeat(6, 1fr); }
  .category-chip-grid a { min-height: 175px; }
  .process-grid { grid-template-columns: .8fr 1.2fr; align-items: center; }
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-layout { grid-template-columns: .75fr 1.25fr; }
  .cta-card { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 56px; }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
  .footer-brand { grid-column: auto; }
  .page-hero-grid { grid-template-columns: 1fr auto; }
  .category-stat { justify-content: end; }
  .category-filter { max-width: 760px; }
  .directory-head { grid-template-columns: auto 1fr auto; }
  .directory-head > a { grid-column: auto; }
  .directory-links { grid-template-columns: repeat(2, 1fr); }
  .directory-links a:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .contact-layout { grid-template-columns: .82fr 1.18fr; }
  .tool-hero-grid { grid-template-columns: 1fr auto; }
  .tool-hero-mark { display: grid; }
  .tool-workspace { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
  .tool-result-panel { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
  .tool-content-grid { grid-template-columns: 1.15fr .85fr; }
  .method-grid { grid-template-columns: 1.2fr .8fr; align-items: stretch; }
  .tool-input-panel, .tool-result-panel { padding: 28px; }
}

@media (min-width: 980px) {
  .main-nav { display: flex; }
  .menu-button { display: none; }
  .nav-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.03fr .97fr; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: var(--text-display); }
  .workspace-head { padding: 26px; }
  .workspace-grid { padding: 0 18px 18px; }
  .product-window { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
  .tool-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tool-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .audience-card { min-height: 475px; padding: 32px; }
  .audience-card h3 { font-size: clamp(1.5rem, 2.3vw, 1.85rem); }
}

@media (min-width: 1160px) {
  .nav-secondary { display: inline-block; }
  .main-nav { gap: 8px; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .brand-name { font-size: 1rem; }
  .hero h1 { font-size: 2.65rem; }
  .category-chip-grid { grid-template-columns: 1fr; }
  .result-metrics { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
