/* VECTOR AI / Aqua Splash / 2027. Screen palette inspired by Pantone 14-4812.
   Digital art direction, not a certified Pantone-to-sRGB conversion. */
:root {
  color-scheme: light;
  --aqua: #a4d8d2;
  --aqua-pale: #e7f5f1;
  --accent: #076f66;
  --ink: #163431;
  --bg: #f5fbfa;
  --bg-soft: #edf7f4;
  --surface: #ffffff;
  --surface-strong: #eaf5f2;
  --panel: #ffffff;
  --panel2: #eef7f4;
  --text: #163431;
  --muted: #4a6862;
  --line: #d3e6e0;
  --line-bright: #9dcac0;
  --violet: #08776e;
  --violet-2: #11675f;
  --blue: #2a8980;
  --cyan: #08776e;
  --shadow: 0 16px 48px rgba(27,82,73,.07);
}
html { background: var(--bg); scroll-padding-top: 100px; }
body {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
body::before { display: none; }
::selection { background: #b8e3d9; color: #163431; }
:focus-visible { outline: 3px solid #08776e; outline-offset: 5px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #08776e; outline-offset: 2px; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }

/* A quiet, readable header shared by the existing pages. */
.site-header { background: rgba(250,253,252,.93); border-bottom: 1px solid rgba(47,113,102,.13); backdrop-filter: blur(20px); }
.site-header.is-scrolled { background: rgba(250,253,252,.97); border-color: var(--line); box-shadow: 0 3px 25px rgba(27,82,73,.04); }
.header-inner { height: 88px; gap: 26px; }
.brand img, .footer-brand img, .fb-brand img { mix-blend-mode: normal; filter: none; width: 194px; height: auto; }
img[src*="logo-aqua.svg"] { mix-blend-mode: normal !important; filter: none !important; opacity: 1 !important; }
.desktop-nav { gap: clamp(18px,2.1vw,32px); }
.desktop-nav a { color: #3a5a54; font-size: 15px; font-weight: 500; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #076f66; }
.desktop-nav a::after { background: #076f66; }
.header-actions { gap: 20px; }
.lang-switch { display: flex !important; color: #527069; }
.lang-btn { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: #527069; }
.lang-switch > span { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.lang-btn.is-active { color: #075f58; font-weight: 750; }
.menu-toggle { background: #fff; border-color: var(--line); }
.menu-toggle span { background: var(--ink); }
.mobile-menu { background: #f7fcfa; border-color: var(--line); }
.mobile-menu a:not(.btn) { color: var(--ink); }
.btn { border-radius: 12px; font-size: 15px; min-height: 52px; }
.btn-primary { background: #08776e; color: #fff; box-shadow: 0 8px 22px rgba(8,119,110,.14); border-color: #08776e; }
.btn-primary:hover { background: #075f58; color: #fff; box-shadow: 0 10px 24px rgba(8,119,110,.2); }
.btn-outline, .btn-ghost { background: rgba(255,255,255,.82); color: #174e46; border-color: #9cc4ba; box-shadow: none; }
.btn-outline:hover, .btn-ghost:hover { background: #e8f5ef; border-color: #08776e; }
.header-cta { min-height: 44px; padding-inline: 20px; font-size: 14px; }
.play-icon { background: #d3ede6; color: #086c62; }
.eyebrow { background: rgba(255,255,255,.75); color: #35675d; border-color: #bcdcd2; }
.eyebrow > span:first-child { background: #138b78; box-shadow: none; }
h1 strong { background: none; color: #08776e; -webkit-text-fill-color: currentColor; }
.hero-lead { color: #46655f; }
.section-kicker { color: #2d6d60; font-size: 13px; letter-spacing: .13em; }

/* Homepage: the same composition, rebuilt as a light, daytime scene. */
.aqua-home .hero {
  min-height: 810px !important;
  padding: 158px 0 58px !important;
  background-color: #f5fbfa !important;
  background-image: url('assets/hero-illustration-integrated.webp?v=161f34d0e233') !important;
  background-size: cover !important;
  background-position: center center !important;
}
.aqua-home .hero::before {
  background: linear-gradient(90deg,rgba(248,252,251,.98) 0%,rgba(248,252,251,.94) 27%,rgba(248,252,251,.66) 43%,rgba(248,252,251,0) 67%) !important;
}
.aqua-home .hero::after { height: 100px; bottom: 0; background: linear-gradient(0deg,#f5fbfa,transparent); border: 0; }
.aqua-home .hero-grid { min-height: 0 !important; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr) !important; gap: 20px !important; position: relative; z-index: 3; }
.aqua-home .hero-copy { max-width: 700px; }
.aqua-home h1 { font-size: clamp(44px,4.35vw,68px); line-height: 1.07; letter-spacing: -.05em; max-width: 700px; text-shadow: none; }
.aqua-home h1 .h1-eyebrow { font-size: 12px; letter-spacing: .01em; font-weight: 550; margin-bottom: 27px; padding: 7px 12px; max-width: 100%; }
.aqua-home .hero-lead { max-width: 570px; font-size: 18px; line-height: 1.65; }
.aqua-home .hero-actions { margin-top: 28px; }
.aqua-home .hero-metrics { margin-top: 42px; gap: 24px; max-width: 610px; }
.aqua-home .hero-visual--integrated { min-width: 0; min-height: 420px !important; height: 420px !important; }
.hero-glow, .hero-spotlight, .hero-orbit-node, .hero-scanline { display: none !important; }
.metric-icon { color: #08776e; filter: none; }
.metric strong { color: #183f36; }
.metric span { color: #4b6c63; font-size: 13px; }
.trust-section { padding-top: 14px; padding-bottom: 28px; }
.logo-strip { color: #4b6c63; min-height: 90px; }
.logo-strip .logo-mark { filter: none; opacity: 1; }
.logo-mark svg { color: #318576; }
.book-promo-inner { background: #e6f4ee; border-color: #c1dfd3; box-shadow: none; }
.book-promo-text h2 { color: var(--ink); }
.book-promo-text p { font-size: 16px; }

/* Existing cards, dashboard illustrations and diagrams. */
.feature-card, .case-card, .faq-item, .contact-form {
  background: #fff; border-color: var(--line); box-shadow: 0 10px 35px rgba(35,81,69,.045);
}
.feature-card::before, .case-card::before { background: radial-gradient(circle at 100% 0,rgba(164,216,210,.16),transparent 55%); }
.feature-card > p, .case-card > p, .faq-item > p { font-size: 16px; line-height: 1.65; }
.feature-icon { color: #086b60; background: #d6eee5; border: 1px solid #c1e3d7; box-shadow: none; }
.agent-status { background: #eef8f3; border-color: #c0dfd2; box-shadow: none; }
.agent-head { background: #d4eee2; color: #08776e; }
.progress { background: #d4e8df; }
.progress i { background: #39a98f; }
.agent-status b, .status-content span, .timeline-labels { color: #41675a; }
.timeline-line::before { background: #9bcebc; }
.timeline-line i, .timeline-line i:nth-child(-n+2) { background: #2b997d; box-shadow: 0 0 0 5px #e6f4ed; }
.tech-tags span { color: #386555; background: #f3faf6; border-color: #d2e8dc; }
.services-section::before { display: none; }
.service-item { background: #f9fdfb; }
.service-item:hover { background: #e8f5ee; }
.service-item > span { color: #427769; font-size: 14px; }
.service-item::after { opacity: .07 !important; color: #08776e !important; text-shadow: none !important; }
.service-item::before { opacity: .07; color: #08776e; }
.cases-section { background: #eaf5ef; }
.case-meta span { font-size: 12px; color: #3b6a58; background: #f1f8f3; border-color: #d3e8da; }
.case-result strong { color: #08776e; background: none; -webkit-text-fill-color: currentColor; }
.case-benefits span { color: #236a53; background: #e8f5ee; border-color: #c9e6d6; }
.case-qa-panel { background: #f3faf6; border-color: #c6e1d3; box-shadow: none; }
.qa-head, .qa-head strong, .qa-score, .qa-score strong, .qa-diff b { color: #204e3c; }
.qa-diff { background: #e7f2e9; border-color: #c5dfca; }
.qa-check { color: #426652; }
.qa-check i { box-shadow: none; }
.qa-check.ok i { background: #21865e; color: #21865e; }
.qa-check.warn i { background: #a77a25; color: #a77a25; }
.qa-verdict { background: #d3ebda; border-color: #a9d1b6; color: #235a3a; box-shadow: none; }
.qa-diff small { color: #2c5840; }
.agent-diagram { background: radial-gradient(ellipse at center,#ddf0e5 0,transparent 65%); }
.diagram-node { background: #fff; border-color: #b5d8c6; box-shadow: 0 8px 24px rgba(28,78,56,.06); }
.node-brain { background: #def1e4; border-color: #8bc7a4; }
.brain-core { background: #b6dfc6; color: #185f3b; box-shadow: none; }
.agent-diagram > svg { filter: none; }
.agent-diagram > svg path { stroke: #78ba95; }
.flow-dot { background: #278c60; box-shadow: 0 0 0 5px rgba(110,185,146,.12); }
.vector-sphere { background: radial-gradient(circle at 30% 20%,#f6fff8,#b8dfc7 52%,#66a98a); box-shadow: inset -15px -15px 32px rgba(43,111,77,.15),0 25px 65px rgba(60,139,92,.13); }
.vector-sphere span { color: #f7fffa; text-shadow: 0 2px 6px rgba(21,83,45,.12); }
.orbit { border-color: #85bfa0; box-shadow: none; }
.about-visual { overflow: hidden; }
.about-stats > div { background: #eaf5ed; border-color: #cee3d4; }
/* Inner pages share these filled cards; the homepage has its own spacing. */
body:not(.aqua-home) .about-stats > div { min-width: 0; padding: 18px; }
.about-stats strong { color: #236345; }
.check-list li::before { color: #248661; }
.text-link, .about-more { color: #086f56; border-color: #93c4aa; }
.ceo-card { background: #edf8ef; border-color: #c9e0cc; }
.ceo-card strong { color: #204f34; }
.faq-item summary:hover { color: #076f56; background: #f3faf5; }
.faq-item summary::after { color: #157b55; }
.contact-section { background: #e1f0e7; }
.contact-card { transform: none !important; }
.contact-card .contact-form { background: transparent; box-shadow: none; }
.contact-form > label:has(> input[name="contact"]) { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { color: #163b29; background: #f8fcf9; border-color: #bed6c6; box-shadow: none; }
.contact-form label > span { font-size: 14px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #5f7968; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #1b7c51; box-shadow: 0 0 0 3px #d4ebde; }
.contact-form .aqua-consent, .aqua-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; line-height: 1.6; color: #456658; margin: 0; }
.contact-form .aqua-consent input, .aqua-consent input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: #08776e; }
.aqua-consent a { color: #076f56; text-decoration: underline; text-underline-offset: 3px; }
.form-footer:has(.aqua-consent) { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.site-footer { color: #355a44; background: #f5faf6; border-color: #cee2d3; }
.site-footer h3, .site-footer strong { color: #244e35; }
.site-footer a:hover { color: #086c45; }

/* The existing mascot is an SVG component, with its geometry retained. */
.vm-root { --vm-card: #fff; --vm-line: #b8d9cb; --vm-text: #173c2b; --vm-muted: #547060; --vm-accent: #08776e; --vm-accent2: #47a68e; }
/* Scoped selectors keep the panel distinct after the mascot injects its CSS. */
.vm-root .vm-panel { background: #fff; border-color: #4d9589; box-shadow: 0 0 0 1px #4d9589, 0 20px 60px rgba(22,67,48,.22), 0 4px 14px rgba(22,67,48,.12); }
.vm-root .vm-ph, .vm-root .vm-form { background: #edf7f3; border-color: #9cc4ba; }
.vm-root .vm-ph { border-radius: 19px 19px 0 0; }
.vm-root .vm-form { border-radius: 0 0 19px 19px; }
.vm-root .vm-form button { background: #08776e; color: white; }
.vm-root .vm-me { color: #fff; }
.vm-hint { background: #fff; color: #1a4130; box-shadow: 0 12px 35px rgba(22,67,48,.12); }
.vm-hint button { color: #08776e; }
.vm-mascot { width: 84px; height: 100px; right: 20px; bottom: 16px; }
.vm-mascot svg { filter: drop-shadow(0 6px 12px rgba(30,93,66,.15)); }

/* Independent pages retain their own layout and content. */
/* Book downloads use .btn without the shared .btn-primary class. */
.btns > .btn[download][href$=".pdf"] { background: #08776e; color: #fff; }
.btns > .btn[download][href$=".pdf"]:hover { background: #075f58; color: #fff; }
.fb-header { background: #f9fdfb; border-color: var(--line); }
.fb-hero, .fb-section { color: var(--ink); }
.fb-card { background: #fff; border-color: var(--line); }
section.dark { color: #163431; background: #d9eee8; }
section.dark h2, section.dark h3 { color: #163431; }
section.dark .muted { color: #45675b; }
.btn.ink { color: #fff; background: #08776e; border-color: #08776e; }
header .brand img[src$="hero-logo-icon.png"], header .brand img[src*="cursor-logo-icon.png"] { width: 44px; height: 44px; }
header .brand img[src*="vector-mark.svg"] { width: 44px; height: 44px; }
.accent { color: #08776e !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
.ab-stats strong, .fb-hero h1 span { color: #08776e; background: none; -webkit-text-fill-color: currentColor; }
body[data-aqua-workshop] img[src="smile.png"], body[data-aqua-workshop] img[src="smile.png?v=da48809e0799"] { mix-blend-mode: normal !important; filter: none !important; }
body[data-aqua-workshop] h1 span { color: #08776e; }
body[data-aqua-workshop] .cta { background: #08776e; color: #fff; }
body[data-aqua-workshop] .cta:hover { background: #075f58; color: #fff; }
body[data-aqua-workshop] [class*="text-[#ff641f]"], body[data-aqua-workshop] [class*="text-[#FF641F]"] { color: #08776e !important; }
body[data-aqua-workshop] a[class*="bg-[#ff641f]"], body[data-aqua-workshop] button[class*="bg-[#ff641f]"] { background: #08776e !important; color: #fff !important; }

@media (min-width: 1600px) {
  .aqua-home .hero { min-height: 850px !important; }
}
@media (max-width: 1100px) {
  .header-inner { gap: 18px; }
  .brand img { width: 168px; }
  .desktop-nav { gap: 17px; }
  .header-actions { gap: 14px; }
  .aqua-home .hero { min-height: 760px !important; }
  .aqua-home h1 .h1-eyebrow { white-space: normal; text-wrap: wrap; }
}
@media (max-width: 991px) {
  .aqua-home .hero { padding: 132px 0 32px !important; min-height: auto !important; background-image: none !important; }
  .aqua-home .hero::before { display: none; }
  .aqua-home .hero-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .aqua-home .hero-copy { max-width: 700px; }
  .aqua-home h1 { font-size: clamp(42px,6.1vw,64px); }
  .aqua-home .hero-visual--integrated { margin: 20px -24px -8px !important; width: calc(100% + 48px) !important; max-width: none !important; height: 390px !important; min-height: 390px !important; background: url('assets/hero-illustration-integrated.webp?v=161f34d0e233') center 53% / cover no-repeat !important; mask-image: linear-gradient(to bottom,transparent,#000 12%,#000 85%,transparent); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 86px; }
  .header-inner { height: 76px; gap: 12px; }
  .brand img { width: 125px; }
  .header-actions { gap: 12px; }
  .lang-switch { display: flex !important; gap: 6px; font-size: 13px; }
  .lang-switch .lang-btn { min-width: 24px; min-height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
  .aqua-home .hero { padding: 112px 0 22px !important; }
  .aqua-home h1 { font-size: clamp(34px,8.5vw,47px); line-height: 1.1; letter-spacing: -.045em; }
  .aqua-home h1 .h1-eyebrow { font-size: 12px; line-height: 1.5; padding: 7px 10px; margin-bottom: 20px; text-wrap: wrap; }
  .aqua-home .hero-lead { font-size: 16px; line-height: 1.65; }
  .aqua-home .hero-actions { flex-direction: column; gap: 10px; margin-top: 24px; }
  .aqua-home .hero-actions .btn { width: 100%; }
  .aqua-home .hero-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 30px; }
  .metric { flex-direction: column; align-items: flex-start; gap: 9px; }
  .metric-icon { width: 25px; height: 25px; }
  .metric strong { font-size: 16px; }
  .metric span { font-size: 12px; line-height: 1.45; }
  .aqua-home .hero-visual--integrated { min-height: 240px !important; height: 240px !important; margin-top: 10px !important; }
  .logo-strip { gap: 18px; }
  .logo-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .logo-strip .sector-mark { min-width: 0; }
  .logo-strip .sector-mark span { font-size: 14px; white-space: normal; }
  .book-promo-inner { padding: 24px; }
  .book-promo-text h2 { font-size: 24px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .feature-card > p, .case-card > p, .faq-item > p { font-size: 16px; }
  .vm-mascot { width: 70px; height: 84px; right: 12px; bottom: 12px; }
  .vm-hint { right: 88px; bottom: 76px; max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.locale-note{font-size:14px!important;line-height:1.55!important;color:#365e56!important;background:#e6f4ee;padding:12px 16px;border:1px solid #bddbd0;border-radius:12px;max-width:680px;margin:18px 0!important;letter-spacing:normal!important}.locale-note a{color:#086962;text-decoration:underline;text-underline-offset:3px;}

/* Language controls on every page, including compact company headers. */
.lang-switch, .ab-lang { align-items: center; flex-shrink: 0; white-space: nowrap; }
.lang-switch > i, .ab-lang > i { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-style: normal; }
.locale-switch { display: inline-flex !important; width: fit-content; gap: 4px; padding: 3px; border: 1px solid #bfd8d3; border-radius: 12px; background: #f7fcfa; }
.locale-switch .lang-btn { min-width: 38px; min-height: 36px; padding: 3px 8px; border-radius: 8px; font: inherit; font-size: 13px; text-decoration: none; letter-spacing: normal; }
.locale-switch .lang-btn.is-active { color: #075f58; background: #e3f2ed; }
.locale-switch .lang-btn:focus-visible, .ab-lang a:focus-visible { outline: 2px solid #08786d; outline-offset: 3px; }
@media (max-width: 900px) { .ab-lang.lang-switch { display: flex !important; gap: 6px; font-size: 13px; } }

@media (max-width: 360px) {
  .site-header .locale-switch { gap: 0; padding: 2px; }
  .site-header .locale-switch > span[aria-hidden] { display: none; }
  .site-header .locale-switch .lang-btn { min-width: 28px; min-height: 40px; padding: 2px 4px; font-size: 12px; }
}

@media (max-width: 480px) {
  .ind-product { min-width: 0; }
  .ind-product h3 { overflow-wrap: anywhere; hyphens: auto; }
}
