/* Public Playforensic pages. Product pages share the same navigation and palette. */
.playforensic-site {
  --page-bg: #08090b;
  --panel-bg: #101318;
  --panel-raised: #141922;
  --page-ink: #f3f8ff;
  --page-muted: #acbfd3;
  --page-subtle: #8ba5be;
  --page-line: #252e3c;
  --page-blue: #74d2ff;
  --page-width: 1160px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background: var(--page-bg);
  color: var(--page-ink);
}
.playforensic-site > main {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  overflow-x: clip;
}
.playforensic-site::before,
.playforensic-site > main::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}
.playforensic-site::before {
  inset: 0;
  background-image: radial-gradient(circle, #a1b6d247 .8px, transparent 1.2px);
  background-size: 23px 23px;
  mask-image: linear-gradient(#0009 0, #000c 120px, #0009 410px, transparent 750px);
}
.playforensic-site > main::after {
  top: 28px;
  left: 50%;
  width: max(780px, 116vw);
  height: clamp(350px, 42vw, 620px);
  transform: translateX(-50%);
  border: 1px solid #8097b535;
  border-radius: 50%;
  clip-path: inset(0 0 62%);
}
.site-shell, .home-shell {
  width: min(var(--page-width), calc(100% - 72px));
  margin-inline: auto;
}
.playforensic-site :is(a, summary):focus-visible {
  outline: 2px solid var(--page-blue);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 7px 13px;
  border-radius: 6px;
  background: #e3f5ff;
  color: #0b1623;
}
.skip-link:focus { transform: none; }

.public-header {
  position: relative;
  z-index: 3;
}
.public-header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  flex: none;
  color: var(--page-ink);
}
.site-brand-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 34px;
  flex: none;
  overflow: hidden;
}
.site-brand-icon img {
  display: block;
  width: 55px;
  height: 55px;
  max-width: none;
  margin: -10px;
  object-fit: contain;
}
.site-brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.site-brand-name strong { font-size: 16px; letter-spacing: -.026em; }
.site-brand-name small { color: var(--page-subtle); font-size: 10px; margin-top: 3px; }
.public-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #cedbeb;
  white-space: nowrap;
  font-size: 13px;
}
.public-nav > a, .public-nav-menu > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.public-nav-menu { position: relative; }
.public-nav-menu > summary { list-style: none; }
.public-nav-menu > summary::-webkit-details-marker { display: none; }
.public-nav-menu[open] > summary svg { transform: rotate(180deg); }
.public-nav > a:hover, .public-nav-menu > summary:hover,
.public-nav [aria-current="page"], .public-nav-menu[open] > summary {
  background: #15243a;
  color: #f4faff;
}
.public-nav-panel {
  position: absolute;
  left: -4px;
  top: calc(100% + 10px);
  min-width: 172px;
  padding: 5px;
  border: 1px solid #30465e;
  border-radius: 9px;
  background: #101b2b;
  box-shadow: 0 14px 28px #03070e80;
}
.public-nav-panel a {
  display: block;
  padding: 7px 9px;
  border-radius: 5px;
  color: #d9e9f8;
}
.public-nav-panel a:hover { background: #1b2b40; }
.public-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}
.public-sign-in { font-size: 13px; color: #c3d3e5; }
.public-sign-in:hover, .public-sign-in[aria-current="page"] { color: var(--page-blue); }
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.site-button-primary {
  border-color: #2371e2;
  background: #0b54c9;
  color: #fff;
}
.site-button-primary:hover { background: #1560d5; border-color: #3d86ee; }
.site-button-secondary {
  border-color: #385069;
  background: #101b2b;
  color: #deedfc;
}
.site-button-secondary:hover { border-color: #5e85a8; background: #16253a; }
.nav-workspace { min-height: 36px; padding: 5px 13px; font-size: 12px; }

.home-page {
  background: radial-gradient(ellipse at 77% 30%, #15233b70, transparent 54%), var(--page-bg);
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
  align-items: center;
  gap: 24px;
  padding-block: 60px 43px;
}
.home-intro h1 {
  margin: 0;
  color: #f5f9ff;
  font-size: clamp(46px, 6.7vw, 92px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.054em;
  word-spacing: .032em;
}
.home-intro h1 span { display: block; color: #a9cbea; }
.home-description {
  max-width: 490px;
  margin: 20px 0 0;
  color: var(--page-muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
}
.home-actions, .product-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.home-mark {
  position: relative;
  height: clamp(280px, 34vw, 425px);
  overflow: hidden;
  pointer-events: none;
}
.home-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(690px, 155%);
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
.site-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 62px;
}
.site-directory > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 12px;
  padding: 15px 20px;
  border: 1px solid var(--page-line);
  border-radius: 14px;
  background: var(--panel-bg);
  color: var(--page-ink);
  transition: border-color .15s, background .15s;
}
.site-directory > a:hover { border-color: #3d6488; background: #131d2a; }
.site-directory strong, .site-directory small { display: block; }
.site-directory strong { font-size: 15px; }
.site-directory small { margin-top: 3px; color: var(--page-subtle); font-size: 12px; }
.site-directory > a > span:last-child { color: #78b9e8; font-size: 14px; }

.product-main { padding: 64px 0 76px; }
.product-intro { margin-bottom: 36px; }
.product-intro h1 {
  margin: 0;
  font-size: clamp(43px, 6vw, 69px);
  line-height: 1.08;
  letter-spacing: -.054em;
}
.product-intro p {
  max-width: 550px;
  margin: 15px 0 0;
  color: var(--page-muted);
  font-size: 16px;
}

.workflow, .evidence-section { margin-block: 62px 0; scroll-margin-top: 24px; }
.evidence-view {
  border: 1px solid var(--page-line);
  border-radius: 10px;
  background: var(--panel-bg);
}
.evidence-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 9px;
  border-bottom: 1px solid var(--page-line);
  background: var(--panel-raised);
  border-radius: 10px 10px 0 0;
}
.evidence-tabs button {
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--page-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.evidence-tabs button:hover, .evidence-tabs [aria-selected="true"] {
  border-color: #2c6087;
  background: #122c45;
  color: #d2efff;
}
.evidence-tabs button:focus-visible, .evidence-panel:focus-visible {
  outline: 2px solid var(--page-blue);
  outline-offset: 2px;
}
.evidence-panel { padding: 17px 19px; }
.evidence-panel + .evidence-panel { border-top: 1px solid var(--page-line); }
.evidence-tabs:not([hidden]) ~ .evidence-panel { border-top: 0; }
.evidence-panel h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 16px;
}
.evidence-panel h3 span { color: #83c5f3; font-size: 11px; font-weight: 600; }
.evidence-panel dl { margin: 0; }
.evidence-panel dl div {
  display: grid;
  grid-template-columns: minmax(84px, 20%) minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--page-line);
  font-size: 13px;
}
.evidence-panel dt, .evidence-panel p { color: var(--page-muted); }
.evidence-panel dd { margin: 0; overflow-wrap: anywhere; }
.evidence-panel code { color: var(--page-blue); }
.evidence-panel p { margin: 8px 0 0; font-size: 13px; }
.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.section-label {
  display: block;
  margin-bottom: 8px;
  color: #83c5f3;
  font-size: 12px;
  font-weight: 600;
}
.section-heading p {
  max-width: 42ch;
  margin: 0;
  color: var(--page-muted);
  font-size: 14px;
  line-height: 1.6;
}

.section-heading h2 {
  margin: 0;
  color: var(--page-ink);
  font-size: clamp(29px, 4vw, 41px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.043em;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--page-line);
  border-radius: 13px;
  background: #101927;
  list-style: none;
}
.workflow-steps li { padding: 24px 23px 27px; }
.workflow-steps li + li { border-left: 1px solid var(--page-line); }
.step-number {
  color: #83c5f3;
  font: 12px Consolas, "Cascadia Code", monospace;
}
.workflow-steps h3 {
  margin: 10px 0 6px;
  font-size: 16px;
}
.workflow-steps p {
  max-width: 38ch;
  margin: 0;
  color: var(--page-muted);
  font-size: 13px;
  line-height: 1.65;
}

.backend-note {
  margin: 0 0 14px;
  border: 1px solid #385069;
  border-radius: 7px;
  background: #132137;
  color: #cfdfef;
  padding: 10px 13px;
  font-size: 13px;
}

.public-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 8px 16px;
  padding-block: 13px;
  color: var(--page-subtle);
  font-size: 12px;
}
.public-footer nav { display: flex; gap: 17px; color: var(--page-muted); }
.public-footer nav a:hover { color: #fff; }
.public-footer .site-brand-name strong { font-size: 13px; }
.public-footer .site-brand-icon { width: 27px; height: 29px; }

@media (max-width: 900px) {
  .public-header-inner { grid-template-columns: 1fr auto; min-height: 0; gap: 6px 10px; padding-block: 11px; }
  .public-nav { grid-row: 2; grid-column: 1 / -1; width: fit-content; max-width: 100%; justify-self: center; justify-content: center; flex-wrap: wrap; }
  .public-actions { grid-row: 1; grid-column: 2; }
  .home-hero { padding-block: 54px 36px; gap: 14px; }
}
@media (max-width: 700px) {
  .site-shell, .home-shell { width: calc(100% - 36px); }
  .home-hero { grid-template-columns: 1fr; padding-block: 51px 35px; }
  .home-intro h1 { font-size: clamp(42px, 10vw, 65px); }
  .home-mark { display: none; }
  .home-description { margin-top: 14px; }
  .public-nav > a, .public-nav-menu > summary { padding-inline: 9px; font-size: 12px; }
  .public-actions { gap: 10px; }
  .site-directory { grid-template-columns: 1fr; gap: 9px; margin-bottom: 38px; }
  .site-directory > a { min-height: 66px; padding: 11px 14px; }
  .product-main { padding-block: 43px 52px; }
  .workflow, .evidence-section { margin-top: 43px; }
  .section-heading { grid-template-columns: 1fr; gap: 7px; margin-bottom: 15px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps li { padding: 14px 16px; }
  .workflow-steps li + li { border-left: 0; border-top: 1px solid var(--page-line); }
}
@media (max-width: 370px) {
  .public-nav { gap: 0; }
  .public-nav > a, .public-nav-menu > summary { padding-inline: 7px; }
  .public-actions { gap: 8px; }
  .site-brand-name strong { font-size: 14px; }
  .home-intro h1 { font-size: 38px; }
}
@media (max-width: 345px) {
  .public-nav { width: 100%; justify-content: space-between; }
  .public-nav > a, .public-nav-menu > summary { padding-inline: 5px; font-size: 11px; }
  .nav-workspace { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .public-nav > a, .public-nav-menu > summary, .site-button, .site-directory > a { transition: none; }
}
