/* IDE Technology site block — every selector is scoped under #idetech-site
   so it cannot bleed into the Twenty theme's own header, footer or content. */

#idetech-site{
  --ink:#070b14;
  --ink-2:#0e1626;
  --ink-3:#121b30;
  --line: rgba(120,170,255,0.16);
  --line-strong: rgba(120,170,255,0.32);
  --blue:#2f8fff;
  --blue-deep:#0058b3;
  --red:#ff3b2f;
  --text:#eaf1fb;
  --muted:#8ca0be;
  --muted-2:#5f7392;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  display:block;
  position:relative;
  width:auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x:clip;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(47,143,255,0.14), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(255,59,47,0.08), transparent 55%),
    var(--ink);
  color:var(--text);
  font-family:var(--sans);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
#idetech-site, #idetech-site *{ box-sizing:border-box; }
#idetech-site ::selection{ background:var(--blue); color:#fff; }
#idetech-site a{ color:inherit; }
#idetech-site img{ max-width:100%; display:block; }
#idetech-site .wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
@media (max-width:720px){ #idetech-site .wrap{ padding:0 20px; } }

/* faint blueprint grid */
#idetech-site .grid-bg{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(1200px 900px at 50% 0%, black, transparent 75%);
          mask-image: radial-gradient(1200px 900px at 50% 0%, black, transparent 75%);
  opacity:0.5;
}

/* ---------- header ---------- */
#idetech-site header{
  position:sticky; top:0; z-index:50;
  background:rgba(7,11,20,0.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
#idetech-site .nav-row{ display:flex; align-items:center; gap:28px; height:76px; }
#idetech-site .brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
#idetech-site .brand img{ height:38px; width:auto; }
#idetech-site nav.primary{ display:flex; gap:26px; }
#idetech-site nav.primary a{
  text-decoration:none; font-size:14.5px; font-weight:600; color:var(--muted);
  padding:6px 2px; border-bottom:1px solid transparent;
}
#idetech-site nav.primary a:hover{ color:var(--text); border-color:var(--line-strong); }
#idetech-site .lang-switch{ display:flex; border:1px solid var(--line-strong); border-radius:6px; overflow:hidden; }
#idetech-site .lang-btn{
  font-family:var(--mono); font-size:12px; letter-spacing:0.06em; padding:7px 11px;
  background:transparent; color:var(--muted-2); border:none; cursor:pointer;
}
#idetech-site .lang-btn + .lang-btn{ border-left:1px solid var(--line-strong); }
#idetech-site .lang-btn.active{ background:var(--blue); color:#fff; }
#idetech-site .lang-btn:hover:not(.active){ color:var(--text); }
#idetech-site .cta{
  font-weight:700; font-size:14px; text-decoration:none; white-space:nowrap;
  padding:10px 18px; border-radius:5px; border:1px solid transparent; cursor:pointer;
}
#idetech-site .cta.primary{ background:var(--blue); color:#fff; }
#idetech-site .cta.primary:hover{ background:#4a9dff; }
#idetech-site .cta.ghost{ border-color:var(--line-strong); color:var(--text); background:transparent; }
#idetech-site .cta.ghost:hover{ border-color:var(--blue); }
@media (max-width:920px){ #idetech-site nav.primary{ display:none; } }

/* ---------- shared section chrome ---------- */
#idetech-site section{ position:relative; z-index:1; padding:110px 0; border-bottom:1px solid var(--line); }
#idetech-site section:last-of-type{ border-bottom:none; }
#idetech-site .eyebrow{
  font-family:var(--mono); font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--blue); display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
#idetech-site .eyebrow::before{ content:""; width:16px; height:1px; background:var(--blue); display:inline-block; }
#idetech-site h1, #idetech-site h2, #idetech-site h3{ font-family:var(--sans); text-wrap:balance; margin:0; }
#idetech-site h2{ font-size:clamp(1.9rem, 3.6vw, 2.7rem); font-weight:800; letter-spacing:-0.01em; max-width:16ch; }
#idetech-site .lede{ font-size:clamp(1.02rem,1.4vw,1.18rem); color:var(--muted); max-width:56ch; margin-top:18px; }
#idetech-site .section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; flex-wrap:wrap; margin-bottom:56px; }
#idetech-site .tag{
  font-family:var(--mono); font-size:11.5px; letter-spacing:0.08em; color:var(--blue);
  border:1px solid var(--line-strong); border-radius:4px; padding:3px 8px; display:inline-block;
}

