:root {
  --ink: #0b1523;
  --muted: #5d6b7c;
  --line: #dce4eb;
  --soft: #f4f7f9;
  --white: #ffffff;
  --navy: #06101e;
  --teal: #00b894;
  --teal-dark: #008f75;
  --blue: #0878f9;
  --orange: #ff6b00;
  --shadow: 0 14px 38px rgba(10, 28, 48, .1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-150%); padding: 10px 16px; color: white; background: var(--ink); border-radius: 4px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,228,235,.85); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: 0; }
.brand img { border-radius: 50%; object-fit: cover; }
.brand > span > span { color: var(--teal); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { color: #304052; font-size: 14px; font-weight: 650; }
.main-nav a:hover, .main-nav a:focus { color: var(--teal-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 6px; padding: 0 22px; color: white; background: var(--teal); font-weight: 750; box-shadow: 0 8px 22px rgba(0,184,148,.2); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); background: var(--teal-dark); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 13px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: white; border-radius: 5px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { color: var(--ink); background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-media { width: 100%; aspect-ratio: 1983 / 793; background: var(--navy) url("assets/capa-exfyd-web.jpg") center / cover no-repeat; }
.hero-actions { padding-top: 26px; padding-bottom: 30px; }
.search-panel { width: 100%; display: grid; grid-template-columns: minmax(250px, .72fr) minmax(430px, 1.45fr); grid-template-areas: "eyebrow form" "title form" "title trust"; column-gap: 42px; align-items: center; padding: 25px 28px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px rgba(10,28,48,.08); }
.search-panel .eyebrow { grid-area: eyebrow; align-self: end; }
.eyebrow { margin: 0 0 7px; color: var(--teal); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.search-panel h1 { grid-area: title; align-self: start; margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: 0; }
.search-form { grid-area: form; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; min-height: 56px; padding: 5px 5px 5px 16px; background: #f8fafb; border: 1px solid #cfd9e1; border-radius: 6px; }
.search-form svg { width: 20px; fill: none; stroke: #6c7b8c; stroke-width: 2; stroke-linecap: round; }
.search-form input { min-width: 0; height: 44px; border: 0; outline: 0; padding: 0 12px; color: var(--ink); background: transparent; }
.search-form button, .newsletter-box button { height: 44px; padding: 0 21px; color: white; background: var(--teal); border: 0; border-radius: 5px; font-weight: 750; }
.trust-row { grid-area: trust; display: flex; gap: 24px; margin-top: 13px; color: #526273; font-size: 12px; }
.trust-row span::first-letter { color: var(--teal); }

.quick-links, .content-section, .how-section, .roadmap-section { padding: 72px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.section-heading.compact { margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.16; letter-spacing: 0; }
.section-heading p:not(.eyebrow) { max-width: 640px; margin: 8px 0 0; color: var(--muted); }
.text-link { color: var(--teal-dark); font-size: 14px; font-weight: 750; white-space: nowrap; }
.text-link span { color: var(--orange); }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-card { min-width: 0; min-height: 145px; padding: 18px 15px; text-align: left; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; transition: border .2s, transform .2s, box-shadow .2s; }
.category-card:hover, .category-card.active { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 10px 24px rgba(10,28,48,.08); }
.category-card.active { background: #f1fffb; }
.category-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; color: white; background: var(--ink); border-radius: 6px; font-size: 13px; font-weight: 850; }
.category-card.active .category-icon { background: var(--teal); }
.category-card strong, .category-card small { display: block; }
.category-card strong { font-size: 14px; }
.category-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.content-section { background: var(--soft); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
.view-controls { display: flex; gap: 6px; }
.view-controls button { width: 38px; height: 38px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 5px; }
.view-controls button.active { color: white; background: var(--ink); border-color: var(--ink); }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.article-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 7px; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-visual { position: relative; min-height: 155px; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px; color: white; overflow: hidden; }
.article-visual::before, .article-visual::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.article-visual::before { width: 190px; height: 190px; right: -70px; top: -90px; }
.article-visual::after { width: 120px; height: 120px; right: -38px; top: -45px; }
.article-visual span, .article-visual small { position: relative; z-index: 1; }
.article-visual span { font-size: 34px; font-weight: 900; }
.article-visual small { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.visual-ai { background: linear-gradient(135deg, #007b69, #052a42); }
.visual-crm { background: linear-gradient(135deg, #075fd7, #091b45); }
.visual-site { background: linear-gradient(135deg, #18283f, #0878f9); }
.visual-office { background: linear-gradient(135deg, #2d485a, #007f83); }
.visual-finance { background: linear-gradient(135deg, #146c54, #0b1523); }
.visual-tools { background: linear-gradient(135deg, #b84300, #ff6b00); }
.article-body { padding: 18px; }
.tag-row, .article-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7a8796; font-size: 11px; }
.tag { color: var(--teal-dark); font-weight: 800; }
.article-body h3 { margin: 11px 0 8px; font-size: 19px; line-height: 1.28; }
.article-body h3 a:hover { color: var(--teal-dark); }
.article-body p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.article-meta { padding-top: 13px; border-top: 1px solid #edf1f4; }
.article-meta a { color: var(--ink); font-weight: 800; }
.article-grid.list-view { grid-template-columns: 1fr; }
.article-grid.list-view .article-card { display: grid; grid-template-columns: 220px 1fr; }
.article-grid.list-view .article-visual { min-height: 100%; }
.empty-state { padding: 30px; text-align: center; color: var(--muted); background: white; border: 1px dashed #aab7c3; border-radius: 7px; }

.sidebar { display: flex; flex-direction: column; gap: 18px; }
.newsletter-box, .transparency-box { padding: 24px; border-radius: 7px; }
.newsletter-box { color: white; background: var(--navy); }
.sidebar-label { color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.newsletter-box h3 { margin: 10px 0 7px; font-size: 22px; line-height: 1.2; }
.newsletter-box p, .transparency-box p { margin: 0 0 16px; color: #b9c6d2; font-size: 13px; }
.newsletter-box form { display: grid; gap: 8px; }
.newsletter-box input { height: 44px; padding: 0 12px; border: 1px solid #2d3a4a; border-radius: 5px; }
.newsletter-box small { display: block; margin-top: 10px; color: #8594a4; font-size: 10px; }
.ad-slot { min-height: 250px; display: grid; place-content: center; gap: 4px; text-align: center; color: #8491a0; background: #e7ecef; border: 1px dashed #b8c2cb; border-radius: 7px; }
.ad-slot span { font-size: 9px; letter-spacing: .12em; }
.ad-slot strong { color: #6e7b88; font-size: 13px; }
.ad-slot small { font-size: 10px; }
.transparency-box { background: white; border: 1px solid var(--line); }
.transparency-box p { margin-top: 9px; margin-bottom: 0; color: var(--muted); }

.compare-section { padding: 78px 0; color: white; background: var(--navy); }
.section-heading.light p:not(.eyebrow) { color: #aab8c6; }
.beta-badge { padding: 7px 10px; color: #ffd8bf; border: 1px solid rgba(255,107,0,.5); border-radius: 4px; font-size: 10px; font-weight: 850; }
.comparison-wrap { overflow-x: auto; border: 1px solid #213247; border-radius: 7px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; background: #0b1828; }
th, td { padding: 17px 20px; text-align: left; border-bottom: 1px solid #213247; }
thead th { color: white; background: #102033; font-size: 13px; }
tbody th { color: #b9c7d4; font-size: 12px; }
td { color: #e5edf3; font-size: 13px; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.rating { display: inline-block; padding: 4px 8px; border-radius: 3px; font-size: 10px; font-weight: 800; }
.rating.low { color: #c6d0da; background: #253345; }
.rating.medium { color: #82d8c6; background: #103e3b; }
.rating.high { color: #ffb47f; background: #4b2815; }

.section-heading.centered { justify-content: center; text-align: center; }
.section-heading.centered > div { display: grid; justify-items: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-grid article { padding: 34px; border-right: 1px solid var(--line); }
.steps-grid article:last-child { border-right: 0; }
.steps-grid span { color: var(--orange); font-size: 12px; font-weight: 900; }
.steps-grid h3 { margin: 9px 0 8px; font-size: 24px; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.request-section { padding: 82px 0; background: #edf9f6; }
.request-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.request-copy h2 { margin: 0; font-size: 38px; line-height: 1.13; }
.request-copy > p:not(.eyebrow) { color: var(--muted); }
.request-copy ul { padding: 0; margin: 25px 0; list-style: none; }
.request-copy li { padding: 9px 0 9px 28px; border-bottom: 1px solid #cfe3de; position: relative; }
.request-copy li::before { content: "?"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 900; }
.future-note { padding: 16px; color: #3d5260; background: white; border-left: 3px solid var(--orange); font-size: 13px; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 28px; background: white; border: 1px solid #d3e5e0; border-radius: 8px; box-shadow: var(--shadow); }
.form-field { display: grid; gap: 6px; }
.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 750; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #cdd8df; border-radius: 5px; outline: 0; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,184,148,.1); }
.check-field { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 11px; }
.check-field input { margin-top: 3px; accent-color: var(--teal); }
.form-status { min-height: 20px; margin: 0; color: var(--teal-dark); font-size: 12px; font-weight: 700; }

.roadmap-section { background: white; }
.roadmap { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding: 0; margin: 0; list-style: none; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.roadmap li { position: relative; min-height: 180px; padding: 24px; border-right: 1px solid var(--line); }
.roadmap li:last-child { border-right: 0; }
.roadmap li.current { background: #effcf8; }
.roadmap li.current::before { content: "AGORA"; position: absolute; top: 18px; right: 18px; color: var(--teal-dark); font-size: 9px; font-weight: 900; }
.roadmap span, .roadmap strong, .roadmap small { display: block; }
.roadmap span { color: var(--orange); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.roadmap strong { margin: 22px 0 8px; font-size: 17px; }
.roadmap small { color: var(--muted); font-size: 12px; }

.site-footer { padding-top: 54px; color: #c2ccd5; background: #050c16; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 50px; padding-bottom: 40px; }
.footer-brand { color: white; }
.footer-grid p { max-width: 290px; color: #8493a1; font-size: 13px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid strong { margin-bottom: 5px; color: white; font-size: 12px; }
.footer-grid a:not(.brand) { color: #8f9daa; font-size: 12px; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 20px 0; color: #697887; border-top: 1px solid #192433; font-size: 10px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 200; max-width: 350px; padding: 13px 16px; color: white; background: var(--ink); border-left: 3px solid var(--teal); border-radius: 5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .main-nav { gap: 16px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .transparency-box { grid-column: 1 / -1; }
  .request-layout { gap: 35px; }
  .roadmap { grid-template-columns: repeat(2,1fr); }
  .roadmap li:nth-child(2) { border-right: 0; }
  .roadmap li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .nav-wrap > .button-small { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; background: white; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hero-media { min-height: 300px; aspect-ratio: auto; background-position: 58% center; }
  .hero-actions { padding-top: 20px; padding-bottom: 24px; }
  .search-panel { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "form" "trust"; gap: 0; padding: 20px; }
  .search-panel h1 { font-size: 22px; }
  .search-form { margin-top: 16px; }
  .trust-row { flex-wrap: wrap; gap: 8px 16px; }
  .section-heading { align-items: flex-start; }
  .article-grid { grid-template-columns: 1fr; }
  .request-layout { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps-grid article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand { font-size: 21px; }
  .hero-media { min-height: 250px; background-position: 59% center; }
  .hero-actions { padding-top: 14px; padding-bottom: 18px; }
  .search-panel { padding: 18px 16px; }
  .search-form { grid-template-columns: 20px 1fr; padding: 6px 10px; }
  .search-form button { grid-column: 1 / -1; width: 100%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 130px; }
  .quick-links, .content-section, .how-section, .roadmap-section { padding: 54px 0; }
  .section-heading { display: grid; }
  .section-heading h2, .request-copy h2 { font-size: 29px; }
  .article-grid.list-view .article-card { display: block; }
  .sidebar { display: flex; }
  .request-form { grid-template-columns: 1fr; padding: 20px; }
  .form-field, .full { grid-column: 1; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap li, .roadmap li:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .roadmap li:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
