: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: flex-start; gap: 28px; }
.contactcore-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: 48px; height: 48px; }
.public-nav { margin-left: auto; 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); }
/* The navigation owns the flexible space: this keeps its whole group right-aligned. */
.header-actions { margin-left: 0; display: flex; align-items: center; gap: 14px; }
.public-logout { margin: 0; }
.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); }
.logout-button { padding: 8px 2px; border: 0; color: #b42318; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.logout-button:hover, .logout-button:focus-visible { color: #8f1c13; text-decoration: underline; }
.login-short { display: none; }

/* Match the Life View landing-brand entrance: mark first, then wordmark. */
.public-header-landing .contactcore-logo { animation: contactcore-brand-mark-arrive 1050ms cubic-bezier(.2,.75,.25,1) 220ms both; }
.public-header-landing .brand-name { animation: contactcore-brand-name-reveal 260ms ease-out 1300ms both; }
@keyframes contactcore-brand-mark-arrive {
  from { opacity: 0; transform: translate3d(calc(-100vw - 60px), 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes contactcore-brand-name-reveal {
  from { opacity: 0; transform: translate3d(0, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.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 { margin: 0 0 3px; color: var(--navy); font-size: 15px; line-height: 1.35; }
.quick-feature-bar p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mini-icon, .feature-icon { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-soft); }
.mini-icon img, .feature-icon img { width: 42px; height: 42px; object-fit: contain; }
.mini-icon img[src*="google-g"], .feature-icon img[src*="google-g"] { width: 44px; height: 44px; }
.mini-icon img[src*="contactcore-app-logo"], .feature-icon img[src*="contactcore-app-logo"] { width: 64px; height: 64px; }
.mini-icon:has(img[src*="google-g"]), .feature-icon:has(img[src*="google-g"]) { background: #fff; border: 1px solid var(--line); }

.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-groups { max-width: 1540px; margin: auto; display: grid; gap: 42px; }
.feature-group-heading { margin: 0 0 18px; font-size: 16px; }
.feature-status { display: inline-block; padding: 9px 16px; border-radius: 999px; color: #135c38; background: #dff6e9; font-size: 14px; font-weight: 800; letter-spacing: .015em; }
.feature-status-progress { color: var(--blue-dark); background: var(--blue-soft); }
.feature-status-future { color: #6544a5; background: #f1edff; }
.feature-grid { max-width: 1540px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 230px; 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); display: flex; flex-direction: column; align-items: flex-start; }
.feature-card h4 { margin: 22px 0 10px; color: var(--navy); font-size: 20px; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--muted); }
.app-store-link { width: 180px; margin-top: 24px; display: inline-block; border-radius: 7px; }
.app-store-link img { width: 180px; height: auto; }
.feature-roadmap-notice { padding: 30px 34px; border: 1px solid #b9caf0; border-left: 6px solid var(--blue); border-radius: 18px; color: var(--navy); background: #eef4ff; }
.feature-roadmap-notice h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; }
.feature-roadmap-notice p { max-width: 1000px; margin: 0; color: #405477; font-size: 17px; line-height: 1.6; }

.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; }

.faq-section { background: linear-gradient(180deg, #fff, var(--surface-soft)); }
.faq-list { max-width: 1000px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 14px 38px rgba(33, 76, 161, 0.07); }
.faq-item > summary { padding: 22px clamp(20px, 3vw, 30px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 18px; color: var(--navy); font-size: 18px; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ""; width: 9px; height: 9px; flex: 0 0 auto; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.faq-item[open] > summary::after { transform: rotate(225deg); }
.faq-item > summary:hover { color: var(--blue); background: var(--surface-soft); }
.faq-answer { padding: 0 clamp(20px, 3vw, 30px) 24px; color: var(--muted); overflow-wrap: anywhere; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-failure { color: #b42318; font-weight: 750; }
@media (prefers-reduced-motion: no-preference) { .faq-item > summary { transition: color 160ms ease, background-color 160ms ease; } }

.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); }

.pricing-section { background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%); }
.pricing-group { max-width: 1500px; margin: 0 auto; }
.pricing-group + .pricing-group { margin-top: 54px; }
.pricing-group-heading { margin: 0 0 20px; }
.pricing-group-heading h3 { margin: 0; color: var(--navy); font-size: 25px; letter-spacing: -0.025em; }
.pricing-group-heading p { margin: 5px 0 0; color: var(--muted); }
.pricing-grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pricing-card { position: relative; min-width: 0; min-height: 310px; padding: 30px 26px 26px; border: 1px solid #cbd9f6; border-radius: 20px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 14px 38px rgba(33, 76, 161, 0.08); display: flex; flex-direction: column; }
.pricing-card-recommended { border: 2px solid var(--blue); box-shadow: 0 18px 46px rgba(20, 85, 245, 0.16); }
.pricing-recommended { position: absolute; top: 20px; right: 20px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card h4 { margin: 0; color: var(--navy); font-size: 23px; }
.pricing-card-summary { margin: 12px 0 0; color: var(--muted); line-height: 1.55; flex-grow: 1; }
.pricing-price { margin: 18px 0 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--muted); }
.pricing-price strong { color: var(--blue); font-size: 45px; line-height: 1; letter-spacing: -0.055em; }
.pricing-price span:last-child { flex-basis: 100%; }
.pricing-heavy-use { align-self: flex-start; display: inline-block; margin-top: 10px; padding: 5px 9px; border-radius: 8px; background: #e9f0ff; color: var(--navy); font-size: 12px; font-weight: 750; }
.pricing-price span { font-size: 14px; font-weight: 700; }
.pricing-credit-count { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.pricing-credit-count strong { color: var(--navy); font-size: 21px; }
.pricing-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pricing-pack-card { min-width: 0; padding: 24px 22px; border: 1px solid #cbd9f6; border-radius: 17px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 12px 30px rgba(33, 76, 161, 0.07); }
.pricing-pack-credits, .pricing-pack-price { margin: 0; }
.pricing-pack-credits { color: var(--muted); }
.pricing-pack-credits strong { display: block; color: var(--navy); font-size: 26px; line-height: 1.2; }
.pricing-pack-price { margin-top: 18px; display: flex; align-items: baseline; gap: 7px; color: var(--muted); }
.pricing-pack-price strong { color: var(--blue); font-size: 29px; line-height: 1; letter-spacing: -0.035em; }
.pricing-pack-price span { font-size: 12px; font-weight: 700; }
.pricing-pack-suffix { white-space: nowrap; }
.pricing-provider-note { max-width: 900px; margin: 30px auto 0; color: var(--muted); font-size: 13px; text-align: center; }
.pricing-credit-explainer { max-width: 900px; margin: 28px auto 0; padding: 24px 28px; border: 1px solid #cbd9f6; border-radius: 18px; background: #fff; text-align: center; }
.pricing-credit-explainer h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.pricing-credit-explainer p { margin: 0; color: var(--muted); }

@media (hover: hover) {
  .pricing-card, .pricing-pack-card { transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
  .pricing-card:hover, .pricing-pack-card:hover { transform: translateY(-4px); border-color: #9db8f3; box-shadow: 0 18px 42px rgba(33, 76, 161, 0.13); }
}

.onboarding-page { min-height: calc(100vh - 178px); padding: 90px clamp(24px, 5vw, 84px) 110px; background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%); }
.onboarding-page .section-heading { max-width: 800px; }
.onboarding-page .section-heading h1 { margin: 12px 0 16px; color: var(--navy); font-size: clamp(42px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.05em; }
.onboarding-steps { max-width: 980px; margin: 44px auto 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.onboarding-steps li { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 20px; box-shadow: 0 12px 32px rgba(33, 76, 161, 0.07); }
.onboarding-number { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); font-size: 19px; font-weight: 850; }
.onboarding-steps h2 { margin: 0 0 3px; color: var(--navy); font-size: 21px; }
.onboarding-steps p { margin: 0; color: var(--muted); }
.onboarding-steps .button { min-width: 154px; }
.onboarding-permission { max-width: 820px; margin: 26px auto 0; color: var(--muted); text-align: center; font-size: 14px; }
.onboarding-back { width: fit-content; margin: 0 0 24px; display: inline-flex; color: var(--blue-dark); font-weight: 750; text-decoration: none; }

.onboarding-back:hover { text-decoration: underline; }

.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); }
.about-cards .feature-icon { width: 78px; height: 78px; flex: 0 0 78px; }
.about-cards .feature-icon img { width: 50px; height: 50px; }
.about-cards .feature-icon img[src*="lifeview-mark"] { width: 68px; height: 68px; }

.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-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 .feature-icon { width: 80px; height: 80px; }
.form-heading .feature-icon img { width: 52px; height: 52px; }
.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; }
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { max-width: 520px; margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; text-align: left; }
.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 p { margin: 0; }
.public-footer a { margin-left: auto; color: var(--blue); font-weight: 750; text-decoration: none; }
.public-footer .footer-language-switcher { display: inline-flex; gap: 10px; margin-left: 0; }
.public-footer .footer-language-switcher a { margin-left: 0; }
.footer-language-switcher [aria-current="page"] { color: var(--muted); text-decoration: underline; }

:focus-visible { outline: 3px solid rgba(20, 85, 245, 0.42); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .public-landing .hero-copy { animation: public-hero-copy-arrive 520ms cubic-bezier(.2,.75,.25,1) 360ms both; }
  .has-scroll-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); }
  .has-scroll-reveal [data-reveal].is-revealed { animation: public-section-reveal 520ms cubic-bezier(.2,.75,.25,1) forwards; }
  .has-scroll-reveal [data-reveal][data-reveal-delay="1"].is-revealed { animation-delay: 90ms; }
  .has-scroll-reveal [data-reveal][data-reveal-delay="2"].is-revealed { animation-delay: 170ms; }
  .has-scroll-reveal [data-reveal][data-reveal-delay="3"].is-revealed { animation-delay: 250ms; }
}
@keyframes public-hero-copy-arrive {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes public-section-reveal {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .public-header-landing .contactcore-logo, .public-header-landing .brand-name { opacity: 1; transform: none; } }

@media (max-width: 1360px) {
  .public-header { flex-wrap: wrap; gap: 8px 18px; }
  .public-nav { order: 3; width: 100%; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); justify-content: flex-end; gap: clamp(12px, 3vw, 28px); font-size: 13px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 1180px) {
  .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); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { max-width: 760px; }
}

@media (max-width: 820px) {
  .public-header { min-height: 72px; padding: 10px 18px; }
  .public-header-authenticated { flex-wrap: wrap; gap: 8px 14px; }
  .brand-name { font-size: 19px; }
  .contactcore-logo { width: 42px; height: 42px; }
  .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-groups { gap: 34px; }
  .feature-roadmap-notice { padding: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onboarding-steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .onboarding-steps .button { grid-column: 1 / -1; width: 100%; }
  .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; }
  .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; }
  .pricing-pack-grid { grid-template-columns: 1fr; }
}

[data-sso-authenticated][hidden], [data-sso-anonymous][hidden] { display: none !important; }
.account-menu { position: relative; }
.account-menu summary { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: #fff; cursor: pointer; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary img { display: block; width: 24px; height: 24px; }
.account-popover { position: absolute; z-index: 80; top: calc(100% + 12px); right: 0; width: min(310px,calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line); border-radius: 16px; display: grid; background: #fff; box-shadow: 0 22px 60px rgba(7,19,63,.18); }
.account-popover-heading { padding: 10px 12px 13px; border-bottom: 1px solid var(--line); display: grid; }
.account-popover-heading span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.account-popover > a, .account-menu-logout { width: 100%; padding: 11px 12px; border: 0; border-radius: 9px; color: var(--navy); background: transparent; text-align: left; text-decoration: none; font-weight: 720; cursor: pointer; }
.account-popover > a:hover { background: var(--surface-soft); }
.account-menu-logout { color: #b42318; }
.public-footer { justify-content: space-between; }
.footer-copyright { margin-left: auto !important; text-align: right; }
.inquiry-page { min-height:calc(100vh - 190px); display:grid; place-items:center; }
.inquiry-card { width:min(760px,100%); }
.inquiry-card > h1 { margin:10px 0 12px; font-size:clamp(38px,6vw,64px); line-height:1.02; letter-spacing:-.045em; }
.inquiry-card > p { color:var(--muted); font-size:18px; }
.inquiry-unavailable { margin-top:24px; padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--surface-soft); }
.public-footer { display: grid; grid-template-columns: 1fr auto 1fr; justify-content: initial; }
.public-footer > .footer-legal { justify-self: center; margin-left: 0; }
.public-footer .footer-copyright { justify-self: end; margin-left: 0 !important; text-align: right; }
@media (max-width: 640px) {
  .public-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .public-footer .footer-language-switcher { justify-content: center; }
  .public-footer > .footer-legal, .public-footer .footer-copyright { justify-self: center; margin-left: 0 !important; text-align: center; }
}

/* Shared transparent commerce artwork from the iOS asset catalog. */
.commerce-icon { display:block; flex-shrink:0; object-fit:contain; max-width:100%; }
.commerce-heading { display:flex; align-items:center; gap:1rem; }
.commerce-heading h3,.commerce-heading h4 { margin:0; }
.pricing-card > .commerce-icon,.pricing-pack-card > .commerce-icon { margin-bottom:1rem; }

/* Shared account menu: email, organization/account links, left-aligned logout. */
.account-popover { text-align: left; }
.account-popover-heading span { font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.account-popover > a { display: block; text-align: left; line-height: 1.4; }
.account-popover > a > small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--muted); }
.account-popover form { display: block; margin: 0; }
.account-popover .account-menu-logout { color: #b42318; display: block; width: 100%; justify-content: flex-start; text-align: left; }

/* Cross-service navigation: same layout, each site's own palette. */
.services-menu { position: relative; flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
.services-menu > summary { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 10px; border-radius: 10px; cursor: pointer; list-style: none; font-weight: 650; color: inherit; }
.services-menu > summary::-webkit-details-marker { display: none; }
.services-menu > summary:hover, .services-menu[open] > summary { background: var(--blue-soft, var(--wash, var(--ice, #f7f4fb))); }
.services-popover { position: absolute; z-index: 90; top: calc(100% + 10px); right: 0; width: min(290px, calc(100vw - 32px)); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgb(30 40 65 / 14%); }
.services-popover > a { display: block; padding: 12px; border-radius: 10px; text-align: left; text-decoration: none; color: inherit; }
.services-popover > a:hover { background: var(--blue-soft, var(--wash, var(--ice, #f7f4fb))); }
.services-popover strong { display: block; font-weight: 700; }
.services-popover small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--muted); }
.header-create-account { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border: 1px solid transparent; border-radius: 12px; background: var(--blue, var(--accent, var(--teal-dark, #643662))); color: #fff !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.header-create-account:hover { filter: brightness(.94); }
[data-signup][hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { .services-menu summary, .services-popover a, .header-create-account { transition: background-color 160ms ease, color 160ms ease, filter 160ms ease; } }

/* Create account is the primary public action; login stays a quiet link. */
.login-button { color: var(--navy); background: transparent; box-shadow: none; padding: 9px 4px; }
.login-button:hover, .login-button:focus-visible { color: var(--blue); background: transparent; }
@media (max-width: 680px) {
  .header-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .public-nav { flex-wrap: wrap; }
  .public-nav .services-popover { position: fixed; top: auto; left: 18px; right: 18px; width: auto; }
}
