/* -----------------------------
   Dominu — Apple-like minimal UI
   ----------------------------- */

:root{
  --bg: #ffffff;
  --fg: #0b0f19;
  --muted: rgba(11,15,25,.68);
  --muted2: rgba(11,15,25,.5);
  --line: rgba(11,15,25,.12);

  --card: rgba(255,255,255,.72);
  --card2: rgba(255,255,255,.55);

  --primary: #0b5cff;
  --primary2: #0037ff;

  --shadow: 0 20px 60px rgba(0,0,0,.10);
  --shadow2: 0 10px 30px rgba(0,0,0,.08);

  --radius: 22px;
  --radius2: 16px;

  --max: 1120px;
  --pad: 24px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #070a10;
    --fg: #e9eefb;
    --muted: rgba(233,238,251,.72);
    --muted2: rgba(233,238,251,.55);
    --line: rgba(233,238,251,.14);

    --card: rgba(255,255,255,.06);
    --card2: rgba(255,255,255,.08);

    --shadow: 0 30px 80px rgba(0,0,0,.50);
    --shadow2: 0 16px 44px rgba(0,0,0,.35);
  }
}

/* Manual theme override */
html[data-theme="light"]{
  --bg:#ffffff; --fg:#0b0f19; --muted:rgba(11,15,25,.68); --muted2:rgba(11,15,25,.5);
  --line:rgba(11,15,25,.12); --card:rgba(255,255,255,.72); --card2:rgba(255,255,255,.55);
  --shadow:0 20px 60px rgba(0,0,0,.10); --shadow2:0 10px 30px rgba(0,0,0,.08);
}
html[data-theme="dark"]{
  --bg:#070a10; --fg:#e9eefb; --muted:rgba(233,238,251,.72); --muted2:rgba(233,238,251,.55);
  --line:rgba(233,238,251,.14); --card:rgba(255,255,255,.06); --card2:rgba(255,255,255,.08);
  --shadow:0 30px 80px rgba(0,0,0,.50); --shadow2:0 16px 44px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--fg); font-family:var(--font); }
a{ color:inherit; text-decoration:none; }
strong{ font-weight:650; }
img{ max-width:100%; display:block; }
::selection{ background:rgba(11,92,255,.25); }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .topbar,
@media (prefers-color-scheme: dark){
  .topbar{
    background: rgba(7,10,16,.62);
  }
}
.topbar__inner{
  height:68px;
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:-.02em;
}
.brand__mark{
  width:28px; height:28px;
  display:grid; place-items:center;
  border-radius:10px;
  background: linear-gradient(135deg, rgba(11,92,255,.16), rgba(0,55,255,.06));
  border: 1px solid var(--line);
}
.brand__name{ font-size:15px; }

.nav{
  display:flex;
  gap:18px;
  font-size:14px;
  color:var(--muted);
}
.nav a{ padding:8px 10px; border-radius:10px; }
.nav a:hover{ background:rgba(127,127,127,.10); color:var(--fg); }

.topbar__actions{
  display:flex; gap:10px; align-items:center;
}

.burger{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:transparent;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:10px;
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--fg);
  border-radius:2px;
  opacity:.85;
}

