@font-face {
  font-family: Manrope;
  src: url("/assets/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #17273d;
  --muted: #475f79;
  --blue: #075de8;
  --navy: #073477;
  --line: #dae5f2;
  --wash: #f2f7fc;
  --lime: #c9f56c;
  font: 16px/1.55 Manrope, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, dl, dd, ol, ul, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, label:has(input[type="checkbox"]) { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3475ee; outline-offset: 4px; }
.wrap { width: min(calc(100% - 64px), 1216px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 8px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.1vw, 58px); }
h2 { font-size: clamp(29px, 3vw, 42px); }
h3 { font-size: 21px; }
.intro { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 780px; }
.small { font-size: 14px; color: var(--muted); }
.section { padding-block: 62px; }
.grid, .split { display: grid; gap: 20px; }
.split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.site-header { position: relative; z-index: 1; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 36px; min-height: 88px; }
.brand { display: grid; position: relative; align-items: start; width: 200px; margin-right: auto; flex: 0 0 auto; }
.brand img { object-fit: contain; }
.brand .byline { position: absolute; left: 54px; top: 30px; color: #536174; font-size: 11px; font-weight: 700; text-decoration: none; line-height: 1.2; }
.site-header nav { display: flex; gap: 31px; align-items: center; }
.site-header nav a { font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .brand a:hover { color: var(--blue); }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; gap: 12px; min-height: 50px; padding: 11px 17px; border-radius: 11px; border: 1px solid transparent; font-weight: 800; font-size: 15px; line-height: 1.2; text-decoration: none; transition: background-color .14s ease, border-color .14s ease; }
.button img { width: 18px; height: 18px; flex: 0 0 auto; }
.button-primary { background: var(--lime); color: #112b4d; }
.button-primary:hover { background: #baf04f; }
.button-primary:active { background: #a9dc40; }
.button-primary:disabled { cursor: wait; opacity: .65; }
.button-outline { background: #fff; border-color: #ccdaed; color: #0753cb; }
.button-outline:hover { background: #eaf2ff; border-color: #9fbce2; }
.button-outline:active { background: #dceaff; }
.login { min-width: 151px; }
.menu-toggle, .close { border: 1px solid #ccdaed; border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: var(--ink); }
.menu-toggle { display: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-block: 24px 14px; }

.hero { padding-block: 36px 52px; min-height: 592px; color: #fff; background: linear-gradient(90deg, #073477 0 67.3%, #0b3e86 67.3%); }
.hero-art { isolation: isolate; position: relative; width: min(100%, 584px); min-height: 154px; display: grid; align-content: center; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 22px 14px 220px; background: #0b438e; border: 1px solid #3068a8; border-radius: 16px; overflow: hidden; }
.hero-graphic { z-index: -1; position: absolute; inset: 0 auto 0 0; width: 336px; background: url("./assets/hero-filter-detail.svg") left -66px / 401px 235px no-repeat; }
.hero-match, .hero-reason { display: flex; align-items: center; min-width: 0; gap: 10px; border-radius: 11px; }
.hero-match { background: #fff; min-height: 73px; padding: 9px 12px; color: var(--ink); }
.hero-match strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.27; }
.hero-match span { color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 4px; display: block; }
.tile { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; background: #eaf2ff; border-radius: 9px; }
.tile img { width: 21px; height: 21px; }
.hero-reason { padding: 6px 10px; background: #1557a9; font-size: 13px; font-weight: 700; }
.hero-reason img { width: 16px; height: 16px; }
.hero h1 { margin-top: 24px; text-wrap: initial; }
.hero-intro { max-width: 810px; margin-top: 14px; color: #f0f6ff; font-size: clamp(17px, 1.6vw, 21px); }
.hero-list { display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 9px; margin-top: 22px; padding: 0; list-style: none; }
.hero-list li { background: url("./assets/check-lime.svg") left 4px / 16px no-repeat; padding-left: 24px; }
.hero .button { margin-top: 30px; }
.hero-note { margin-top: 12px; color: #dceaff; font-size: 13px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.filter-demo { background: #f4f8ff; border: 1px solid #d9e6f8; border-radius: 18px; padding: 21px; }
.demo-title { display: flex; gap: 9px; align-items: center; }
.demo-title img { width: 18px; }
.filter-demo .small { margin: 6px 0 14px; }
.match-row { background: white; border: 1px solid var(--line); padding: 10px 14px; border-radius: 11px; }
.match-row + .match-row { margin-top: 10px; }
.match-row strong { display: block; }
.match-row span, .match-row p { font-size: 13px; color: var(--muted); }
.match-row span { font-weight: 800; }
.match-good { border-color: #bde1d3; }
.match-good span { color: #156647; }
.match-bad span { color: #536174; }
.pains { background: #f8fbff; }
.pains .grid { margin-top: 27px; }
.pain { display: grid; align-content: start; grid-template-rows: auto 1fr auto; }
.pain h3 { min-height: 2.36em; text-wrap: initial; }
.card .answer { border-top: 1px solid var(--line); padding-top: 12px; color: #174f92; font-weight: 800; margin-top: 15px; }

.meaning-flow { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: center; gap: 18px; margin-top: 26px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #f2f7fc; }
.message-demo, .structured-demo { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.message-demo p, .structured-demo > p { font-size: 14px; font-weight: 800; color: #254e83; }
.message-demo blockquote { margin-top: 16px; font-size: clamp(17px, 2vw, 23px); font-weight: 700; line-height: 1.55; }
mark { color: #124eaa; background: #eaf2ff; padding: 1px 3px; border-radius: 3px; }
.flow-arrow { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #dbeaff; }
.flow-arrow img { width: 25px; height: 25px; }
.structured-demo > p { display: flex; align-items: center; gap: 7px; color: #176548; }
.structured-demo > p img { width: 18px; height: 18px; }
.structured-demo h3 { margin-top: 13px; }
.structured-demo dl { margin-top: 12px; }
.structured-demo dl div { display: grid; grid-template-columns: 70px 1fr; gap: 13px; padding-block: 8px; border-top: 1px solid var(--line); font-size: 13px; }
.structured-demo dt { color: var(--muted); }
.structured-demo dd { font-weight: 800; }

.workflow { padding-top: 37px; }
.steps { list-style: decimal; margin-top: 24px; padding: 0; }
.steps li { list-style: none; background: #f8fbff; }
.steps li > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #124eaa; background: #e6efff; font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.result { background: #eaf2ff; }
.result .button { margin-top: 19px; }
.sample { padding: 22px; box-shadow: 0 6px 24px #153e6d0e; }
.labels, .sample-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.labels { margin-bottom: 12px; }
.labels span { border-radius: 5px; padding: 3px 8px; background: #eaf2ff; color: #1951a4; font-size: 11px; font-weight: 800; }
.labels span:nth-child(2) { background: #e8f6ee; color: #176548; }
.labels .sample-label { margin-left: auto; background: #f1f5f9; color: var(--muted); }
.sample .answer { background: #ecf6ff; border: 0; border-radius: 8px; padding: 9px 11px; }
.sample-actions { margin-top: 14px; }
.sample-actions span { border: 1px solid #d0def0; color: #22599f; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; font-size: 13px; font-weight: 800; }
.sample-actions img { width: 16px; height: 16px; }
.sources { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 23px 0; }
.sources li { display: flex; align-items: center; gap: 8px; background: #eef5fc; color: #163451; border-radius: 9px; padding: 8px 12px; font-size: 14px; font-weight: 800; }
.sources img { width: 18px; height: 18px; }
.linkedin { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 3px; color: white; background: #0966aa; font-size: 11px; line-height: 1; }
.source-card { display: flex; align-items: flex-start; gap: 14px; }

.economics { background: #ecf4ff; }
.economics .split { align-items: start; gap: 34px; grid-template-columns: 5fr 7fr; }
.figures .card { padding: 19px; }
.figures strong { display: block; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.055em; margin-top: 13px; }
.figures .small { font-size: 13px; }
.cost-month { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; margin-top: 12px; border-radius: 6px; background: #eaf2ff; color: #18559e; font-size: 13px; font-weight: 800; }
.cost-month img { width: 16px; height: 16px; }
.economics .button, .pricing .button { margin-top: 25px; }
.pricing { background: var(--wash); }
.plans { margin-top: 24px; }
.plans .card { padding: 17px; }
.plans h3 { font-size: 14px; font-weight: 800; letter-spacing: 0; color: #0753cb; }
.plans strong { display: block; margin-top: 4px; font-size: clamp(21px, 2.25vw, 30px); font-weight: 800; letter-spacing: -.035em; }
.plans p { font-size: 14px; }
.plans .trial-plan { background: #eaf2ff; border-color: #abc7fb; }
.plans .annual-plan { border-color: #8aabf5; }
.faq-list { margin-top: 18px; }
.faq-list div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.faq-list dt { font-weight: 800; font-size: 17px; }
.faq-list dd { margin-top: 4px; color: var(--muted); }

.site-footer { background: #2b323b; color: #fff; padding: 40px 0 21px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .95fr 1.1fr 1.25fr; gap: 27px; }
.footer-grid h2 { font-size: 17px; }
.footer-grid p { color: #d7e2ef; font-size: 14px; margin-block: 7px; }
.footer-grid a { display: block; font-size: 14px; }
.footer-grid nav a { margin-top: 6px; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--lime); }
.footer-grid nav .footer-blog { margin-top: 15px; }
.footer-logo, .footer-lf { margin-bottom: 8px; object-fit: contain; object-position: left center; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; border-top: 1px solid #4b5869; margin-top: 26px; padding-top: 17px; font-size: 12px; color: #d7e2ef; }
.footer-bottom nav { display: flex; gap: 8px 17px; flex-wrap: wrap; }

.access-panel { position: relative; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 28px; border-radius: 16px; width: min(100% - 32px, 510px); margin: 0 auto 44px; }
body:has(dialog[open]) { overflow: hidden; }
dialog.access-panel { width: min(100% - 32px, 510px); margin: auto; max-height: calc(100% - 32px); box-shadow: 0 18px 58px #061e4850; }
.access-panel::backdrop { background: #071b38aa; }
.access-panel h2 { font-size: 25px; padding-right: 44px; }
.access-panel h2 + p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.close { position: absolute; top: 15px; right: 15px; line-height: 1; font-size: 25px; }
.close:hover, .menu-toggle:hover { background: #eaf2ff; }
.close:active, .menu-toggle:active { background: #dceaff; }
.access-panel form { display: grid; gap: 8px; margin-top: 16px; }
.access-panel label { font-size: 14px; font-weight: 800; }
.access-panel input:not([type=checkbox]), .access-panel select { width: 100%; min-height: 46px; border: 1px solid #a5b7cf; border-radius: 9px; padding: 8px 11px; margin-bottom: 5px; color: var(--ink); background: white; }
.access-panel .consent { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); padding-block: 3px 8px; }
.consent input { accent-color: #0753cb; width: 18px; height: 18px; flex-shrink: 0; }
.form-status:empty { display: none; }
.form-status { font-size: 14px; }
.form-status[data-error] { color: #9f2331; }

@media (max-width: 900px) {
  .header-inner { gap: 22px; }
  .site-header nav { gap: 18px; }
  .login { min-width: 94px; }
  .split { gap: 32px; }
  .three, .four { gap: 12px; }
  .card { padding: 15px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 45px; }
  .header-inner { min-height: 70px; gap: 9px; flex-wrap: wrap; }
  .brand { width: 171px; }
  .brand img { width: 171px; height: 42px; }
  .brand .byline { top: 26px; left: 46px; font-size: 9px; }
  .login { min-width: auto; min-height: 44px; padding-inline: 13px; }
  .menu-toggle:not([hidden]) { display: grid; }
  .site-header nav { order: 4; flex-basis: 100%; flex-wrap: wrap; gap: 10px 18px; padding-bottom: 14px; }
  .site-header[data-menu-ready] nav { display: none; }
  .site-header[data-menu-open] nav { display: flex; }
  .hero { padding-block: 23px 37px; min-height: 0; background: #073477; }
  .hero-art { min-height: 112px; max-width: 410px; padding: 10px; gap: 6px; }
  .hero-graphic { display: none; }
  .hero-match { min-height: 56px; }
  .hero-reason { border-radius: 7px; padding-block: 5px; }
  .hero h1 { margin-top: 18px; max-width: 440px; }
  .hero-intro { margin-top: 10px; }
  .hero-list { flex-direction: column; gap: 7px; margin-top: 15px; font-size: 15px; }
  .hero .button { margin-top: 21px; }
  .hero-note { margin-top: 9px; }
  .split, .economics .split, .three, .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-card { flex-direction: column; }
  .meaning-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 11px; }
  .message-demo, .structured-demo { padding: 15px; }
  .flow-arrow { width: 38px; height: 38px; margin-inline: auto; transform: rotate(90deg); }
  .flow-arrow img { width: 20px; height: 20px; }
  .pain h3 { min-height: initial; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 15px; row-gap: 23px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .brand { width: 150px; }
  .brand img { width: 150px; height: 38px; }
  .brand .byline { top: 24px; left: 40px; }
  .actions { align-items: stretch; flex-direction: column; }
  .four, .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
