/* De Dominators Ltd: company website */
:root {
  --ink: #0A0A0A;          /* logo black */
  --blue: #4278F8;         /* DomRide blue, shared with the logo */
  --blue-deep: #2F5FD6;    /* hover and focus */
  --paper: #FFFFFF;
  --tint: #EEF2FB;         /* pale blue panels */
  --slate: #555C69;        /* secondary text */
  --line: #DDE2EC;
  --radius: 14px;
  --wrap: 1120px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 10px 14px; z-index: 50; }

/* Type: tight, lowercase headings echo the "de dominators" wordmark */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; margin: 0; font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0 0 16px; max-width: 64ch; }
.lead { font-size: 19px; color: var(--slate); }
.muted { color: var(--slate); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--blue); color: var(--paper); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--ink); }

/* Hero: the Code D mark writes itself, line by line */
.hero { text-align: center; padding: 52px 0 88px; }
.mark { width: 80px; height: 110px; margin: 0 auto 28px; display: block; overflow: visible; }
.mark rect { transform-box: fill-box; transform-origin: left center; animation: write .55s cubic-bezier(.2,.8,.2,1) both; }
.mark .stem { transform-origin: center bottom; animation-name: rise; animation-duration: .5s; }
.mark rect:nth-child(2) { animation-delay: .45s; }
.mark rect:nth-child(3) { animation-delay: .6s; }
.mark rect:nth-child(4) { animation-delay: .75s; }
.mark rect:nth-child(5) { animation-delay: .9s; }
.mark rect:nth-child(6) { animation-delay: 1.05s; }
@keyframes write { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 15ch; margin: 0 auto 20px; text-wrap: balance; }
.hero .lead { margin: 0 auto 32px; max-width: 52ch; text-wrap: balance; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.big-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 270px; padding: 16px 24px 15px; border-radius: 16px; text-decoration: none; text-align: left; transition: background-color .15s, transform .15s; }
.big-btn strong { font-size: 19px; letter-spacing: -0.01em; }
.big-btn span { font-size: 14px; opacity: .82; }
.big-btn.dark { background: var(--ink); color: var(--paper); }
.big-btn.dark:hover { background: #262626; color: var(--paper); }
.big-btn.blue { background: var(--blue); color: var(--paper); }
.big-btn.blue:hover { background: var(--blue-deep); color: var(--paper); }
.big-btn:active { transform: translateY(1px); }

/* Sections */
section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.section-head h2 { max-width: 12ch; }

/* What we do: a readable list, not a grid of boxes */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li { display: grid; grid-template-columns: minmax(0, 15ch) minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.services b { font-size: 17px; }
.services span { color: var(--slate); }

/* How we work: a real sequence, so it's numbered */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 15px; color: var(--blue); margin-bottom: 6px; }
.steps p { color: var(--slate); font-size: 16px; }
.how { background: var(--tint); }

/* Products */
.products { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.product { border-radius: var(--radius); padding: 36px; }
.product.cs { background: var(--tint); }
.product.ride { border: 1px solid var(--line); }
.product h3 { font-size: 26px; margin-bottom: 4px; }
.product .kind { color: var(--slate); font-weight: 600; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 6px; border-radius: 3px; background: var(--blue); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.links-row { display: flex; gap: 24px; flex-wrap: wrap; }

/* Transport: DomRide */
.transport { background: var(--ink); color: var(--paper); }
.transport .lead, .transport .muted { color: #B9BFCC; }
.transport a { color: #9DBBFF; }
.ride-points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ride-points li { padding: 18px 0; border-top: 1px solid #2A2D33; }
.ride-points b { display: block; margin-bottom: 2px; }
.ride-points span { color: #B9BFCC; }
.partner { margin-top: 56px; background: var(--blue); color: var(--paper); border-radius: 20px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.partner h3 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.035em; margin-bottom: 14px; }
.partner p { color: #EAF0FF; font-weight: 600; }
.partner p:last-child { margin-bottom: 0; }
.partner .big-btn { background: var(--paper); color: var(--ink); }
.partner .big-btn:hover { background: var(--tint); color: var(--ink); }

/* Company */
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 32px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--slate); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.doc-list a:hover { border-color: var(--blue); color: var(--blue); }
.doc-list small { color: var(--slate); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #B9BFCC; padding: 56px 0 40px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer img { height: 30px; width: auto; margin-bottom: 16px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: #9DBBFF; }
.site-footer h4 { color: var(--paper); margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .legal { border-top: 1px solid #2A2D33; margin-top: 40px; padding-top: 20px; max-width: none; }

/* Inner pages */
.page-head { padding: 64px 0 32px; }
.page-head h1 { font-size: clamp(36px, 5.6vw, 60px); margin-bottom: 14px; max-width: 18ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; padding-bottom: 96px; }
.contact-aside .reach { margin-top: 28px; display: grid; gap: 6px; }
.form { display: grid; gap: 18px; background: var(--tint); padding: 32px; border-radius: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field label small { font-weight: 600; color: var(--slate); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #C9D1E0; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(66,120,248,.35); border-color: var(--blue); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { justify-self: start; border: 0; background: var(--ink); color: var(--paper); font: inherit; font-weight: 800; font-size: 17px; padding: 14px 26px; border-radius: 12px; cursor: pointer; }
.submit:hover { background: var(--blue); }
.submit[disabled] { opacity: .6; cursor: progress; }
.form-error { background: #FDECEC; color: #A61B1B; padding: 12px 14px; border-radius: 10px; font-weight: 600; margin: 0; }
.field-error { color: #A61B1B; font-size: 14px; font-weight: 600; }
.sent { background: var(--tint); padding: 40px 32px; border-radius: 18px; }
.sent h2 { font-size: 34px; margin-bottom: 12px; }

.doc-viewer { padding-bottom: 96px; }
.doc-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #F6F7FA; }
.doc-frame img { margin: 0 auto; }
.doc-frame iframe { width: 100%; height: 80vh; border: 0; display: block; }
.doc-actions { display: flex; gap: 20px; margin: 0 0 20px; flex-wrap: wrap; }
.doc-empty { background: var(--tint); border-radius: 14px; padding: 36px; }
.doc-empty h2 { font-size: 28px; margin-bottom: 10px; }
.crumb { font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 18px; }

/* Live support: lower right on every page */
.live-support { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 10px; background: var(--blue); color: var(--paper); border: 0; border-radius: 999px; padding: 13px 20px 13px 16px; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 10px 26px rgba(66,120,248,.35); cursor: pointer; }
.live-support:hover { background: var(--blue-deep); color: var(--paper); }
.live-support svg { width: 22px; height: 22px; }
.live-support .dot { width: 9px; height: 9px; border-radius: 50%; background: #5BE38F; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

/* Responsive */
@media (max-width: 900px) {
  .section-head, .products, .contact-grid, .partner, .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { padding: 32px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .nav-cta { text-align: center; margin-top: 8px; padding: 12px 18px; }
  section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .big-btn { min-width: 0; width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 380px; margin: 0 auto; }
  .services li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .steps, .ride-points, .two { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 22px; }
  .live-support span.label { display: none; }
  .live-support { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark rect { animation: none; }
  .big-btn, .live-support { transition: none; }
}

/* Our apps */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; padding-bottom: 96px; }
.app-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.app-top { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; flex: none; object-fit: cover; border: 1px solid var(--line); }
.app-icon.initials { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; border: 0; }
.app-card h3 { font-size: 22px; margin-bottom: 2px; }
.app-cat { color: var(--slate); font-weight: 600; font-size: 15px; margin: 0; }
.app-desc { margin: 0; color: var(--slate); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 140px; padding: 8px 16px; border-radius: 12px; background: var(--ink); color: var(--paper); text-decoration: none; line-height: 1.2; }
.store-btn:hover { background: var(--blue); color: var(--paper); }
.store-btn small { font-size: 11px; opacity: .8; font-weight: 600; }
.store-btn strong { font-size: 16px; }
.store-btn.soon { background: var(--tint); color: var(--slate); }
.store-badge { display: inline-flex; align-items: center; }
.store-badge img { height: 44px; width: auto; display: block; }
.app-card .text-link { align-self: flex-start; margin-top: auto; }

/* About */
.about-intro { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.45; letter-spacing: -0.015em; font-weight: 600; max-width: 34ch; }
.motto { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
.beliefs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.beliefs li { padding: 22px 0; border-top: 1px solid var(--line); }
.beliefs h3 { margin-bottom: 6px; }
.beliefs p { color: var(--slate); margin: 0; }
.ventures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.venture { border-radius: var(--radius); padding: 32px; }
.venture.tech { background: var(--tint); }
.venture.move { background: var(--ink); color: var(--paper); }
.venture.move p { color: #B9BFCC; }
.venture.move a { color: #9DBBFF; }
.venture h3 { font-size: 26px; margin-bottom: 10px; }
.person { display: flex; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 560px; }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 22px; flex: none; }
.person p { margin: 0; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .beliefs, .ventures { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .app-grid { grid-template-columns: minmax(0, 1fr); } }