.mobileNav{
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.80);
  backdrop-filter: blur(14px);
}
html[data-theme="dark"] .mobileNav,
@media (prefers-color-scheme: dark){
  .mobileNav{ background: rgba(7,10,16,.72); }
}
.mobileNav__inner{
  padding:14px var(--pad) 18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.mobileNav a{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  color:var(--muted);
}
.mobileNav a:hover{ color:var(--fg); background:rgba(127,127,127,.10); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid transparent;
  font-size:14px;
  font-weight:600;
  letter-spacing:-.01em;
  user-select:none;
  cursor:pointer;
}
.btn--primary{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color:#fff;
  box-shadow: 0 14px 40px rgba(11,92,255,.22);
}
.btn--primary:hover{ filter: brightness(1.03); }
.btn--secondary{
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.btn--secondary:hover{ background:rgba(127,127,127,.10); }
.btn--ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.btn--ghost:hover{ background:rgba(127,127,127,.10); color:var(--fg); }

.kicker{
  color:var(--muted);
  font-weight:650;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  margin:0 0 10px 0;
}

/* Hero */
.hero{
  padding:72px 0 36px;
  position:relative;
}
.hero:before{
  content:"";
  position:absolute;
  inset:-120px 0 auto 0;
  height:520px;
  background:
    radial-gradient(900px 260px at 15% 25%, rgba(11,92,255,.18), transparent 60%),
    radial-gradient(800px 260px at 80% 35%, rgba(0,55,255,.12), transparent 62%),
    radial-gradient(700px 260px at 55% 80%, rgba(11,15,25,.08), transparent 60%);
  pointer-events:none;
}
@media (prefers-color-scheme: dark){
  .hero:before{
    background:
      radial-gradient(900px 260px at 15% 25%, rgba(11,92,255,.22), transparent 60%),
      radial-gradient(800px 260px at 80% 35%, rgba(0,55,255,.16), transparent 62%),
      radial-gradient(700px 260px at 55% 80%, rgba(233,238,251,.07), transparent 60%);
  }
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:28px;
  align-items:stretch;
  position:relative;
}
.hero h1{
  margin:0 0 14px 0;
  font-size:52px;
  line-height:1.06;
  letter-spacing:-.03em;
}
.lead{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
  max-width: 56ch;
}
.ctaRow{ margin:18px 0 16px; display:flex; gap:12px; flex-wrap:wrap; }

.proofRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Chips (informative, tooltips) */
.chip{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(127,127,127,.06);
  color:var(--muted);
  font-size:13px;

  position:relative;
  user-select:none;
  cursor:default;
}
.chip:hover{ color:var(--fg); }

/* Tooltip (hover + keyboard focus) */
.chip:hover::after,
.chip:focus-visible::after{
  content: attr(data-tip);
  position:absolute;
  left:0;
  bottom:-56px;

  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--line);
  color:var(--muted);

  padding:10px 12px;
  border-radius:14px;
  font-size:12px;
  line-height:1.45;

  width:max-content;
  max-width:320px;

  box-shadow: var(--shadow2);
  z-index:30;
}

/* Arrow */
.chip:hover::before,
.chip:focus-visible::before{
  content:"";
  position:absolute;
  left:18px;
  bottom:-14px;
  width:10px;
  height:10px;
  transform: rotate(45deg);
  background: linear-gradient(180deg, var(--card), var(--card2));
  border-left:1px solid var(--line);
  border-top:1px solid var(--line);
  z-index:31;
}

/* Focus ring */
.chip:focus-visible{
  outline:2px solid rgba(11,92,255,.55);
  outline-offset:2px;
}

/* Mobile: disable tooltip (touch has no hover; avoids overlap) */
@media (max-width: 860px){
  .chip:hover::after,
  .chip:hover::before{
    content:none;
  }
}

/* Right panel */
.hero__panel{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.glass{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glass__header{
  display:flex;
  align-items:center;
  gap:8px;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.dot{ width:10px; height:10px; border-radius:99px; opacity:.9; }
.dot--r{ background:#ff5f57; }
.dot--y{ background:#febc2e; }
.dot--g{ background:#28c840; }
.glass__title{
  margin-left:10px;
  font-size:13px;
  color:var(--muted);
}
.trace{ padding:14px 16px 16px; }
.trace__row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.trace__row:last-of-type{ border-bottom:none; }
.trace__tag{
  font-weight:650;
  font-size:13px;
  color:var(--fg);
}
.trace__txt{
  font-size:14px;
  color:var(--muted);
  line-height:1.45;
}
.trace__footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:12px;
  color:var(--muted2);
  font-size:12px;
}
.sep{ opacity:.55; }

.panelNote{
  padding:14px 16px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(127,127,127,.06);
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

/* Sections */
.section{
  padding:56px 0;
}
.section__head{
  margin-bottom:18px;
}
.section h2{
  margin:0 0 8px 0;
  font-size:34px;
  letter-spacing:-.02em;
}
.sublead{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
  max-width: 78ch;
}

/* Cards & grids */
.grid3{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.grid2{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.card{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow2);
  padding:18px 18px 16px;
}
.card h3{
  margin:0 0 8px 0;
  font-size:18px;
  letter-spacing:-.01em;
}
.card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.card--soft{
  background: rgba(127,127,127,.06);
  box-shadow:none;
}
.link{
  display:inline-block;
  margin-top:10px;
  font-weight:600;
  color:var(--fg);
  opacity:.9;
}
.link:hover{ opacity:1; text-decoration:underline; }

/* Diagram */
.diagram{
  margin-top:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(127,127,127,.06);
  padding:18px;
}
.diagram__row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card2));
  font-size:13px;
  color:var(--muted);
}
.arrow{ color:var(--muted2); }
.diagram__caption{
  margin:12px 0 0;
  color:var(--muted);
  font-size:13px;
}

/* Accordion */
.accordion{ margin-top:18px; display:grid; gap:10px; }
.acc{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.acc summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:14px;
}
.acc summary::-webkit-details-marker{ display:none; }
.acc__title{ font-weight:700; letter-spacing:-.01em; }
.acc__meta{ color:var(--muted); font-size:13px; }
.acc__body{
  padding:0 18px 16px;
  color:var(--muted);
  line-height:1.6;
}

/* Table */
.tableWrap{
  margin-top:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  overflow:auto;
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow2);
}
.table{
  width:100%;
  border-collapse:collapse;
  min-width: 720px;
}
.table th, .table td{
  text-align:left;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
.table thead th{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}
.table tbody td{
  color:var(--muted);
  line-height:1.55;
}
.note{
  margin-top:14px;
  padding:14px 16px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(127,127,127,.06);
  color:var(--muted);
}

/* Status */
.statusCard{
  margin-top:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow2);
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.statusLine{ color:var(--muted); line-height:1.6; }
.statusDot{
  display:inline-block;
  width:8px; height:8px;
  border-radius:99px;
  background: #28c840;
  margin-right:8px;
  position:relative; top:-1px;
}
.statusDot--alt{ background:#0b5cff; }
.mini{ margin-top:10px; }
.mini__k{ color:var(--muted2); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.mini__v{ color:var(--muted); margin-top:4px; }

/* Contact */
.contactCard{
  margin-top:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow2);
  padding:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.contactCard__copy h3{ margin:0 0 8px; font-size:18px; }
.contactCard__copy p{ margin:0 0 10px; color:var(--muted); line-height:1.6; }

.form{
  display:grid;
  gap:10px;
}
label{
  display:grid;
  gap:6px;
  color:var(--muted);
  font-size:13px;
}
input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(127,127,127,.06);
  color: var(--fg);
  padding:10px 12px;
  outline:none;
  font-family:var(--font);
  font-size:14px;
}
input:focus, textarea:focus{
  border-color: rgba(11,92,255,.55);
  box-shadow: 0 0 0 4px rgba(11,92,255,.18);
}
.formNote{ margin:0; font-size:12px; }

/* Footer */
.footer{
  padding:26px 0 34px;
  border-top:1px solid var(--line);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap:16px;
  align-items:start;
}
.footer__brand{ font-weight:800; letter-spacing:-.02em; }
.footer__links{
  display:flex; gap:14px;
  color:var(--muted);
  font-size:13px;
}
.footer__links a:hover{ color:var(--fg); }
.footer__fine{ text-align:right; font-size:12px; }

/* Utilities */
.muted{ color:var(--muted); }

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size:44px; }
  .contactCard{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .nav{ display:none; }
  .burger{ display:inline-flex; }
}
@media (max-width: 840px){
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .hero{ padding:56px 0 28px; }
  .hero h1{ font-size:38px; }
  .topbar__actions{ display:none; }
}