/* corner-bracket card, echoes an instrument readout */
#idetech-site .panel{
  position:relative; border:1px solid var(--line); border-radius:10px; background:var(--ink-2);
}
#idetech-site .panel::before, #idetech-site .panel::after{
  content:""; position:absolute; width:14px; height:14px; border:1px solid var(--blue); opacity:0.7;
}
#idetech-site .panel::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
#idetech-site .panel::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

/* ---------- hero ---------- */
#idetech-site .hero{ padding-top:96px; padding-bottom:70px; border-bottom:1px solid var(--line); overflow:hidden; }
#idetech-site .hero-inner{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center; }
@media (max-width:980px){ #idetech-site .hero-inner{ grid-template-columns:1fr; } }
#idetech-site .live-tag{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:12px;
  letter-spacing:0.08em; color:var(--muted); border:1px solid var(--line-strong); border-radius:20px;
  padding:6px 12px 6px 10px; margin-bottom:26px;
}
#idetech-site .dot-live{ width:7px; height:7px; border-radius:50%; background:var(--red); box-shadow:0 0 0 0 rgba(255,59,47,0.6); animation:idetechPulse 2.2s infinite; }
@keyframes idetechPulse{
  0%{ box-shadow:0 0 0 0 rgba(255,59,47,0.55); }
  70%{ box-shadow:0 0 0 8px rgba(255,59,47,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,59,47,0); }
}
#idetech-site .hero h1{ font-size:clamp(2.5rem,5.2vw,4.4rem); font-weight:800; letter-spacing:-0.02em; line-height:1.03; }
#idetech-site .hero .lede{ margin-top:22px; }
#idetech-site .hero-ctas{ display:flex; gap:14px; margin-top:38px; flex-wrap:wrap; }
#idetech-site .hero-figure{ position:relative; }
#idetech-site .hero-figure svg{ width:100%; height:auto; }
#idetech-site .trace{ fill:none; stroke:var(--blue); stroke-width:1.6; stroke-linecap:round; opacity:0.85; }
#idetech-site .trace.animated{ stroke-dasharray:6 420; stroke-dashoffset:426; animation:idetechDraw 3.2s ease-out forwards infinite alternate; }
@keyframes idetechDraw{ to{ stroke-dashoffset:0; } }
#idetech-site .node{ fill:var(--ink); stroke:var(--blue); stroke-width:1.6; }
#idetech-site .node.red{ stroke:var(--red); fill:var(--red); }
@media (prefers-reduced-motion:reduce){
  #idetech-site .trace.animated{ animation:none; stroke-dashoffset:0; }
  #idetech-site .dot-live{ animation:none; }
}

