/* HelixVault.co.uk marketing home - platform only via html.platform-home */

:root {
  --mkt-bg: #070809;
  --mkt-surface: #12161a;
  --mkt-line: #3d3426;
  --mkt-gold: #c6a266;
  --mkt-gold-bright: #e0c48a;
  --mkt-ink: #f3ead8;
  --mkt-muted: #b8aa94;
  --mkt-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mkt-sans: Candara, Calibri, "Segoe UI", sans-serif;
  --mkt-content-width: 80vw;
  --mkt-content-pad: 1.25rem;
}

html.vault-door .platform-only,
body.vault-door .platform-only {
  display: none !important;
}

html.platform-home .vault-only,
body.platform-home .vault-only {
  display: none !important;
}

html.platform-home body.auth-centered,
body.platform-home.auth-centered {
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  background: #000;
}

#screen-street.home-screen {
  align-items: flex-start;
  min-height: 100vh;
  padding: 0;
}

.mkt-shell {
  width: min(var(--mkt-content-width), 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--mkt-content-pad) 2.5rem;
  box-sizing: border-box;
  font-family: var(--mkt-sans);
  color: var(--mkt-ink);
}

/* Nav */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  margin: 0;
  background: #000;
  border-bottom: 1px solid rgba(61, 52, 38, 0.55);
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mkt-ink);
  text-decoration: none;
  font-family: var(--mkt-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.mkt-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
}

.mkt-nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 1.15rem;
}

.mkt-nav-links a {
  color: var(--mkt-muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.mkt-nav-links a:hover {
  color: var(--mkt-gold-bright);
}

@media (min-width: 900px) {
  .mkt-nav-links {
    display: flex;
  }
}

/* Buttons */
.mkt-btn {
  appearance: none;
  border-radius: 4px;
  font-family: var(--mkt-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.mkt-btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.mkt-btn-block {
  width: 100%;
}

.mkt-btn-primary {
  background: linear-gradient(180deg, var(--mkt-gold-bright), var(--mkt-gold));
  color: #1a140c;
  border: 1px solid #a8894f;
}

.mkt-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mkt-btn-outline {
  background: transparent;
  color: var(--mkt-gold);
  border: 1px solid var(--mkt-gold);
}

.mkt-btn-outline:hover {
  background: rgba(196, 163, 106, 0.12);
  color: var(--mkt-gold-bright);
  border-color: var(--mkt-gold-bright);
}

.mkt-ico {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  color: var(--mkt-gold);
  display: inline-block;
  vertical-align: -0.35em;
}

.mkt-ico-lg {
  width: 2.9rem;
  height: 2.9rem;
  display: block;
  margin-bottom: 0.55rem;
}

.mkt-btn .mkt-ico {
  color: currentColor;
}

.mkt-vault-gate {
  max-width: 28rem;
  margin: 1.25rem auto 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

/* Modals */
.mkt-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(32rem, calc(100vw - 1.5rem));
  width: 100%;
  color: var(--mkt-ink);
}

.mkt-modal.mkt-modal-wide {
  max-width: min(40rem, calc(100vw - 1.5rem));
}

.mkt-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.mkt-modal-panel {
  background: linear-gradient(180deg, #141a1e 0%, #0a0c0e 100%);
  border: 1px solid var(--mkt-line);
  border-radius: 6px;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  max-height: min(88vh, 44rem);
  overflow: auto;
}

.mkt-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.mkt-modal-head h2 {
  margin: 0;
  font-family: var(--mkt-display);
  font-size: 1.35rem;
  color: var(--mkt-gold);
  line-height: 1.25;
}

.mkt-modal-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--mkt-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}

.mkt-modal-close:hover {
  color: var(--mkt-gold-bright);
}

.mkt-modal-lede,
.mkt-modal-body {
  color: var(--mkt-muted);
  font-size: 1.425rem;
  line-height: 1.5;
}

.mkt-modal-body h3 {
  margin: 1.1rem 0 0.35rem;
  font-family: var(--mkt-display);
  font-size: 1.05rem;
  color: var(--mkt-ink);
}

.mkt-modal-body p {
  margin: 0 0 0.55rem;
}

.mkt-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 1.15rem;
}

.mkt-modal .home-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.mkt-modal .home-field-wide {
  grid-column: 1 / -1;
}

.mkt-modal label {
  display: block;
  font-size: 0.82rem;
  color: var(--mkt-muted);
  margin-bottom: 0.25rem;
}

.mkt-modal input,
.mkt-modal textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
  background: #000;
  color: var(--mkt-ink);
  font: inherit;
}

.mkt-modal form > label {
  margin-top: 0.75rem;
}

.mkt-modal form > button {
  margin-top: 0.85rem;
}

.mkt-section > .mkt-btn {
  margin-top: 1.15rem;
}

.mkt-usecases li,
.mkt-audience li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mkt-steps li .mkt-ico-lg,
.mkt-split-actions article .mkt-ico-lg,
.mkt-roles article .mkt-ico-lg,
.mkt-security-grid article .mkt-ico-lg,
.mkt-org > div .mkt-ico-lg {
  color: var(--mkt-gold);
}

.mkt-flow .mkt-ico {
  margin-right: 0.25rem;
}

.mkt-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--mkt-muted);
}

