/* Ukubuka – static rebuild of ukubuka.com
   Values mirror the original Divi theme settings (colours, fonts, spacing, breakpoints 980/767/479px). */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/open-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/open-sans-latin-wght-italic.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg-dark: #0f0122;
  --blue: #0170f3;
  --form-blue: #204ce5;
  --accent: #2ea3f2;
  --text: #666;
  --muted-white: rgba(255, 255, 255, .75);
  --header-h: 78px;
  --header-h-scrolled: 44px;
  --display-font: "Inter", Helvetica, Arial, Lucida, sans-serif;
  --body-font: "Open Sans", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h-scrolled); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; padding-top: var(--header-h);
  font-family: var(--body-font); font-size: 14px; font-weight: 400; line-height: 1.7em; color: var(--text);
  background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding-bottom: 10px; font-family: var(--body-font); font-weight: 500; line-height: 1em; color: #333; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; padding: 10px 16px; background: #fff; color: var(--bg-dark); }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.section { position: relative; padding: 4% 0; background-color: var(--bg-dark); }
.row { position: relative; display: flex; align-items: flex-start; width: 80%; max-width: 1080px; margin: 0 auto; padding: 27px 0; }
.row > [class^="col-"] { position: relative; margin-right: 5.5%; }
.row > [class^="col-"]:last-child { margin-right: 0; }
.col-1-3 { width: 29.6667%; }
.col-2-3 { width: 64.833%; }
.col-1-2 { width: 47.25%; }
.col-3-5 { width: 57.8%; }
.col-2-5 { width: 36.7%; }
.center { text-align: center; }

.h2-block { margin-bottom: 10px; }
.h2-block h2 { font-family: var(--display-font); font-weight: 700; font-size: 48px; line-height: 1.2em; color: #fff; }
.body-text { font-size: 16px; line-height: 1.8em; color: var(--muted-white); }
.btn-wrap { margin-top: 30px; }
.btn {
  display: inline-block; position: relative;
  padding: 16px 24px; border: 0; border-radius: 100px;
  background-color: var(--blue); color: #fff;
  font-family: var(--display-font); font-size: 14px; font-weight: 700; line-height: 1.7em; text-transform: uppercase;
  transition: all 300ms ease;
}
/* Divi-style arrow that slides in on hover */
.btn::after {
  content: ""; position: absolute; top: 50%; right: 2px; width: 22px; height: 22px; margin-top: -11px;
  background-color: currentColor; opacity: 0; transform: translateX(-8px); transition: all 300ms ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11h11.17l-4.88-4.88L12.7 4.7 20 12l-7.3 7.3-1.41-1.42L16.17 13H5z'/%3E%3C/svg%3E") center / 60% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11h11.17l-4.88-4.88L12.7 4.7 20 12l-7.3 7.3-1.41-1.42L16.17 13H5z'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.btn:hover::after, .btn:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99999;
  height: var(--header-h); background-color: var(--bg-dark);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  transition: height .4s ease-in-out;
}
.site-header.is-scrolled { height: var(--header-h-scrolled); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; width: 80%; max-width: 1080px; height: 100%; margin: 0 auto; }
.logo-link { display: flex; align-items: center; height: 100%; }
#logo { display: block; width: auto; height: auto; max-height: 74%; transition: all .4s ease-in-out; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; }
.menu li { padding-right: 22px; }
.menu li:last-child { padding-right: 0; }
.menu a { display: block; color: #fff; font-size: 14px; font-weight: 600; line-height: 1em; transition: opacity .4s ease-in-out; }
.menu a:hover { opacity: .7; }
.menu-toggle, .mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  overflow: hidden; padding: 71px 0 2px;
  background-color: var(--bg-dark);
  background-image: url(/assets/images/grid-bg-1.png), radial-gradient(at right center, rgba(121, 58, 255, .65) 0%, rgba(255, 255, 255, 0) 72%);
  background-size: auto, cover; background-repeat: repeat, no-repeat; background-position: center top, center;
}
.hero-row { padding: 27px 0 4px; }
.hero-copy { z-index: 10; }
.eyebrow p { padding-bottom: 10px;  font-family: var(--display-font); font-weight: 700; font-size: 14px; letter-spacing: 1px; line-height: 1.5em; text-transform: uppercase; color: var(--blue); }
.hero-title { margin-bottom: 10px; }
.hero-title h1 { font-family: var(--display-font); font-weight: 700; font-size: 60px; color: #fff; }
.hero-text { max-width: 500px; font-size: 16px; line-height: 1.8em; color: var(--muted-white); }
.hero-visual .brain { display: block; max-width: none; width: calc(100% * 2.9); margin: -60% 0 0 -80%; }

/* ---------- Why ---------- */
.why {
  padding: 20px 0 2px;
  background-color: var(--bg-dark);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, var(--bg-dark) 100%), url(/assets/images/eye-bg-1.png);
  background-size: auto, auto; background-repeat: no-repeat; background-position: center top;
}
.why-intro { padding: 9px 0 27px; }
.feature img { display: block; margin-bottom: 30px; }
.feature h3 { font-family: var(--display-font); font-weight: 700; font-size: 25px; line-height: 1.4em; color: #fff; }

/* ---------- Competitive edge ---------- */
.edge {
  overflow: hidden; padding: 15px 0 7px;
  background-color: var(--bg-dark);
  background-image: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255, 255, 255, 0) 100%), url(/assets/images/grid-bg-2.png);
  background-size: auto, auto; background-repeat: repeat; background-position: center bottom;
}

