/* Devaya Technologies — devayatechnologies.com
   One stylesheet. No build step, no external resources, no web fonts.
   Versioned filename so it can never be served stale. */

:root {
  --bg:          #07080c;
  --bg-raised:   #0e1017;
  --bg-panel:    #12151e;
  --bg-inset:    #0a0c11;

  --line:        #1f2330;
  --line-soft:   #161a23;
  --line-bright: #2e3547;

  --text:        #f2f5fa;
  --text-dim:    #adb6c8;
  --text-mute:   #6e7889;

  --blue:        #63b3ff;
  --violet:      #a888ff;
  --mint:        #46e2c0;
  --amber:       #ffc266;
  --rose:        #ff8fa8;

  --ink:         #05101a;

  --warn-bg:     #1b1610;
  --warn-line:   #4d3b1c;
  --warn-text:   #f0dcb2;

  --ok-bg:       #0c1a16;
  --ok-line:     #245045;
  --ok-text:     #8fe2cb;

  --maxw:        1120px;
  --maxw-text:   700px;
  --r:           16px;
  --r-sm:        10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58rem 32rem at 8% -10%,  rgba(99,179,255,.20), transparent 60%),
    radial-gradient(44rem 28rem at 96% -4%,  rgba(168,136,255,.18), transparent 58%),
    radial-gradient(40rem 26rem at 60% 108%, rgba(70,226,192,.09), transparent 60%);
}

body > * { position: relative; z-index: 1; }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wrap-text { max-width: var(--maxw-text); }

section { padding: clamp(3.25rem, 2rem + 4vw, 5.5rem) 0; }
.section-line { border-top: 1px solid var(--line-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: var(--ink);
  padding: .7rem 1.1rem; font-weight: 650; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  line-height: 1.14;
  margin: 0 0 .85rem;
  font-weight: 660;
  letter-spacing: -.028em;
  color: var(--text);
}

h1 { font-size: clamp(2.35rem, 1.3rem + 4.2vw, 4.1rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); letter-spacing: -.032em; }
h3 { font-size: 1.22rem; margin-top: 2.5rem; }
h4 { font-size: 1.06rem; margin: 0 0 .45rem; letter-spacing: -.018em; }

p { margin: 0 0 1.05rem; }
p, li { color: var(--text-dim); }

.lede {
  font-size: clamp(1.12rem, 1rem + .55vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 54ch;
}

ul, ol { margin: 0 0 1.05rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
li::marker { color: var(--text-mute); }

a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(99,179,255,.35);
  transition: color .15s ease, border-color .15s ease;
}
a:hover { color: #9ed0ff; border-bottom-color: rgba(158,208,255,.75); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .87em;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .1em .4em;
  color: #cde6ff;
}

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .73rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-mute); margin: 0 0 1rem; font-weight: 700;
}
.eyebrow::before {
  content: ""; width: 1.8rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.muted { color: var(--text-mute); font-size: .95rem; }

.grad {
  background: linear-gradient(96deg, var(--blue) 0%, var(--violet) 52%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.todo {
  background: var(--warn-bg); border: 1px dashed var(--warn-line); color: var(--warn-text);
  border-radius: 5px; padding: .1em .45em; font-size: .88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7,8,12,.74);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}

.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-top: .85rem; padding-bottom: .85rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--text); font-weight: 660; letter-spacing: -.022em; border-bottom: 0;
}
.brand:hover { color: var(--text); }
.brand svg { flex: none; display: block; }
.brand span { white-space: nowrap; }

.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.35rem; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { color: var(--text-dim); font-size: .93rem; border-bottom: 0; }
.site-nav a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero { padding: clamp(3.5rem, 2rem + 6vw, 6rem) 0 clamp(2.5rem, 1.5rem + 4vw, 4rem); }

.hero-grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 3.75rem); align-items: center; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
}

.hero h1 { max-width: 13ch; margin-bottom: 1.35rem; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-text);
  border-radius: 999px; padding: .32rem .9rem .32rem .65rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.pill .dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 3px rgba(70,226,192,.18);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.4rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; padding: .78rem 1.5rem;
  font-size: .98rem; font-weight: 640; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--blue), var(--violet));
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(99,179,255,.8);
}
.btn-primary:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 18px 38px -12px rgba(99,179,255,.9); }

.btn-ghost { background: var(--bg-panel); border-color: var(--line-bright); color: var(--text); }
.btn-ghost:hover { color: var(--text); border-color: #3f4a61; background: #161a25; }

.hero-meta { font-size: .93rem; color: var(--text-mute); margin: 0; }

/* ---------- stat band ---------- */

.band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r);
  overflow: hidden; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.band div { background: var(--bg-raised); padding: 1.15rem 1.3rem; }
