/* ExamEngine marketing site — shared styles */
:root {
  --ink: #0E1116;
  --ink-2: #292524;
  --text: #0E1116;
  --muted: #44403C;
  --subtle: #57534E;
  --line: #E7E5E4;
  --line-2: #D6D3D1;
  --bg: #F7F8F6;
  --surface: #FFFFFF;
  --surface-2: #F5F5F4;
  --accent: #0F766E;
  --accent-hover: #115E59;
  --accent-soft: #F0FDFA;
  --accent-line: #CCFBF1;
  --accent-bright: #5EEAD4;
  --promo: #FBBF24;
  --ok: #15803D;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0; }
.dark .eyebrow { color: var(--accent-bright); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; margin: 0; }
.dark .lead { color: #D6D3D1; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.head-block { max-width: 760px; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.head-block.center { margin-left: auto; margin-right: auto; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; padding: 15px 24px; min-height: 48px; border-radius: 12px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { font-size: 15px; padding: 10px 16px; min-height: 44px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Promo bar */
.promo-bar { background: var(--promo); color: #1C1917; font-size: 14px; padding: 11px 24px; text-align: center; }
.promo-bar a { color: #1C1917; font-weight: 700; margin-left: 10px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.main-nav { display: flex; gap: 26px; flex: 1 1 auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .login { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line-2); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-actions { display: none; }
  .site-header.open .header-inner { flex-wrap: wrap; padding-bottom: 16px; }
  .site-header.open .main-nav { display: flex; flex-direction: column; gap: 4px; width: 100%; order: 3; }
  .site-header.open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .header-actions { display: flex; width: 100%; order: 4; }
  .site-header.open .header-actions .btn { flex: 1; }
}

/* Page hero (internal pages) */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 72px 0 64px; }
.page-hero .container { display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.page-hero.center .container { align-items: center; text-align: center; }
.breadcrumb { font-size: 14px; color: var(--subtle); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--subtle); text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--accent-soft); color: var(--accent-hover); border: 1px solid var(--accent-line); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.center .pill { align-self: center; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.center .checks-inline { justify-content: center; }

/* Home hero */
.home-hero { background: #fff; padding: 80px 0 0; }
.home-hero .intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 980px; margin: 0 auto 48px; }

/* Dashboard mockup */
.mock { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mock-frame { background: var(--ink); border-radius: 22px 22px 0 0; padding: 14px 14px 0; box-shadow: 0 -20px 60px -30px rgba(14,17,22,.35); }
.mock-dots { display: flex; gap: 6px; padding: 0 6px 12px; }
.mock-dots span { width: 11px; height: 11px; border-radius: 50%; background: #44403C; }
.mock-app { background: #FAFAF9; border-radius: 12px 12px 0 0; display: flex; min-height: 440px; overflow: hidden; }
.mock-side { flex: 0 0 220px; background: #fff; border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.mock-side .store { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.mock-side .store small { display: block; font-size: 11px; color: var(--subtle); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.mock-side span.item { padding: 9px 12px; border-radius: 8px; color: var(--muted); }
.mock-side span.item.active { background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; }
.mock-main { flex: 1 1 auto; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: 20px; }
.tag { display: inline-block; font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 5px 9px; border-radius: 6px; letter-spacing: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi .l { font-size: 12px; color: var(--subtle); }
.kpi .v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; }
.kpi .d { font-size: 12px; font-weight: 600; color: var(--ok); }
.mock-panels { display: flex; flex-wrap: wrap; gap: 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.panel.chart { flex: 3 1 320px; }
.panel.orders { flex: 2 1 240px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.bars span { flex: 1; background: #99F6E4; border-radius: 4px 4px 0 0; }
.bars span:last-child { background: var(--accent); }
.order-row { display: flex; justify-content: space-between; border-top: 1px solid var(--surface-2); padding-top: 8px; }
@media (max-width: 760px) { .mock-side { display: none; } }

/* Proof band */
.band { background: var(--ink); color: #E7E5E4; }
.band .grid { padding-top: 30px; padding-bottom: 30px; }
.band strong { display: block; font-family: var(--display); font-size: 22px; color: #fff; }
.band span { font-size: 14px; color: #A8A29E; }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-family: var(--font); font-size: 20px; letter-spacing: -0.01em; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card.compact { padding: 20px; border-radius: 14px; gap: 6px; }
.card.compact h3 { font-size: 16px; }
.card.compact p { font-size: 14px; }
.icon-box { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); padding: 5px 9px; border-radius: 6px; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.dark .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

/* Dark block */
.dark-block { background: var(--ink); color: #FAFAF9; border-radius: 26px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 32px; }
.dark-block .card { background: #1C1917; border-color: #292524; }
.dark-block .card p { color: #D6D3D1; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.timeline .step { border-top: 3px solid var(--accent-bright); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.timeline .step:last-child { border-top-color: var(--promo); }
.timeline .when { font-size: 13px; font-weight: 700; color: var(--accent-bright); }
.timeline h3 { font-family: var(--font); font-size: 19px; letter-spacing: 0; }
.timeline p { margin: 0; color: #D6D3D1; font-size: 15px; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab { font: inherit; font-size: 15px; font-weight: 600; padding: 12px 20px; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.flow { background: var(--surface-2); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.flow-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.flow-step { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 500; }
.num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Pricing */
.billing { display: inline-flex; background: var(--line); border-radius: 999px; padding: 4px; }
.billing button { font: inherit; font-size: 14px; font-weight: 600; border: 0; border-radius: 999px; padding: 10px 18px; min-height: 40px; cursor: pointer; background: transparent; color: var(--ink); }
.billing button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { background: var(--ink); color: #FAFAF9; border-color: var(--ink); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.plan-name { font-size: 19px; font-weight: 700; }
.badge { font-size: 12px; font-weight: 700; background: var(--promo); color: #1C1917; padding: 5px 10px; border-radius: 999px; }
.plan-desc { font-size: 14px; opacity: .85; min-height: 42px; margin: 0; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price .unit { font-size: 14px; opacity: .8; }
.plan-promo { font-size: 13px; font-weight: 600; color: #B45309; }
.plan.featured .plan-promo { color: var(--promo); }
.limits { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.plan.featured .limits { border-top-color: #292524; }
.limits li { display: flex; justify-content: space-between; gap: 8px; }
.limits li span:first-child { opacity: .8; }
.limits li span:last-child { font-weight: 700; }
.plan .btn { margin-top: auto; }

/* Table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--surface-2); }
table.compare thead th { text-align: center; font-size: 14px; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
table.compare tbody th { font-weight: 500; color: var(--muted); }
table.compare tr.group th { background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
table.compare td { text-align: center; font-weight: 600; }
.yes { color: var(--ok); }
.no { color: #A8A29E; }

/* Partner / soft block */
.soft-block { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 26px; padding: clamp(28px, 5vw, 52px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.soft-block > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perk { background: #fff; border-radius: 16px; padding: 20px; }
.perk strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--accent); }
.perk span { font-size: 14px; color: var(--ink-2); }

/* Placeholder story */
.story { background: #fff; border: 1.5px dashed var(--line-2); border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.story blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.3; }
.stat-box { background: var(--surface-2); border-radius: 14px; padding: 18px; }
.stat-box strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; }
.stat-box span { font-size: 13px; color: var(--muted); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-wrap: wrap; }
.form-aside { flex: 1 1 380px; background: var(--ink); color: #FAFAF9; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.form-aside p { margin: 0; color: #D6D3D1; }
.form-aside .foot { margin-top: auto; border-top: 1px solid #292524; padding-top: 18px; font-size: 14px; color: #A8A29E; }
.form-aside a { color: var(--accent-bright); }
form.form { flex: 1.2 1 420px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field.full, .form .full { grid-column: 1 / -1; }
.field .hint { font-weight: 400; color: var(--subtle); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-line); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--subtle); }
.form-success { grid-column: 1 / -1; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-hover); border-radius: 12px; padding: 16px; font-weight: 600; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--subtle); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* CTA */
.cta { background: var(--accent); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta p { margin: 8px 0 0; color: #CCFBF1; font-size: 17px; }

/* Split feature rows */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.split:last-child { border-bottom: 0; }
.split > div { flex: 1 1 400px; display: flex; flex-direction: column; gap: 14px; }
.split.reverse { flex-direction: row-reverse; }
.visual { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.visual .line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.visual .line strong { font-weight: 700; }
.status { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #DCFCE7; color: #166534; }
.status.warn { background: #FEF3C7; color: #92400E; }

/* Footer */
.site-footer { background: var(--ink); color: #D6D3D1; margin-top: 0; }
.footer-inner { padding: 60px 24px 32px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-cols > div { flex: 1 1 150px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-cols .about { flex: 2 1 280px; line-height: 1.6; }
.footer-cols strong { color: #fff; font-weight: 600; }
.footer-cols a { color: #D6D3D1; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; }
.footer-legal { font-size: 13px; color: #A8A29E; border-top: 1px solid #292524; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
table.compare thead th:first-child { text-align: left; }


/* ================================================================
   EE-PUBLIC-PLESK-R2-R2-UI-R1 — PHP production bridge
   Visual authority: ExamEngine website-design PDF/static template.
   Preserves current URLs, backend forms, pricing sync and analytics.
   ================================================================ */

:root {
  --font: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Current PHP layout aliases */
.shell, .container { max-width: var(--max); width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding-left: 0; padding-right: 0; }
.shell.narrow, .narrow { max-width: 860px; }
body { background: var(--bg); }
a { text-underline-offset: 3px; }

/* Legacy button classes -> R2 design system */
.button { display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:700;font-size:16px;padding:15px 24px;min-height:48px;border-radius:12px;border:1.5px solid transparent;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .15s; }
.button:hover { transform:none; }
.button.primary { background:var(--accent);color:#fff;box-shadow:none; }
.button.primary:hover { background:var(--accent-hover);color:#fff; }
.button.light,.button.secondary { background:#fff;color:var(--ink);border-color:var(--line-2);box-shadow:none; }
.button.light:hover,.button.secondary:hover { border-color:var(--ink);color:var(--ink); }
.button.dark { background:var(--ink);color:#fff; }
.button.large { padding:15px 24px; }
.button.compact,.button.small { min-height:42px;padding:10px 16px;font-size:14px; }

/* New header keeps existing data hooks and CSP-safe local assets. */
.promo-bar { position:relative;z-index:60; }
.site-header { top:0; }
.header-inner { min-height:72px;height:auto; }
.brand-mark.ee-brand-mark { overflow:hidden;background:#0E1116; }
.brand-mark.ee-brand-mark img { width:100%;height:100%;object-fit:cover;display:block; }
.brand-copy-r2 { font-family:var(--display);font-weight:800;font-size:21px;letter-spacing:-.02em;color:var(--ink); }
.main-nav { margin-left:0; }
.header-actions .text-link { color:var(--ink);font-weight:500;padding:10px 12px; }
.header-actions .button { font-size:15px;padding:10px 16px;min-height:44px; }
.nav-toggle span { width:22px;height:2px;background:var(--ink);display:block;margin:4px 0; }

/* Current public page typography */
.hero h1,.page-hero h1,.section-heading h1 { font-family:var(--display);font-weight:800;color:var(--ink); }
.page-hero { background:#fff;border-bottom:1px solid var(--line);padding:72px 0 64px; }
.page-hero.compact { padding:64px 0 54px; }
.page-hero .shell { display:flex;flex-direction:column;gap:16px; }
.page-hero h1 { font-size:clamp(38px,5vw,60px);line-height:1.05;letter-spacing:-.04em;margin:0; }
.page-hero .lead { color:var(--muted);font-size:19px;line-height:1.6; }
.eyebrow,.small-kicker { color:var(--accent);font-size:13px;font-weight:700;letter-spacing:.08em; }
.section-heading h2 { font-family:var(--display);font-size:clamp(30px,4vw,46px);font-weight:800;letter-spacing:-.03em;line-height:1.08;margin:8px 0 12px; }
.section-heading p { color:var(--muted);font-size:17px;line-height:1.6; }

/* Existing generic capability cards */
.capability-grid,.partner-cap-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }
.capability-card { background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:none;display:flex;flex-direction:column;gap:10px; }
.capability-card .cap-icon { width:44px;height:44px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px; }
.capability-card h3 { font-family:var(--font);font-size:20px;letter-spacing:-.01em;margin:4px 0 0; }
.capability-card p { color:var(--muted);font-size:15px;line-height:1.6;margin:0; }
.capability-card a { margin-top:auto;font-weight:700;text-decoration:none; }

/* Existing commercial flow -> dark timeline from supplied design */
.partner-steps,.journey-section { background:transparent; }
.commercial-flow { background:var(--ink);color:#fff;border-radius:26px;padding:38px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px; }
.commercial-flow > div { border-top:3px solid var(--accent-bright);padding-top:18px;display:flex;flex-direction:column;gap:7px; }
.commercial-flow > div:last-of-type { border-top-color:var(--promo); }
.commercial-flow > i { display:none; }
.commercial-flow span { color:var(--accent-bright);font-size:12px;font-weight:800; }
.commercial-flow b { font-size:17px; }
.commercial-flow small { color:#D6D3D1;font-size:13px;line-height:1.5; }

/* Old CTA -> teal supplied-design CTA */
.cta-section { background:transparent;padding:24px 0 72px; }
.modern-cta { background:var(--accent);color:#fff;border-radius:26px;padding:clamp(32px,5vw,56px);box-shadow:none;display:flex;align-items:center;justify-content:space-between;gap:28px; }
.modern-cta .eyebrow { color:#CCFBF1; }
.modern-cta h2 { color:#fff;font-size:clamp(28px,3.4vw,40px);margin:8px 0; }
.modern-cta p { color:#CCFBF1;font-size:17px;line-height:1.6;margin:0; }
.modern-cta .button.primary,.modern-cta .button.light { background:#fff;color:var(--ink);border-color:#fff; }

/* Platform/features page bridge */
.ee-r4a { background:var(--bg); }
.ee-r4a-hero { background:#fff;border-bottom:1px solid var(--line);padding:72px 0 64px; }
.ee-r4a-hero-grid,.ee-r4a-split { display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center; }
.ee-r4a-hero h1 { font-family:var(--display);font-size:clamp(38px,5vw,60px);line-height:1.05;letter-spacing:-.04em;margin:14px 0 18px; }
.ee-r4a-copy,.ee-r4a-hero .lead { color:var(--muted);font-size:17px;line-height:1.65; }
.ee-r4a-actions { display:flex;gap:12px;flex-wrap:wrap;margin-top:24px; }
.ee-r4a-pills { display:flex;gap:8px;flex-wrap:wrap;margin-top:22px; }
.ee-r4a-pills span { background:var(--accent-soft);color:var(--accent-hover);border:1px solid var(--accent-line);padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700; }
.ee-r4a-visual { margin:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px; }
.ee-r4a-visual img { display:block;width:100%;height:auto;border-radius:12px; }
.ee-r4a-visual figcaption { color:var(--subtle);font-size:12px;margin-top:10px; }
.ee-r4a-strip { background:var(--ink);color:#fff;padding:20px 0; }
.ee-r4a-strip .shell { display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap; }
.ee-r4a-strip span { font-weight:700;font-size:14px; }
.ee-r4a-strip i { color:var(--accent-bright);font-style:normal; }
.ee-r4a-section { background:transparent; }
.ee-r4a-soft { background:#F3F4F1; }
.ee-r4a-navy { background:var(--ink);color:#fff; }
.ee-r4a-navy .ee-r4a-copy,.ee-r4a-navy p,.ee-r4a-navy span { color:#D6D3D1; }
.ee-r4a-navy .eyebrow { color:var(--accent-bright); }
.ee-r4a-grid3,.ee-r4a-grid4,.ee-r4a-feature-grid { display:grid;gap:18px; }
.ee-r4a-grid3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ee-r4a-grid4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ee-r4a-feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ee-r4a-card,.ee-r4a-feature,.ee-r4a-mini-grid > div { background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:none; }
.ee-r4a-card h3,.ee-r4a-feature h3 { margin:8px 0;font-size:19px; }
.ee-r4a-card p,.ee-r4a-feature p { color:var(--muted);line-height:1.6;font-size:14px; }
.ee-r4a-card ul,.ee-r4a-checks { margin:12px 0 0;padding-left:20px;color:var(--muted); }
.ee-r4a-number { color:var(--accent);font-weight:800;font-size:12px; }
.ee-r4a-mini-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.ee-r4a-mini-grid strong,.ee-r4a-mini-grid span { display:block; }
.ee-r4a-mini-grid span { margin-top:5px;color:var(--muted);font-size:13px; }
.ee-r4a-journey { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px; }
.ee-r4a-journey > div { background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px; }
.ee-r4a-journey b,.ee-r4a-journey strong,.ee-r4a-journey span { display:block; }
.ee-r4a-journey b { color:var(--accent);font-size:12px; }
.ee-r4a-journey span { color:var(--muted);font-size:12px;margin-top:4px; }

/* Dynamic pricing: keep data/JS authority, use supplied design card language */
.ee-pricing-page { background:var(--bg)!important; }
.ee-pricing-hero { background:#fff!important;padding:72px 0 40px!important; }
.ee-pricing-content { padding-top:28px!important; }
.ee-pricing-grid { display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important; }
.ee-pricing-card { background:#fff!important;border:1px solid var(--line)!important;border-radius:22px!important;padding:28px!important;box-shadow:none!important;gap:14px!important; }
.ee-pricing-card.is-featured { background:var(--ink)!important;color:#FAFAF9!important;border-color:var(--ink)!important; }
.ee-pricing-card.is-featured .ee-pricing-card-head h2,.ee-pricing-card.is-featured .ee-pricing-server-price { color:#fff!important; }
.ee-pricing-card.is-featured .ee-pricing-card-head p,.ee-pricing-card.is-featured .ee-pricing-server-term,.ee-pricing-card.is-featured .ee-pricing-server-meta,.ee-pricing-card.is-featured .ee-pricing-features li { color:#D6D3D1!important; }
.ee-pricing-card-head { min-height:auto!important; }
.ee-pricing-card-head h2 { font-size:20px!important;color:var(--ink)!important;margin:8px 0!important; }
.ee-pricing-card-head p { min-height:0!important;color:var(--muted)!important; }
.ee-pricing-placeholder { margin:8px 0 4px!important; }
.ee-pricing-server-price { font-family:var(--display);font-size:40px!important;font-weight:800!important;color:var(--ink)!important; }
.ee-pricing-server-term,.ee-pricing-server-meta { font-size:13px!important;color:var(--muted)!important; }
.ee-pricing-features { min-height:0!important;margin:10px 0 18px!important; }
.ee-pricing-features li { color:var(--muted)!important;font-size:14px!important; }
.ee-pricing-native-badge { top:-13px!important;right:18px!important;background:var(--promo)!important;color:#1C1917!important;box-shadow:none!important; }
.ee-pricing-card-action .button { width:100%; }
.ee-pricing-card.is-featured .ee-pricing-card-action .button { background:#fff;color:var(--ink); }
.ee-pricing-note,.ee-pricing-noscript,.ee-pricing-empty { border:1px solid var(--line)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important;color:var(--muted)!important; }

/* Contact page -> supplied design two-panel composition */
.r2hf2-contact-page { background:var(--bg); }
.r2hf2-contact-shell { display:grid!important;grid-template-columns:.82fr 1.18fr;gap:0!important;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden; }
.r2hf2-contact-copy { background:var(--ink);color:#fff;padding:clamp(30px,4vw,48px); }
.r2hf2-contact-copy .eyebrow { color:var(--accent-bright); }
.r2hf2-contact-copy h2 { font-family:var(--display);font-size:clamp(28px,3.5vw,42px);margin:8px 0 14px; }
.r2hf2-contact-copy p { color:#D6D3D1; }
.r2hf2-route-list { display:grid;gap:10px;margin:24px 0; }
.r2hf2-route-card { border:1px solid #292524;border-radius:12px;padding:14px 16px;background:#1C1917; }
.r2hf2-route-card strong,.r2hf2-route-card span { display:block; }
.r2hf2-route-card span { color:#D6D3D1;font-size:13px;margin-top:4px; }
.r2hf2-contact-copy .text-link { color:var(--accent-bright); }
.r2hf2-contact-shell > .form-card { border:0!important;border-radius:0!important;box-shadow:none!important;padding:clamp(24px,4vw,44px)!important;display:block!important; }
.form-card.wide { max-width:none!important;margin:0!important; }
.form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.form-grid label { display:flex!important;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin:0!important; }
.form-grid input,.form-grid select,.form-grid textarea { min-height:48px;border:1.5px solid var(--line-2);border-radius:10px;padding:12px 14px; }
.form-grid textarea { min-height:120px; }
.r2hf2-span-2 { grid-column:1/-1; }
.r2hf2-consent { grid-column:1/-1!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:start; }
.r2hf2-consent input { width:18px!important;height:18px;min-height:0;margin-top:2px; }
.r2hf3-privacy-trigger { border:0;background:none;color:var(--accent);padding:0;text-decoration:underline;cursor:pointer; }
.form-privacy-note { color:var(--subtle);display:block;margin-top:12px; }

/* Demo page supplied two-panel form */
.ee-demo-wrap { background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;display:grid;grid-template-columns:.82fr 1.18fr; }
.ee-demo-aside { background:var(--ink);color:#fff;padding:clamp(30px,4vw,48px);display:flex;flex-direction:column;gap:16px; }
.ee-demo-aside .eyebrow { color:var(--accent-bright); }
.ee-demo-aside h2 { font-family:var(--display);font-size:clamp(28px,3.5vw,42px);margin:0; }
.ee-demo-aside p { color:#D6D3D1;margin:0; }
.ee-demo-aside .check-list li { color:#F5F5F4; }
.ee-demo-form { border:0!important;border-radius:0!important;box-shadow:none!important;padding:clamp(24px,4vw,44px)!important; }

/* Security redesigned composition */
.ee-security-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
.ee-security-grid .card { min-height:150px; }
.ee-security-splits .split { padding:52px 0; }
.ee-security-splits .visual { min-height:210px;justify-content:center; }

/* About page */
.ee-about-team { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
.ee-about-person { background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px; }
.ee-about-avatar { aspect-ratio:4/3;border-radius:12px;background:linear-gradient(145deg,#F0FDFA,#E7E5E4);margin-bottom:16px;display:grid;place-items:center;color:var(--accent);font-size:28px;font-weight:800; }
.ee-about-person h3 { margin:0 0 4px;font-size:17px; }
.ee-about-person p { margin:0;color:var(--muted);font-size:13px; }

/* Footer new structure */
.site-footer { padding:0!important; }
.footer-inner { max-width:var(--max);width:min(var(--max),calc(100% - 48px));margin:0 auto; }
.footer-cols .about p { color:#A8A29E;margin:0; }
.footer-candidate-link { color:#D6D3D1; }

/* Honeypots remain off-screen/non-focusable */
.form-trap,.hp { position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important; }

@media (max-width:1050px) {
  .ee-pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .ee-r4a-grid4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ee-security-grid,.ee-about-team { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:960px) {
  .main-nav.open { display:flex;flex-direction:column;gap:4px;width:100%;order:3; }
  .header-inner { flex-wrap:wrap; }
  .header-actions { width:100%;order:4; }
  .header-actions .button { flex:1; }
  .ee-r4a-hero-grid,.ee-r4a-split { grid-template-columns:1fr; }
  .ee-r4a-grid3,.ee-r4a-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .commercial-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .r2hf2-contact-shell,.ee-demo-wrap { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .shell,.container,.footer-inner { width:min(100% - 28px,var(--max)); }
  .promo-bar { padding:9px 14px;font-size:12px; }
  .section { padding:64px 0; }
  .home-hero { padding-top:56px; }
  .h1 { font-size:clamp(38px,12vw,54px); }
  .mock { padding:0 14px; }
  .mock-frame { border-radius:18px 18px 0 0; }
  .mock-app { min-height:360px; }
  .mock-main { padding:16px; }
  .kpis { grid-template-columns:repeat(2,1fr); }
  .kpi:nth-child(n+3) { display:none; }
  .panel.orders { display:none; }
  .capability-grid,.partner-cap-grid,.ee-r4a-grid3,.ee-r4a-grid4,.ee-r4a-feature-grid,.ee-security-grid,.ee-about-team,.ee-pricing-grid { grid-template-columns:1fr!important; }
  .ee-r4a-mini-grid,.ee-r4a-journey,.commercial-flow,.form-grid { grid-template-columns:1fr; }
  .r2hf2-span-2 { grid-column:auto; }
  .modern-cta { display:block; }
  .cta-actions { margin-top:22px; }
}


/* HF1 — restore canonical ExamEngine logo assets in redesigned header/footer. */
.ee-brand-image-link { display:inline-flex; align-items:center; flex:none; text-decoration:none; }
.ee-original-logo { display:block; width:auto; object-fit:contain; }
.brand-logo-header.ee-original-logo { height:48px; max-width:220px; }
.footer-brand-image-link { display:inline-flex; align-items:center; width:max-content; max-width:100%; margin-bottom:4px; }
.brand-logo-footer.ee-original-logo { height:44px; max-width:220px; }
@media (max-width: 760px) {
  .brand-logo-header.ee-original-logo { height:40px; max-width:184px; }
  .brand-logo-footer.ee-original-logo { height:40px; max-width:190px; }
}

/* EE-PUBLIC-PLESK-R2-R2-UI-R1-HF2 — pricing controls aligned to supplied PDF */
.ee10-termbar{
  background:#E7E5E4!important;
  border-color:#E7E5E4!important;
  box-shadow:none!important;
  border-radius:999px!important;
}
.ee10-termbar button{
  color:var(--ink)!important;
  border-radius:999px!important;
  box-shadow:none!important;
}
.ee10-termbar button:hover{
  background:#F5F5F4!important;
  color:var(--ink)!important;
}
.ee10-termbar button[aria-pressed="true"]{
  background:#fff!important;
  color:var(--ink)!important;
  box-shadow:0 1px 3px rgba(14,17,22,.14)!important;
}
.ee10-badge,
.ee-pricing-native-badge{
  background:var(--promo)!important;
  color:#1C1917!important;
  box-shadow:none!important;
  border:0!important;
}
.ee-pricing-card-action .button.primary,
.ee10-card .ee-pricing-card-action .button{
  background:var(--ink)!important;
  border-color:var(--ink)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.ee-pricing-card-action .button.primary:hover,
.ee10-card .ee-pricing-card-action .button:hover{
  background:#000!important;
  border-color:#000!important;
  color:#fff!important;
}
.ee-pricing-card.is-featured .ee-pricing-card-action .button,
.ee10-card.ee10-featured .ee-pricing-card-action .button{
  background:#fff!important;
  border-color:#fff!important;
  color:var(--ink)!important;
}
.ee-pricing-card.is-featured .ee-pricing-card-action .button:hover,
.ee10-card.ee10-featured .ee-pricing-card-action .button:hover{
  background:#F5F5F4!important;
  border-color:#F5F5F4!important;
  color:var(--ink)!important;
}
.ee-pricing-card.is-featured .ee10-price,
.ee10-card.ee10-featured .ee10-price{
  color:#fff!important;
}
.ee-pricing-card.is-featured .ee10-price-term,
.ee-pricing-card.is-featured .ee10-equiv,
.ee10-card.ee10-featured .ee10-price-term,
.ee10-card.ee10-featured .ee10-equiv{
  color:#D6D3D1!important;
}
.ee10-card.ee10-featured{
  border-color:var(--ink)!important;
  box-shadow:none!important;
}


/* EE-PUBLIC-PLESK-R2-R2-UI-R1-HF3 — footer, pricing badge and About refinements */
.site-footer{
  background:#000!important;
}
.footer-inner{
  padding-top:54px!important;
  padding-bottom:26px!important;
}
.footer-brand-image-link{
  margin-bottom:10px!important;
}
.brand-logo-footer.ee-original-logo{
  display:block;
  width:auto!important;
  height:46px!important;
  max-width:230px!important;
  object-fit:contain;
  border-radius:0!important;
  background:transparent!important;
}
.footer-cols .about p{
  max-width:390px;
  line-height:1.65;
}
.footer-legal{
  justify-content:flex-start!important;
}
.footer-candidate-link{display:none!important;}

/* One authoritative Most Popular badge only. */
.ee-pricing-native-badge{
  left:26px!important;
  right:auto!important;
  top:-14px!important;
  z-index:4;
}
.ee-pricing-card.is-featured > .ee10-badge{
  display:none!important;
}

/* About: illustrated responsibility cards instead of placeholder initials. */
.ee-about-capabilities .head-block{
  max-width:880px;
}
.ee-about-team{
  align-items:stretch;
}
.ee-about-person{
  padding:0!important;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ee-about-person:hover{
  transform:translateY(-3px);
  border-color:#c8d8d3;
  box-shadow:0 18px 36px rgba(14,17,22,.07);
}
.ee-about-visual{
  min-height:170px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.ee-about-visual:before,
.ee-about-visual:after{
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.55);
}
.ee-about-visual:before{
  width:120px;height:120px;right:-28px;top:-30px;
}
.ee-about-visual:after{
  width:74px;height:74px;left:-18px;bottom:-28px;
}
.ee-about-visual svg{
  width:78px;
  height:78px;
  fill:none;
  stroke:#087f73;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
  position:relative;
  z-index:1;
}
.ee-about-visual-product{background:linear-gradient(135deg,#effcf8 0%,#e4f2ef 100%);}
.ee-about-visual-assessment{background:linear-gradient(135deg,#f3f8ff 0%,#e8eef7 100%);}
.ee-about-visual-partner{background:linear-gradient(135deg,#fff8e8 0%,#f5eee1 100%);}
.ee-about-visual-security{background:linear-gradient(135deg,#f2f7f4 0%,#e7ede9 100%);}
.ee-about-card-copy{
  padding:22px 22px 24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.ee-about-kicker{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.ee-about-card-copy h3{
  margin:0 0 8px!important;
  font-size:19px!important;
  line-height:1.25;
}
.ee-about-card-copy p{
  margin:0!important;
  color:var(--muted)!important;
  font-size:14px!important;
  line-height:1.65;
}

@media(max-width:760px){
  .brand-logo-footer.ee-original-logo{height:42px!important;max-width:205px!important;}
  .ee-about-visual{min-height:145px;}
  .ee-about-card-copy{padding:20px;}
}

/* EE-PUBLIC-PLESK-R2-R2-UI-R1-HF4 — all-pages contrast / text-visibility repair */

/* Home dark operating-path panel: never inherit the light-page muted text token. */
.dark-block .head-block .lead,
.dark-block .head-block > p:not(.eyebrow),
.dark-block > .head-block .lead {
  color:#D6D3D1 !important;
  -webkit-text-fill-color:#D6D3D1 !important;
  opacity:1 !important;
}
.dark-block .head-block .h2,
.dark-block .head-block h2 {
  color:#FAFAF9 !important;
  -webkit-text-fill-color:#FAFAF9 !important;
}
.dark-block .head-block .eyebrow {
  color:var(--accent-bright) !important;
  -webkit-text-fill-color:var(--accent-bright) !important;
}

/* White cards placed inside dark Platform/Features sections need their own text authority. */
.ee-r4a-navy .ee-r4a-card,
.ee-r4a-navy .ee-r4a-mini-grid > div,
.ee-r4a-navy .ee-r4a-journey > div {
  color:var(--ink) !important;
  -webkit-text-fill-color:var(--ink) !important;
}
.ee-r4a-navy .ee-r4a-card h1,
.ee-r4a-navy .ee-r4a-card h2,
.ee-r4a-navy .ee-r4a-card h3,
.ee-r4a-navy .ee-r4a-card h4,
.ee-r4a-navy .ee-r4a-card strong,
.ee-r4a-navy .ee-r4a-card b,
.ee-r4a-navy .ee-r4a-mini-grid > div h1,
.ee-r4a-navy .ee-r4a-mini-grid > div h2,
.ee-r4a-navy .ee-r4a-mini-grid > div h3,
.ee-r4a-navy .ee-r4a-mini-grid > div strong,
.ee-r4a-navy .ee-r4a-mini-grid > div b,
.ee-r4a-navy .ee-r4a-journey > div strong,
.ee-r4a-navy .ee-r4a-journey > div b {
  color:var(--ink) !important;
  -webkit-text-fill-color:var(--ink) !important;
  background-image:none !important;
  opacity:1 !important;
}
.ee-r4a-navy .ee-r4a-card p,
.ee-r4a-navy .ee-r4a-card li,
.ee-r4a-navy .ee-r4a-card span:not(.ee-r4a-number),
.ee-r4a-navy .ee-r4a-mini-grid > div span,
.ee-r4a-navy .ee-r4a-journey > div span {
  color:var(--muted) !important;
  -webkit-text-fill-color:var(--muted) !important;
  opacity:1 !important;
}
.ee-r4a-navy .ee-r4a-card .ee-r4a-number,
.ee-r4a-navy .ee-r4a-journey > div > b {
  color:var(--accent) !important;
  -webkit-text-fill-color:var(--accent) !important;
}

/* Transparent cards/items on a dark section stay intentionally light. */
.ee-r4a-navy .ee-r4a-feature-grid > article {
  color:#FAFAF9 !important;
  -webkit-text-fill-color:#FAFAF9 !important;
}
.ee-r4a-navy .ee-r4a-feature-grid > article h3,
.ee-r4a-navy .ee-r4a-feature-grid > article strong,
.ee-r4a-navy .ee-r4a-feature-grid > article b {
  color:#FAFAF9 !important;
  -webkit-text-fill-color:#FAFAF9 !important;
}
.ee-r4a-navy .ee-r4a-feature-grid > article p {
  color:#D6D3D1 !important;
  -webkit-text-fill-color:#D6D3D1 !important;
}

/* Generic light-surface content guards used across Home, Security, About, Contact and Demo. */
.card:not(.plan):not(.ee-pricing-card),
.visual,
.tabpanel,
.flow-step,
.ee-about-person,
.ee-security-grid .card {
  text-shadow:none !important;
}
.card:not(.plan):not(.ee-pricing-card) > h3,
.card:not(.plan):not(.ee-pricing-card) > h4,
.visual h3,
.tabpanel h3,
.flow-step,
.ee-about-person h3,
.ee-security-grid .card h3 {
  background-image:none !important;
  opacity:1 !important;
}

/* Do not let text-selection/gradient treatments leak into normal card copy. */
.ee-r4a-card *,
.ee-r4a-mini-grid > div *,
.ee-about-person *,
.ee-security-grid .card * {
  background-clip:border-box;
  -webkit-background-clip:border-box;
}

@media (max-width:640px) {
  .dark-block .head-block .lead { font-size:16px; line-height:1.65; }
}

/* EE-PUBLIC-PLESK-R2-R4-R1 — SEO FAQ and verified Security & Trust presentation */
.ee-pricing-faq-section,
.ee-security-faq-section{padding-top:40px!important;}
.ee-pricing-faq-heading,
.ee-security-proof-heading{max-width:840px;margin-left:auto;margin-right:auto;}
.ee-pricing-faq,
.ee-security-faq{max-width:900px;margin:28px auto 0;}
.ee-pricing-faq details,
.ee-security-faq details{box-shadow:none;}
.ee-pricing-faq summary,
.ee-security-faq summary{color:var(--ink);font-weight:700;}
.ee-pricing-faq p,
.ee-security-faq p{color:var(--muted)!important;}

.ee-security-trust-page{background:var(--bg);}
.ee-security-trust-hero{background:linear-gradient(180deg,#fff 0%,#f6f7f4 100%);}
.ee-security-proof-grid .card{position:relative;overflow:hidden;}
.ee-security-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.06em;margin-bottom:8px;}
.ee-security-proof-grid .card:nth-child(3) .ee-security-icon{background:#fff4d6;color:#7c5700;}
.ee-security-proof-grid .card:nth-child(4) .ee-security-icon{background:#eef2ff;color:#3730a3;}
.ee-security-content-section{padding-top:28px;}
.ee-security-visual .line{background:#f5f7f5;}
.ee-security-boundary-note{margin-top:12px;padding:14px 16px;border-left:3px solid var(--promo);background:#fff8e8;border-radius:8px;color:#57534e;font-size:13px;line-height:1.6;}
.ee-security-cta{background:var(--accent)!important;color:#fff!important;}
.ee-security-cta h2,.ee-security-cta p{color:#fff!important;}

@media(max-width:720px){
  .ee-security-proof-grid{grid-template-columns:1fr!important;}
  .ee-pricing-faq-section,.ee-security-faq-section{padding-top:24px!important;}
}

/* EE-PUBLIC-PLESK-R2-R6-R1 — About & trust proof */
.ee-about-hero{background:linear-gradient(180deg,#fff 0%,#f4f5f2 100%);}
.ee-about-principle-card{padding:28px;min-height:220px;}
.ee-about-principle-card h3{font-size:22px;line-height:1.18;margin:8px 0 10px;color:var(--ink)!important;}
.ee-about-principle-card p{color:var(--muted)!important;line-height:1.65;}
.ee-about-proof-section{background:#f6f7f4;}
.ee-about-proof-heading{max-width:820px;margin-bottom:30px;}
.ee-about-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.ee-about-proof-card{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 10px 28px rgba(14,17,22,.035);}
.ee-about-proof-icon{flex:0 0 46px;height:46px;border-radius:14px;background:#e5f5f1;color:#007f72;display:grid;place-items:center;font-weight:800;font-size:13px;letter-spacing:.06em;}
.ee-about-proof-card h3{margin:2px 0 7px;font-size:18px;color:var(--ink)!important;}
.ee-about-proof-card p{margin:0;color:var(--muted)!important;line-height:1.58;font-size:14px;}
.ee-about-dark-proof{padding:54px 56px;}
.ee-about-dark-proof .head-block{max-width:820px;}
.ee-about-dark-proof .h2{color:#fff!important;}
.ee-about-dark-lead{color:#c9d0d8!important;max-width:760px;line-height:1.65;}
.ee-about-work-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:34px;}
.ee-about-work-grid article{border-top:2px solid #19c9b5;padding-top:16px;}
.ee-about-work-grid article:last-child{border-top-color:#f0bb44;}
.ee-about-work-grid span{color:#42dbc9;font-weight:800;font-size:12px;}
.ee-about-work-grid h3{color:#fff!important;margin:8px 0 7px;font-size:17px;}
.ee-about-work-grid p{color:#c9d0d8!important;margin:0;font-size:13px;line-height:1.55;}
.ee-about-proof-note{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px 36px;background:#fff;border:1px solid var(--line);border-radius:20px;}
.ee-about-proof-note>div{max-width:780px;}
.ee-about-proof-note h2{font-family:var(--display);font-size:clamp(25px,3vw,36px);line-height:1.12;margin:7px 0 10px;color:var(--ink);}
.ee-about-proof-note p{margin:0;color:var(--muted);line-height:1.6;}
@media (max-width:980px){
  .ee-about-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ee-about-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ee-about-proof-note{align-items:flex-start;flex-direction:column;}
}
@media (max-width:640px){
  .ee-about-proof-grid{grid-template-columns:1fr;}
  .ee-about-work-grid{grid-template-columns:1fr;}
  .ee-about-dark-proof{padding:32px 24px;}
  .ee-about-proof-note{padding:26px 24px;}
}


/* EE-PUBLIC-PLESK-R2-R7-R1A — Homepage real-product proof */
.ee-home-proof-hero{padding-bottom:0;}
.ee-home-hero-copy{max-width:760px;margin-left:auto;margin-right:auto;}
.ee-home-primary-actions{justify-content:center;}
.ee-home-product-proof{padding:0 0 54px;}
.ee-home-proof-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:44px;align-items:end;margin:0 auto 24px;max-width:1180px;}
.ee-home-proof-heading .h2{margin:6px 0 0;max-width:720px;}
.ee-home-proof-heading .lead{margin:0;color:var(--muted);font-size:16px;line-height:1.65;}
.ee-home-real-screen{margin:0 auto;max-width:1180px;}
.ee-home-real-screen-frame{background:#0e1116;border-radius:22px;padding:12px;box-shadow:0 30px 70px -42px rgba(14,17,22,.55);border:1px solid #252a31;overflow:hidden;}
.ee-home-real-screen-frame img{display:block;width:100%;height:auto;border-radius:12px;background:#f4f6f8;}
.ee-home-real-screen figcaption{font-size:13px;color:var(--muted);padding:12px 4px 0;}
.ee-home-real-screen figcaption strong{color:var(--ink);}
.ee-home-proof-surface-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1180px;margin:26px auto 0;}
.ee-home-proof-surface-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 12px 30px rgba(14,17,22,.035);}
.ee-home-proof-surface-grid h3{margin:8px 0 8px;color:var(--ink);font-size:18px;line-height:1.25;}
.ee-home-proof-surface-grid p{margin:0;color:var(--muted);font-size:14px;line-height:1.6;}
.ee-home-proof-kicker{display:inline-flex;color:var(--accent-hover);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:11px;}
.ee-home-cta-link{color:#fff;text-decoration:none;display:inline-flex;align-items:center;font-weight:700;padding:12px 4px;}
.ee-home-cta-link:hover{color:#fff;text-decoration:underline;}
@media (max-width:900px){
  .ee-home-proof-heading{grid-template-columns:1fr;gap:12px;align-items:start;}
  .ee-home-proof-surface-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .ee-home-product-proof{padding-bottom:38px;}
  .ee-home-real-screen-frame{padding:7px;border-radius:16px;}
  .ee-home-real-screen-frame img{border-radius:9px;}
  .ee-home-proof-surface-grid article{padding:18px;}
}

/* EE-PUBLIC-PLESK-R2-R7-R1B — real product proof tab-slider */
.ee-home-product-tour{padding:0 0 58px;}
.ee-product-tour-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:44px;align-items:end;margin:0 auto 24px;max-width:1180px;}
.ee-product-tour-heading .h2{margin:6px 0 0;max-width:720px;}
.ee-product-tour-heading .lead{margin:0;color:var(--muted);font-size:16px;line-height:1.65;}
.ee-product-tour-tabs{display:flex;gap:4px;max-width:1180px;margin:0 auto 16px;padding:6px;background:#ececea;border:1px solid var(--line);border-radius:16px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-inline:contain;}
.ee-product-tour-tab{appearance:none;border:0;background:transparent;color:#3f4652;font:700 14px/1.2 var(--body);padding:12px 18px;border-radius:11px;white-space:nowrap;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease;}
.ee-product-tour-tab:hover{background:rgba(255,255,255,.72);color:var(--ink);}
.ee-product-tour-tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 4px 14px rgba(14,17,22,.08);}
.ee-product-tour-tab[aria-selected="true"]::after{content:"";display:block;height:2px;background:var(--accent);border-radius:2px;margin:8px 6px -8px;}
.ee-product-tour-stage{max-width:1180px;margin:0 auto;}
.ee-product-tour-panel{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.65fr);gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 20px 52px rgba(14,17,22,.065);}
.ee-product-tour-panel[hidden]{display:none!important;}
.ee-product-tour-media{margin:0;min-width:0;}
.ee-product-tour-frame{background:#0e1116;border:1px solid #252a31;border-radius:17px;padding:8px;overflow:hidden;box-shadow:0 24px 50px -34px rgba(14,17,22,.55);}
.ee-product-tour-frame img{display:block;width:100%;height:auto;max-height:570px;object-fit:contain;object-position:center top;border-radius:10px;background:#f4f6f8;}
.ee-product-tour-media figcaption{padding:9px 4px 0;color:var(--muted);font-size:12px;line-height:1.4;}
.ee-product-tour-copy{padding:16px 20px 16px 6px;}
.ee-product-tour-kicker{display:inline-flex;color:var(--accent-hover);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;}
.ee-product-tour-copy h3{font-family:var(--display);font-size:clamp(24px,2.5vw,34px);line-height:1.08;color:var(--ink);margin:9px 0 12px;}
.ee-product-tour-copy>p{color:var(--muted);line-height:1.65;margin:0 0 18px;}
.ee-product-tour-copy .check-list{margin:0;}
.ee-product-tour-copy .check-list li{font-size:14px;line-height:1.5;}
.ee-product-tour-controls{max-width:1180px;margin:14px auto 0;display:flex;align-items:center;justify-content:flex-end;gap:12px;}
.ee-product-tour-arrow{appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);font:700 13px/1 var(--body);padding:11px 14px;border-radius:10px;cursor:pointer;transition:border-color .18s ease,background .18s ease;}
.ee-product-tour-arrow:hover{border-color:#c5ccc8;background:#f7f8f6;}
.ee-product-tour-arrow:focus-visible,.ee-product-tour-tab:focus-visible{outline:3px solid rgba(0,139,126,.2);outline-offset:2px;}
.ee-product-tour-progress{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:12px;font-weight:700;min-width:34px;justify-content:center;}
@media (max-width:980px){
  .ee-product-tour-heading{grid-template-columns:1fr;gap:10px;align-items:start;}
  .ee-product-tour-panel{grid-template-columns:1fr;gap:8px;}
  .ee-product-tour-copy{padding:12px 8px 8px;}
  .ee-product-tour-frame img{max-height:none;}
}
@media (max-width:640px){
  .ee-home-product-tour{padding-bottom:40px;}
  .ee-product-tour-tabs{margin-inline:-4px;border-radius:13px;padding:5px;}
  .ee-product-tour-tab{padding:11px 14px;font-size:13px;}
  .ee-product-tour-panel{padding:9px;border-radius:18px;}
  .ee-product-tour-frame{padding:5px;border-radius:13px;}
  .ee-product-tour-frame img{border-radius:8px;}
  .ee-product-tour-copy h3{font-size:26px;}
  .ee-product-tour-controls{justify-content:space-between;}
  .ee-product-tour-arrow{padding:11px 12px;}
}


/* EE-PUBLIC-PLESK-R2-R8-R1 — SEO content / resource pages */
.ee-resource-hero{background:linear-gradient(180deg,#fff 0%,#f7f8f6 100%);}
.ee-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.ee-resource-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:12px;min-height:230px;}
.ee-resource-card .eyebrow{font-size:11px;}
.ee-resource-card h2,.ee-resource-card h3{color:var(--ink);margin:0;}
.ee-resource-card h3{font-size:22px;line-height:1.16;}
.ee-resource-card p{color:var(--muted);margin:0;line-height:1.65;}
.ee-resource-card .link-arrow{margin-top:auto;align-self:flex-start;}
.ee-usecase-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.ee-usecase-outcome{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;}
.ee-usecase-outcome strong{display:block;font-family:var(--display);font-size:19px;color:var(--ink);margin-bottom:8px;}
.ee-usecase-outcome p{margin:0;color:var(--muted);font-size:14px;line-height:1.6;}
.ee-seo-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px;}
.ee-seo-process article{border-top:2px solid var(--accent-bright);padding-top:16px;}
.ee-seo-process article:last-child{border-top-color:var(--promo);}
.ee-seo-process span{font-size:11px;font-weight:800;color:var(--accent-bright);letter-spacing:.08em;text-transform:uppercase;}
.ee-seo-process h3{color:#fff!important;font-size:18px;margin:7px 0;}
.ee-seo-process p{margin:0;color:#d6d3d1!important;font-size:14px;line-height:1.55;}
.ee-compare-table td:first-child,.ee-compare-table th:first-child{text-align:left;min-width:210px;}
.ee-compare-table .ee-choice{font-size:12px;font-weight:800;border-radius:999px;padding:5px 9px;display:inline-flex;}
.ee-choice-ee{background:var(--accent-soft);color:var(--accent-hover);}
.ee-choice-build{background:#f5f5f4;color:#57534e;}
.ee-faq-grid{display:grid;gap:12px;}
.ee-faq-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 24px;}
.ee-faq-item h2,.ee-faq-item h3{font-family:var(--font);font-size:17px;letter-spacing:0;margin:0 0 8px;color:var(--ink);}
.ee-faq-item p{margin:0;color:var(--muted);line-height:1.65;}
.ee-resource-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--accent);color:#fff;border-radius:24px;padding:34px 38px;}
.ee-resource-cta h2{color:#fff!important;margin:0 0 8px;}
.ee-resource-cta p{color:#e6fffb!important;margin:0;}
@media(max-width:980px){
  .ee-resource-grid,.ee-usecase-outcomes{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ee-seo-process{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .ee-resource-grid,.ee-usecase-outcomes,.ee-seo-process{grid-template-columns:1fr;}
  .ee-resource-cta{align-items:flex-start;flex-direction:column;padding:28px 24px;}
}
