/* Cognentia overrides on top of the cognentia-ai theme (style.css + style-5.css). */
:root {
  --body-font-family: "Anuphan", "Segoe UI", Arial, sans-serif;
  --heading-font-family: "Anuphan", "Segoe UI", Arial, sans-serif;
  --body-font-weight: 400;
  --h6-font-weight: 400;

  /* Shims so the chatbot widget stylesheet keeps working. */
  --color-primary: var(--theme-color1);
  --color-dark: var(--theme-color2);
  --color-white: #fff;
  --color-text: #e9eefc;
  --color-text-secondary: rgb(233 238 252 / 72%);
  --color-border: rgb(255 255 255 / 14%);
  --color-error: #ff8a80;
  --font-body: var(--body-font-family);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem;
  --radius-sm: .75rem; --radius-pill: 999px;

  --cg-surface: rgb(255 255 255 / 5%);
  --cg-border: rgb(255 255 255 / 14%);
  --cg-muted: rgb(233 238 252 / 72%);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body, h1, h2, h3, h4, h5, h6, p, a, li, label, input, select, textarea, button { font-family: var(--body-font-family); letter-spacing: 0; }
body { font-weight: 400; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, strong, b { font-weight: 400; }
p, li { font-size: 1rem; }
@media (max-width: 767px) { p, li { font-size: .9375rem; } }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--theme-color1); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--theme-color1); outline-offset: 3px; }