.band b { display: block; font-size: 1.45rem; font-weight: 680; letter-spacing: -.03em; color: var(--text); }
.band span { display: block; font-size: .84rem; color: var(--text-mute); margin-top: .1rem; }

/* ---------- app mock ---------- */

.mock {
  border: 1px solid var(--line-bright); border-radius: var(--r);
  background: var(--bg-raised);
  box-shadow: 0 1px 2px rgba(0,0,0,.6), 0 30px 60px -20px rgba(0,0,0,.9);
  overflow: hidden;
}

.mock-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .85rem; background: var(--bg-panel);
  border-bottom: 1px solid var(--line-soft);
}
.mock-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #2f3646; }
.mock-url {
  flex: 1; margin-left: .5rem; font-size: .7rem; color: var(--text-mute);
  background: var(--bg-inset); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: .2rem .7rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mock-body { display: grid; grid-template-columns: 120px minmax(0, 1fr); min-height: 320px; }

.mock-side { border-right: 1px solid var(--line-soft); padding: .9rem .7rem; background: var(--bg-inset); }
.mock-side .label {
  font-size: .61rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-mute); margin: 0 0 .5rem .3rem; font-weight: 700;
}
.mock-side ul { list-style: none; margin: 0 0 1.15rem; padding: 0; }
.mock-side li {
  font-size: .76rem; color: var(--text-dim); padding: .26rem .5rem;
  border-radius: 6px; margin: 0; display: flex; justify-content: space-between; gap: .4rem;
}
.mock-side li.on { background: rgba(99,179,255,.15); color: #cfe6ff; font-weight: 640; }
.mock-side li i { font-style: normal; color: var(--text-mute); font-size: .68rem; }

.mock-main { padding: .9rem; }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .7rem; }
.mock-head b { font-size: .85rem; font-weight: 660; color: var(--text); }
.mock-head span { font-size: .68rem; color: var(--text-mute); }

.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }

