/* Style fixes layered on top of the Framer export (loaded on every page). */

:root {
  --aur-btn-bg: linear-gradient(rgb(53, 59, 102) 0%, rgb(25, 28, 48) 100%);
  --aur-btn-border: rgba(159, 146, 255, 0.28);
  --aur-accent: rgb(159, 146, 255);
  --aur-surface: rgb(10, 12, 32);
}

/* AUR-107: header dropdowns (Services) were 70% transparent with 12px text,
   so the hero heading showed through them. */
[data-framer-name="Menu"][role="dialog"] {
  background-color: rgba(10, 12, 32, 0.97) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  border-color: rgba(159, 146, 255, 0.22) !important;
  padding: 8px !important;
  gap: 0 !important;
  width: max-content !important;
  min-width: 240px;
  height: auto !important;
}
[data-framer-name="Menu"][role="dialog"] > * {
  width: 100% !important;
}
[data-framer-name="Menu"][role="dialog"] p {
  --framer-font-size: 14px !important;
  --framer-line-height: 1.4em !important;
  white-space: nowrap;
}
[data-framer-name="Menu"][role="dialog"] a {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92) !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}
[data-framer-name="Menu"][role="dialog"] a:hover,
[data-framer-name="Menu"][role="dialog"] a:focus-visible {
  background-color: rgba(159, 146, 255, 0.14);
  color: #fff !important;
}