.mkt-trust .mkt-ico-lg {
  margin: 0.1rem 0 0;
  width: 2.5rem;
  height: 2.5rem;
}

/* Hero - vault as right-aligned background; copy left in front */
.mkt-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #000;
  background-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 34%,
      rgba(0, 0, 0, 0.82) 48%,
      rgba(0, 0, 0, 0.25) 62%,
      transparent 78%
    ),
    url("/images/helix-hero-vault.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: auto, auto 100%;
  color: var(--mkt-ink);
  animation: mkt-rise 0.55s ease both;
}

.mkt-hero-inner {
  width: min(var(--mkt-content-width), 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 1.25rem var(--mkt-content-pad) 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  min-height: clamp(28rem, 72vh, 38rem);
}

.mkt-hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(50vw, 100%);
  text-align: left;
}

.mkt-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--mkt-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mkt-gold);
}

.mkt-hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  width: 50vw;
  max-width: 100%;
}

.mkt-section h2,
.mkt-designed-for h2,
.mkt-close h2 {
  color: var(--mkt-ink);
}

.mkt-hero-copy h1 em,
.mkt-section h2 em,
.mkt-close h2 em,
.mkt-designed-for h2 em,
.mkt-designed-lead em {
  font-style: normal;
  color: #c6a266;
}

.mkt-close h2 em {
  display: block;
  margin-top: 0.35em;
}

.mkt-lede {
  margin: 0 0 1.15rem;
  color: rgba(243, 234, 216, 0.82);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 100%;
}

.mkt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.mkt-trust {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid rgba(61, 52, 38, 0.7);
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

@media (min-width: 720px) {
  .mkt-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .mkt-hero {
    background-size: auto, cover;
    background-position: left center, 70% center;
  }
  .mkt-hero-inner {
    min-height: 0;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }
}

/* Panels (interaction cards - allowed) */
.mkt-panels {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
  scroll-margin-top: 4.5rem;
}

@media (min-width: 840px) {
  html.platform-home .mkt-panels {
    grid-template-columns: 1fr 1fr;
  }
}

html.vault-door .mkt-panels {
  max-width: 28rem;
  margin: 1.5rem auto 2rem;
}

.mkt-panel {
  scroll-margin-top: 5.5rem;
  animation: mkt-rise 0.55s ease both;
}

.mkt-panel h2 {
  font-family: var(--mkt-display);
  color: var(--mkt-gold);
}

.mkt-panel .mkt-btn {
  margin-top: 0.35rem;
}

.mkt-platform-link {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.mkt-platform-link a {
  color: var(--mkt-gold);
}

.vault-door-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.5rem auto 0;
  max-width: 28rem;
}

/* Sections */
.mkt-section {
  padding: 2.25rem 0 1.25rem;
  border-top: 1px solid rgba(61, 52, 38, 0.65);
}

.mkt-section-num {
  margin: 0 0 0.75rem;
  color: var(--mkt-gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mkt-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .mkt-section h2 {
    white-space: normal;
  }
}

.mkt-section-lede {
  margin: 0 0 1.75rem;
  color: var(--mkt-muted);
  max-width: 36rem;
  font-size: 1.5rem;
  line-height: 1.5;
}

.mkt-steps {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

@media (min-width: 800px) {
  .mkt-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mkt-steps li {
  padding: 1rem;
  background: rgba(18, 22, 26, 0.85);
  border: 1px solid var(--mkt-line);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mkt-steps strong {
  color: var(--mkt-gold);
  font-family: var(--mkt-display);
  font-size: 1rem;
}

.mkt-steps span {
  color: var(--mkt-muted);
  font-size: 1.32rem;
  line-height: 1.4;
}

.mkt-split-actions {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .mkt-split-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.mkt-split-actions article,
.mkt-roles article,
.mkt-security-grid article {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--mkt-line);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.9), rgba(0, 0, 0, 0.55));
}

.mkt-split-actions h3,
.mkt-roles h3,
.mkt-security-grid h3,
.mkt-aside h3 {
  margin: 0 0 0.4rem;
  font-family: var(--mkt-display);
  font-size: 1.15rem;
  color: var(--mkt-gold);
}

.mkt-split-actions p,
.mkt-roles p,
.mkt-security-grid p,
.mkt-aside p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 1.38rem;
  line-height: 1.45;
}

.mkt-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 1.5rem;
  color: var(--mkt-muted);
  font-size: 1.35rem;
}

.mkt-flow > span:not([class]) {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--mkt-line);
  background: rgba(18, 22, 26, 0.9);
}

.mkt-flow-plus,
.mkt-flow-arrow {
  color: var(--mkt-gold);
}

