:root{
  --bg:#071018;
  --panel:#0d1822;
  --panel2:#101e2a;
  --line:#22394a;
  --text:#f3f7fa;
  --muted:#9db0bf;
  --accent:#4ed6d0;
  --accent2:#8af4e9;
  --good:#84e6a5;
  --shadow:0 24px 70px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 80% 0%,rgba(78,214,208,.10),transparent 32rem),
    linear-gradient(180deg,#08131c 0%,#050b11 100%);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
}
a{color:inherit}
.topbar{
  max-width:1180px;
  margin:auto;
  padding:28px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{display:flex;gap:12px;align-items:center;text-decoration:none}
.brand-mark{
  width:42px;height:42px;border-radius:10px;
  display:grid;place-items:center;
  font-weight:900;font-size:23px;
  color:#061015;background:var(--accent);
  box-shadow:0 0 28px rgba(78,214,208,.25);
}
.brand-copy{display:flex;flex-direction:column;line-height:1}
.brand-copy strong{letter-spacing:.15em}
.brand-copy small{color:var(--muted);font-size:10px;letter-spacing:.18em;margin-top:5px}
.stage-badge{
  border:1px solid var(--line);border-radius:999px;
  padding:7px 10px;color:var(--muted);font-size:11px;letter-spacing:.12em;
}
main{max-width:1180px;margin:auto;padding:0 24px 72px}
.hero{padding:82px 0 62px;max-width:900px}
.eyebrow{font-size:12px;color:var(--accent);font-weight:800;letter-spacing:.18em;margin-bottom:14px}
h1,h2{letter-spacing:-.035em;line-height:1.03;margin:0}
h1{font-size:clamp(46px,7vw,84px);max-width:850px}
h2{font-size:clamp(30px,4vw,48px)}
.lede{font-size:20px;color:var(--muted);max-width:790px;margin:26px 0 28px}
.trust-row{display:flex;flex-wrap:wrap;gap:10px}
.trust-row span{
  border:1px solid var(--line);border-radius:999px;padding:8px 12px;
  font-size:12px;color:#c8d4dc;background:rgba(255,255,255,.02)
}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.plan{
  position:relative;
  padding:30px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,var(--panel2),var(--panel));
  box-shadow:var(--shadow);
}
.plan.featured{
  border-color:rgba(78,214,208,.75);
  transform:translateY(-8px);
  box-shadow:0 28px 90px rgba(12,180,174,.14);
}
.popular{
  position:absolute;top:-13px;right:20px;
  color:#051014;background:var(--accent);font-size:10px;font-weight:900;
  letter-spacing:.12em;border-radius:999px;padding:7px 11px
}
.plan-kicker{color:var(--accent);font-weight:900;margin-bottom:8px}
.plan h2{font-size:34px}
.plan-for{min-height:50px;color:var(--muted)}
.price{margin:25px 0 18px;display:flex;align-items:baseline;gap:7px}
.amount{font-size:24px;font-weight:900}
.period{font-size:13px;color:var(--muted)}
.choose,.submit{
  width:100%;border:1px solid var(--line);border-radius:10px;padding:13px 16px;
  color:var(--text);background:#152533;font-weight:800;cursor:pointer;
  transition:.15s ease;
}
.choose:hover,.submit:hover{transform:translateY(-1px);border-color:var(--accent)}
.choose.primary,.submit{background:var(--accent);color:#061015;border-color:var(--accent)}
.plan ul{padding:0;margin:25px 0 0;list-style:none}
.plan li{padding:9px 0 9px 25px;border-top:1px solid rgba(255,255,255,.05);position:relative;color:#dce5eb}
.plan li:before{content:"✓";position:absolute;left:0;color:var(--good);font-weight:900}
.compare,.signup-shell,.architecture{margin-top:90px}
.section-heading{margin-bottom:30px}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
table{border-collapse:collapse;width:100%;min-width:720px}
th,td{padding:17px 20px;text-align:left;border-bottom:1px solid var(--line)}
th{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
td:first-child{font-weight:700}
.signup-shell{
  display:grid;grid-template-columns:.9fr 1.1fr;gap:42px;
  padding:44px;border:1px solid var(--line);border-radius:24px;
  background:linear-gradient(135deg,rgba(78,214,208,.06),rgba(255,255,255,.015));
}
.signup-copy p{color:var(--muted);font-size:17px}
.flow{margin-top:28px;display:grid;gap:12px}
.flow div{display:flex;gap:12px;align-items:center;color:#cad6de}
.flow strong{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:#142632;color:var(--accent);border:1px solid var(--line);font-size:12px
}
form{
  border:1px solid var(--line);border-radius:18px;padding:28px;
  background:rgba(5,12,18,.7)
}
.selected-plan{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 15px;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;
  color:var(--muted)
}
.selected-plan strong{color:var(--accent);font-size:17px}
label{display:block;font-size:13px;font-weight:700;margin:15px 0;color:#dce6ec}
input,select{
  width:100%;margin-top:7px;padding:12px 13px;border-radius:9px;
  border:1px solid var(--line);background:#0b1620;color:var(--text);font:inherit;
}
input:focus,select:focus{outline:2px solid rgba(78,214,208,.25);border-color:var(--accent)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.optional{font-weight:400;color:var(--muted)}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;color:var(--muted)}
.check input{width:auto;margin-top:4px}
.submit{margin-top:12px}
.form-note,.message{font-size:12px;color:var(--muted)}
.message{min-height:18px;color:var(--accent2);font-weight:700}
.architecture-grid{
  display:grid;grid-template-columns:repeat(9,auto);gap:12px;align-items:center;
  border:1px solid var(--line);border-radius:18px;padding:22px;background:var(--panel)
}
.architecture-grid div:not(.arrow){display:flex;flex-direction:column;gap:4px}
.architecture-grid span{font-size:12px;color:var(--muted)}
.arrow{color:var(--accent);font-weight:900}
footer{
  border-top:1px solid var(--line);max-width:1180px;margin:auto;padding:28px 24px 50px;
  display:flex;justify-content:space-between;color:var(--muted);font-size:12px
}
footer strong{color:#dfe7ec;letter-spacing:.12em}
@media(max-width:900px){
  .plans{grid-template-columns:1fr}
  .plan.featured{transform:none}
  .signup-shell{grid-template-columns:1fr;padding:26px}
  .architecture-grid{grid-template-columns:1fr}
  .arrow{transform:rotate(90deg);justify-self:start}
}
@media(max-width:600px){
  .hero{padding-top:50px}
  .grid2{grid-template-columns:1fr}
  .plan{padding:24px}
  footer{flex-direction:column;gap:8px}
}

/* Enterprise contact */
.contact-price {
  color: var(--text);
  text-decoration: none;
}

.enterprise-contact {
  display: block;
  text-align: center;
  text-decoration: none;
}

.contact-main {
  max-width: 980px;
  margin: auto;
  padding: 20px 24px 80px;
}

.contact-hero {
  padding: 70px 0 45px;
}

.contact-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(78,214,208,.06),
      rgba(255,255,255,.015)
    );
}

.contact-card p {
  color: var(--muted);
}

textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0b1620;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

textarea:focus {
  outline: 2px solid rgba(78,214,208,.25);
  border-color: var(--accent);
}

.back-link {
  margin-top: 24px;
}

.back-link a {
  color: var(--accent);
  text-decoration: none;
}

@media(max-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

/* How it works */
.site-nav{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
  margin-right:20px;
}
.site-nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.site-nav a:hover,
.site-nav a.active{
  color:var(--accent);
}
.how-main{
  max-width:1120px;
  margin:auto;
  padding:0 24px 80px;
}
.how-hero{
  padding:72px 0 54px;
}
.how-summary{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-top:36px;
}
.how-summary div{
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  background:var(--panel);
}
.how-summary strong{
  display:block;
  color:var(--accent);
  font-size:22px;
  margin-bottom:7px;
}
.how-summary span{
  color:#dce6ec;
  font-size:13px;
}
.how-section{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:34px;
  padding:50px 0;
  border-top:1px solid var(--line);
}
.step-number{
  width:72px;
  height:72px;
  border:1px solid var(--line);
  border-radius:18px;
  display:grid;
  place-items:center;
  color:var(--accent);
  background:var(--panel);
  font-size:25px;
  font-weight:900;
}
.how-copy{
  max-width:860px;
}
.how-copy p{
  color:var(--muted);
  font-size:17px;
}
.boundary-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}
.boundary-grid article{
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  background:var(--panel);
}
.boundary-grid strong{
  display:block;
  color:var(--accent);
  margin-bottom:13px;
}
.boundary-grid span{
  display:block;
  padding:7px 0;
  color:#dce6ec;
  border-top:1px solid rgba(255,255,255,.05);
}
.callout{
  margin-top:24px;
  padding:18px 20px;
  border-left:3px solid var(--accent);
  background:rgba(78,214,208,.06);
  color:#dfe8ed;
}
.how-checklist{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 22px;
  padding:0;
  margin:28px 0 0;
  list-style:none;
}
.how-checklist li{
  position:relative;
  padding:11px 0 11px 26px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.how-checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--good);
  font-weight:900;
}
.onboarding-time .step-number{
  color:#061015;
  background:var(--accent);
  border-color:var(--accent);
}
.how-security{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:36px;
  padding:38px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(78,214,208,.07),rgba(255,255,255,.02));
}
.security-points p{
  color:var(--muted);
  margin:0;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.security-points strong{
  color:var(--text);
}
.how-cta{
  margin-top:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:34px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--panel);
}
.how-actions{
  display:flex;
  gap:12px;
  min-width:340px;
}
.how-actions .choose{
  text-align:center;
  text-decoration:none;
}
@media(max-width:900px){
  .site-nav{display:none}
  .how-summary{grid-template-columns:1fr 1fr}
  .boundary-grid{grid-template-columns:1fr}
  .how-security{grid-template-columns:1fr}
  .how-cta{align-items:flex-start;flex-direction:column}
  .how-actions{min-width:0;width:100%}
}
@media(max-width:650px){
  .how-section{grid-template-columns:1fr}
  .how-summary{grid-template-columns:1fr}
  .how-checklist{grid-template-columns:1fr}
  .how-actions{flex-direction:column}
}

/* Samson Platform Preview R07 */
.preview-main{
  max-width:1120px;
  margin:auto;
  padding:0 24px 80px;
}
.preview-hero{
  padding:72px 0 44px;
  max-width:900px;
}
.preview-screen{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:#071018;
  box-shadow:var(--shadow);
}
.preview-screen-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:13px 17px;
  border-bottom:1px solid var(--line);
  background:#10202b;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}
.preview-screen-top div{
  display:flex;
  align-items:center;
  gap:8px;
}
.preview-live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 12px rgba(78,214,208,.7);
}
.preview-image{
  display:block;
  width:100%;
  height:auto;
  background:#071018;
}
.preview-disclosure{
  padding:17px 20px;
  border-top:1px solid var(--line);
  background:#0c1821;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.preview-disclosure strong{
  color:var(--text);
}
.preview-intro{
  max-width:820px;
  padding:78px 0 28px;
}
.preview-intro p{
  color:var(--muted);
  font-size:17px;
}
.preview-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
}
.preview-feature{
  padding:25px;
  border:1px solid var(--line);
  border-radius:17px;
  background:linear-gradient(180deg,var(--panel2),var(--panel));
}
.preview-feature .feature-number{
  display:block;
  margin-bottom:16px;
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
}
.preview-feature h3{
  margin:0 0 12px;
  font-size:20px;
}
.preview-feature p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.preview-security{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:40px;
  margin-top:80px;
  padding:38px;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    linear-gradient(
      135deg,
      rgba(78,214,208,.07),
      rgba(255,255,255,.015)
    );
}
.preview-security p{
  margin:0;
  padding:13px 0;
  color:var(--muted);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.preview-cta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  margin-top:70px;
  padding:34px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--panel);
}
@media(max-width:900px){
  .preview-feature-grid{
    grid-template-columns:1fr 1fr;
  }
  .preview-security{
    grid-template-columns:1fr;
  }
  .preview-cta{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:620px){
  .preview-feature-grid{
    grid-template-columns:1fr;
  }
  .preview-screen-top{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* Shared production footer */
.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1180px;
  margin: auto;
  padding: 34px 24px 50px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(0, 1.5fr);
  gap: 36px 60px;
  align-items: start;
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.site-footer .footer-brand-link {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-brand strong {
  color: #dfe7ec;
  letter-spacing: .2em;
  font-size: 15px;
}

.site-footer .footer-brand span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
}

.site-footer .footer-brand-link:hover strong,
.site-footer .footer-brand-link:focus-visible strong {
  color: var(--accent);
}

.site-footer .footer-legal {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.site-footer .footer-legal p {
  margin: 0 0 10px;
}

.site-footer .footer-legal p:last-child {
  margin-bottom: 0;
}

.site-footer .footer-note {
  color: #9eabb5;
}

@media(max-width:600px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}


/* SAMSON HEADER R1 - scoped navigation additions */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 44px;
  color: inherit;
  text-decoration: none;
  border-radius: 9px;
}

.nav-icon svg,
.mobile-navigation summary svg {
  width: 22px;
  height: 22px;
}

a.nav-icon:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.nav-icon-disabled {
  opacity: .5;
  cursor: default;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mobile-navigation {
  display: none;
}

.nav a[aria-current="page"],
.site-nav a[aria-current="page"] {
  color: var(--accent, #d9a74f);
}

@media (max-width: 900px) {
  .nav-wrap,
  .topbar {
    flex-wrap: nowrap;
    position: relative;
    gap: 12px;
  }

  .nav,
  .site-nav {
    display: none !important;
  }

  .nav-actions {
    margin-left: auto;
  }

  .mobile-navigation {
    display: block;
    flex-shrink: 0;
    position: relative;
  }

  .mobile-navigation summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-navigation summary::-webkit-details-marker {
    display: none;
  }

  .mobile-navigation[open] summary {
    background: rgba(255,255,255,.08);
  }

  .mobile-navigation > nav {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: min(260px, calc(100vw - 32px));
    padding: 12px;
    background: #101b2b;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
  }

  .mobile-navigation > nav a {
    display: block;
    padding: 12px;
    color: #e5eaf0;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
  }

  .mobile-navigation > nav a:hover,
  .mobile-navigation > nav a[aria-current="page"] {
    background: rgba(255,255,255,.08);
  }
}

@media (max-width: 420px) {
  .nav-actions {
    gap: 2px;
  }

  .nav-icon {
    width: 36px;
  }
}

/* SAMSON HEADER R1 DESKTOP ALIGNMENT FIX */
@media (min-width: 901px) {
  .topbar {
    flex-wrap: nowrap;
    gap: 20px;
  }

  .topbar .site-nav {
    margin-left: auto;
    margin-right: 0;
    gap: 20px;
    flex-shrink: 0;
  }

  .topbar .nav-actions {
    margin-left: 0;
    gap: 12px;
    flex-shrink: 0;
  }
}