/* AUR-108: inline service list in the phone menu (built by fixes.js). */
nav[data-framer-name="Phone Open"] {
  max-height: 100dvh;
  overflow-y: auto;
}
.aur-services-toggle {
  cursor: pointer;
}
.aur-services-sub {
  list-style: none;
  margin: -4px 0 8px;
  padding: 0 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aur-services-sub[hidden] {
  display: none;
}
.aur-services-sub a {
  display: block;
  padding: 8px 0;
  font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Placeholder', sans-serif;
  font-size: 17px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.aur-services-sub a:active,
.aur-services-sub a:hover {
  color: var(--aur-accent);
}

/* AUR-115: one button style site-wide (gradient pill, 30px radius, thin
   accent border). The hero CTA and the form "Submit" used their own looks. */
[data-framer-name="First state"] {
  background: var(--aur-btn-bg) !important;
  border-radius: 30px !important;
  box-shadow: inset 0 0 0 1px var(--aur-btn-border);
}
a[data-framer-name="Primary"] [data-framer-name="BG"],
a[data-framer-name="Secondary"] [data-framer-name="BG"],
button[data-framer-name="Default"] [data-framer-name="BG"] {
  background: var(--aur-btn-bg) !important;
  box-shadow: inset 0 0 0 1px var(--aur-btn-border);
}
button[data-framer-name="Default"] [data-framer-name="Hover"] {
  background: linear-gradient(rgb(159, 146, 255) 4.35%, rgb(74, 50, 255) 63.57%) !important;
}

/* AUR-119: blog categories as chips instead of "[ Category ]" in a random,
   sometimes unreadable (pure blue on navy) colour. */
[data-aur-chip] {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: 100%;
  align-self: flex-start;
  gap: 0 !important;
  padding: 4px 10px !important;
  border-radius: 999px;
  background: rgba(159, 146, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(159, 146, 255, 0.35);
}
[data-aur-chip] > :first-child,
[data-aur-chip] > :last-child {
  display: none !important;
}
[data-aur-chip] > :nth-child(2) {
  width: auto !important;
  min-width: 0;
  flex: 0 1 auto !important;
  overflow: hidden;
}
[data-aur-chip] > :nth-child(2) p {
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-aur-chip] p {
  --framer-text-color: rgb(214, 208, 255) !important;
  --framer-font-size: 12px !important;
  --framer-letter-spacing: 0.02em !important;
  white-space: nowrap;
  font-weight: 600;
}

/* AUR-104 / AUR-119: equal-height cards with a clear title > excerpt > meta
   hierarchy. Titles and excerpts are clamped so one long title no longer
   makes its card taller (and offset) relative to its neighbours. */
div:has(> a [data-framer-name="Landscape - Small"]),
div:has(> a [data-framer-name="Portrait"]) {
  align-items: stretch !important;
}
a:has([data-framer-name="Landscape - Small"]),
a:has([data-framer-name="Portrait"]) {
  align-self: stretch !important;
  height: auto !important;
}
a [class*="-container"]:has(> :is([data-framer-name="Landscape - Small"], [data-framer-name="Portrait"])),
:is([data-framer-name="Landscape - Small"], [data-framer-name="Portrait"]) {
  height: 100% !important;
}
[data-framer-name="Portrait"] {
  justify-content: flex-start !important;
}
:is([data-framer-name="Landscape - Small"], [data-framer-name="Portrait"]) [data-framer-name="Content"] > :nth-child(2) > :first-child :is(h1, h2, h3, h4, h5, h6, p) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
:is([data-framer-name="Landscape - Small"], [data-framer-name="Portrait"]) [data-framer-name="Content"] > :nth-child(2) > :nth-child(2) p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* AUR-114: "More work" cards for case studies without a CMS summary showed a
   large blank block under the title. Collapse it until copy is added. */
[data-framer-name="Description"]:empty {
  display: none !important;
}

/* Case-study cards, phone variant: the "[01]" number sat on top of the first letters of the
   title. Indent the title's first line past the number, as the desktop card does. */
[data-framer-name="Phone"] [data-framer-name="Title"] h3 {
  text-indent: 36px;
}

/* /seo and /cloud-infrastructure: the five-step process list now renders on phones too
   (content-fix "full process list on phones"). Framer only styled it from tablet up, so stack
   each step's title over its description and keep it inside the page gutter. */
@media (max-width: 809.98px) {
  .framer-1cxa8rc, .framer-sqwpgr {
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box;
  }
  .framer-1cxa8rc > div, .framer-sqwpgr > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    padding: 14px 0 !important;
  }
  .framer-1cxa8rc > div > *, .framer-sqwpgr > div > * {
    width: 100% !important;
    white-space: normal !important;
  }
  .framer-1cxa8rc > div p, .framer-sqwpgr > div p {
    --framer-text-alignment: left !important;
    text-align: left !important;
    --framer-line-height: 1.4em !important;
  }
}

/* SEO: the page's single H1 (visually hidden; its text mirrors the visible hero). */
.aur-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Comparison tables in blog posts: CMS rich text has no table styles of its own, so these
   follow the article's text colour and the site's hairline borders. */
table.framer-text {
  width: 100%;
  margin: 8px 0 32px;
  border-collapse: collapse;
  table-layout: fixed;
}
table.framer-text th,
table.framer-text td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}
table.framer-text thead th {
  background: rgba(255, 255, 255, 0.06);
}
table.framer-text p {
  margin: 0 !important;
}
/* On phones wide tables scroll sideways instead of breaking words. */
@media (max-width: 809.98px) {
  table.framer-text {
    display: block;
    overflow-x: auto;
    table-layout: auto;
    -webkit-overflow-scrolling: touch;
  }
  table.framer-text th,
  table.framer-text td {
    min-width: 120px;
    padding: 8px 10px;
  }
  table.framer-text p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}

/* Case studies: the "[ INDUSTRY ]" row's category list is never filled in by the export's
   client query, which left a bare label. Hide the row while its list is empty. */
[data-framer-name="Industry"]:has(> .framer-captfd:empty) {
  display: none !important;
}

/* Service-page heroes: on phones the intro paragraph kept a 781px desktop width inside a
   342px box that hides overflow, so every line was cut off at the right edge. */
@media (max-width: 809.98px) {
  section[data-framer-name="Hero"] [data-framer-name="Text"] > [data-framer-component-type="RichTextContainer"] {
    width: 100% !important;
    column-count: auto !important;
  }
  /* the boxes around it had fixed phone heights sized for shorter text */
  section[data-framer-name="Hero"]:has([data-framer-name="Text"] > [data-framer-component-type="RichTextContainer"]),
  section[data-framer-name="Hero"] [data-framer-name="Container"]:has([data-framer-name="Text"] > [data-framer-component-type="RichTextContainer"]),
  section[data-framer-name="Hero"] [data-framer-name="Left"]:has(> [data-framer-name="Text"] > [data-framer-component-type="RichTextContainer"]),
  section[data-framer-name="Hero"] [data-framer-name="Text"]:has(> [data-framer-component-type="RichTextContainer"]),
  section[data-framer-name="Hero"] [data-framer-name="Text"] > [data-framer-component-type="RichTextContainer"] {
    height: auto !important;
  }
}

/* The template indents the first line of many text boxes (hero intro, case-study cards) by
   calc(8% + 16px), so paragraphs looked like they started with a gap. Align them flush left. */
[data-framer-component-type="RichTextContainer"][style*="text-indent"] {
  text-indent: 0 !important;
}

/* Toast shown after a contact form is sent (added by fixes.js). */
.aur-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2147483000;
  max-width: calc(100vw - 32px);
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(24, 26, 48, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.aur-toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Phones: the hero fades in from opacity 0.001 only after the page's JavaScript has run, which
   held Largest Contentful Paint back to ~13 s on a mobile connection. Show it immediately; the
   desktop entrance animation is unchanged. */
@media (max-width: 809.98px) {
  section[data-framer-name="Hero"] [data-framer-appear-id] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Homepage testimonial slot 3 shows the template's "John D., CEO, AI Agent" quote, which is not
   a real client. Hidden until a verified testimonial replaces it in the CMS. */
[data-framer-name="Testimonial 3"] {
  display: none !important;
}

/* SEO: crawlable service links (scripts/seo-fix.mjs puts them after the Framer root on every
   page). The nav "Services" dropdown only renders its links on hover. */
.aur-sitelinks {
  background: var(--token-42c100d0-2027-4bdb-aa95-e4484836947d, rgb(0, 3, 25));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 16px 28px;
  font-family: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.aur-sitelinks-title {
  margin: 0 0 8px;
  color: var(--token-544975a9-640e-428e-840a-aa6d2a435039, #898999);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.aur-sitelinks ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.aur-sitelinks a {
  color: var(--token-d15c9f48-e539-47ac-a65d-e8d45e1b3356, #fff);
  opacity: 0.75;
  text-decoration: none;
}
.aur-sitelinks a:hover,
.aur-sitelinks a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

/* Case-study "Part of our … / Related projects" links (scripts/content/case-studies.mjs) have no
   Framer link preset; show them as links. */
a.framer-text:not([class*="framer-styles-preset"])[href^="/ai-"],
a.framer-text:not([class*="framer-styles-preset"])[href^="/web-development"],
a.framer-text:not([class*="framer-styles-preset"])[href^="/mobile-apps"],
a.framer-text:not([class*="framer-styles-preset"])[href^="/case-studies/"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* "Read the case study" link under each product card on /products (auroxa/fixes.js). */
.aur-case-link {
  align-self: flex-start;
  margin-top: 4px;
  color: var(--token-4548fc2b-9d6d-44c9-a93e-f4e3e101cc97, rgb(159, 146, 255));
  font-size: 15px;
  text-decoration: none;
}
.aur-case-link:hover,
.aur-case-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* "In detail" sections on the service pages (scripts/content/service-details.mjs, placed before
   the FAQ by scripts/content-fix.mjs). Type, colours and card surface follow the page's own
   "Key Features" section. */
.aur-details {
  box-sizing: border-box;
  width: 100%;
  padding: 60px 24px;
  display: flex;
  justify-content: center;
  font-family: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", sans-serif;
  color: rgb(180, 180, 194);
  font-size: 16px;
  line-height: 24px;
}
.aur-details *,
.aur-details *::before {
  box-sizing: border-box;
}
.aur-d-inner {
  width: 100%;
  max-width: 1120px;
}
.aur-d-eyebrow {
  margin: 0 0 12px;
  color: rgb(137, 137, 153);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.36px;
}
.aur-d-title {
  margin: 0 0 20px;
  max-width: 900px;
  font-family: "Plus Jakarta Sans Variable", "Plus Jakarta Sans Variable Placeholder", "Plus Jakarta Sans", sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  background-image: linear-gradient(2766deg, var(--token-4548fc2b-9d6d-44c9-a93e-f4e3e101cc97, rgb(159, 146, 255)) 0%, var(--token-d15c9f48-e539-47ac-a65d-e8d45e1b3356, rgb(255, 255, 255)) 66.5737%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aur-d-lead {
  margin: 0 0 40px;
  max-width: 760px;
  color: rgb(180, 180, 194);
}
.aur-d-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.aur-d-card {
  padding: 28px;
  border-radius: 16px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.aur-d-wide {
  grid-column: 1 / -1;
}
.aur-d-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.aur-d-card p {
  margin: 0 0 12px;
}
.aur-d-card p:last-child,
.aur-d-card ul:last-child,
.aur-d-card ol:last-child {
  margin-bottom: 0;
}
.aur-d-card ul,
.aur-d-card ol {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.aur-d-card li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
}
.aur-d-card li:last-child {
  margin-bottom: 0;
}
.aur-d-card ul > li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--token-4548fc2b-9d6d-44c9-a93e-f4e3e101cc97, rgb(159, 146, 255));
}
.aur-d-card ol {
  counter-reset: aur-step;
}
.aur-d-card ol > li {
  counter-increment: aur-step;
  padding-left: 34px;
}
.aur-d-card ol > li::before {
  content: counter(aur-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--token-4548fc2b-9d6d-44c9-a93e-f4e3e101cc97, rgb(159, 146, 255));
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
}
.aur-d-card strong {
  color: #fff;
  font-weight: 600;
}
.aur-details a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(159, 146, 255, 0.7);
  text-underline-offset: 3px;
}
.aur-details a:hover,
.aur-details a:focus-visible {
  text-decoration-color: currentColor;
}
.aur-d-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
}
.aur-d-related-title {
  margin: 0 6px 0 0;
  color: rgb(137, 137, 153);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.36px;
}
.aur-d-related ul {
  display: contents;
  list-style: none;
}
.aur-d-related li {
  margin: 0;
}
.aur-d-related a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}
.aur-d-related a:hover,
.aur-d-related a:focus-visible {
  border-color: rgba(159, 146, 255, 0.8);
}
@media (max-width: 1199.98px) {
  .aur-d-title {
    font-size: 48px;
  }
}
@media (max-width: 809.98px) {
  .aur-details {
    padding: 56px 24px;
  }
  .aur-d-title {
    font-size: 36px;
  }
  .aur-d-lead {
    margin-bottom: 28px;
  }
  .aur-d-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .aur-d-card {
    padding: 22px;
  }
/* Case-study sub-headings (scripts/content/case-studies.mjs, CASE_DETAILS): the template's H3
   preset has no space above it, so give it room when it follows other text. */
[data-framer-name="Solutions"] h3.framer-text:not(:first-child) {
  margin-top: 22px;
}
