
:root{
  --bg:#0a0f1b;
  --bg-2:#0f1729;
  --bg-3:#111d33;
  --panel:rgba(255,255,255,.05);
  --panel-2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.11);
  --text:#f4f7fb;
  --muted:#b7c2d6;
  --muted-2:#d8e1f3;
  --accent:#8db2ff;
  --accent-2:#c7d8ff;
  --success:#aee7b9;
  --warning:#f6d49b;
  --shadow:0 28px 70px rgba(0,0,0,.34);
  --radius:26px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{
  margin:0;
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141,178,255,.18), transparent 28%),
    radial-gradient(circle at top right, rgba(199,216,255,.12), transparent 24%),
    linear-gradient(180deg, #0a0f1b 0%, #0d1424 44%, #0a0f1b 100%);
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(calc(100% - 32px), var(--max));margin:0 auto}
.page{padding-top:22px}
.skip-link{
  position:absolute;
  left:12px;
  top:-100px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  color:#09111e;
  z-index:120;
}
.skip-link:focus{top:12px}
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter:blur(16px);
  background:rgba(10,15,27,.7);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  width:min(calc(100% - 32px), var(--max));
  min-height:76px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-mark{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#08101d;
  font-weight:900;letter-spacing:.02em;box-shadow:0 12px 32px rgba(141,178,255,.26);flex:0 0 46px;
}
.brand-copy{min-width:0}
.brand-title{font-size:1rem;font-weight:800;line-height:1.1;white-space:nowrap}
.brand-subtitle{
  color:var(--muted);font-size:.82rem;margin-top:4px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;max-width:420px;
}
.nav-wrap{display:flex;align-items:center;gap:18px}
.nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.nav a{
  color:var(--muted);font-size:.95rem;font-weight:600;padding:10px 12px;border-radius:999px;
  transition:background .18s ease,color .18s ease;
}
.nav a:hover,.nav a.active{color:var(--text);background:rgba(255,255,255,.06)}
.header-cta{display:flex;align-items:center;gap:10px}
.menu-btn{
  display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);
  color:var(--text);border-radius:14px;cursor:pointer;
}
.mobile-menu{display:none;padding:0 0 14px}
.mobile-menu nav{display:grid;gap:10px}
.mobile-menu a{
  display:block;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);color:var(--muted-2);
}
.hero,.page-hero{padding:76px 0 50px;position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:stretch}
.glass{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
}
.hero-copy{padding:40px;position:relative}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;color:var(--accent-2);font-size:.9rem;font-weight:700;
  letter-spacing:.02em;margin-bottom:18px;
}
.hero h1,.page-hero h1{
  margin:0;font-size:clamp(2.35rem, 5vw, 4.7rem);line-height:.98;letter-spacing:-.04em;max-width:13ch;
}
.lead{
  margin:18px 0 0;color:var(--muted);font-size:1.12rem;line-height:1.72;max-width:64ch;
}
.hero-actions,.inline-actions{margin-top:28px;display:flex;flex-wrap:wrap;gap:14px}
.hero-points,.stat-grid,.grid-4,.grid-3,.grid-2,.form-grid,.split-band{display:grid;gap:18px}
.hero-points{margin-top:26px;grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid{grid-template-columns:1.02fr .98fr}
.split-band{grid-template-columns:1.1fr .9fr}
.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.card,.panel-card,.mini-card,.flow-box,.form-shell{
  background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);
}
.mini-card{padding:14px 16px;background:rgba(255,255,255,.04)}
.mini-card strong{display:block;margin-bottom:6px;font-size:.98rem}
.mini-card span{color:var(--muted);display:block;line-height:1.48;font-size:.9rem}
.hero-panel{padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:18px}
.hero-panel h3,.kicker{margin:0 0 12px;font-size:1.02rem;color:var(--muted);font-weight:700}
.flow-box{padding:18px;background:rgba(255,255,255,.03)}
.flow-step{display:flex;gap:14px;align-items:flex-start;padding:12px 0}
.flow-step + .flow-step{border-top:1px solid rgba(255,255,255,.08)}
.step-num{
  width:34px;height:34px;border-radius:12px;display:grid;place-items:center;font-weight:800;color:#08111e;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));flex:0 0 34px;
}
.flow-step strong{display:block;font-size:1rem;margin-bottom:5px}
.flow-step span,.muted{color:var(--muted);line-height:1.54;font-size:.92rem}
.pill-row{display:flex;flex-wrap:wrap;gap:10px}
.pill{
  padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);
  color:var(--muted);font-size:.86rem;font-weight:600;
}
.btn{
  min-height:50px;padding:0 18px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;
  gap:10px;font-weight:700;border:1px solid transparent;transition:transform .18s ease, background .18s ease, border-color .18s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  color:#09111e;background:linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:0 12px 28px rgba(141,178,255,.24);
}
.btn-secondary{color:var(--text);background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.13)}
.btn-sm{min-height:44px;padding:0 16px;border-radius:13px}
section{padding:16px 0 42px}
.section-head{
  display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px;
}
.section-head h2{margin:0;font-size:clamp(1.75rem,3vw,2.55rem);letter-spacing:-.03em}
.section-head p{margin:0;color:var(--muted);max-width:66ch;line-height:1.68}
.card,.panel-card{padding:24px}
.icon{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;margin-bottom:15px;
  background:rgba(141,178,255,.14);border:1px solid rgba(141,178,255,.24);color:var(--accent-2);font-weight:800;
}
.card h3,.panel-card h3,.form-copy h3{margin:0 0 10px;font-size:1.12rem;letter-spacing:-.02em}
.card p,.panel-card p,.form-copy p{margin:0;color:var(--muted);line-height:1.66;font-size:.96rem}
.list{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:8px 0;line-height:1.56}
.compliance{background:rgba(174,231,185,.08);border-color:rgba(174,231,185,.18)}
.compliance h3{color:var(--success)}
.warning{background:rgba(246,212,155,.08);border-color:rgba(246,212,155,.18)}
.warning h3{color:var(--warning)}
.metrics-band{
  margin-top:14px;padding:18px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);
}
.metric{padding:12px 0}
.metric strong{display:block;font-size:1.4rem;letter-spacing:-.03em;margin-bottom:6px}
.metric span{color:var(--muted);line-height:1.5;display:block;font-size:.92rem}
.timeline{display:grid;gap:14px}
.timeline-item{
  display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:flex-start;padding:20px;border-radius:22px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.timeline-badge{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:800;color:#08111e;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
}
.timeline-item h3{margin:0 0 8px;font-size:1.16rem}
.timeline-item p{margin:0;color:var(--muted);line-height:1.66}
.quote-line{
  margin-top:14px;padding:14px 16px;border-left:3px solid var(--accent);background:rgba(255,255,255,.03);
  border-radius:0 18px 18px 0;color:var(--muted-2);line-height:1.6;
}
.form-shell{padding:26px}
.form-stack{display:grid;gap:14px}
.field{display:grid;gap:8px}
.field label{color:var(--muted-2);font-weight:600;font-size:.95rem}
.field input,.field select,.field textarea{
  width:100%;min-height:52px;border-radius:16px;border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);color:var(--text);padding:0 16px;outline:none;
}
.field textarea{min-height:154px;padding:14px 16px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#8fa1bd}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:rgba(141,178,255,.56);box-shadow:0 0 0 3px rgba(141,178,255,.12);
}
.field select option{color:#101828}
.form-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.file-note,.form-note,.small-text{color:var(--muted);font-size:.9rem;line-height:1.6}
.file-list{margin-top:8px;color:var(--muted-2);font-size:.9rem;line-height:1.55}
.checklist{display:grid;gap:12px;margin-top:18px}
.check{
  display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:18px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.check-mark{
  width:26px;height:26px;border-radius:10px;flex:0 0 26px;display:grid;place-items:center;
  background:rgba(141,178,255,.14);border:1px solid rgba(141,178,255,.22);color:var(--accent-2);font-size:.92rem;font-weight:800;
}
.cta{padding:8px 0 70px}
.cta-box{
  padding:34px;border-radius:28px;
  background:linear-gradient(135deg, rgba(141,178,255,.16), rgba(255,255,255,.05)), rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow);
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
}
.cta-box h2{margin:0 0 10px;font-size:clamp(1.7rem,3vw,2.45rem);letter-spacing:-.03em}
.cta-box p{margin:0;color:var(--muted);line-height:1.68;max-width:58ch}
.faq-grid{display:grid;gap:14px}
details.faq{border-radius:20px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);padding:0 18px}
details.faq summary{list-style:none;cursor:pointer;padding:18px 0;font-weight:700;color:var(--text)}
details.faq summary::-webkit-details-marker{display:none}
details.faq p{margin:0 0 18px;color:var(--muted);line-height:1.68}
.redirect-wrap{min-height:60vh;display:grid;place-items:center;padding:60px 0}
.redirect-card{max-width:640px;text-align:center;padding:34px}
footer{border-top:1px solid rgba(255,255,255,.07);padding:22px 0 34px;color:var(--muted);font-size:.92rem}
.footer-inner{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{width:34px;height:34px;border-radius:12px;opacity:.95}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.footer-links a:hover{color:var(--text)}
.legal-note{margin-top:12px;color:var(--muted);line-height:1.6;max-width:78ch}
@media (max-width: 1100px){
  .hero-grid,.grid-4,.grid-3,.grid-2,.hero-points,.form-grid,.split-band,.stat-grid{grid-template-columns:1fr}
  .section-head{align-items:start;flex-direction:column}
  .nav{display:none}
  .menu-btn{display:inline-grid;place-items:center}
  .mobile-menu{display:block}
}
@media (max-width: 760px){
  .header-inner{min-height:68px}
  .hero,.page-hero{padding-top:46px}
  .hero-copy,.hero-panel,.card,.panel-card,.cta-box,.form-shell,.redirect-card{padding:22px}
  .hero-actions,.inline-actions{flex-direction:column}
  .btn{width:100%}
  .brand-subtitle{max-width:220px}
  .form-row-2{grid-template-columns:1fr}
  .timeline-item{grid-template-columns:1fr;gap:12px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}


/* Integrated workspace */
.micro-note{margin-top:16px;color:var(--muted);font-size:.92rem;line-height:1.6}
.workspace-section{padding-bottom:72px}
.notice-banner{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:14px 16px;border:1px solid var(--line);border-radius:18px;
  background:rgba(255,255,255,.05);color:var(--muted-2);margin-bottom:24px
}
.notice-banner strong{color:var(--text)}
.notice-banner.is-success{border-color:rgba(174,231,185,.34);background:rgba(174,231,185,.08)}
.notice-banner.is-warning{border-color:rgba(246,212,155,.34);background:rgba(246,212,155,.08)}
.app-top-grid,.workspace-grid{display:grid;gap:22px}
.app-top-grid{grid-template-columns:1.2fr .8fr;margin-bottom:24px}
.workspace-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}
.workspace-shell{
  padding:24px;border:1px solid var(--line);border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow:var(--shadow)
}
.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.workspace-head h2{margin:4px 0 8px}
.workspace-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.panel-card{
  padding:22px;border-radius:24px;border:1px solid var(--line);
  background:rgba(255,255,255,.04);box-shadow:0 18px 40px rgba(0,0,0,.18)
}
.section-card{margin-bottom:22px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.panel-head h2,.panel-head h3{margin:4px 0 0}
.muted-copy{color:var(--muted);margin:0}
.app-form .field label{display:block;margin-bottom:8px;font-weight:600;color:var(--muted-2)}
.app-form input[type="text"],.app-form input[type="email"],.app-form input[type="file"],.app-form textarea,.app-form select{
  width:100%;border:1px solid rgba(255,255,255,.1);background:rgba(7,11,20,.66);color:var(--text);
  border-radius:16px;padding:14px 15px;outline:none
}
.app-form textarea{min-height:118px;resize:vertical}
.app-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.workspace-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}
.metric-card{
  padding:16px 18px;border:1px solid rgba(255,255,255,.09);border-radius:18px;
  background:rgba(255,255,255,.03)
}
.metric-label{font-size:.86rem;color:var(--muted);margin-bottom:8px}
.metric-value{font-size:1.1rem;font-weight:700;color:var(--text)}
.status-pill{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;padding:10px 14px;font-size:.88rem;font-weight:700;
  text-transform:capitalize;background:rgba(255,255,255,.07);color:var(--muted-2)
}
.status-pill.is-success{background:rgba(174,231,185,.12);color:var(--success)}
.status-pill.is-ready{background:rgba(141,178,255,.12);color:var(--accent-2)}
.status-pill.is-warning{background:rgba(246,212,155,.12);color:var(--warning)}
.status-pill.is-neutral{background:rgba(255,255,255,.08);color:var(--muted-2)}
.case-list{display:grid;gap:12px}
.case-list-item{
  width:100%;text-align:left;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);
  color:var(--text);padding:15px 16px;border-radius:16px;cursor:pointer;display:grid;gap:6px
}
.case-list-item span{color:var(--muted);font-size:.92rem}
.case-list-item.active,.case-list-item:hover{border-color:rgba(141,178,255,.32);background:rgba(141,178,255,.08)}
.empty-state{
  padding:18px;border:1px dashed rgba(255,255,255,.12);border-radius:16px;color:var(--muted);background:rgba(255,255,255,.02)
}
.stack-list{display:grid;gap:18px}
.message-list{margin:10px 0 0;padding-left:18px;color:var(--muted-2)}
.message-list li + li{margin-top:8px}
.message-list.compact li + li{margin-top:6px}
.mini-label{display:block;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.detail-grid strong{display:block;color:var(--text);margin-top:5px;line-height:1.4}
.info-block{display:grid;gap:14px}
.output-card a{color:var(--accent-2)}
.workspace-prompt{
  margin:18px 0 0;padding:14px 16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap
}
.workspace-prompt span{display:block;color:var(--muted);margin-top:4px;max-width:760px}
.checkline{display:flex;align-items:flex-start;gap:10px;margin:10px 0 14px;color:var(--muted-2)}
.checkline input{margin-top:4px}
.generation-copy{color:var(--muted-2);line-height:1.7;margin-bottom:14px}
.toast-stack{
  position:fixed;right:18px;bottom:18px;display:grid;gap:10px;z-index:120
}
.toast{
  min-width:260px;max-width:min(92vw, 420px);padding:14px 16px;border-radius:16px;
  border:1px solid rgba(255,255,255,.08);background:rgba(9,14,24,.96);color:var(--text);
  box-shadow:0 16px 34px rgba(0,0,0,.28);opacity:0;transform:translateY(8px);transition:opacity .2s ease, transform .2s ease
}
.toast.is-visible{opacity:1;transform:translateY(0)}
.toast.success{border-color:rgba(174,231,185,.34)}
.toast.warning{border-color:rgba(246,212,155,.34)}
@media (max-width: 1100px){
  .app-top-grid,.workspace-grid,.workspace-metrics{grid-template-columns:1fr}
  .workspace-head{flex-direction:column}
}
@media (max-width: 720px){
  .workspace-shell{padding:18px}
  .detail-grid,.form-row-2{grid-template-columns:1fr !important}
  .app-actions,.workspace-head-actions{width:100%}
  .app-actions .btn,.workspace-head-actions .btn{width:100%;justify-content:center}
  .workspace-prompt{align-items:flex-start}
  .toast-stack{left:12px;right:12px;bottom:12px}
  .toast{max-width:none;min-width:0}
}

.dropzone{
  border:1.5px dashed rgba(141,178,255,.34);
  background:linear-gradient(180deg, rgba(141,178,255,.08), rgba(255,255,255,.03));
  border-radius:22px;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  cursor:pointer;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.dropzone:hover,.dropzone.is-dragover{
  border-color:rgba(141,178,255,.7);
  background:linear-gradient(180deg, rgba(141,178,255,.16), rgba(255,255,255,.05));
  transform:translateY(-1px);
}
.dropzone-copy{display:grid;gap:8px}
.dropzone-copy strong{font-size:1rem}
.dropzone-copy span{color:var(--muted);line-height:1.6}
.upload-queue,.stored-files,.template-list,.doc-grid{display:grid;gap:12px}
.upload-queue,.stored-files,.stored-files-block{margin-top:16px}
.file-chip,.stored-file-card,.template-item,.doc-chip{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  border-radius:16px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.file-chip div,.stored-file-meta,.template-item,.doc-chip{display:grid;gap:4px}
.file-chip strong,.stored-file-meta strong,.template-item strong,.doc-chip strong{font-size:.95rem}
.file-chip span,.stored-file-meta span,.template-item span,.doc-chip span{color:var(--muted);font-size:.88rem;line-height:1.45}
.chip-remove{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--muted-2);
  border-radius:999px;
  min-height:36px;
  padding:0 12px;
  cursor:pointer;
}
.template-summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.template-ok{color:var(--success)!important}
.template-missing{color:var(--warning)!important}
.doc-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.stored-file-card .btn{min-height:40px}
@media (max-width: 720px){
  .dropzone,
  .file-chip,
  .stored-file-card,
  .template-item{
    align-items:flex-start;
    flex-direction:column;
  }
  .stored-file-card .btn,
  .dropzone .btn{
    width:100%;
  }
}
