/* Samsyn — self-contained product page styles.
   Nothing here depends on the OneThreeLabs stylesheets, so /samsyn/ can move to its own domain as-is. */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --ink: #111111;
  --ink-2: rgba(0, 0, 0, 0.6);
  --ink-3: rgba(0, 0, 0, 0.45);
  --ink-4: rgba(0, 0, 0, 0.3);
  --line: rgba(0, 0, 0, 0.1);
  --line-soft: rgba(0, 0, 0, 0.06);
  --paper: #ffffff;
  --stone: #f4f4f3;
  --stone-2: #fbfbfa;
  --night: #121212;
  --red: #e5484d;
  --red-ink: #c0353b;
  --green: #1f8a5b;
  --blue: #2a6fdb;
  --blue-ink: #2a5fa8;
  --blue-bg: #f0f4fa;
  --amber-bg: #fff3c4;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: 40px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2 {
  text-wrap: balance;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.muted {
  color: var(--ink-4);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

.display {
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--solid {
  background: var(--ink);
  color: #fff;
}

.btn--solid:hover {
  background: #333;
}

.btn--ghost {
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 12.5px;
}

.btn--light {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.btn--light:hover {
  background: #e6e6e6;
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
}

.btn--outline-light:hover {
  border-color: #fff;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  display: block;
  height: 30px;
  width: auto;
}

.brand__by {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
  /* The logo's S mark makes the image taller than the word "Samsyn"; centre on the word instead */
  position: relative;
  top: 4px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
}

.header__nav .nav-link {
  color: rgba(0, 0, 0, 0.55);
  transition: color 0.2s ease;
}

.header__nav .nav-link:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--stone);
  position: relative;
  overflow: hidden;
}

.hero__watermark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(110px, 28vw, 340px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(0, 0, 0, 0.043);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.hero__inner {
  position: relative;
  padding-top: 72px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero__title {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__title .muted {
  color: rgba(0, 0, 0, 0.35);
}

.hero__eyebrow {
  margin-top: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero .cta-row {
  margin-top: 20px;
}

.hero__aside {
  justify-self: end;
  max-width: 380px;
  padding-top: 8px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.55);
  text-wrap: pretty;
}

/* ---------- App mockup (hero) ---------- */

.app {
  margin: 56px 0 0;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: left;
}

.app__bar {
  height: 38px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.app__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
}

.app__address {
  margin: 0 auto;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.04);
  padding: 3px 14px;
  border-radius: 5px;
}

.app__grid {
  display: grid;
  grid-template-columns: 190px 1fr 250px;
  min-height: 400px;
}

.app__side {
  border-right: 1px solid var(--line-soft);
  padding: 18px 14px;
  background: var(--stone-2);
}

.app__logo {
  display: block;
  height: 18px;
  width: auto;
  margin-bottom: 20px;
}

.app__menu {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.app__menu-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 8px;
}

.app__case {
  display: flex;
  align-items: center;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}

.app__case--active {
  background: rgba(0, 0, 0, 0.05);
  margin: 0 -8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--ink);
}

.pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}

.pip--red {
  background: var(--red);
}

.app__main {
  padding: 22px 26px;
}

.app__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.app__step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.app__step--current {
  color: var(--ink);
  font-weight: 600;
}

.app__step-num {
  width: 14px;
  height: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
}

.app__step-sep {
  color: rgba(0, 0, 0, 0.15);
}

.check {
  color: var(--green);
}

.app__case-title {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.app__notice {
  background: var(--blue-bg);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 11px;
  color: var(--blue-ink);
  margin-bottom: 18px;
}

.app__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.app__text {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.75);
}

.app__text + .app__text {
  margin-top: 12px;
}

.ref {
  color: var(--blue);
  font-size: 9px;
}

.app__right {
  border-left: 1px solid var(--line-soft);
  padding: 22px 18px;
}

.risk {
  margin-bottom: 22px;
}

.risk__level {
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

.risk__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.risk__status {
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--ink-3);
}

.risk__actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.risk__action {
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.risk__action--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.findings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.finding {
  display: flex;
  gap: 8px;
}

.finding__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 4px;
  flex: 0 0 auto;
}

.finding__title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red-ink);
}

.finding__quote {
  margin-top: 2px;
  font-size: 10.5px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.5);
}

/* ---------- Trust bar ---------- */

.trust {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.trust__list {
  list-style: none;
  margin: 0 auto;
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Sections ---------- */

.section {
  padding-top: 110px;
}

.section__title {
  margin-bottom: 56px;
  max-width: 760px;
}

.section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  background: var(--stone);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step__demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px 18px;
}

.card--tight {
  padding: 12px 16px;
}

.card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.card__title {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

.card__meta {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.4);
}

.card__text {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.65);
}

.card__quote {
  margin: 4px 0 0 19px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.55);
}

.card__flag {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--red-ink);
  font-weight: 600;
}

.card__italic {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.55);
  font-style: italic;
}

.card__hint {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--ink-3);
}

.pending {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: auto;
}

.redacted {
  background: var(--amber-bg);
  padding: 0 3px;
  border-radius: 3px;
}

.kbd {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 9.5px;
  font-weight: 600;
  font-family: inherit;
}

.step__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.step__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Evidence */

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
}

.spec {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}

.spec dt {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.spec dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.55);
}

/* Responsibility */

.band {
  background: var(--stone);
  margin-top: 120px;
}

.band__inner {
  padding-top: 100px;
  padding-bottom: 100px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.points {
  margin: 0;
}

.point {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.point:first-child {
  padding-top: 0;
}

.point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.point dt {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.point dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
}

/* FAQ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 48px 26px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* About OneThreeLabs */

.about {
  padding-top: 120px;
  padding-bottom: 120px;
}

.about__title {
  margin-top: 16px;
}

.about__lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 520px;
  margin-top: 20px;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about__links a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 3px;
  transition: border-color 0.2s ease;
}

.about__links a:hover {
  border-color: var(--ink);
}

.standards {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: std;
}

.standards li {
  counter-increment: std;
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.55);
}

.standards li:first-child {
  padding-top: 0;
}

.standards li::before {
  content: counter(std, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-4);
  padding-top: 2px;
}

.standards strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 2px;
}

/* ---------- Pilot CTA + footer ---------- */

.pilot {
  background: var(--night);
  color: #fff;
}

.pilot__inner {
  padding-top: 110px;
  padding-bottom: 110px;
  text-align: center;
}

.pilot__eyebrow {
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.pilot__title {
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
}

.pilot__title .muted {
  display: block;
  color: rgba(255, 255, 255, 0.4);
}

.pilot .cta-row {
  margin-top: 36px;
  justify-content: center;
  gap: 14px;
}

.pilot__note {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.pilot__note a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo {
  display: block;
  height: 26px;
  width: auto;
  filter: invert(1);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 12.5px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.footer__legal a:hover {
  color: #fff;
}

/* Keyboard focus */

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__aside {
    justify-self: start;
    max-width: 560px;
    padding-top: 0;
  }

  .specs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .app__grid {
    grid-template-columns: 1fr;
  }

  .app__side,
  .app__right {
    display: none;
  }

  .header__nav .nav-link {
    display: none;
  }

  .step {
    padding: 24px;
  }

  .section {
    padding-top: 80px;
  }

  .band {
    margin-top: 80px;
  }

  .band__inner,
  .about,
  .pilot__inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 560px) {
  .brand__by {
    display: none;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .header .btn {
    padding: 9px 16px;
  }

  .faq__a {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
