:root{
  --bg:#030915;
  --bg-2:#050d1c;
  --panel:#081324;
  --panel-2:#0b172b;
  --line:rgba(142,174,236,.18);
  --line-hover:rgba(154,186,255,.42);
  --text:#f6f8ff;
  --muted:#a3b0c5;
  --accent:#8eaefe;
  --accent-2:#5c83ff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 640px at 0% 0%,rgba(19,47,102,.42),transparent 60%),
    radial-gradient(1000px 680px at 100% 0%,rgba(23,18,102,.28),transparent 62%),
    linear-gradient(180deg,#020712 0%,#030915 50%,#020610 100%);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
.services-shell{width:min(100% - 40px,1180px);margin:0 auto}
.services-header{padding:22px 0 8px}
.services-header .services-shell{display:flex;align-items:center;justify-content:space-between;gap:18px}
.services-brand{display:inline-flex;align-items:center;gap:14px;font-weight:700;letter-spacing:.01em}
.brand-mark{width:44px;height:44px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(166,190,255,.18);background:linear-gradient(180deg,rgba(13,25,46,.94),rgba(7,13,24,.98));box-shadow:0 14px 32px rgba(0,0,0,.28)}
.brand-mark svg,.service-icon svg{width:24px;height:24px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.services-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.services-nav a{color:var(--muted);transition:color .18s ease}
.services-nav a:hover{color:var(--text)}
.services-main{padding:34px 0 72px}
.services-intro{text-align:center;margin-bottom:34px}
.services-kicker{display:inline-block;color:#8fafef;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.services-intro h1{margin:14px 0 12px;font-size:clamp(42px,6vw,72px);line-height:1;letter-spacing:-.05em}
.services-intro p{margin:0 auto;max-width:560px;color:var(--muted);font-size:17px;line-height:1.65}
.services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.service-tile{
  min-height:280px;
  padding:36px 32px;
  border-radius:30px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(12,22,40,.88),rgba(5,12,23,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 26px 70px rgba(0,0,0,.25);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:16px;
  text-align:center;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
.service-tile:hover,.service-tile:focus-visible{
  transform:translateY(-4px);
  border-color:var(--line-hover);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 36px 100px rgba(0,0,0,.34),0 0 0 1px rgba(111,149,255,.16);
}
.service-tile-link{cursor:pointer}
.service-icon{
  width:90px;height:90px;border-radius:28px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,rgba(22,35,61,.95),rgba(9,16,30,.98));
  border:1px solid rgba(148,178,237,.16);
  box-shadow:0 12px 34px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.03);
}
.service-icon svg{width:42px;height:42px;stroke:#8fb0ff}
.service-tile strong{font-size:34px;line-height:1.08;letter-spacing:-.04em;font-weight:700}
.service-tile small{color:var(--muted);font-size:17px;line-height:1.45}

.service-modal[hidden]{display:none}
.service-modal{
  position:fixed;
  inset:0;
  z-index:60;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.service-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(1,5,12,.72);backdrop-filter:blur(12px);cursor:pointer}
.service-dialog{
  position:relative;
  z-index:1;
  width:min(100%,950px);
  max-height:calc(100vh - 48px);
  overflow:auto;
  padding:36px 38px 40px;
  border-radius:34px;
  border:1px solid rgba(144,174,236,.18);
  background:linear-gradient(160deg,rgba(16,27,48,.98),rgba(7,13,24,.98));
  box-shadow:0 40px 100px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.03);
}
.service-modal-close{
  position:absolute;top:18px;right:18px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(142,174,236,.16);
  background:rgba(255,255,255,.03);cursor:pointer;font-size:30px;line-height:1;color:#dce5f8;
}
.service-dialog-head h2{margin:12px 0 10px;font-size:clamp(36px,5vw,60px);line-height:1.02;letter-spacing:-.05em}
.service-dialog-intro{margin:0;color:var(--muted);font-size:17px;line-height:1.6;max-width:760px}
.service-dialog-body{margin-top:26px}
.service-dialog-footnote{margin:16px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
body.is-modal-open{overflow:hidden}

.access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.access-card{
  padding:28px 22px 18px;
  border:1px solid rgba(145,177,238,.14);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(10,18,33,.96),rgba(6,12,22,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.access-card.is-disabled{opacity:.92}
.preview-frame{
  height:224px;
  border-radius:22px;
  border:1px solid rgba(145,177,238,.12);
  background:linear-gradient(180deg,rgba(8,14,26,.96),rgba(5,10,19,.98));
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  position:relative;
}
.preview-frame img{display:block;max-width:100%;height:auto}
.ai-preview-shell{width:100%;height:100%;padding:16px}
.ai-preview-card{width:100%;height:100%;border-radius:18px;padding:14px;border:1px solid rgba(145,177,238,.14);background:rgba(7,14,27,.88)}
.ai-preview-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid rgba(145,177,238,.12)}
.ai-preview-head img{width:34px;height:34px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.ai-preview-head strong{display:block;font-size:12px}
.ai-preview-head small{display:block;font-size:9px;color:#708098}
.ai-preview-bubble{margin-top:14px;padding:14px;border-radius:16px;background:#182746;display:grid;gap:6px}
.ai-preview-bubble b{font-size:12px}
.ai-preview-bubble span{font-size:10px;line-height:1.45;color:#aab7c8}
.ai-preview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.ai-preview-actions i{display:flex;align-items:center;justify-content:center;min-height:30px;border-radius:10px;background:#142449;color:#d8e0ef;font-size:9px;font-style:normal}

.buddy-preview-shell{width:100%;height:100%;padding:14px;display:grid;grid-template-rows:auto 1fr;gap:12px}
.buddy-preview-head{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(145,177,238,.1)}
.buddy-preview-head img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.buddy-preview-head strong{display:block;font-size:12px}
.buddy-preview-head small{display:block;font-size:10px;color:#7b89a0}
.buddy-preview-menu{display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:18px;border:1px solid rgba(145,177,238,.12);background:#0b1323;padding:8px}
.buddy-preview-menu img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.web-preview-shell{width:100%;height:100%;padding:18px;position:relative}
.web-preview-top{display:flex;gap:8px;padding-bottom:18px}
.web-preview-top i{width:8px;height:8px;border-radius:50%;background:#314261}
.web-preview-layout{display:grid;grid-template-columns:72px 1fr;gap:10px;height:152px}
.web-preview-layout span,.web-preview-layout b{display:block;border-radius:12px;background:#12223f}
.web-preview-layout span:nth-child(1){grid-row:1 / 4}
.web-preview-layout b{min-height:80px}
.web-preview-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 18px;border-radius:18px;background:rgba(10,16,28,.98);border:1px solid rgba(145,177,238,.14);font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 14px 30px rgba(0,0,0,.28)}
.access-kicker{display:block;color:#8fafef;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.access-card h3{margin:8px 0 8px;font-size:22px;line-height:1.16;letter-spacing:-.03em}
.access-card p{margin:0;color:var(--muted);font-size:15px;line-height:1.58}
.consent-row{display:flex;align-items:flex-start;gap:10px;margin:16px 0 18px;color:#cbd5e6;font-size:14px;line-height:1.55}
.consent-row input{margin-top:3px}
.access-action,.access-secondary{
  display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;padding:0 16px;border-radius:16px;border:1px solid transparent;text-align:center;
}
.access-action{background:linear-gradient(180deg,#6f95ff,#4e75ec);color:#fff;box-shadow:0 16px 30px rgba(74,116,224,.22)}
.access-secondary{margin-top:16px;background:rgba(255,255,255,.03);border-color:rgba(145,177,238,.12);color:#d7e1f4}
.access-action[disabled],.access-secondary[disabled]{opacity:.52;cursor:not-allowed;box-shadow:none}
.channel-card{padding:28px;border:1px solid rgba(145,177,238,.14);border-radius:28px;background:linear-gradient(180deg,rgba(10,18,33,.96),rgba(6,12,22,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.channel-card h3{margin:0 0 12px;font-size:28px;letter-spacing:-.04em}
.channel-card p{margin:0;color:var(--muted);line-height:1.6}
.channel-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.channel-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:16px;border:1px solid rgba(145,177,238,.12);background:rgba(255,255,255,.03);color:#dbe5f7}
.channel-button.primary{background:linear-gradient(180deg,#6f95ff,#4e75ec);color:#fff;border-color:transparent;box-shadow:0 16px 30px rgba(74,116,224,.22)}
.hidden-text{display:none !important}

@media (max-width:900px){
  .access-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .services-shell{width:min(100% - 24px,1180px)}
  .services-header .services-shell{align-items:flex-start;flex-direction:column}
  .services-main{padding:24px 0 56px}
  .services-grid{grid-template-columns:1fr}
  .service-tile{min-height:232px;padding:28px 24px}
  .service-tile strong{font-size:28px}
  .service-icon{width:78px;height:78px}
  .service-icon svg{width:36px;height:36px}
  .service-modal{padding:10px}
  .service-dialog{padding:24px 20px 26px;max-height:calc(100vh - 20px)}
  .service-dialog-head h2{font-size:44px}
  .service-dialog-intro,.services-intro p{font-size:16px}
  .preview-frame{height:206px}
}
