:root{
  color-scheme:dark;
  --bg:#1a1f2e;
  --panel:#222838;
  --raised:#2a3144;
  --line:#3e4a63;
  --text:#f0f3f8;
  --muted:#b4bfd1;
  --blue:#79b0ff;
  --button:#5b9cf6;
  --danger:#ffadad;
  --radius:8px;
  font-family:"Segoe UI",Arial,sans-serif;
  font-synthesis:none;
  color:var(--text);
  background:var(--bg);
  line-height:1.6
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
a{
  color:inherit;
  text-decoration:none
}
button,input,select{
  font:inherit
}
button,a,input,select{
  touch-action:manipulation
}
button{
  cursor:pointer
}
button:disabled{
  cursor:wait;
  opacity:.55
}
a:hover{
  color:var(--blue)
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:4px
}
h1,h2,h3,p{
  margin-top:0
}
h1,h2,h3{
  line-height:1.13;
  font-weight:600;
  letter-spacing:-.025em
}
h1{
  font-size:clamp(44px,4.8vw,70px);
  margin-bottom:26px
}
h2{
  font-size:clamp(29px,3vw,39px);
  margin-bottom:20px
}
h3{
  font-size:23px
}
p{
  color:var(--muted);
  max-width:65ch
}
img{
  max-width:100%
}
.wrap{
  max-width:1264px;
  margin:auto;
  padding-left:48px;
  padding-right:48px
}
.site-header{
  max-width:1392px;
  min-height:102px;
  padding:20px 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:auto;
  gap:24px
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:22px;
  font-weight:600;
  white-space:nowrap
}
.brand img{
  border-radius:50%
}
nav{
  display:flex;
  gap:30px;
  align-items:center;
  font-size:14px
}
.button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:11px 20px;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--raised);
  color:var(--text);
  font-weight:600;
  font-size:14px;
  line-height:1.5;
  white-space:nowrap
}
.button:hover{
  background:#354158;
  color:var(--text)
}
.button.primary{
  background:var(--button);
  border-color:var(--button);
  color:#10213b
}
.button.primary:hover{
  background:#83b7ff
}
.button.small{
  padding:9px 15px
}
.button.secondary{
  background:transparent
}
.button.danger{
  background:#62333b;
  color:#ffe1e1;
  border-color:#95515c
}
.text-link{
  font-weight:600;
  font-size:14px
}
.actions{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap
}
.skip-link{
  position:fixed;
  top:-80px;
  left:15px;
  z-index:100;
  background:var(--text);
  color:var(--bg);
  padding:10px
}
.skip-link:focus{
  top:10px
}
.hero{
  display:block;
  padding-top:58px;
  padding-bottom:60px
}
.hero h1{
  max-width:820px;
  font-size:clamp(40px,4.2vw,60px);
  margin-bottom:22px
}

.hero-description{
  max-width:620px;
  font-size:17px;
  line-height:1.8;
  margin-bottom:0
}
.platform{
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  list-style:none;
  padding:0;
  font-size:12px;
  color:var(--muted);
  margin:24px 0 0
}
.platform li{
  display:flex;
  align-items:center;
  gap:8px
}
.platform li::before{
  content:"";
  width:4px;
  height:4px;
  background:var(--blue);
  border-radius:50%
}

.section-heading{
  margin-bottom:32px
}
.section-heading h2{
  font-size:28px;
  margin-bottom:0
}
.tools-section{
  padding-top:34px;
  padding-bottom:50px;
  border-top:1px solid #343e53
}
.tool-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:38px
}
.tool-list article{
  padding:8px 0 0
}
.tool-list article+article{
  border-left:1px solid #343e53;
  padding-left:30px
}
.tool-symbol{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid #486490;
  border-radius:9px;
  background:#273750;
  font-size:31px;
  color:#9ec7ff;
  margin-bottom:22px;
  line-height:1
}
.tool-list h3{
  font-size:22px;
  margin-bottom:15px
}
.tool-list p{
  font-size:15px;
  line-height:1.8;
  margin-bottom:23px;
  min-height:108px
}
.tool-kind{
  font-size:12px;
  color:#83b3f6
}
.projects-section{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
  align-items:start;
  padding-top:42px;
  padding-bottom:48px;
  border-top:1px solid #343e53
}
.project-copy h2{
  font-size:28px
}
.project-copy p{
  font-size:16px
}
.project-workflow{
  margin:0
}
.project-workflow>div{
  padding:0 0 18px
}
.project-workflow>div+div{
  border-top:1px solid #343e53;
  padding-top:18px
}
.project-workflow dt{
  font-size:14px;
  font-weight:600;
  color:var(--text)
}
.project-workflow dd{
  margin:5px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7
}

