:root {
  --ink: #111827;
  --ink-soft: #1f2937;
  --paper: #f8f7f4;
  --surface: #eef1f5;
  --white: #ffffff;
  --blue: #2455d6;
  --line: #d5d9e0;
  --sub: #566173;
  --green: #167347;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 "IBM Plex Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 48px)); margin: auto; }
.nav { position: fixed; inset: 0 0 auto; z-index: 10; height: 74px; display: flex; align-items: center; background: var(--ink); color: white; border-bottom: 1px solid #ffffff1f; }
.nav.scrolled { height: 64px; }
.nav-inner { width: min(1180px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; width: auto; height: 42px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; color: #c9d0dc; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; }
.primary { background: var(--blue); color: white; }
.primary:hover, .primary:focus-visible { background: #193fa8; }
.ghost { color: white; }
.dark-ghost { border-color: #ffffff66; color: white; }
.dark-ghost:hover, .dark-ghost:focus-visible { border-color: white; }
.menu { display: none; border: 0; background: transparent; color: white; font-size: 22px; cursor: pointer; }

.hero { padding: 150px 0 92px; background: var(--ink); color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 850px); }
.eyebrow { margin: 0 0 16px; color: #9cb7ff; font: 500 12px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, h4 { font-family: "IBM Plex Sans", sans-serif; line-height: 1.15; }
h1 { max-width: 780px; margin: 0; font-size: clamp(42px, 5.5vw, 70px); font-weight: 600; letter-spacing: -.045em; }
.hero p:not(.eyebrow) { max-width: 680px; margin: 24px 0 30px; color: #d3d8e1; font-size: 18px; }
.hero-actions, .hero-note { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { gap: 22px; margin-top: 26px; color: #b8c1cf; font-size: 13px; }
.hero-note span::before, .plan li::before, .privacy li::before { content: "✓"; margin-right: 7px; color: #91afff; font-weight: 700; }

section { padding: 84px 0; }
.surface { background: var(--surface); }
.section-heading { max-width: 760px; margin: 0 0 44px; text-align: left; }
.section-heading h2 { margin: 0 0 14px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--sub); font-size: 17px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.card { padding: 0; }
.icon { display: flex; align-items: center; height: 32px; margin-bottom: 17px; color: var(--blue); font: 600 17px "IBM Plex Mono", monospace; }
.icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p, .feature p, .sector p { margin: 0; color: var(--sub); font-size: 14px; }

.showcase { background: var(--ink); color: white; }
.showcase .section-heading p:not(.eyebrow) { color: #c4cbd6; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid #ffffff3d; }
.comparison-label { margin-bottom: 12px; color: #b8c1cf; font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.original, .markdown { min-height: 330px; border-radius: 2px; }
.original { padding: 28px; background: #fffef9; color: #64748b; }
.original h4 { margin: 0 0 18px; color: #334155; font-size: 16px; }
.doc-line { height: 5px; margin: 8px 0; background: #d5d9df; }
.mini-table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 11px; }
.mini-table td, .mini-table th { padding: 8px; border: 1px solid #cbd5e1; text-align: left; }
.mini-table th { background: #e2e8f0; color: #334155; }
.markdown { overflow: auto; margin: 0; padding: 28px; background: var(--ink-soft); color: #dbeafe; font: 13px/1.7 "IBM Plex Mono", monospace; white-space: pre-wrap; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); }
.feature { display: grid; grid-template-columns: 38px 1fr; gap: 0 18px; padding: 25px 34px 25px 0; }
.feature:nth-child(even) { padding-left: 34px; }
.feature .icon { grid-row: 1 / 3; width: 28px; height: 28px; margin: 0; }
.feature-icon { display: block; width: 28px; height: 28px; object-fit: contain; filter: invert(29%) sepia(89%) saturate(2490%) hue-rotate(218deg) brightness(87%) contrast(91%); }
.feature h3 { margin: 0 0 7px; font-size: 17px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: white; }
.plan { position: relative; display: flex; flex-direction: column; padding: 31px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: #f0f4ff; }
.plan h3 { margin: 0; font-size: 23px; }
.plan-desc { min-height: 48px; margin: 10px 0 18px; color: var(--sub); font-size: 14px; }
.price { margin: 0 0 24px; font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.price small { color: var(--sub); font-size: 14px; font-weight: 400; }
.plan ul { flex: 1; margin: 0 0 26px; padding: 0; list-style: none; color: #374151; font-size: 14px; }
.plan li { margin-bottom: 12px; }
.plan li::before { display: inline-block; width: 20px; color: var(--green); }
.plan .button { width: 100%; }

.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 42px; }
.sector { display: block; padding: 18px 0; }
.sector .icon { display: none; }
.sector h3 { margin: 0 0 6px; font-size: 17px; }
.privacy { background: var(--ink-soft); color: white; }
.privacy-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 8px 0; }
.privacy h2 { margin: 0 0 14px; font-size: 36px; }
.privacy p:not(.eyebrow) { max-width: 760px; margin: 0 0 24px; color: #d1d5db; }
.privacy ul { margin: 0; padding: 0; list-style: none; }
.privacy li { margin: 9px 0; font-weight: 600; }
.privacy-symbol { color: #93c5fd; font-size: 64px; }

.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.answer { padding: 0 34px 22px 0; color: var(--sub); }

.cta { background: var(--ink); color: white; text-align: left; }
.cta h2 { max-width: 790px; margin: 0 0 18px; font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -.04em; }
footer { padding: 48px 0 28px; background: var(--ink-soft); color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand + p { max-width: 350px; margin: 14px 0 0; color: #aab4c4; font-size: 14px; }
.footer-title { margin: 0 0 15px; color: white; font-size: 14px; }
.footer-links { display: grid; gap: 9px; color: #aab4c4; font-size: 14px; }
.footer-links a:hover { color: white; }
.icon-credit { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #ffffff1a; color: #94a3b8; font-size: 12px; }
.cookie-bar { position: fixed; right: 20px; bottom: 20px; z-index: 15; display: none; max-width: 470px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 13px; }
.cookie-inner { display: flex; align-items: center; gap: 14px; }
.cookie-inner p { margin: 0; color: var(--sub); }
.cookie-inner a { color: var(--blue); text-decoration: underline; }
.cookie-inner button { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 3px; background: var(--blue); color: white; cursor: pointer; font-size: 12px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .nav.menu-open { height: auto; min-height: 74px; align-items: flex-start; }
  .nav.menu-open .nav-inner { flex-wrap: wrap; padding: 20px 0; }
  .nav.menu-open .nav-links { order: 3; display: grid; width: 100%; gap: 14px; padding-top: 12px; }
  .cards3, .comparison, .plans { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 0; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .privacy-symbol { display: none; }
}
@media (max-width: 600px) {
  .container, .nav-inner { width: min(100% - 32px, 1180px); }
  .nav-actions .ghost { display: none; }
  .nav-actions .button { padding: 10px 12px; }
  .hero { padding: 122px 0 72px; }
  .hero p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  section { padding: 68px 0; }
  .features, .sectors, .footer-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding: 22px 0; }
  .footer-grid { gap: 28px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .cookie-bar { right: 12px; bottom: 12px; left: 12px; }
  .cookie-inner { align-items: flex-start; }
  .original, .markdown { min-height: 270px; }
}
