:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #dce6ee;
  background: #101720;
  font-synthesis: none;
  --accent: #b6ead0;
  --muted: #94a8b8;
  --line: #2b3947;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
nav,
main,
footer {
  max-width: 1440px;
  margin: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 6%;
  gap: 20px;
}
.nav > div {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a:not(.brand) {
  font-size: 14px;
}
.brand {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand span {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  margin-left: 8px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 7px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #173a30;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
}
.button:hover {
  filter: brightness(1.08);
}
.secondary {
  background: transparent;
  color: #e2ebef;
  border-color: #455462;
}
.text-link {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 14px;
  padding: 8px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 6% 96px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--accent);
}
h1 {
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.08;
  letter-spacing: -2.7px;
  font-weight: 550;
  margin: 26px 0;
}
h1 em {
  font-style: normal;
  color: #93b4b4;
}
p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.hero p {
  max-width: 470px;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 30px 0 18px;
}
small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.workspace-card {
  border: 1px solid #40545e;
  border-radius: 16px;
  background: #18232e;
  box-shadow: 0 30px 100px #0005;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  overflow: hidden;
}
.workspace-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.3px;
  color: #bdcdd7;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.workspace-top > span:last-child {
  margin-left: auto;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.design-grid {
  height: 340px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(#accdc609 1px, transparent 1px),
    linear-gradient(90deg, #accdc609 1px, transparent 1px);
  background-size: 28px 28px;
}
.tooth-outline {
  position: absolute;
  width: 170px;
  height: 210px;
  left: 30%;
  top: 38px;
  border: 1px solid #bee8dc;
  border-radius: 48% 46% 39% 42%;
  background: radial-gradient(ellipse at 20% 20%, #d5f2e8aa, #84adac33 40%, #53707022 60%);
  box-shadow:
    inset -15px -8px 40px #82bab433,
    0 0 60px #96d4b511;
  transform: rotate(-12deg);
}
.tooth-outline:before {
  content: '';
  position: absolute;
  inset: 15% 7%;
  border: 1px solid #b4d7ce66;
  border-radius: 50%;
  transform: rotate(15deg);
}
.tooth-outline:after {
  content: '';
  position: absolute;
  inset: 7% 22%;
  border: 1px solid #b4d7ce55;
  border-radius: 45%;
}
.orbit {
  position: absolute;
  left: 12%;
  top: 15%;
  width: 80%;
  height: 64%;
  border: 1px solid #a9dccb40;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.orbit-two {
  transform: rotate(58deg);
  width: 65%;
  left: 23%;
}
.floating-label {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font-size: 12px;
  color: #97b6b3;
  line-height: 1.7;
}
.floating-label strong {
  color: #d2e5df;
  font-weight: 500;
}
.coordinate {
  position: absolute;
  font-size: 11px;
}
.x {
  right: 20px;
  top: 60%;
  color: #ec8e8e;
}
.y {
  right: 45px;
  top: 18%;
  color: var(--accent);
}
.z {
  left: 20px;
  top: 28%;
  color: #83b2df;
}
.workspace-tools {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  font-size: 11px;
  border-top: 1px solid var(--line);
  color: #a6b9c5;
}
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 6%;
  font-size: 12px;
  color: #a7bac5;
}
.features,
.steps,
.closing {
  padding: 100px 6%;
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1.4px;
  line-height: 1.2;
  font-weight: 500;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 55px;
}
.feature-grid article {
  border-top: 1px solid #49605b;
  padding-top: 25px;
}
.feature-grid article > span {
  font-size: 12px;
  color: #718b83;
}
h3 {
  font-size: 18px;
  font-weight: 550;
}
.feature-grid p {
  font-size: 14px;
}
.steps {
  background: #15202a;
}
.steps ol {
  list-style: none;
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 30px 0 0;
}
.steps li:before {
  counter-increment: steps;
  content: '0' counter(steps);
  display: block;
  color: var(--accent);
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 22px;
}
.steps strong {
  font-size: 18px;
  font-weight: 500;
}
.steps p {
  font-size: 14px;
}
.closing {
  text-align: center;
}
.closing h2 {
  font-size: 48px;
}
.closing p {
  font-size: 12px;
  max-width: 660px;
  margin: 30px auto 0;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6%;
  gap: 20px;
}
footer p,
footer a {
  font-size: 12px;
}
.portal-main {
  padding: 30px 6% 80px;
  min-height: 75vh;
}
.login-panel {
  max-width: 430px;
  margin: 55px auto;
}
.login-panel h1 {
  font-size: 40px;
  letter-spacing: -1.4px;
}
.login-panel small {
  margin-top: 20px;
}
label {
  display: grid;
  gap: 8px;
  color: #b8c9d3;
  font-size: 12px;
  margin: 15px 0;
}
input {
  background: #101a24;
  border: 1px solid #405362;
  border-radius: 6px;
  padding: 12px;
  color: #f0f6fa;
  min-width: 0;
}
input:focus {
  border-color: var(--accent);
}
input:disabled {
  opacity: 0.65;
}
input[type='checkbox'] {
  width: 17px;
  height: 17px;
}
.check {
  display: flex;
  align-items: center;
}
.portal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 35px 0;
}
.portal-heading h1 {
  font-size: 38px;
  letter-spacing: -1.4px;
  margin: 15px 0;
}
.portal-heading p {
  margin: 0;
}
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.portal-card {
  background: #18232e;
  border: 1px solid #324552;
  border-radius: 12px;
  padding: 28px;
  min-width: 0;
}
.portal-card h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
.portal-card p {
  font-size: 14px;
}
.portal-card form > .button {
  margin-top: 10px;
}
.notice {
  padding: 12px 16px;
  border: 1px solid #486e61;
  color: #bee7d2;
  border-radius: 7px;
  margin: 16px 0;
}
.notice:empty {
  display: none;
}
.notice.error {
  color: #f3bbbb;
  border-color: #975353;
}
.session-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.compact {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}
.user-row {
  padding: 16px 0;
  border-bottom: 1px solid #354955;
}
.user-row p {
  margin: 6px 0;
  font-size: 12px;
}
.renewal {
  color: var(--accent) !important;
}
#admin {
  margin-top: 70px;
}
#users {
  max-height: 680px;
  overflow: auto;
}
#user-form > .text-link {
  display: block;
  margin-top: 12px;
}
.portal-body footer {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    gap: 50px;
  }
  .workspace-card {
    max-width: 520px;
    transform: none;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip {
    flex-wrap: wrap;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .steps ol {
    gap: 25px;
  }
  .nav > div > a:first-child,
  .nav > div > a:nth-child(2) {
    display: none;
  }
}
@media (max-width: 600px) {
  h1 {
    letter-spacing: -1.5px;
  }
  .hero,
  .features,
  .steps,
  .closing {
    padding: 50px 6%;
  }
  .portal-grid,
  .feature-grid,
  .steps ol {
    grid-template-columns: 1fr;
  }
  .actions {
    flex-wrap: wrap;
  }
  .portal-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .portal-heading > div {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .closing h2 {
    font-size: 36px;
  }
  footer {
    flex-wrap: wrap;
  }
  .nav {
    padding: 22px 6%;
  }
  .portal-card {
    padding: 22px;
  }
  .workspace-card {
    width: 100%;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.brand img {
  flex: none;
}

.switch-form {
  margin: 12px 0 0;
}
.duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-size: 13px;
  margin: 4px 0 10px;
}

.download-admin {
  margin-bottom: 18px;
}
.download-admin p {
  margin: 8px 0 12px;
}

/* Landing and account workspace */
.landing {
  background: radial-gradient(ellipse at 80% 8%, #243d3c66, transparent 40%), #101720;
}
.landing .hero {
  padding-top: 70px;
  gap: 35px;
}
.hero-scene {
  margin: 0;
  border: 1px solid #43584f;
  border-radius: 26px;
  overflow: hidden;
  background: #0f1a20;
  box-shadow: 0 30px 90px #0004;
}
.hero-scene img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-scene figcaption {
  padding: 20px 25px;
  font-size: 17px;
  border-top: 1px solid var(--line);
}
.hero-scene figcaption span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 35px;
}
.section-heading p {
  font-size: 14px;
  max-width: 420px;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.demo-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #15212a;
}
.demo-media {
  background: #0f1a20;
  aspect-ratio: 480/340;
}
.demo-media img {
  width: 100%;
  height: auto;
  display: block;
}
.demo-copy {
  padding: 25px 30px 28px;
}
.demo-copy h3 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 15px 0 10px;
}
.demo-copy p {
  font-size: 14px;
  margin: 0;
}
.faq {
  max-width: 950px;
  margin: auto;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  line-height: 1.6;
}
summary::marker {
  color: var(--accent);
}
select,
textarea {
  font: inherit;
  background: #101a24;
  border: 1px solid #405362;
  border-radius: 6px;
  padding: 12px;
  color: #f0f6fa;
  width: 100%;
}
.check input {
  flex: none;
}
.check a,
.legal a {
  text-decoration: underline;
  color: var(--accent);
}
.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.admin-stats span {
  border: 1px solid var(--line);
  background: #18232e;
  padding: 14px 20px;
  border-radius: 9px;
}
.session-group summary {
  font-size: 14px;
}
.legal {
  max-width: 850px;
  padding: 45px 6% 90px;
}
.legal h1 {
  font-size: 42px;
  letter-spacing: -1px;
}
.legal h2 {
  font-size: 24px;
  margin-top: 40px;
}
.legal li {
  color: var(--muted);
  line-height: 1.8;
}
.user-row .button {
  margin-right: 8px;
}
#audit {
  max-height: 350px;
  overflow: auto;
}
.audit-row {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .demo-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .demo-copy {
    padding: 22px;
  }
  .landing .hero {
    padding-top: 30px;
  }
  .session-row {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.support-card {
  margin-top: 24px;
}
#support-status {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}
#admin-support {
  font-size: 13px;
  color: var(--accent);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.legal-contact {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.portal-body footer {
  flex-wrap: wrap;
}

.hero-summary {
  padding: 40px;
  border-left: 1px solid var(--line);
}
.hero-summary h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.25;
}

.reportdesk {
  margin-bottom: 28px;
}
.report-screenshot {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
#reports-list {
  max-height: 520px;
  overflow: auto;
}
#report-detail pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
  font-size: 12px;
}
#report-detail textarea {
  margin: 12px 0;
}
#report-detail p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