/* marquee of capabilities */
#idetech-site .marquee-wrap{ position:relative; border-bottom:1px solid var(--line); padding:26px 0; overflow:hidden; background:var(--ink-2); }
#idetech-site .marquee{ display:flex; gap:52px; white-space:nowrap; animation:idetechScroll 26s linear infinite; width:max-content; }
#idetech-site .marquee span{ font-family:var(--mono); font-size:13px; letter-spacing:0.1em; color:var(--muted-2); text-transform:uppercase; }
#idetech-site .marquee span b{ color:var(--blue); font-weight:600; }
@keyframes idetechScroll{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion:reduce){ #idetech-site .marquee{ animation:none; } }

/* ---------- solutions grid ---------- */
#idetech-site .cards4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:980px){ #idetech-site .cards4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ #idetech-site .cards4{ grid-template-columns:1fr; } }
#idetech-site .mcard{ padding:26px 22px; }
#idetech-site .mcard .tag{ margin-bottom:16px; }
#idetech-site .mcard h3{ font-size:1.08rem; font-weight:700; margin-bottom:10px; }
#idetech-site .mcard p{ color:var(--muted); font-size:0.94rem; margin:0; }

/* ---------- mobile section ---------- */
#idetech-site .mobile-inner{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:center; }
@media (max-width:980px){ #idetech-site .mobile-inner{ grid-template-columns:1fr; } }
#idetech-site .phone{ width:250px; margin:0 auto; border:10px solid #1a2338; border-radius:34px; background:#000; box-shadow:0 30px 60px -20px rgba(0,0,0,0.6); }
#idetech-site .phone-screen{ background:linear-gradient(180deg,#0c1424,#0a0f1c); border-radius:24px; overflow:hidden; min-height:460px; position:relative; }
#idetech-site .phone-notch{ position:absolute; top:0; left:50%; transform:translateX(-50%); width:90px; height:18px; background:#000; border-radius:0 0 12px 12px; }
#idetech-site .phone-bar{ display:flex; justify-content:space-between; align-items:center; padding:30px 18px 14px; }
#idetech-site .phone-bar .ptitle{ font-weight:700; font-size:14px; }
#idetech-site .phone-bar .pdot{ width:8px; height:8px; border-radius:50%; background:var(--red); }
#idetech-site .phone-card{ margin:10px 14px; background:var(--ink-3); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
#idetech-site .phone-card .pt{ font-size:12px; color:var(--muted); font-family:var(--mono); }
#idetech-site .phone-card .pm{ font-size:13.5px; font-weight:600; margin-top:4px; }
#idetech-site .phone-tabs{ position:absolute; bottom:0; left:0; right:0; display:flex; justify-content:space-around; padding:12px 0; border-top:1px solid var(--line); background:rgba(10,15,28,0.8); }
#idetech-site .phone-tabs i{ width:18px; height:18px; border-radius:5px; background:var(--line-strong); display:block; }
#idetech-site .phone-tabs i.on{ background:var(--blue); }
#idetech-site .mobile-list{ list-style:none; margin:26px 0 0; padding:0; display:grid; gap:14px; }
#idetech-site .mobile-list li{ display:flex; gap:14px; align-items:flex-start; }
#idetech-site .mobile-list .bullet{ width:8px; height:8px; margin-top:7px; background:var(--blue); border-radius:1px; flex:none; }
#idetech-site .mobile-list b{ display:block; font-size:0.98rem; margin-bottom:2px; }
#idetech-site .mobile-list span.d{ color:var(--muted); font-size:0.92rem; }

/* ---------- showcase (dashboard) ---------- */
#idetech-site .showcase{ background:radial-gradient(900px 500px at 50% 0%, rgba(47,143,255,0.10), transparent 60%), var(--ink); }
#idetech-site .browser{ border:1px solid var(--line-strong); border-radius:12px; overflow:hidden; box-shadow:0 40px 90px -30px rgba(0,0,0,0.65); }
#idetech-site .browser-top{ display:flex; align-items:center; gap:10px; padding:11px 14px; background:var(--ink-3); border-bottom:1px solid var(--line); }
#idetech-site .browser-top .bdot{ width:10px; height:10px; border-radius:50%; background:#2a3652; }
#idetech-site .browser-url{ margin-left:8px; font-family:var(--mono); font-size:12px; color:var(--muted-2); background:var(--ink); border:1px solid var(--line); border-radius:5px; padding:4px 10px; flex:1; max-width:340px; }
#idetech-site .browser-body{ display:grid; grid-template-columns:180px 1fr; min-height:420px; background:var(--ink-2); }
@media (max-width:760px){ #idetech-site .browser-body{ grid-template-columns:1fr; } #idetech-site .app-side{ display:none; } }
#idetech-site .app-side{ border-right:1px solid var(--line); padding:18px 14px; }
#idetech-site .app-side .aitem{ font-size:13px; color:var(--muted); padding:9px 10px; border-radius:6px; margin-bottom:4px; font-weight:600; }
#idetech-site .app-side .aitem.on{ background:var(--ink-3); color:var(--text); border:1px solid var(--line-strong); }
#idetech-site .app-main{ padding:24px 26px; }
#idetech-site .app-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:22px; }
#idetech-site .stat{ border:1px solid var(--line); border-radius:8px; padding:14px 16px; background:var(--ink); }
#idetech-site .stat .st-l{ font-family:var(--mono); font-size:11px; color:var(--muted-2); letter-spacing:0.06em; text-transform:uppercase; }
#idetech-site .stat .st-v{ font-size:1.35rem; font-weight:800; margin-top:6px; font-variant-numeric:tabular-nums; }
#idetech-site .stat .st-v small{ color:var(--blue); font-size:0.8rem; font-weight:700; margin-left:6px; }
#idetech-site .bars{ display:flex; align-items:flex-end; gap:10px; height:120px; border-bottom:1px solid var(--line); padding-bottom:2px; margin-bottom:22px; }
#idetech-site .bars i{ flex:1; background:linear-gradient(180deg, var(--blue), #1a4d99); border-radius:3px 3px 0 0; }
#idetech-site .kanban{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
#idetech-site .kcol .kh{ font-family:var(--mono); font-size:11px; color:var(--muted-2); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px; }
#idetech-site .kcard{ background:var(--ink); border:1px solid var(--line); border-radius:7px; padding:10px 12px; margin-bottom:10px; font-size:12.5px; }
#idetech-site .kcard .kco{ color:var(--muted); font-family:var(--mono); font-size:10.5px; }
#idetech-site .showcase-caption{ margin-top:16px; font-family:var(--mono); font-size:11.5px; color:var(--muted-2); text-align:center; letter-spacing:0.04em; }

/* ---------- manifesto ---------- */
#idetech-site .manifesto{ background:linear-gradient(180deg, var(--ink) 0%, #050810 100%); text-align:left; }
#idetech-site .man-line{ font-size:clamp(1.9rem,7.5vw,4.3rem); font-weight:800; letter-spacing:-0.02em; line-height:1.08; margin:0; text-wrap:balance; }
#idetech-site .man-line.dim{ color:var(--muted-2); }
#idetech-site .man-line .hl{ color:var(--blue); }
#idetech-site .man-close{ margin-top:44px; font-family:var(--mono); font-size:13.5px; color:var(--muted); border-left:2px solid var(--red); padding-left:16px; max-width:44ch; }

/* ---------- contact ---------- */
#idetech-site .contact-inner{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
@media (max-width:900px){ #idetech-site .contact-inner{ grid-template-columns:1fr; } }
#idetech-site .field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
#idetech-site .field label{ font-family:var(--mono); font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted-2); }
#idetech-site .field input, #idetech-site .field textarea{
  background:var(--ink-2); border:1px solid var(--line-strong); border-radius:6px; padding:12px 13px;
  color:var(--text); font-family:var(--sans); font-size:14.5px; resize:vertical; width:100%;
}
#idetech-site .field input:focus, #idetech-site .field textarea:focus{ outline:2px solid var(--blue); outline-offset:1px; border-color:var(--blue); }
#idetech-site .idetech-honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
#idetech-site .send-row{ display:flex; align-items:center; gap:16px; margin-top:8px; flex-wrap:wrap; }
#idetech-site .cta:disabled{ opacity:0.6; cursor:not-allowed; }
#idetech-site .idetech-status{ font-family:var(--mono); font-size:12.5px; }
#idetech-site .idetech-status.ok{ color:var(--blue); }
#idetech-site .idetech-status.err{ color:var(--red); }
#idetech-site .info-list{ display:grid; gap:22px; align-content:start; }
#idetech-site .info-row .il{ font-family:var(--mono); font-size:11px; color:var(--muted-2); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:4px; }
#idetech-site .info-row .iv{ font-size:1rem; font-weight:600; }
#idetech-site .info-row .iv.small{ font-weight:400; color:var(--muted); font-size:0.92rem; }

/* ---------- footer ---------- */
#idetech-site footer{ padding:50px 0 42px; position:relative; z-index:1; }
#idetech-site .foot-top{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; padding-bottom:30px; border-bottom:1px solid var(--line); }
#idetech-site .foot-brand{ display:flex; align-items:center; gap:10px; }
#idetech-site .foot-brand img{ height:26px; }
#idetech-site .foot-nav{ display:flex; gap:22px; flex-wrap:wrap; }
#idetech-site .foot-nav a{ text-decoration:none; font-size:13.5px; color:var(--muted); }
#idetech-site .foot-nav a:hover{ color:var(--text); }
#idetech-site .foot-bottom{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-top:22px; }
#idetech-site .foot-legal{ font-family:var(--mono); font-size:11.5px; color:var(--muted-2); line-height:1.7; }