.tile {
  aspect-ratio: 1 / 1; border-radius: 7px;
  border: 1px solid rgba(255,255,255,.05); position: relative; overflow: hidden;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 48%);
}
.t1  { background: linear-gradient(140deg,#2e4a6e,#16324f); }
.t2  { background: linear-gradient(140deg,#4a3a68,#241d3c); }
.t3  { background: linear-gradient(140deg,#1f4f49,#10312d); }
.t4  { background: linear-gradient(140deg,#5c4326,#2e2013); }
.t5  { background: linear-gradient(140deg,#2b3f5e,#1a2a42); }
.t6  { background: linear-gradient(140deg,#603a4a,#301c26); }
.t7  { background: linear-gradient(140deg,#26506b,#133042); }
.t8  { background: linear-gradient(140deg,#3d4a2c,#212a16); }
.t9  { background: linear-gradient(140deg,#334b74,#1b2b44); }
.t10 { background: linear-gradient(140deg,#553a5f,#2b1d31); }
.t11 { background: linear-gradient(140deg,#1e4657,#102831); }
.t12 { background: linear-gradient(140deg,#6a5130,#332616); }

.tile.sel { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(99,179,255,.4); }
.tile .badge {
  position: absolute; left: .25rem; bottom: .25rem; z-index: 2;
  font-size: .52rem; letter-spacing: .04em;
  background: rgba(0,0,0,.6); color: #dbe6f5;
  border-radius: 4px; padding: .05rem .3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mock-foot { margin-top: .7rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.chip {
  font-size: .64rem; color: var(--text-dim);
  border: 1px solid var(--line); background: var(--bg-panel);
  border-radius: 999px; padding: .17rem .58rem;
}
.chip.hot { border-color: rgba(99,179,255,.45); color: #cfe6ff; background: rgba(99,179,255,.12); }

.mock-caption { font-size: .8rem; color: var(--text-mute); text-align: center; margin: .9rem 0 0; }

/* ---------- feature cards ---------- */

.grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 2.25rem 0 0;
}

.card {
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-inset));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 24px 44px -20px rgba(0,0,0,.9);
}
.card p { margin: 0; font-size: .97rem; }
.card p + p { margin-top: .6rem; }

.ico {
  width: 2.7rem; height: 2.7rem; display: grid; place-items: center;
  border-radius: 12px; margin-bottom: 1.05rem;
  background: rgba(99,179,255,.11); border: 1px solid rgba(99,179,255,.24); color: var(--blue);
}
.ico svg { display: block; }
.ico-v { background: rgba(168,136,255,.11); border-color: rgba(168,136,255,.26); color: var(--violet); }
.ico-m { background: rgba(70,226,192,.10);  border-color: rgba(70,226,192,.25);  color: var(--mint); }
.ico-a { background: rgba(255,194,102,.10); border-color: rgba(255,194,102,.25); color: var(--amber); }
.ico-r { background: rgba(255,143,168,.10); border-color: rgba(255,143,168,.25); color: var(--rose); }

/* ---------- steps ---------- */

.steps { margin-top: 2.25rem; }
.step {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1.15rem; padding: 1.3rem 0; align-items: start;
  border-top: 1px solid var(--line-soft);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step-n {
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-bright);
  background: var(--bg-panel); color: var(--blue);
  font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums;
}
.step p { margin: 0; font-size: .99rem; }

/* ---------- notices ---------- */

.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: var(--r); padding: 1.4rem 1.5rem; margin: 2rem 0;
}
.notice h2, .notice h3 { margin-top: 0; color: var(--warn-text); }
.notice p, .notice li { color: var(--warn-text); }
.notice > :last-child { margin-bottom: 0; }

.plain-box {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.4rem 1.5rem; margin: 2rem 0;
}
.plain-box > :last-child { margin-bottom: 0; }
.plain-box > :first-child { margin-top: 0; }

.tag {
  display: inline-block; background: var(--ok-bg); border: 1px solid var(--ok-line);
  color: var(--ok-text); border-radius: 999px; padding: .2rem .8rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  vertical-align: middle; margin-left: .6rem;
}

dl { margin: 1.2rem 0; }
dt { font-weight: 650; color: var(--text); margin-top: 1.1rem; }
dd { margin: .3rem 0 0; color: var(--text-dim); }

/* ---------- two-up ---------- */

.two-up {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin: 2.25rem 0 0;
}
.two-up > div {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem 1.5rem; background: var(--bg-raised);
}
.two-up h4 { display: flex; align-items: center; gap: .55rem; margin-bottom: .85rem; }
.two-up ul { margin: 0; padding-left: 1.15rem; }
.two-up li { font-size: .96rem; }
.two-up .yes { border-color: rgba(70,226,192,.3); }
.two-up .yes h4 { color: var(--ok-text); }
.two-up .no h4 { color: var(--warn-text); }

/* ---------- contact ---------- */

.contact-card {
  border: 1px solid var(--line-bright); border-radius: var(--r);
  background:
    radial-gradient(40rem 18rem at 12% -10%, rgba(99,179,255,.16), transparent 70%),
    radial-gradient(34rem 16rem at 88% 110%, rgba(168,136,255,.14), transparent 70%),
    var(--bg-raised);
  padding: clamp(2rem, 1.2rem + 3.5vw, 3.5rem);
  text-align: center;
}
.contact-card h2 { margin-bottom: .7rem; }
.contact-card p { margin-left: auto; margin-right: auto; max-width: 50ch; }
.contact-line {
  font-size: clamp(1.2rem, 1rem + 1.1vw, 1.75rem);
  font-weight: 660; letter-spacing: -.03em; margin: 1.5rem 0 .6rem;
}
.contact-line a { border-bottom-width: 2px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft); background: var(--bg-inset);
  padding: 2.5rem 0 3rem; margin-top: 2rem;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  justify-content: space-between; align-items: flex-start;
}
.site-footer p { font-size: .88rem; color: var(--text-mute); margin: 0 0 .35rem; }
.site-footer strong { color: var(--text-dim); font-weight: 640; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { font-size: .9rem; color: var(--text-dim); border-bottom: 0; }
.site-footer a:hover { color: var(--text); }

/* ---------- legal pages ---------- */

.doc { padding-top: 3rem; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.8rem); }
.doc h2 { margin-top: 2.75rem; font-size: 1.3rem; }
.doc h2:first-of-type { margin-top: 1.75rem; }
.doc h3 { font-size: 1.08rem; }
.doc .updated { font-size: .9rem; color: var(--text-mute); margin-bottom: 2.25rem; }

.center-page { padding: 5rem 0 4rem; }

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .grid, .two-up { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 92px minmax(0, 1fr); }
  .mock-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero h1 { max-width: none; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 1rem; }
  .tag { margin-left: 0; margin-top: .4rem; }
}

/* ---------- print ---------- */

@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .site-header, .site-footer, .skip-link, .mock, .hero-actions { display: none; }
  a { color: #000; border: 0; }
  p, li, dd { color: #000; }
  section { padding: 1rem 0; }
}
