/* Phonax-Soft — Solutions in Technology
   No web fonts, no third-party requests: fast and privacy friendly. */

:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(148, 178, 255, .12);
  --border-strong: rgba(148, 178, 255, .24);
  --text: #e8eef8;
  --muted: #9fb0c8;
  --accent: #2dd4bf;
  --accent-2: #3b82f6;
  --gold: #fbbf24;
  --grad: linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%);
  --radius: 18px;
  --max: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(59, 130, 246, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(45, 212, 191, .10), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #5eead4; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; color: #fff; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin: .3em 0; }
strong { color: #fff; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(7, 11, 20, .72);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.1; }
.brand-name small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem .8rem; border-radius: 10px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--surface-2); }
.lang {
  display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px; margin-left: .5rem;
}
.lang a, .lang span {
  font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; text-decoration: none; color: var(--muted);
}
.lang span { background: var(--grad); color: #04111a; }

@media (max-width: 980px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding: .6rem 0; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin: .4rem 0 0; padding-bottom: .2rem; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .9rem 1.4rem; border-radius: 12px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--grad); color: #04111a; box-shadow: 0 10px 30px -10px rgba(45, 212, 191, .6); }
.btn-primary:hover { color: #04111a; transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(45, 212, 191, .75); }
.btn-ghost { color: #fff; border-color: var(--border-strong); background: var(--surface); }
.btn-ghost:hover { color: #fff; background: var(--surface-2); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 178, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #c3cfe0; max-width: 40em; }
.hero-art { justify-self: center; width: min(100%, 500px); filter: drop-shadow(0 30px 60px rgba(37, 99, 235, .25)); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(80%, 380px); order: -1; }
}

.facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; padding: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.facts li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--accent); }

/* page header (sub pages) */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 178, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 178, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.page-head .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.page-head .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #c3cfe0; max-width: 46em; }
.page-head .head-icon { width: 128px; height: 128px; padding: 26px; border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 0 40px rgba(45, 212, 191, .08); }
.page-head .head-icon svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .page-head .wrap { grid-template-columns: 1fr; } .page-head .head-icon { display: none; } }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.alt { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.035)); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem; transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: #c3cfe0; }
.card ul { color: #c3cfe0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: rgba(45, 212, 191, .5); transform: translateY(-3px); background: var(--surface-2); }

.service-card { padding: 2rem; display: flex; flex-direction: column; }
.service-card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); margin-bottom: 1.3rem; box-shadow: 0 10px 30px -12px rgba(45, 212, 191, .7); }
.service-card .icon svg { width: 30px; height: 30px; color: #04111a; }
.service-card .tag { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.service-card ul { list-style: none; padding: 0; margin: .2rem 0 1.4rem; font-size: .95rem; }
.service-card li { padding-left: 1.5rem; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.service-card .more { margin-top: auto; font-weight: 700; color: var(--accent); display: inline-flex; gap: .4rem; align-items: center; }
.service-card .more svg { width: 18px; height: 18px; flex-shrink: 0; }
.service-card:hover .more { gap: .7rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.8rem; position: relative; margin: .55em 0; }
.check-list li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.num { font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem; display: block; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--gold)); opacity: .5; }
.tl-item { position: relative; padding-top: 2.2rem; }
.tl-item::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl-item.now::before { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(251, 191, 36, .18); }
.tl-item time { display: block; font-weight: 800; color: #fff; font-size: 1.08rem; }
.tl-item p { color: var(--muted); font-size: .95rem; margin: .3rem 0 0; }
.tl-item .badge { display: inline-block; margin-top: .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1a1300; background: var(--gold); padding: .15rem .55rem; border-radius: 999px; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; padding-left: 1.6rem; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--accent), var(--accent-2), var(--gold)); }
  .tl-item { padding-top: 0; }
  .tl-item::before { left: -1.6rem; top: .25rem; }
}

/* callout */
.callout { border: 1px solid rgba(251, 191, 36, .35); background: linear-gradient(135deg, rgba(251, 191, 36, .08), rgba(251, 191, 36, .02)); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.callout strong { color: var(--gold); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 640px; }
th, td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: #fff; font-weight: 600; }
tbody tr:hover { background: var(--surface); }
.table-note { color: var(--muted); font-size: .88rem; margin-top: .8rem; }

/* faq */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: .8rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.3rem 1.2rem; color: #c3cfe0; }
.faq .answer p:last-child { margin-bottom: 0; }

/* two column prose */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }
.prose { max-width: 760px; }
.prose p, .prose li { color: #c3cfe0; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.chips li { margin: 0; font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: #d6e0ee; }

/* stats */
.stat { text-align: left; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: .4rem; }
.stat span { color: var(--muted); font-size: .95rem; }

/* cta band */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem);
  background: radial-gradient(600px 300px at 100% 0%, rgba(59, 130, 246, .35), transparent 70%),
              radial-gradient(500px 300px at 0% 100%, rgba(45, 212, 191, .25), transparent 70%), #0d1628;
  border: 1px solid var(--border-strong);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
}
.cta h2 { margin-bottom: .4em; }
.cta p { color: #c3cfe0; margin: 0; }
.cta .contact-lines { display: grid; gap: .7rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

.contact-line {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: #fff; text-decoration: none; font-weight: 600;
  overflow-wrap: anywhere;
}
a.contact-line:hover { border-color: rgba(45, 212, 191, .55); color: #fff; background: rgba(255, 255, 255, .08); }
.contact-line svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }
.contact-line small { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* portrait / about */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.avatar { aspect-ratio: 1; border-radius: 28px; background: var(--grad); display: grid; place-items: center; position: relative; overflow: hidden; }
.avatar span { font-size: 5.5rem; font-weight: 800; color: #04111a; letter-spacing: -.05em; }
.avatar::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 24px 24px; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .avatar { max-width: 200px; } }

.xp { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border-strong); }
.xp li { position: relative; padding: 0 0 1.4rem 1.5rem; margin: 0; }
.xp li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.xp b { color: #fff; display: block; }
.xp small { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.xp p { color: var(--muted); margin: .25rem 0 0; font-size: .95rem; }

/* footer */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; font-size: .93rem; color: var(--muted); background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45rem 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .motto { font-weight: 700; color: #fff; margin: .8rem 0 .4rem; }
.site-footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* reveal-free: content is always visible (good for crawlers & no-JS) */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .hero-art, .cta { display: none; }
  h1, h2, h3, strong { color: #000; }
}
