/*
Theme Name: SafeTana
Theme URI: https://safetana.com
Author: SafeTana
Description: Marketing theme for SafeTana, SafeTana Station and SafeTana Cloud.
Version: 1.2.8
Text Domain: custenus
*/

:root {
  color-scheme: dark;
  --bg: #000211;
  --surface: #071426;
  --surface-strong: #0b1e34;
  --line: #173a5e;
  --text: #f5f9ff;
  --muted: #9cb3ca;
  --blue: #29a9ff;
  --cyan: #52ddff;
  --green: #38d996;
  --max: 1120px;
  --measure: 66ch;
  --section-space: clamp(72px, 8vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(156, 179, 202, 0.14);
  background: rgba(0, 2, 17, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner,
.section__inner,
.site-footer__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 1.02rem;
}

.site-brand-mark,
.site-brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 42px;
}

.site-brand-mark img {
  object-fit: contain;
}

.brand-name {
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.brand-name__text {
  display: inline-flex;
  align-items: baseline;
}

.brand-name__base {
  color: var(--text);
}

.brand-name__accent {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav .site-nav__login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(82, 221, 255, 0.48);
  border-radius: 5px;
  color: var(--text);
  font-weight: 750;
}

.site-nav .site-nav__login:hover,
.site-nav .site-nav__login:focus-visible {
  border-color: var(--cyan);
  background: rgba(41, 169, 255, 0.12);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: #00111f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
}

.button:hover,
.button:focus-visible {
  background: var(--cyan);
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.hero {
  min-height: min(700px, calc(100svh - 68px));
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000211;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/safetana-hero-station-crisp-v5.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.05) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 2, 17, 0.98) 0%, rgba(0, 2, 17, 0.9) 28%, rgba(0, 2, 17, 0.38) 58%, rgba(0, 2, 17, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 2, 17, 0.72) 0%, transparent 42%);
}

.hero__content {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 4.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  max-width: 590px;
  margin-bottom: 32px;
  color: #c8d8e8;
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signal-bar {
  border-top: 1px solid rgba(82, 221, 255, 0.22);
  border-bottom: 1px solid rgba(82, 221, 255, 0.14);
  background: #030b18;
}

.signal-bar__inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.signal-bar span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8d8e8;
  font-size: 0.84rem;
  font-weight: 750;
}

.signal-bar i,
.live-pill i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(56, 217, 150, 0.82);
}

.section {
  padding: var(--section-space) 0;
  border-top: 1px solid rgba(23, 58, 94, 0.72);
}

.section--surface {
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 22ch;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p,
.feature p,
.manifesto p,
.journey__step > div > p:last-child,
.system-card > p,
.section-heading--split > p {
  color: var(--muted);
}

.section-heading > p:not(.eyebrow),
.section-heading--split > p,
.manifesto > div > p:not(.eyebrow) {
  max-width: var(--measure);
  font-size: 1.02rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 64px;
  align-items: end;
}

.section-heading--split h2,
.section-heading--split > p {
  margin-bottom: 0;
}

.system-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  align-items: stretch;
}

.system-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(41, 169, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 42, 68, 0.72), rgba(4, 13, 28, 0.96)),
    #071426;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.system-card__top {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.system-card__label {
  font-size: 0.9rem;
  font-weight: 800;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(56, 217, 150, 0.24);
  border-radius: 999px;
  color: #9debc9;
  font-size: 0.68rem;
  font-weight: 750;
}

.system-card > p {
  margin: auto 0 0;
  padding-top: 22px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.keypad-graphic {
  width: min(100%, 310px);
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px solid rgba(82, 221, 255, 0.24);
  border-radius: 9px;
  background: #030c1d;
  box-shadow: inset 0 0 40px rgba(41, 169, 255, 0.06);
}

.keypad-graphic__mark {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.keypad-graphic__mark span {
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  border: 2px solid var(--blue);
  border-radius: 50% 50% 42% 42%;
  box-shadow: 0 0 18px rgba(41, 169, 255, 0.72);
}

.keypad-graphic__mark strong {
  font-size: 0.88rem;
  letter-spacing: 0.16em;
}

.keypad-graphic__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.keypad-graphic__grid i {
  min-height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 169, 255, 0.56);
  border-radius: 4px;
  color: #e6f4ff;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 750;
}

.keypad-graphic__scan {
  margin-top: 6px;
  padding: 6px;
  border: 1px solid rgba(41, 169, 255, 0.56);
  border-radius: 4px;
  color: #9fd8ff;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 750;
}

.terminal-product {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(82, 221, 255, 0.18);
  border-radius: 10px;
  background: #020817;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.terminal-product img {
  width: 100%;
  height: auto;
  display: block;
}

.system-flow {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: center;
}

.system-flow span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.system-flow span:last-child {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.system-flow i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 20px rgba(82, 221, 255, 0.68);
}

.cloud-time {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 750;
}

.cloud-mock {
  padding: 16px;
  border: 1px solid rgba(82, 221, 255, 0.14);
  border-radius: 8px;
  background: #030c1d;
}

.cloud-mock__stats {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cloud-mock__stats div {
  padding: 12px;
  border-radius: 5px;
  background: rgba(41, 169, 255, 0.08);
}

.cloud-mock small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
}

.cloud-mock__stats strong {
  display: block;
  margin-top: 3px;
  font-size: 1.25rem;
}

.cloud-mock__activity > div {
  min-width: 0;
  padding: 9px 2px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  border-top: 1px solid rgba(156, 179, 202, 0.1);
}

.avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 169, 255, 0.16);
  color: var(--cyan);
  font-size: 0.55rem;
  font-weight: 800;
}