/* Header */
.main-header .logo img, .sticky-header .logo img, .mobile-menu .nav-logo img { width: auto; height: 30px; max-width: none; }
@media (max-width: 575px) { .main-header .logo img, .sticky-header .logo img { height: 24px; } }
.mobile-nav-toggler { background: none; border: 0; color: #fff; min-width: 44px; min-height: 44px; font-size: 1.5rem; cursor: pointer; }
.mobile-menu .close-btn { background: none; border: 0; color: #fff; min-width: 44px; min-height: 44px; }
.main-header .btn-style-five { white-space: nowrap; }

/* Buttons */
.btn-style-five, .cg-btn-ghost { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cg-btn-ghost { padding: .7rem 1.4rem; border: 1px solid var(--cg-border); border-radius: 999px; color: #fff; background: transparent; text-decoration: none; transition: background .2s, border-color .2s; }
.cg-btn-ghost:hover { background: var(--cg-surface); border-color: var(--theme-color1); color: #fff; }
button.btn-style-five[disabled] { opacity: .6; cursor: not-allowed; }

/* Sections */
.cg-section { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0; }
.cg-section .sec-title-five { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-title-five .title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.2; }
.sec-title-five .text { max-width: 44rem; margin-inline: auto; }
.sec-title-five:not(.text-center) .text { margin-inline: 0; }
.cg-prose { max-width: 40rem; color: var(--cg-muted); }
.cg-prose p + p { margin-top: 1rem; }
.cg-narrow { max-width: 56rem; }
.cg-lead { color: var(--cg-muted); max-width: 40rem; margin: .75rem auto 0; }

/* Hero */
.banner-section-ai .title { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.12; }
.cg-hero__lead { max-width: 36rem; margin: 1.25rem 0 1.75rem; color: var(--cg-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.cg-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.banner-section-ai figure.image img { max-height: 28rem; object-fit: contain; }
@media (max-width: 991px) { .banner-section-ai figure.image { display: none; } }

/* About panel */
.cg-panel { background: linear-gradient(160deg, rgb(34 137 254 / 22%), rgb(34 137 254 / 6%)); border: 1px solid var(--cg-border); border-radius: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.cg-panel__title { font-size: 1.5rem; margin-bottom: 1.25rem; color: #fff; }
.cg-panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cg-panel__list li { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--cg-border); color: #fff; }
.cg-panel__list li:first-child { border-top: 0; padding-top: 0; }
.cg-panel__idx { flex: 0 0 auto; min-width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--theme-color1); color: #fff; font-size: .9rem; }

/* Cards */
.cg-grid > * { display: flex; }
.cg-card { width: 100%; background: var(--cg-surface); border: 1px solid var(--cg-border); border-radius: 1.25rem; padding: 1.75rem; transition: transform .25s, border-color .25s, background .25s; }
.cg-card:hover { transform: translateY(-4px); border-color: var(--theme-color1); background: rgb(34 137 254 / 8%); }
.cg-card__icon { width: 3rem; height: 3rem; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: .9rem; background: rgb(34 137 254 / 18%); color: var(--theme-color1); font-size: 1.25rem; }
.cg-card__title { font-size: 1.25rem; margin: 1.1rem 0 .5rem; color: #fff; }
.cg-card__text { color: var(--cg-muted); margin: 0; }
.cg-step { list-style: none; }
.cg-step__num { color: var(--theme-color1); font-size: 2rem; line-height: 1; }
.cg-card--step .cg-card__title { margin-top: .75rem; }

/* Engagement */
.cg-engage__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.cg-engage__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: 1.25rem; border: 1px solid var(--cg-border); background: linear-gradient(135deg, rgb(34 137 254 / 14%), rgb(255 255 255 / 3%)); }
.cg-engage__title { font-size: 1.1rem; margin: 0 0 .35rem; color: #fff; }
.cg-engage__item p { margin: 0; color: var(--cg-muted); }

/* Contact + forms */
.contact-block a { color: #fff; }
.contact-block a:hover { color: var(--theme-color1); }
.contact-form { padding: clamp(1.25rem, 3vw, 2.25rem); }
.cg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }
.cg-field { display: grid; grid-template-rows: auto 56px; gap: 8px; margin: 0; min-width: 0; }
.cg-field label { display: block; margin: 0; color: #fff; }
.cg-field input, .cg-field select, .cg-field textarea { width: 100%; height: 56px; padding: 0 1rem; border-radius: .75rem; border: 1px solid var(--cg-border); background: rgb(255 255 255 / 6%); color: #fff; font-size: 1rem; }
.cg-field select option { color: #040B1D; }
.cg-field input:focus, .cg-field select:focus, .cg-field textarea:focus { border-color: var(--theme-color1); outline: 2px solid var(--theme-color1); outline-offset: 1px; }
.cg-field--full { grid-template-rows: auto auto; margin-bottom: 20px; }
.cg-field--full textarea { height: auto; min-height: 9rem; padding: 1rem; resize: vertical; }
.cg-hint { font-size: .875rem; color: var(--cg-muted); margin: 0; }
.cg-field-error { font-size: .875rem; color: var(--color-error); margin: 0; min-height: 0; }
.cg-field-error:empty { display: none; }
.cg-field--invalid input, .cg-field--invalid select, .cg-field--invalid textarea { border-color: var(--color-error); }
@media (max-width: 767px) { .cg-row { grid-template-columns: 1fr; } }

.form-status { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: .75rem; border: 1px solid; }
.form-status.is-visible { display: block; }
.form-status--success { border-color: var(--theme-color1); background: rgb(34 137 254 / 14%); color: #fff; }
.form-status--success::before { content: "\2713\00a0"; }
.form-status--error { border-color: var(--color-error); background: rgb(255 138 128 / 12%); color: #ffd7d3; }
.form-status--error::before { content: "!\00a0"; }

/* Resume upload */
.cg-upload { position: relative; border: 1px dashed var(--cg-border); border-radius: .75rem; background: rgb(255 255 255 / 4%); min-height: 64px; }
.cg-upload:hover, .cg-upload:focus-within { border-color: var(--theme-color1); }
.cg-upload input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cg-upload__display { display: flex; align-items: center; gap: .75rem; padding: 1rem; pointer-events: none; color: #fff; min-width: 0; }
.cg-upload__display > span:nth-of-type(1) { flex: 1; overflow-wrap: anywhere; }
.cg-upload__btn { padding: .4rem 1rem; border-radius: 999px; background: var(--theme-color1); color: #fff; }
.cg-upload.has-file { border-style: solid; border-color: var(--theme-color1); }
.cg-upload.has-error { border-color: var(--color-error); }
.cg-progress { height: 6px; border-radius: 6px; background: rgb(255 255 255 / 12%); overflow: hidden; margin-top: 8px; display: none; }
.cg-progress.is-visible { display: block; }
.cg-progress > span { display: block; height: 100%; width: 0; background: var(--theme-color1); transition: width .2s; }

/* Careers */
.page-title { padding: clamp(7rem, 12vw, 9rem) 0 clamp(2.5rem, 5vw, 4rem); background-size: cover; background-position: center; }
.page-title .title { font-size: clamp(1.9rem, 4.4vw, 3.25rem); line-height: 1.15; }
.cg-search { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; max-width: 50rem; margin: 0 auto 2rem; }
.cg-search__field { flex: 1 1 18rem; }
.cg-jobs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.cg-job { background: var(--cg-surface); border: 1px solid var(--cg-border); border-radius: 1.25rem; padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.cg-job__top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--cg-muted); }
.cg-job__status { color: var(--theme-color1); }
.cg-job__title { font-size: 1.35rem; color: #fff; margin: 0; }
.cg-job__summary, .cg-job__skills { margin: 0; color: var(--cg-muted); }
.cg-job__skills strong { color: #fff; }
.cg-job__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.cg-job__desc { border-top: 1px solid var(--cg-border); padding-top: 1rem; }
.cg-job__desc[hidden] { display: none; }
.cg-job__desc h4 { font-size: 1rem; color: #fff; margin: 1rem 0 .35rem; }
.cg-job__desc ul { padding-left: 1.2rem; margin: 0; color: var(--cg-muted); }
.cg-job__desc p { margin: 0; color: var(--cg-muted); }
.cg-empty { text-align: center; padding: 2rem 1rem; border: 1px dashed var(--cg-border); border-radius: 1.25rem; }
.cg-empty[hidden] { display: none; }

/* Footer */
.newsletter-form { margin-top: 1.5rem; max-width: 28rem; }
.newsletter-form__label { display: block; margin-bottom: .5rem; color: #fff; font-size: .95rem; }
.newsletter-form__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 12rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--cg-border); background: rgb(255 255 255 / 6%); color: #fff; }
.newsletter-response { margin: .5rem 0 0; min-height: 1.25rem; font-size: .9rem; color: var(--cg-muted); }
.footer-widget .widget-title { font-size: 1.1rem; color: #fff; }
.footer-widget .user-links li { color: var(--cg-muted); }
.footer-style-ai .logo img { width: auto; height: 36px; max-width: none; }

/* Theme animations: show content if reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wow { visibility: visible !important; opacity: 1 !important; }
}

/* Sentence case everywhere (theme capitalises headings) */
h1, h2, h3, h4, h5, h6, .title, .sub-title, .btn-style-five, .widget-title, .navigation > li > a { text-transform: none !important; }
.banner-section-ai .content .title .text-bg { margin-left: 0; display: inline; padding: 0; }
.banner-section-ai .content .title .text-bg::before, .banner-section-ai .content .title .text-bg::after { display: none; }
.banner-section-ai .content .title .text-bg span { display: inline; }
.contact-block .title { font-size: 1.1rem; margin-bottom: .25rem; }
.contact-block .text { font-size: 1rem; }
.contact-form .title { font-size: 1.5rem; }
.page-title .cg-lead { color: rgb(255 255 255 / 85%); position: relative; z-index: 1; margin: 1rem auto 1.25rem; }
.cg-jobs { align-items: stretch; }
.cg-job__actions { margin-top: auto; }

/* Engagement: bot centrepiece */
.cg-engage__layout { display: grid; grid-template-columns: 1fr minmax(0, 20rem) 1fr; gap: 1.25rem; align-items: center; }
.cg-engage__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.cg-engage__bot { margin: 0; text-align: center; }
.cg-engage__bot img { width: 100%; max-width: 20rem; height: auto; }
@media (max-width: 991px) {
  .cg-engage__layout { grid-template-columns: 1fr; }
  .cg-engage__bot { order: -1; }
  .cg-engage__bot img { max-width: 12rem; }
}
/* Hero robot also on tablet/mobile */
@media (max-width: 991px) {
  .banner-section-ai figure.image { display: block !important; text-align: center; margin: 1.5rem 0 0; }
  .banner-section-ai figure.image img { max-height: 14rem; }
}

/* New template sections */
.cg-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; }
.cg-chips li { padding: .3rem .85rem; border: 1px solid var(--cg-border); border-radius: 999px; background: rgb(255 255 255 / 6%); color: #fff; font-size: .9rem; }
.features-section-ai .feature-block-ai .title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.cg-steps { list-style: none; padding: 0; }
.cg-nowrap { white-space: nowrap; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.testimonial-block-five .author { font-size: 1.15rem; margin: 0; }
.testimonial-block-five .content-box { width: 100%; }
.feature-section-two-layout5 .feature-box-two-home5 .title a, .feature-section-two-layout5 .feature-box-two-style2-home5 .title a { text-decoration: none; }
.features-section-ai .feature-block-ai .inner-block { height: auto; min-height: 0; padding-bottom: 2rem; }
.features-section-ai .feature-block-ai .image-box { margin-top: 1rem; }
.features-section-ai .feature-block-ai .image-box img { max-height: 11rem; width: auto; }
.features-section-ai .feature-block-ai .content-box { padding-top: 0; }
.cg-section .feature-box-two-home5 .icon, .cg-section .feature-box-two-style2-home5 .icon, .growth-block .icon { color: var(--theme-color1); font-size: 1.75rem; }
.growth-block .icon i { display: inline-block; }
.growth-section .btn-style-five { white-space: nowrap; }
.testimonial-section-five .swiper { overflow: hidden; }
.features-section-ai .feature-block-ai { display: flex; }
.features-section-ai .feature-block-ai .inner-block { height: auto; width: 100%; }
.features-section-ai .row > .feature-block-ai { margin-top: 0; }

/* Hero: keep the buttons clear of the decorative swirl at the left edge */
@media (min-width: 992px) { .banner-section-ai .cg-actions { margin-left: 9rem; } }
@media (max-width: 991px) { .banner-section-ai .cg-actions { margin-left: 0; } }

/* Technology logos in feature cards */
.cg-logos { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; padding: 0; }
.cg-logos li { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 92%); box-shadow: 0 0 0 6px rgb(255 255 255 / 8%); }
.cg-logos img { width: 1.9rem; height: 1.9rem; object-fit: contain; }
.features-section-ai .feature-block-ai .content-box { position: relative; z-index: 2; }
.feature-block-ai .inner-block.item3 .item-shape { position: absolute; bottom: 0; left: 0; width: 100%; z-index: -1; }
.feature-block-ai .inner-block.item3 .item-shape img, .feature-block-ai .inner-block.item4 .item-shape img { max-width: 100%; height: auto; }
.feature-block-ai .inner-block { padding-bottom: 2rem; }

/* Dense logo walls */
.cg-logos { gap: .6rem; }
.cg-logos li { width: 2.9rem; height: 2.9rem; box-shadow: 0 0 0 4px rgb(255 255 255 / 8%); }
.cg-logos img { width: 1.6rem; height: 1.6rem; }
@media (max-width: 575px) { .cg-logos li { width: 2.6rem; height: 2.6rem; } .cg-logos img { width: 1.4rem; height: 1.4rem; } }

/* Features: tabbed capability explorer */
.cg-tabs { display: grid; grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.cg-tablist { display: grid; gap: .75rem; }
.cg-tab { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1rem 1.1rem; border-radius: 1.1rem; border: 1px solid var(--cg-border); background: var(--cg-surface); color: #fff; cursor: pointer; min-height: 44px; transition: background .2s, border-color .2s; }
.cg-tab:hover { border-color: var(--theme-color1); }
.cg-tab.is-active { background: linear-gradient(135deg, rgb(34 137 254 / 30%), rgb(34 137 254 / 8%)); border-color: var(--theme-color1); }
.cg-tab__label { display: grid; gap: .1rem; font-size: 1.05rem; }
.cg-tab__label small { color: var(--cg-muted); font-size: .85rem; }
.cg-tabpanel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--cg-border); border-radius: 1.5rem; background: linear-gradient(180deg, rgb(4 11 29 / 90%), rgb(7 69 227 / 22%)); }
.cg-tabpanel[hidden] { display: none; }
.cg-tabpanel__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; margin: 0 0 .5rem; }
.cg-tabpanel__text { color: var(--cg-muted); max-width: 42rem; margin: 0; }
.cg-tiles { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .75rem; }
.cg-tiles li { display: grid; justify-items: center; gap: .5rem; padding: .85rem .4rem; border-radius: 1rem; border: 1px solid var(--cg-border); background: rgb(255 255 255 / 5%); text-align: center; }
.cg-tile__logo { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 94%); }
.cg-tile__logo img { width: 1.6rem; height: 1.6rem; object-fit: contain; }
.cg-tile__name { font-size: .8rem; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 991px) {
  .cg-tabs { grid-template-columns: 1fr; }
  .cg-tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .cg-tablist { grid-template-columns: 1fr; }
  .cg-tiles { grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); }
}

/* Tabs auto-play: progress bar + pause button */
.cg-tab { position: relative; overflow: hidden; }
.cg-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--theme-color1); }
.cg-tabs.is-playing .cg-tab.is-active::after { width: 100%; transition: width 6s linear; }
.cg-tabs__toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--cg-border); background: transparent; color: var(--cg-muted); cursor: pointer; justify-self: start; }
.cg-tabs__toggle:hover { color: #fff; border-color: var(--theme-color1); }
@media (prefers-reduced-motion: reduce) { .cg-tabs.is-playing .cg-tab.is-active::after { transition: none; width: 0; } }

/* Footer: big faded brand mark + social pills (matches the template footer) */
.footer-style-ai { position: relative; overflow: hidden; padding-bottom: 0; }
.cg-footer-mark { position: relative; z-index: 0; width: 100%; max-width: 90rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--space-4, 1rem) 0; pointer-events: none; user-select: none; }
.cg-footer-mark img { display: block; width: 100%; height: auto; opacity: .09; }
.footer-style-ai .widgets-section { position: relative; z-index: 1; }
.footer-bottom .inner-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom .social-link li a { min-height: 44px; padding: .4rem 1rem; color: #fff; text-decoration: none; }

/* How it works: horizontal timeline */
.cg-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.cg-flow__item { position: relative; display: grid; gap: 1.25rem; align-content: start; }
.cg-flow__node { position: relative; z-index: 1; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.05rem; background: linear-gradient(135deg, #2289fe, #8d56fa); box-shadow: 0 0 0 6px rgb(34 137 254 / 16%), 0 8px 24px rgb(34 137 254 / 35%); }
/* connector from this node to the next one */
.cg-flow__item:not(:last-child)::before { content: ""; position: absolute; top: 1.625rem; left: 3.25rem; right: calc(-1.25rem); height: 2px; background: linear-gradient(90deg, #2289fe, rgb(141 86 250 / 55%)); }
.cg-flow__card { height: 100%; padding: 1.5rem; border-radius: 1.25rem; border: 1px solid var(--cg-border); background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(34 137 254 / 8%)); transition: transform .25s, border-color .25s; }
.cg-flow__item:hover .cg-flow__card { transform: translateY(-4px); border-color: var(--theme-color1); }
.cg-flow__title { font-size: 1.3rem; color: #fff; margin: 1rem 0 .5rem; }
.cg-flow__text { margin: 0; color: var(--cg-muted); }
@media (max-width: 991px) {
  .cg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .cg-flow__item:nth-child(2)::before { display: none; }
  .cg-flow__item:nth-child(odd):not(:last-child)::before { right: -1.25rem; }
}
@media (max-width: 575px) {
  .cg-flow { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .cg-flow__item { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; padding-bottom: 1.5rem; }
  .cg-flow__item:not(:last-child)::before, .cg-flow__item:nth-child(2)::before, .cg-flow__item:nth-child(odd):not(:last-child)::before { display: block; top: 3.25rem; bottom: 0; left: 1.5rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #2289fe, rgb(141 86 250 / 40%)); }
}

/* Buttons no longer need to dodge the old swirl */
@media (min-width: 992px) { .banner-section-ai .cg-actions { margin-left: 0; } }

/* Inline SVG social icons (replaces the Font Awesome brands font) */
.cg-ico { flex: none; vertical-align: -2px; margin-right: .4rem; }

/* Careers: explore options + form extras */
.cg-options { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 0; }
.cg-options__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cg-option { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; color: #fff; text-decoration: none; background: var(--cg-surface); border: 1px solid var(--cg-border); border-radius: 1.25rem; cursor: pointer; min-height: 44px; font: inherit; transition: border-color .2s, background .2s; }
.cg-option:hover, .cg-option:focus-visible { border-color: var(--theme-color1); background: rgb(34 137 254 / 10%); color: #fff; }
.cg-option strong { display: block; font-weight: 400; font-size: 1.15rem; }
.cg-option small { display: block; margin-top: .2rem; color: var(--cg-muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 767px) { .cg-options__grid { grid-template-columns: 1fr; } }
.cg-prefill { margin: 0 0 1.25rem; padding: .8rem 1rem; border: 1px solid var(--theme-color1); border-radius: .75rem; background: rgb(34 137 254 / 14%); color: #fff; }
.cg-consent { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1rem; }
.cg-consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--theme-color1); }
.cg-consent label { color: var(--cg-muted); font-size: .95rem; line-height: 1.5; }
.cg-consent a { color: #8fc0ff; }
