:root {
  color-scheme: light;
  --blue: #1455f5;
  --blue-dark: #0e3fc2;
  --blue-soft: #eaf1ff;
  --navy: #07133f;
  --text: #17224c;
  --muted: #5f6c91;
  --line: #dce6fb;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --green: #119653;
  --orange: #f29a20;
  --violet: #7857e8;
  --shadow: 0 24px 70px rgba(33, 76, 161, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text); background: #fff; font: 16px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: var(--navy); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.public-header { position: sticky; z-index: 50; top: 0; min-height: 84px; padding: 14px clamp(20px, 4vw, 68px); border-bottom: 1px solid rgba(220, 230, 251, 0.85); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contactcore-brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.contactcore-logo { flex: 0 0 auto; width: 42px; height: 42px; color: var(--blue); }
.beta-badge { display: inline-flex; padding: 3px 7px; border: 1px solid #a9c1ff; border-radius: 999px; color: var(--blue-dark); background: var(--blue-soft); font-size: 9px; line-height: 1.3; font-weight: 900; letter-spacing: 0.12em; vertical-align: middle; }
.public-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-weight: 650; font-size: 15px; }
.public-nav a { text-decoration: none; }
.public-nav a:hover, .public-nav a:focus-visible { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switcher { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); font-size: 11px; font-weight: 750; }
.language-switcher a { padding: 5px 8px; border-radius: 999px; text-decoration: none; }
.language-switcher a[aria-current="page"] { color: #fff; background: var(--navy); }
.language-short { display: none; }
.login-button { display: inline-flex; align-items: center; gap: 11px; padding: 12px 18px; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 750; white-space: nowrap; box-shadow: 0 10px 24px rgba(20, 85, 245, 0.2); }
.login-button:hover, .login-button:focus-visible { background: var(--blue-dark); }
.login-short { display: none; }

.hero-section { position: relative; min-height: 650px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr); align-items: center; padding: 72px clamp(24px, 5vw, 84px) 110px; background: linear-gradient(135deg, #fff 15%, #f8fbff 57%, #edf4ff 100%); }
.hero-section::after { content: ""; position: absolute; inset: auto -5% -220px 28%; height: 480px; border-radius: 50%; background: rgba(214, 230, 255, 0.56); filter: blur(2px); }
.hero-copy { position: relative; z-index: 2; max-width: 770px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
.hero-copy h1 { margin: 18px 0 24px; color: var(--navy); font-size: clamp(46px, 5vw, 78px); line-height: 1.04; letter-spacing: -0.055em; }
.hero-copy h1 span, .section-heading h2 span { display: block; color: var(--blue); }
.hero-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(18px, 1.5vw, 23px); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font-weight: 780; cursor: pointer; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 26px rgba(20, 85, 245, 0.2); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-dark); }
.button-secondary { border-color: var(--blue); color: var(--blue); background: #fff; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--blue-soft); }
.hero-art { position: absolute; z-index: 1; inset: 0 0 0 37%; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center right; mix-blend-mode: multiply; }

.quick-feature-bar { position: relative; z-index: 3; width: min(1500px, calc(100% - 48px)); margin: -72px auto 0; padding: 20px; border: 1px solid rgba(220, 230, 251, 0.9); border-radius: 22px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-feature-bar article { min-width: 0; padding: 12px; display: flex; align-items: center; gap: 14px; }
.quick-feature-bar article + article { border-left: 1px solid var(--line); }
.quick-feature-bar h2, .contact-benefits h3 { margin: 0 0 3px; color: var(--navy); font-size: 15px; line-height: 1.35; }
.quick-feature-bar p, .contact-benefits p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mini-icon, .feature-icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--green); background: #e6f8ef; font-size: 16px; font-weight: 900; }
.quick-feature-bar article:nth-child(2) .mini-icon, .accent-two { color: var(--orange); background: #fff3df; }
.quick-feature-bar article:nth-child(3) .mini-icon { color: var(--blue); background: var(--blue-soft); }
.quick-feature-bar article:nth-child(4) .mini-icon, .accent-three { color: var(--violet); background: #f1edff; }

.section { padding: 110px clamp(24px, 5vw, 84px); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .about-copy h2, .contact-copy > h2 { margin: 12px 0 16px; color: var(--navy); font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -0.045em; }
.section-heading p, .about-copy > p, .contact-copy > p { margin: 0; color: var(--muted); font-size: 18px; }
.features-section { background: linear-gradient(180deg, #fff 0%, #f7faff 54%, #fff 100%); }
.feature-grid { max-width: 1540px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 14px 38px rgba(33, 76, 161, 0.07); }
.feature-card:nth-child(3n + 2) .feature-icon { color: var(--orange); background: #fff3df; }
.feature-card:nth-child(3n) .feature-icon { color: var(--violet); background: #f1edff; }
.feature-card h3 { margin: 22px 0 10px; color: var(--navy); font-size: 20px; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--muted); }

.solutions-section { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(50px, 8vw, 130px); align-items: start; background: var(--navy); color: #fff; }
.solutions-section .eyebrow { color: #85aaff; }
.solutions-section .section-heading h2 { color: #fff; }
.solutions-section .section-heading p { color: #b8c4e8; }
.solution-grid { display: grid; gap: 16px; }
.solution-grid article { padding: 26px 28px; border: 1px solid rgba(150, 176, 243, 0.2); border-radius: 18px; background: rgba(255, 255, 255, 0.06); display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; }
.solution-grid article > span { grid-row: span 2; color: #85aaff; font-size: 18px; font-weight: 850; }
.solution-grid h3 { margin: 0 0 6px; font-size: 20px; }
.solution-grid p { margin: 0; color: #b8c4e8; }

.how-section { background: #fff; }
.steps { max-width: 1260px; margin: 20px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; counter-reset: steps; }
.steps li { position: relative; text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 42px); width: calc(100% - 14px); border-top: 2px dashed #afc7ff; }
.steps li > span { position: relative; z-index: 2; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); font-size: 22px; font-weight: 850; box-shadow: 0 10px 22px rgba(20, 85, 245, 0.23); }
.steps h3 { margin: 0 0 8px; color: var(--navy); font-size: 21px; }
.steps p { margin: 0; color: var(--muted); }

.about-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(50px, 8vw, 120px); align-items: center; background: linear-gradient(135deg, #eff5ff, #fbfdff); }
.about-cards { display: grid; gap: 18px; }
.about-cards article { padding: 28px; border: 1px solid rgba(196, 214, 250, 0.85); border-radius: 18px; background: rgba(255, 255, 255, 0.86); display: flex; gap: 20px; box-shadow: 0 12px 35px rgba(33, 76, 161, 0.07); }
.about-cards h3 { margin: 0 0 7px; color: var(--navy); font-size: 20px; }
.about-cards p { margin: 0; color: var(--muted); }

.contact-section { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(600px, 1.12fr); gap: clamp(45px, 7vw, 100px); align-items: center; background: linear-gradient(145deg, #fff 20%, #eef5ff 100%); }
.contact-benefits { margin-top: 38px; display: grid; gap: 13px; }
.contact-benefits article { max-width: 580px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.82); display: flex; align-items: center; gap: 16px; }
.contact-benefits .mini-icon { width: 48px; height: 48px; }
.contact-form-card { padding: clamp(25px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 28px; display: flex; align-items: center; gap: 16px; }
.form-heading h2 { margin: 0; color: var(--navy); font-size: 27px; letter-spacing: -0.025em; }
.form-heading p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { color: var(--navy); font-size: 13px; font-weight: 750; }
.form-grid label > span { color: var(--blue); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; margin-top: 7px; border: 1px solid #c9d7f4; border-radius: 10px; outline: none; color: var(--text); background: #fff; }
.form-grid input, .form-grid select { height: 54px; padding: 0 15px; }
.form-grid textarea { min-height: 142px; padding: 14px 15px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 85, 245, 0.13); }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #8691ae; }
.form-wide { grid-column: 1 / -1; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-submit { width: 100%; margin-top: 18px; border: 0; }
.form-submit:disabled { opacity: 0.62; cursor: wait; }
.form-trust { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { margin: 14px auto 0; max-width: 520px; color: var(--muted); font-size: 11px; line-height: 1.55; text-align: center; }
.recaptcha-notice a { color: var(--blue-dark); font-weight: 700; text-underline-offset: 2px; }

.result-card { width: min(720px, calc(100% - 32px)); margin: 100px auto; padding: clamp(38px, 8vw, 80px); border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.result-card h1 { margin: 18px 0 10px; color: var(--navy); font-size: clamp(38px, 6vw, 60px); line-height: 1.06; }
.result-card p { margin: 0 0 26px; color: var(--muted); font-size: 18px; }
.result-icon { width: 74px; height: 74px; margin: auto; border-radius: 50%; background: #e6f8ef; color: var(--green); display: grid; place-items: center; font-size: 34px; font-weight: 900; }
.error-result .result-icon { color: #b42318; background: #fff0ee; }

.public-footer { min-height: 94px; padding: 24px clamp(24px, 5vw, 84px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 12px; }
.public-footer .footer-brand { font-size: 15px; }
.public-footer .contactcore-logo { width: 28px; height: 28px; }
.public-footer p { margin: 0; }
.public-footer a { margin-left: auto; color: var(--blue); font-weight: 750; text-decoration: none; }

:focus-visible { outline: 3px solid rgba(20, 85, 245, 0.42); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

@media (max-width: 1180px) {
  .public-nav { display: none; }
  .hero-section { grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr); }
  .quick-feature-bar { grid-template-columns: repeat(2, 1fr); }
  .quick-feature-bar article:nth-child(3) { border-left: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { max-width: 760px; }
}

@media (max-width: 820px) {
  .public-header { min-height: 72px; padding: 10px 18px; }
  .brand-name { font-size: 19px; }
  .contactcore-logo { width: 34px; height: 34px; }
  .language-switcher { flex: 0 0 auto; padding: 2px; }
  .language-switcher a[aria-current="page"] { display: none; }
  .language-switcher a { padding: 5px 7px; }
  .language-full { display: none; }
  .language-short { display: inline; }
  .login-button { padding: 10px 13px; font-size: 13px; }
  .hero-section { min-height: auto; padding: 64px 24px 240px; display: block; }
  .hero-copy h1 { font-size: clamp(42px, 11vw, 62px); }
  .hero-art { inset: auto 0 0 22%; height: 330px; }
  .hero-art img { object-position: 66% center; }
  .quick-feature-bar { margin-top: -42px; grid-template-columns: 1fr; }
  .quick-feature-bar article + article { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .solutions-section, .about-section { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li:not(:last-child)::after { top: 62px; left: 50%; width: 0; height: 38px; border-top: 0; border-left: 2px dashed #afc7ff; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .contact-form-card { border-radius: 20px; }
  .public-footer { flex-wrap: wrap; gap: 10px 18px; }
  .public-footer a { margin-left: 0; }
}

@media (max-width: 520px) {
  .contactcore-brand { gap: 7px; }
  .contactcore-brand .beta-badge { position: absolute; top: 8px; left: 50px; }
  .login-button span { display: none; }
  .login-button .login-full { display: none; }
  .login-button .login-short { display: inline; }
  .hero-actions .button { width: 100%; }
  .quick-feature-bar { width: calc(100% - 24px); padding: 10px; }
  .about-cards article { padding: 22px; flex-direction: column; }
  .form-trust { flex-direction: column; }
}
