:root {
  --bg: #08080d;
  --bg-2: #0f0f18;
  --card: #12121c;
  --blue: #8b9dd4;
  --blue-dim: #5f6f9f;
  --gold: #d4b896;
  --gold-dim: #b6975f;
  --text: #eaeaf2;
  --muted: #9a9ab2;
  --faint: #6a6a82;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --weave: linear-gradient(90deg, var(--blue), #c5b8c8 50%, var(--gold));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle woven ambient glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 60vw at 20% 0%, rgba(139,157,212,0.10), transparent 60%),
    radial-gradient(55vw 55vw at 85% 15%, rgba(212,184,150,0.09), transparent 60%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8,8,13,0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.2px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .n1 { color: var(--blue); }
.brand .n2 { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.94rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---- hero ---- */
.hero { text-align: center; padding: 96px 0 64px; }
.hero .logo { width: 190px; height: 190px; border-radius: 28px; margin: 0 auto 34px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(139,157,212,0.35); display: block; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); font-weight: 700; letter-spacing: -1px; line-height: 1.05; }
.hero h1 .w { color: var(--blue); }
.hero h1 .b { color: var(--gold); }
.tag { margin-top: 10px; color: var(--faint); letter-spacing: 4px; text-transform: uppercase; font-size: 0.8rem; }
.lede { max-width: 640px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.96rem; transition: transform .15s, box-shadow .2s, border-color .2s; border: 1px solid var(--line-2); }
.btn-primary { background: var(--weave); color: #0a0a12; border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(139,157,212,0.55); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }

/* ---- section ---- */
section.block { padding: 70px 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--blue-dim); font-size: 0.82rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; letter-spacing: -0.5px; margin: 10px 0 16px; }
.sub { color: var(--muted); max-width: 680px; }

/* ---- capabilities grid ---- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 760px){ .grid3 { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.feat h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 0.95rem; }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(139,157,212,0.18), rgba(212,184,150,0.16)); border: 1px solid var(--line); font-size: 1.2rem; }

/* ---- product showcase ---- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 760px){ .products { grid-template-columns: 1fr; } }
.product { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  overflow: hidden; transition: transform .2s, border-color .2s; }
.product:hover { transform: translateY(-4px); border-color: var(--line-2); }
.product::after { content:""; position: absolute; inset: 0 0 auto 0; height: 3px; }
.product.p-blue::after { background: linear-gradient(90deg, var(--blue), transparent); }
.product.p-gold::after { background: linear-gradient(90deg, var(--gold), transparent); }
.product .kicker { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.product h3 { font-size: 1.55rem; margin: 8px 0 6px; letter-spacing: -0.5px; }
.product.p-blue h3 { color: var(--blue); }
.product.p-gold h3 { color: var(--gold); }
.product .domain { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; color: var(--faint); }
.product p { color: var(--muted); margin: 16px 0 22px; }
.product .go { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 7px; }
.product.p-blue .go { color: var(--blue); }
.product.p-gold .go { color: var(--gold); }
.product .go span { transition: transform .18s; }
.product:hover .go span { transform: translateX(4px); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }

/* ---- about ---- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px){ .about { grid-template-columns: 1fr; } }
.about .card2 { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 44px 0 40px; margin-top: 24px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .fbrand { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.foot .fbrand img { width: 26px; height: 26px; border-radius: 6px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--muted); font-size: 0.9rem; transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.copy { color: var(--faint); font-size: 0.82rem; margin-top: 16px; }

/* ---- legal pages ---- */
.legal { padding: 60px 0 40px; max-width: 780px; }
.legal h1 { font-size: 2.1rem; letter-spacing: -0.5px; margin-bottom: 6px; }
.legal .updated { color: var(--faint); font-size: 0.86rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; color: var(--blue); }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--gold); }
.legal a:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 0.92rem; }
.back:hover { color: var(--text); }

/* ---- cookie banner ---- */
#cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(140%);
  width: min(720px, calc(100% - 32px)); z-index: 200;
  background: rgba(18,18,28,0.96); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  transition: transform .4s cubic-bezier(.2,.8,.2,1); opacity: 0;
}
#cookie.show { transform: translateX(-50%) translateY(0); opacity: 1; }
#cookie .ctxt { color: var(--muted); font-size: 0.92rem; }
#cookie .ctxt strong { color: var(--text); }
#cookie .ctxt a { color: var(--blue); }
#cookie .cbtns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
#cookie button { cursor: pointer; font: inherit; font-weight: 600; font-size: 0.9rem; padding: 9px 18px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; color: var(--text); transition: border-color .2s, background .2s; }
#cookie button:hover { border-color: var(--blue); }
#cookie button.accept { background: var(--weave); color: #0a0a12; border: none; }
#cookie button.accept:hover { filter: brightness(1.06); }
@media (max-width: 520px){ #cookie .cbtns { flex-direction: column; } #cookie button { width: 100%; } }