/* ---------- Bigger picture ---------- */
.bigger-picture { padding: 0 0 2px; }
.head-image { display: block; width: 120%; max-width: 600px; margin-left: -20%; }
.bigger-copy { padding-top: 12%; }
.js .scroll-focus { filter: blur(10px); transform: scale(.9); transition: filter 200ms linear, transform 200ms linear; will-change: filter, transform; }

/* ---------- Sign up ---------- */
.signup {
  padding: 0 0 30px;
  background-color: var(--bg-dark);
  background-image: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, var(--bg-dark) 100%), url(/assets/images/eye.png);
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.signup-card { display: block; overflow: hidden; padding: 44px 6% 40px; border-radius: 32px; background-color: var(--blue); }
.signup-card .h2-block h2 { font-size: 40px; text-wrap: balance; }
.signup-text { margin-bottom: 22px; }

/* ---------- Contact row ---------- */
.contact-box { text-align: center; }
.contact-title { margin: 0; padding-bottom: 12px; font-family: var(--display-font); font-size: 13px; font-weight: 700; letter-spacing: 2px; line-height: 1.5em; text-transform: uppercase; color: #fff; }
.contact-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 12px 22px 12px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: rgba(15, 1, 34, .75); color: #fff; text-align: left;
  box-shadow: 0 14px 30px -18px rgba(15, 1, 34, .9);
  transition: transform .3s ease, border-color .3s ease;
}
.contact-card:hover, .contact-card:focus-visible { transform: translateY(-2px); border-color: rgba(255, 255, 255, .4); color: #fff; }
.contact-icon { display: grid; grid-row: 1 / 3; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-label { font-family: var(--display-font); font-size: 11px; font-weight: 700; letter-spacing: 1px; line-height: 1.3; text-transform: uppercase; color: var(--muted-white); }
.contact-value { font-family: var(--display-font); font-size: 15px; font-weight: 700; line-height: 1.3; word-break: break-word; }

/* ---------- Contact form (styled like the original Gravity Forms "orbital" theme) ---------- */
.form-box { padding: 25px; background-color: #fff; font-family: var(--body-font); }
.form-title { padding-bottom: 10px; font-family: var(--body-font); font-size: 26px; font-weight: 700; line-height: 1; text-align: center; color: var(--blue); }
.field-list { display: grid; row-gap: 40px; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; line-height: 1.43; color: var(--blue); }
.required { margin-left: 4px; font-size: 12px; font-weight: 500; color: #c02b0a; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.sub { display: flex; flex-direction: column; min-width: 0; }
.sub-label { margin-bottom: 8px; font-size: 13px; font-weight: 400; line-height: 1.43; color: var(--blue); }
.field-description { margin-bottom: 8px; font-size: 13px; font-weight: 400; line-height: 1.43; color: var(--blue); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; max-width: 100%; margin: 0;
  border: 1px solid #686e77; border-radius: 3px; background: #fff; color: var(--blue);
  font-family: var(--body-font); font-size: 14px; font-weight: 400;
  box-shadow: 0 1px 4px rgba(18, 25, 97, .08);
}
.contact-form input[type="text"], .contact-form input[type="email"] { height: 38px; padding: 0 12px; line-height: 38px; }
.contact-form textarea { display: block; height: 192px; padding: 12px; line-height: 1.5; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--form-blue); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border-color: #c02b0a; }
.field-error { margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.43; color: #c02b0a; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { margin-top: 51px; text-align: center; }
.form-button {
  margin: 0; padding: 10px 50px; border: 0; border-radius: 3px; cursor: pointer;
  background-color: var(--form-blue); color: #fff; font-family: var(--body-font); font-size: 14px; font-weight: 400; line-height: 1.3;
  box-shadow: 0 1px 4px rgba(18, 25, 97, .08); transition: color .2s ease;
}
.form-button:hover { color: var(--blue); }
.form-button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin-top: 20px; padding: 12px 16px; border: 1px solid #c02b0a; border-radius: 3px; background: #fff6f4; color: #c02b0a; font-size: 14px; line-height: 1.5; text-align: center; }
.form-status a { color: #c02b0a; text-decoration: underline; }
.form-confirmation { color: var(--blue); font-size: 16px; line-height: 1.7; text-align: center; }
.form-confirmation:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .08); background-color: var(--bg-dark); }
.footer-bottom { padding: 22px 0 12px; }
.footer-inner { width: 80%; max-width: 1080px; margin: 0 auto; }
.footer-info { padding-bottom: 10px; color: var(--muted-white); text-align: left; }
.footer-info a { color: #fff; font-weight: 700; transition: color .2s ease; }
.footer-info a:hover, .footer-info a:focus-visible { color: var(--accent); }

/* ---------- Plain text pages (Terms & Conditions) ---------- */
.page-section { background-color: #fff; padding: 4% 0; }
.page-section .row { display: block; }
.page-text p { padding-bottom: 1em; }
.page-text h1 { padding-bottom: 24px; font-family: var(--display-font); font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--bg-dark); }
.page-text h2 { padding: 18px 0 10px; font-family: var(--display-font); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--bg-dark); }

/* ---------- 404 + message pages ---------- */
.error-hero { padding: 8vw 0 10vw; text-align: center; background-color: var(--bg-dark); background-image: url(/assets/images/grid-bg-1.png), radial-gradient(at right center, rgba(121, 58, 255, .65) 0%, rgba(255, 255, 255, 0) 72%); }
.error-hero .row { display: block; }
.error-hero h1 { font-family: var(--display-font); font-weight: 700; font-size: 60px; color: #fff; }
.error-hero p { max-width: 600px; margin: 0 auto; font-size: 16px; line-height: 1.8em; color: var(--muted-white); }
.plain-page { padding-top: 0; background: var(--bg-dark); }
.plain-message { width: 80%; max-width: 700px; margin: 0 auto; padding: 15vh 0; text-align: center; color: var(--muted-white); }
.plain-message h1 { font-family: var(--display-font); font-weight: 700; font-size: 48px; line-height: 1.2em; color: #fff; }
.plain-message p { padding-bottom: 1.5em; font-size: 16px; line-height: 1.8em; }

/* ---------- Tablet (≤980px) ---------- */
@media (max-width: 980px) {
  body { padding-top: 80px; }
  html { scroll-padding-top: 0; }
  .row { flex-direction: column; padding: 30px 0; }
  .row > [class^="col-"] { width: 100%; margin: 0 0 30px; }
  .row > [class^="col-"]:last-child { margin-bottom: 0; }
  .row > .col-empty { display: none; }

  .site-header, .site-header.is-scrolled { position: absolute; height: 80px; }
  .header-inner { max-width: none; }
  #logo { max-height: 36px; max-width: 150px; }
  .top-nav { display: none; }
  .menu-toggle {
    display: block; position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    position: absolute; left: 4px; width: 24px; height: 3px; border-radius: 1px; background: var(--accent); content: ""; transition: transform .25s ease, opacity .25s ease;
  }
  .menu-toggle .bars { top: 14.5px; }
  .menu-toggle .bars::before { left: 0; top: -8px; }
  .menu-toggle .bars::after { left: 0; top: 8px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    position: absolute; top: 80px; left: 0; width: 100%; margin: 0; padding: 15px; list-style: none;
    background: var(--bg-dark); border-top: 3px solid var(--accent); box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu a { display: block; padding: 10px 5%; border-bottom: 1px solid rgba(0, 0, 0, .03); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.7em; }
  .mobile-menu a:hover { opacity: .7; }

  .hero { padding-top: 40px; }
  .hero-row { padding: 30px 0 4px; }
  .hero-title h1 { font-size: 40px; }
  .hero-text, .body-text { font-size: 15px; }
  .hero-visual .brain { width: 100%; max-width: 1000px; margin: 0; }
  .h2-block h2 { font-size: 32px; }
  .signup-card .h2-block h2 { font-size: 32px; }
  .feature h3 { font-size: 20px; }
  .feature-row > .feature:nth-child(2) { padding-bottom: 30px; }
  .why-intro { padding: 9px 0 30px; }
  .row.signup-card { padding: 36px 6%; }

  .head-image { width: 100%; max-width: 600px; margin-left: 0; }
  .bigger-copy { padding-top: 0; }

  .footer-info { float: none; text-align: center; }
}

/* ---------- Phone (≤767px) ---------- */
@media (max-width: 767px) {
  .hero-title h1 { font-size: 24px; }
  .hero-text, .body-text { font-size: 14px; }
  .h2-block h2 { font-size: 20px; }
  .signup-card .h2-block h2 { font-size: 24px; }
  .feature h3 { font-size: 16px; }
  .signup-card { border-radius: 40px; }
  .error-hero h1, .plain-message h1 { font-size: 32px; }
}

/* ---------- Small phone (≤479px) ---------- */
@media (max-width: 479px) {
  .field-grid { grid-template-columns: 1fr; row-gap: 16px; }
}