.access-section{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px 40px;
  background:#252e41;
  border:1px solid #3c4c66;
  border-radius:10px;
  padding-top:38px;
  padding-bottom:30px;
  margin-bottom:74px;
  align-items:center
}
.access-section h2{
  font-size:30px;
  margin-bottom:13px
}
.access-section p{
  font-size:15px;
  max-width:650px;
  margin-bottom:0
}
.access-section .download-note{
  grid-column:1/-1;
  font-size:12px;
  color:#a0afc6
}
.site-footer{
  display:flex;
  align-items:center;
  gap:28px;
  padding-top:26px;
  padding-bottom:36px;
  border-top:1px solid #343e53;
  font-size:12px;
  color:#9eacc2
}
.site-footer>.brand{
  font-size:17px;
  color:var(--text)
}
.site-footer>nav{
  margin-left:auto;
  font-size:12px;
  gap:23px
}
/* Account screens share the desktop app's compact, clearly grouped controls. */
.account-wrap{
  max-width:500px;
  margin:45px auto 90px;
  padding:34px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:10px
}
.account-wrap h1{
  font-size:32px
}
.account-wrap p{
  font-size:14px
}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:18px;
  font-size:14px
}
.field input,.field select,input.search,.company-picker{
  width:100%;
  min-height:44px;
  background:#191f2e;
  color:var(--text);
  border:1px solid #59667e;
  border-radius:5px;
  padding:9px 12px
}
.field small{
  color:var(--muted);
  font-size:12px
}
.form-message{
  border-left:3px solid var(--blue);
  padding:10px 14px;
  background:#29374d;
  color:#d2e3fb;
  font-size:14px;
  white-space:pre-line
}
.form-message.error{
  border-color:#ffa5ac;
  background:#422d38;
  color:#ffe0e3
}
.account-divider{
  margin:25px 0;
  border-top:1px solid var(--line)
}
.back-link{
  display:inline-block;
  font-size:13px;
  margin-top:24px
}
.portal{
  max-width:1400px;
  margin:20px auto 80px;
  padding:0 38px;
  display:grid;
  grid-template-columns:205px 1fr;
  gap:35px
}
.portal-sidebar{
  padding-top:18px;
  border-right:1px solid var(--line);
  padding-right:24px;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:stretch
}
.portal-sidebar h2{
  font-size:15px;
  margin-bottom:14px
}
.portal-nav{
  background:transparent;
  border:0;
  border-radius:5px;
  text-align:left;
  padding:10px 12px;
  color:var(--muted);
  font-size:14px
}
.portal-nav[aria-current=page]{
  color:#c0daff;
  background:#293e5d
}
.identity{
  font-size:12px;
  color:var(--muted);
  overflow-wrap:anywhere;
  margin-top:28px;
  margin-bottom:18px
}
.portal-content{
  min-width:0
}
.portal-top{
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:20px;
  margin-bottom:24px
}
.portal-top h1{
  font-size:32px;
  margin-bottom:8px
}
.portal-top p{
  font-size:14px;
  margin-bottom:0
}
.company-picker{
  width:auto;
  max-width:320px
}
.notice{
  background:#293449;
  border-left:3px solid #7c9cc8;
  padding:13px 17px;
  font-size:13px;
  margin-bottom:24px;
  color:#c4d1e4
}
.metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:30px
}
.metric{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:7px;
  padding:18px 22px
}
.metric strong{
  font-size:28px;
  display:block;
  line-height:1.3;
  font-weight:600;
  letter-spacing:-.025em
}
.metric span{
  font-size:13px;
  color:var(--muted)
}
.seat-meter{
  height:4px;
  background:#3b455b;
  border-radius:3px;
  margin-top:12px;
  overflow:hidden
}
.seat-meter i{
  height:100%;
  background:var(--blue);
  display:block
}
.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:8px;
  padding:24px;
  margin-bottom:24px
}
.panel h2{
  font-size:21px;
  margin-bottom:8px
}
.panel>p{
  font-size:14px
}
.panel-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px
}
.panel-heading h2{
  margin:0
}
.panel-heading input{
  width:260px;
  max-width:100%
}
table{
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:13px
}
th{
  font-size:12px;
  font-weight:500;
  color:var(--muted);
  padding:11px 10px;
  background:#293146
}
td{
  padding:15px 10px;
  border-bottom:1px solid #364057
}
td:first-child{
  overflow-wrap:anywhere
}
.table-scroll{
  overflow-x:auto
}
td .button{
  font-size:12px;
  padding:5px 10px
}
td.actions-cell{
  white-space:nowrap
}
td.actions-cell>.button+button{
  margin-left:7px
}
.status{
  padding:3px 8px;
  font-size:11px;
  border-radius:4px;
  background:#28443e;
  color:#b0e5cf
}
.status.blocked,.status.paused{
  background:#47363b;
  color:#efc2c4
}
.empty-state{
  padding:40px 16px;
  text-align:center;
  color:var(--muted);
  font-size:14px
}
.empty-state strong{
  display:block;
  font-size:17px;
  color:var(--text);
  margin-bottom:8px
}
.inline-form{
  display:flex;
  gap:12px;
  align-items:start;
  margin-top:24px;
  flex-wrap:wrap
}
.inline-form .field{
  margin:0;
  flex:1;
  min-width:200px
}
.inline-form>.button{
  margin-top:28px
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 24px
}
.form-grid .full{
  grid-column:1/-1
}
.checklist{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:20px 0
}
.checklist label{
  display:flex;
  align-items:center;
  gap:11px;
  font-size:14px
}
.checklist input{
  width:18px;
  height:18px;
  accent-color:var(--button)
}
.danger-zone{
  border-color:#72515c
}
.danger-zone h2{
  color:#f3bfc4
}
.muted{
  color:var(--muted)
}
.legal{
  max-width:820px;
  margin:50px auto 80px;
  padding:0 30px
}
.legal h1{
  font-size:40px
}
.legal h2{
  font-size:23px;
  margin-top:35px
}
.legal p{
  font-size:15px;
  line-height:1.85
}
.legal-meta{
  font-size:13px;
  color:var(--muted)
}
#toast{
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  max-width:90vw;
  background:#d8e9ff;
  color:#15253e;
  padding:12px 22px;
  border-radius:7px;
  box-shadow:0 10px 40px #0005;
  z-index:30
}
dialog{
  max-width:470px;
  width:calc(100% - 40px);
  border:1px solid #6a788f;
  border-radius:10px;
  background:var(--panel);
  color:var(--text);
  padding:30px
}
dialog::backdrop{
  background:#080c16aa
}
dialog h2{
  font-size:24px
}
dialog p{
  font-size:14px
}
@media(max-width:1000px){
  .wrap{
    padding-left:30px;
    padding-right:30px
  }
  .site-header{
    padding:18px 30px
  }

  .projects-section{
    gap:45px
  }
  .portal{
    padding:0 24px;
    grid-template-columns:165px 1fr;
    gap:22px
  }
  .portal-top{
    flex-direction:column
  }
  .metrics{
    gap:10px
  }
  .metric{
    padding:15px
  }
  .panel{
    padding:18px
  }
  .form-grid{
    grid-template-columns:1fr
  }
  .form-grid .full{
    grid-column:auto
  }
}
@media(max-width:700px){
  .hero{padding-top:32px;padding-bottom:38px}
  .hero h1{font-size:40px}
  .hero-description{font-size:16px}
  .wrap{
    padding-left:23px;
    padding-right:23px
  }
  .site-header{
    padding:18px 23px;
    min-height:85px
  }
  .site-header nav>a:not(.button){
    display:none
  }
  .brand{
    font-size:20px;
    gap:8px
  }
  .site-header .button{
    font-size:12px;
    padding:8px 11px
  }

  .section-heading{
    display:block;
    margin-bottom:28px
  }
  .tool-list{
    grid-template-columns:1fr;
    gap:28px
  }
  .tool-list article{
    display:grid;
    grid-template-columns:45px 1fr;
    gap:0 18px
  }
  .tool-list article+article{
    border-left:0;
    border-top:1px solid #343e53;
    padding:28px 0 0
  }
  .tool-symbol{
    grid-row:1/4;
    margin-top:3px
  }
  .tool-list h3{
    margin-bottom:10px
  }
  .tool-list p{
    margin-bottom:12px;
    min-height:0
  }
  .tool-kind{
    grid-column:2
  }
  .tools-section{
    padding-top:35px;
    padding-bottom:45px
  }
  .projects-section{
    grid-template-columns:1fr;
    gap:32px;
    padding-top:40px;
    padding-bottom:45px
  }
  .access-section{
    margin:0 20px 45px;
    padding:25px;
    display:flex;
    flex-direction:column;
    align-items:start;
    gap:23px
  }
  .access-section h2{
    font-size:28px
  }
  .site-footer{
    flex-wrap:wrap;
    gap:20px
  }
  .site-footer nav{
    margin-left:0;
    width:100%;
    justify-content:space-between
  }
  .account-wrap{
    margin:25px 20px 65px;
    padding:25px
  }
  .portal{
    display:block;
    padding:0 20px;
    margin-top:0
  }
  .portal-sidebar{
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:0 0 18px;
    margin-bottom:25px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px
  }
  .portal-sidebar h2{
    grid-column:1/-1;
    margin-bottom:0
  }
  .portal-nav{
    font-size:12px;
    text-align:center;
    padding:8px
  }
  .identity{
    grid-column:1/3;
    margin:8px 0 0;
    font-size:11px
  }
  .portal-sidebar>.button{
    font-size:11px;
    padding:5px;
    align-self:end
  }
  .portal-top h1{
    font-size:28px
  }
  .company-picker{
    max-width:100%;
    width:100%
  }
  .metrics{
    grid-template-columns:repeat(2,1fr)
  }
  .metric:last-child{
    grid-column:1/-1
  }
  .metric strong{
    font-size:25px
  }
  .panel-heading{
    align-items:stretch;
    flex-direction:column;
    gap:15px
  }
  .panel-heading input{
    width:100%
  }
  .panel{
    padding:17px
  }
  .table-scroll{
    margin:0 -8px
  }
  table{
    min-width:0
  }
  .table-scroll thead{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%)
  }
  .table-scroll tr{
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:14px 0;
    border-bottom:1px solid var(--line)
  }
  .table-scroll td{
    border:0;
    padding:6px 8px
  }
  .table-scroll td:first-child{
    grid-column:1/-1;
    font-size:14px;
    font-weight:600
  }
  .table-scroll td[data-label]::before{
    content:attr(data-label);
    display:block;
    font-size:11px;
    font-weight:400;
    color:var(--muted);
    margin-bottom:5px
  }
  .table-scroll td.actions-cell{
    grid-column:1/-1;
    white-space:normal;
    display:flex;
    gap:8px;
    flex-wrap:wrap
  }
  .table-scroll td.actions-cell>.button{
    margin:0;
    padding:9px 12px
  }
  td,th{
    padding:12px 8px
  }
  .inline-form>.button{
    width:100%;
    margin-top:0
  }
  .portal .actions{
    gap:12px
  }
  .legal h1{
    font-size:32px
  }
}
@media(prefers-reduced-motion:no-preference){
  html{
    scroll-behavior:smooth
  }
  .button{
    transition:background .15s
  }
}
.tool-symbol svg{
  width:29px;
  height:29px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linejoin:round;
  stroke-linecap:round
}
.portal-content h1:focus,.panel h2:focus,.account-wrap h1:focus{
  outline:none
}
.availability-note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#bcd8ff;
  font-size:13px;
  margin-bottom:20px
}
.availability-note::before{
  content:"";
  width:7px;
  height:7px;
  background:var(--blue);
  border-radius:50%
}
.portal-page-label{
  font-size:14px;
  font-weight:600;
  color:var(--blue);
  margin-bottom:12px
}
.account-wrap>.actions{
  gap:12px
}
.account-wrap .back-link{
  display:table;
  color:var(--muted)
}
@media(max-width:420px){

  .platform{
    gap:7px 16px
  }
  .company-picker{
    min-width:0
  }
  .metrics{
    gap:9px
  }
  .metric{
    padding:14px
  }
  .metric span{
    font-size:12px
  }
}