.cloud-mock__activity p {
  min-width: 0;
  margin: 0;
  font-size: 0.68rem;
}

.cloud-mock__activity strong {
  display: block;
}

.cloud-mock__activity time {
  color: var(--muted);
  font-size: 0.58rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature {
  min-width: 0;
  padding: 32px;
  background: var(--surface-strong);
}

.feature__number {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.feature p {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.65;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.station-tier {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(41, 169, 255, 0.26);
  border-radius: 8px;
  background: #030c1d;
}

.station-tier__level {
  margin-bottom: 34px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
}

.station-tier h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.station-tier p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.station-tier strong {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #b9d5ec;
  font-size: 0.78rem;
}

.module-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.module-panel {
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(320px, 1.35fr) auto;
  gap: 38px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.module-panel h3,
.module-panel p {
  margin-bottom: 0;
}

.module-panel h3 {
  font-size: 1.4rem;
}

.module-panel > p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.module-panel__compatibility {
  padding: 9px 12px;
  border: 1px solid rgba(82, 221, 255, 0.28);
  border-radius: 5px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.journey {
  border-top: 1px solid var(--line);
}

.journey__step {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.journey__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 221, 255, 0.36);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: inset 0 0 20px rgba(41, 169, 255, 0.08);
}

.journey__step > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: start;
}

.journey__step h3,
.journey__step p {
  margin-bottom: 0;
}

.journey__step h3 {
  font-size: 1.14rem;
  line-height: 1.35;
}

.journey__step > div > p:last-child {
  font-size: 0.96rem;
  line-height: 1.65;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 72px;
  align-items: start;
}

.manifesto blockquote {
  margin: 0;
  color: var(--text);
  max-width: 18ch;
  font-size: clamp(2rem, 3.3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: start;
}

.faq-layout .section-heading {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 42px 24px 0;
  color: var(--text);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.45;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  margin: -4px 42px 24px 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.section--cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #071426, #000211 72%);
}

.section--cta::before {
  display: none;
}

.cta {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.cta h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.1;
  text-wrap: balance;
}

.cta__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #00020d;
}

.site-footer__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-nav a:not(.site-nav__login) {
    display: none;
  }

  .hero {
    min-height: min(680px, calc(100svh - 60px));
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 2, 17, 0.96) 0%, rgba(0, 2, 17, 0.82) 48%, rgba(0, 2, 17, 0.24) 100%),
      linear-gradient(0deg, rgba(0, 2, 17, 0.76) 0%, transparent 52%);
  }

  .hero__content {
    padding: 76px 0;
  }

  .section-heading,
  .section-heading--split {
    margin-bottom: 32px;
  }

  .signal-bar__inner {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 20px 0;
  }

  .system-visual {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .system-flow {
    width: 1px;
    height: 50px;
    margin: 0 auto;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 14px 1fr;
  }

  .system-flow span {
    width: 1px;
    height: auto;
    background: linear-gradient(0deg, var(--blue), transparent);
  }

  .system-flow span:last-child {
    background: linear-gradient(0deg, transparent, var(--blue));
  }

  .section-heading--split,
  .feature-grid,
  .station-grid,
  .manifesto,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .module-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .module-panel__compatibility {
    justify-self: start;
  }

  .section-heading--split {
    gap: 16px;
  }

  .faq-layout {
    gap: 36px;
  }

  .manifesto {
    gap: 36px;
  }

  .journey__step > div {
    grid-template-columns: 1fr 1fr;
  }

  .journey__step > div > p:last-child {
    grid-column: 1 / -1;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .section__inner,
  .site-footer__inner,
  .hero__content {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header__inner {
    min-height: 60px;
    gap: 12px;
  }

  .site-brand-mark,
  .site-brand-mark img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .wordmark {
    gap: 7px;
    font-size: 0.94rem;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav .site-nav__login {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.8rem;
  }

  .button {
    min-height: 44px;
    padding: 0 15px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: min(660px, calc(100svh - 60px));
    align-items: end;
  }

  .hero::before {
    background-position: 68% center;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(0, 2, 17, 0.99) 0%, rgba(0, 2, 17, 0.88) 52%, rgba(0, 2, 17, 0.12) 100%),
      linear-gradient(90deg, rgba(0, 2, 17, 0.6) 0%, transparent 100%);
  }

  .hero__content {
    padding: 210px 0 40px;
  }

  h1 {
    max-width: 13ch;
    margin-bottom: 16px;
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero__lead {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .signal-bar__inner {
    width: min(calc(100% - 28px), var(--max));
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .signal-bar span {
    font-size: 0.76rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .section-heading--split {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .manifesto blockquote {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.25rem);
  }

  .section-heading > p:not(.eyebrow),
  .section-heading--split > p,
  .manifesto > div > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .system-card {
    padding: 18px;
  }

  .journey__step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .journey__icon {
    width: 46px;
    height: 46px;
  }

  .journey__step > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .journey__step > div > p:last-child {
    grid-column: auto;
  }

  .feature {
    padding: 24px;
  }

  .station-tier {
    padding: 24px;
  }

  .station-tier__level {
    margin-bottom: 24px;
  }

  .feature__number {
    margin-bottom: 24px;
  }

  .faq-list summary {
    padding: 20px 36px 20px 0;
    font-size: 1rem;
  }

  .faq-list summary::after {
    top: 17px;
  }

  .faq-list details p {
    margin-right: 28px;
  }

  .cta {
    gap: 32px;
  }

  .cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta__actions .button {
    width: 100%;
  }
}
