:root{--navy:#040a22;--cyan:#22d3ee;--text:#fff;--bg:url(/images/DDsmall.png);color-scheme:dark}
:root[data-theme="dark"]{color-scheme:dark}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){color-scheme:dark}}
*{box-sizing:border-box;margin:0}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px);height:100%}
body{background:var(--navy);color:var(--text);font-family:Outfit,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100%}
.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;
  padding:clamp(1.25rem,5vw,2.5rem);isolation:isolate;overflow:hidden;
  background:var(--navy) var(--bg) 70% 0/cover no-repeat}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(4,10,34,0) 35%,rgba(4,10,34,.55) 62%,rgba(4,10,34,0) 82%)}
.logo{display:flex;align-items:center;gap:1rem}
.logo img{width:clamp(52px,14vw,76px);height:auto;display:block}
.logo .rule{width:1px;height:clamp(52px,14vw,76px);background:rgba(255,255,255,.55)}
.logo .name{font-size:clamp(1.3rem,5.4vw,2rem);line-height:1.05;font-weight:400}
.copy{display:flex;flex-direction:column;gap:clamp(1rem,3vw,1.6rem);margin-bottom:clamp(6rem,24svh,14rem)}
h1{font-size:clamp(2.4rem,11.5vw,4.6rem);line-height:1.04;font-weight:500;letter-spacing:-.02em}
h1 b{display:block;font-weight:700}
h1 em{font-style:normal;font-weight:700;color:var(--cyan)}
.accent{width:min(240px,42%);height:3px;background:linear-gradient(90deg,var(--cyan),transparent);border-radius:3px}
.cta{align-self:flex-start;display:inline-flex;align-items:center;gap:1.1rem;  margin-top:2rem;
  margin-bottom:2rem;padding:1.1rem 3.2rem;border-radius:999px;color:#fff;text-decoration:none;
  font-weight:600;font-size:clamp(1.05rem,4.6vw,1.4rem);background:linear-gradient(180deg,#0f94ff 0%,#0562ea 55%,#0b45c4 100%);
  border:3px solid #86f0ff;text-shadow:0 0 10px rgba(180,240,255,.6);
  box-shadow:0 0 4px rgba(134,240,255,.95),0 0 18px rgba(34,200,255,.9),0 0 48px rgba(20,140,255,.7),0 0 90px rgba(20,100,255,.45),inset 0 0 20px rgba(130,235,255,.6),inset 0 2px 0 rgba(255,255,255,.35);transition:transform .2s,box-shadow .2s}
.cta:hover{transform:translateY(-2px);box-shadow:0 0 6px rgba(160,245,255,1),0 0 26px rgba(34,210,255,1),0 0 64px rgba(20,150,255,.85),0 0 110px rgba(20,100,255,.55),inset 0 0 24px rgba(150,240,255,.75),inset 0 2px 0 rgba(255,255,255,.45)}
.cta:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.cta svg{width:1.6em;height:1.6em;flex:none;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(180,240,255,.6))}
/* Wide screens: landscape artwork, copy left, face right */
@media (min-width:768px){
  .hero{background-image:url(/images/DDwide.png);background-size:cover;background-position:78% center;padding:clamp(2rem,4vw,4.5rem)}
  .hero::after{background:linear-gradient(90deg,rgba(4,10,34,.7) 0%,rgba(4,10,34,.35) 35%,rgba(4,10,34,0) 60%)}
  .copy{max-width:min(46vw,640px);margin-bottom:clamp(3rem,12svh,8rem)}
  h1{font-size:clamp(2.6rem,5.2vw,5.4rem)}
  .logo img{width:clamp(64px,5vw,88px)}.logo .rule{height:clamp(64px,5vw,88px)}
  .logo .name{font-size:clamp(1.5rem,2.4vw,2.4rem)}

/* Hamburger menu button */
.logo {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.menu-toggle {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 42px !important;
  height: 32px !important;
  padding: 4px !important;
  margin-left: auto !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block !important;
  width: 32px !important;
  height: 3px !important;
  background: #fff !important;
  border: none !important;
  border-radius: 3px !important;
}

.main-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  padding: 12px;
  background: #071247;
  border: 1px solid rgba(34, 211, 238, .4);
  border-radius: 12px;
  z-index: 1001;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}

.main-menu[hidden] {
  display: none !important;
}

.main-menu a {
  display: block;
  padding: 13px;
  color: white;
  text-decoration: none;
}

.main-menu a:hover {
  color: var(--cyan);
}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.band{padding:clamp(3rem,8vw,6rem) clamp(1.25rem,5vw,4rem);background:linear-gradient(180deg,#050c2b,#07124a);border-top:1px solid rgba(96,165,250,.35)}
.band.alt{background:linear-gradient(180deg,#07124a,#040a22)}
.wrap{max-width:1000px;margin:0 auto}
.eyebrow{color:var(--cyan);text-transform:uppercase;letter-spacing:.22em;font-size:.85rem;font-weight:500;margin-bottom:.8rem}
.band h2{font-size:clamp(1.9rem,5.5vw,3.4rem);line-height:1.1;font-weight:700;letter-spacing:-.02em}
.band h2 span{color:var(--cyan)}
.lead{color:#b7c4ee;font-size:clamp(1rem,2.2vw,1.25rem);line-height:1.6;margin-top:1rem;max-width:60ch;font-weight:300}
.steps{list-style:none;padding:0;margin-top:2.2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;counter-reset:s}
.steps li{counter-increment:s;padding:1.4rem;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid rgba(120,170,255,.28);backdrop-filter:blur(8px);line-height:1.5;color:#dbe5ff}
.steps li::before{content:counter(s);display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;margin-bottom:.9rem;font-weight:700;color:#04122f;background:var(--cyan)}
.steps b{display:block;color:#fff;font-size:1.15rem;margin-bottom:.3rem}
.form{margin-top:2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;align-items:end}
.form label{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem;color:#b7c4ee}
.form input{font:inherit;color:#fff;padding:.85rem 1rem;border-radius:14px;border:1px solid rgba(120,170,255,.35);background:rgba(255,255,255,.07);min-width:0}
.form input::placeholder{color:#7f8fc0}
.form input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.form button,.btns button{font:inherit;cursor:pointer;color:#fff;border-radius:999px;border:1px solid rgba(134,240,255,.7);background:linear-gradient(180deg,#0f94ff,#0b45c4);padding:.85rem 1.4rem;font-weight:600;box-shadow:0 0 16px rgba(34,200,255,.5)}
.form button:hover,.btns button:hover{box-shadow:0 0 26px rgba(34,210,255,.9)}
.form button:focus-visible,.btns button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.plist{list-style:none;padding:0;margin-top:2rem;display:grid;gap:1rem}
.plist li{padding:1.2rem 1.3rem;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(120,170,255,.28)}
.plist p{font-size:1.05rem;line-height:1.5;margin-bottom:.9rem}
.btns{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.btns button{padding:.5rem 1rem;font-size:.9rem;font-weight:500;box-shadow:none;background:rgba(15,148,255,.2)}
.btns label{margin-left:auto;display:flex;align-items:center;gap:.5rem;font-size:.95rem;color:#dbe5ff;cursor:pointer}
.btns input{width:1.2rem;height:1.2rem;accent-color:#22d3ee}
.score{margin-top:1.6rem}
.bar{height:12px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}
.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#0f94ff,#22d3ee);transition:width .4s}
.score p{margin-top:.8rem;font-size:1.1rem}
.note{margin-top:.8rem;color:#86f0ff;min-height:1.4em;font-size:.95rem}
.promo{display:flex;flex-direction:column;gap:.25rem;line-height:1.3;text-shadow:0 1px 14px rgba(4,10,34,.9)}
.promo b{font-size:clamp(1.1rem,4.6vw,1.6rem);font-weight:600}
.promo span{color:#c9d5f7;font-size:clamp(.95rem,3.8vw,1.25rem);font-weight:300}
.promo em{font-style:normal;font-weight:600;color:var(--cyan)}
.foot{padding:2.5rem clamp(1.25rem,5vw,4rem) 2rem;background:#030719;border-top:1px solid rgba(96,165,250,.3);color:#b7c4ee}
.foot .wrap{display:flex;flex-wrap:wrap;gap:1.5rem 3rem;align-items:center;justify-content:space-between}
.fl{display:flex;align-items:center;gap:.8rem;color:#fff;font-size:1.2rem;line-height:1.05}
.fl .m{display:grid;place-items:center;width:2.6rem;aspect-ratio:1;border:2px solid var(--cyan);background:#071247;font-weight:600;font-size:1rem;line-height:.9;text-align:center;border-radius:3px}
.foot nav{display:flex;flex-wrap:wrap;gap:.8rem 1.8rem}
.foot a{color:#dbe5ff;text-decoration:none}.foot a:hover{color:var(--cyan)}
.foot a:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.legal{width:100%;font-size:.85rem;color:#7f8fc0;border-top:1px solid rgba(120,170,255,.15);padding-top:1.2rem}
@media (prefers-reduced-motion:reduce){.cta{transition:none}.bar i{transition:none}}

/* Hamburger menu – mobile and desktop */
.logo {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo .menu-toggle {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 32px !important;
  padding: 4px !important;
  margin-left: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

.logo .menu-toggle span {
  display: block !important;
  width: 32px !important;
  height: 3px !important;
  min-height: 3px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 3px !important;
  opacity: 1 !important;
}

/* Header: transparent at top, blue when scrolling */
.logo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem);

  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;

  transition:
    background .3s ease,
    border-color .3s ease,
    backdrop-filter .3s ease;
}

/* Active state after scrolling */
.logo.scrolled {
  background: rgba(4, 10, 34, .96);
  border-bottom: 1px solid rgba(134, 240, 255, .25);
  backdrop-filter: blur(12px);
}

/* Keep the hero content clear of the fixed header */
.hero {
  padding-top: 110px;
}

/* Anchor destinations */
html {
  scroll-padding-top: 110px;
}

/* Header scroll background */
header.logo {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  background: transparent !important;
  transition: background-color .3s ease;
}

header.logo.scrolled {
  background: #071247 !important;
  border-bottom: 1px solid rgba(34, 211, 238, .35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

/* Allow dropdown to extend outside header */
header.logo {
  overflow: visible !important;
}

.main-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  margin-top: 12px;
  z-index: 10000 !important;
  width: 240px;
  background: #071247;
  border: 1px solid rgba(34, 211, 238, .4);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}

/* Language switch */
.language-link {
  margin-left: 0 !important;
  margin-right: 16px !important;
  color: #fff !important;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

/* Hamburger dropdown – final styling */
header.logo {
  overflow: visible !important;
}

.main-menu {
  display: flex;
  flex-direction: column;
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;

  width: 260px;
  padding: 12px !important;

  background: #071247 !important;
  border: 1px solid rgba(34, 211, 238, .5) !important;
  border-radius: 14px !important;

  box-shadow: 0 12px 35px rgba(0, 0, 0, .5) !important;
  z-index: 10000 !important;
}

.main-menu[hidden] {
  display: none !important;
}

.main-menu a {
  display: block;
  width: 100%;
  padding: 14px 16px;

  color: #ffffff !important;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none !important;

  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}

.main-menu a:hover {
  background: rgba(34, 211, 238, .12);
  color: #22d3ee !important;
}

/* Keep fixed header above all scrolling content */
header.logo {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999 !important;
}

/* Keep content below the header in stacking order */
.band,
.band .wrap,
.steps,
.steps li {
  position: relative;
  z-index: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto !important;
  flex-shrink: 0;
}

.language-link {
  color: #fff !important;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 !important;
}

.menu-toggle {
  margin-left: 0 !important;
}

/* TEXT LINK */
.text-link {
  display: inline-block;
  color: #087f9c;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 1rem;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #071247;
  text-decoration: underline;
}

/* WHITE BACKGROUND: WHAT WE DELIVER */
#what-we-build {
  background: #fff !important;
  color: #071247 !important;
}

#what-we-build h2,
#what-we-build p,
#what-we-build li,
#what-we-build li b {
  color: #071247 !important;
}

#what-we-build h2 span {
  color: #087f9c !important;
}

#what-we-build .eyebrow {
  color: #087f9c !important;
}



/* WHITE BACKGROUND: BLOCK 4 AND BLOCK 6 */
#what-we-build,
#app-development {
  background: #fff !important;
  color: #071247 !important;
}

/* TEXT COLOURS IN BOTH BLOCKS */
#what-we-build h2,
#what-we-build p,
#what-we-build li,
#what-we-build li b,
#app-development h2,
#app-development p,
#app-development li,
#app-development li b {
  color: #071247 !important;
}

/* ACCENT COLOUR */
#what-we-build h2 span,
#what-we-build .eyebrow,
#app-development h2 span,
#app-development .eyebrow {
  color: #087f9c !important;
}

/* SILVER GRADIENT CARDS — BLOCK 4 AND BLOCK 6 */
#what-we-build .steps li,
#app-development .steps li {
  background: linear-gradient(
    145deg,
    rgba(220, 225, 232, 0.85) 0%,
    rgba(232, 235, 240, 0.55) 55%,
    rgba(255, 255, 255, 0.15) 100%
  ) !important;

  border: 1px solid rgba(190, 198, 210, 0.55);
  box-shadow: 0 8px 24px rgba(7, 18, 71, 0.06);
  color: #071247 !important;
}

/* CARD HEADINGS */
#what-we-build .steps b,
#app-development .steps b {
  color: #071247 !important;
}

/* NUMBERED CIRCLES — KEEP THEM INSIDE THE CARDS */
#what-we-build .steps li::before,
#app-development .steps li::before {
  color: #04122f;
  background: var(--cyan);
}



/* MORE BREATHING ROOM FOR THE NUMBERED STEPS */
#what-we-build .steps2,
#app-development .steps2 {
  padding-left: 2rem;
}

#what-we-build .steps2 li,
#app-development .steps2 li {
  padding-left: 0.35rem;
  margin-bottom: 0.65rem;
  line-height: 1.6;
}