.mkt-roles,
.mkt-security-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px) {
  .mkt-roles,
  .mkt-security-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mkt-aside {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(196, 163, 106, 0.45);
  background: rgba(196, 163, 106, 0.06);
}

.mkt-org {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .mkt-org {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mkt-org > div {
  padding: 1rem;
  border-left: 2px solid var(--mkt-gold);
  background: rgba(18, 22, 26, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mkt-org strong {
  font-family: var(--mkt-display);
  color: var(--mkt-ink);
}

.mkt-org span {
  color: var(--mkt-muted);
  font-size: 1.275rem;
  line-height: 1.4;
}

.mkt-usecases,
.mkt-audience {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

@media (min-width: 700px) {
  .mkt-usecases {
    grid-template-columns: repeat(4, 1fr);
  }
  .mkt-audience {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mkt-usecases li,
.mkt-audience li {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--mkt-line);
  color: var(--mkt-muted);
  font-size: 1.35rem;
}

.mkt-designed-for {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(61, 52, 38, 0.65);
}

.mkt-designed-intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .mkt-designed-intro {
    grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.7fr);
    gap: 2.5rem;
  }
}

.mkt-designed-for h2 {
  margin: 0 0 0.85rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .mkt-designed-for h2 {
    white-space: normal;
  }
}

.mkt-designed-lead {
  margin: 0 0 0.85rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: var(--mkt-ink);
  max-width: 36rem;
}

.mkt-designed-body {
  margin: 0 0 1.25rem;
  color: var(--mkt-muted);
  font-size: 1.35rem;
  line-height: 1.5;
  max-width: 40rem;
}

.mkt-designed-aside {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid #c6a266;
  color: #c6a266;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.55;
  max-width: 16rem;
}

.mkt-audience-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .mkt-audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mkt-audience-grid article {
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid var(--mkt-line);
  border-top-color: rgba(198, 162, 102, 0.55);
  border-left-color: rgba(198, 162, 102, 0.45);
  background: linear-gradient(160deg, rgba(198, 162, 102, 0.08) 0%, rgba(18, 22, 26, 0.9) 35%, rgba(0, 0, 0, 0.55) 100%);
}

.mkt-audience-grid h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--mkt-display);
  font-size: 1.15rem;
  color: var(--mkt-ink);
}

.mkt-audience-grid > article > p {
  margin: 0 0 0.85rem;
  color: var(--mkt-muted);
  font-size: 1.05rem;
  line-height: 1.4;
}

.mkt-audience-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mkt-audience-grid li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mkt-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.mkt-audience-grid li .mkt-ico {
  width: 1.15rem;
  height: 1.15rem;
}

.mkt-subhead {
  margin: 0 0 0.85rem;
  font-family: var(--mkt-display);
  font-size: 1.25rem;
  color: var(--mkt-ink);
}

.mkt-close {
  width: 100vw;
  max-width: 100vw;
  margin-top: 2rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 4rem 0 3.25rem;
  box-sizing: border-box;
  text-align: left;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  border-top: 1px solid var(--mkt-line);
  border-bottom: 1px solid var(--mkt-line);
  background-color: #070809;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 9, 0.72) 0%, rgba(7, 8, 9, 0.55) 45%, rgba(7, 8, 9, 0.88) 100%),
    url("/images/helix-close-mountains.jpg");
  background-size: cover;
  background-position: center right;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mkt-close > * {
  position: relative;
  z-index: 1;
  width: min(var(--mkt-content-width), 100%);
  max-width: 100%;
  box-sizing: border-box;
  padding-left: var(--mkt-content-pad);
  padding-right: var(--mkt-content-pad);
}

.mkt-close h2 {
  margin: 0 0 0.85rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  width: 100%;
  max-width: 100%;
  line-height: 1.25;
  text-align: left;
}

.mkt-close-tagline {
  margin: 0 0 1.35rem;
  width: 100%;
  max-width: 100%;
  font-family: var(--mkt-display);
  font-size: clamp(1.275rem, 2.4vw, 1.575rem);
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--mkt-gold);
  text-transform: uppercase;
  text-align: left;
}

.mkt-close .mkt-cta-row {
  justify-content: flex-start;
}

.mkt-built {
  margin: 1.5rem 0 0;
  color: var(--mkt-muted);
  font-size: 1.275rem;
}

.mkt-built a {
  color: var(--mkt-gold);
}

@keyframes mkt-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mkt-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mkt-panel button[type="submit"].mkt-btn-primary,
.home-panel button[type="submit"].mkt-btn {
  width: 100%;
  margin-top: 0.35rem;
  background: linear-gradient(180deg, var(--mkt-gold-bright), var(--mkt-gold));
  color: #1a140c;
  border: 1px solid #a8894f;
}

html.platform-home #screen-street.home-screen,
html.vault-door #screen-street.home-screen {
  padding-top: 0;
}

html.platform-home body.auth-centered .site-footer {
  margin-top: 0;
}
