:root {
  color-scheme: dark;
  --ink: #07110f;
  --mist: #e9f0ea;
  --muted: #9fb1aa;
  --line: rgba(233, 240, 234, 0.16);
  --green: #68d391;
  --cyan: #6ee7f9;
  --amber: #f2c66d;
  --coral: #ff8a7a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  background: rgba(7, 17, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(104, 211, 145, 0.55);
  background: #0b2a22;
  color: var(--green);
  font-size: 12px;
  border-radius: 8px;
}

.nav-links {
  display: inline-flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--mist);
}

.header-action {
  justify-self: end;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid rgba(233, 240, 234, 0.28);
  border-radius: 8px;
  color: var(--mist);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at 76% 22%, rgba(110, 231, 249, 0.14), transparent 24rem),
    linear-gradient(135deg, #07110f 0%, #0a201c 56%, #10140f 100%);
}

#secure-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  max-width: 1240px;
  min-height: calc(94vh - 184px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-app-icon,
.download-app-icon {
  display: block;
  border-radius: 22%;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(233, 240, 234, 0.18);
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 580px;
  color: #c8d5cf;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 760;
}

.primary-action {
  border: 1px solid rgba(104, 211, 145, 0.58);
  background: var(--green);
  color: #06120f;
}

.secondary-action {
  border: 1px solid rgba(233, 240, 234, 0.22);
  background: rgba(233, 240, 234, 0.06);
  color: var(--mist);
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: end;
  gap: 18px;
}

.device-frame {
  min-height: 560px;
  padding: 16px;
  border: 1px solid rgba(233, 240, 234, 0.2);
  border-radius: 22px;
  background: rgba(10, 27, 24, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.device-topbar,
.composer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(233, 240, 234, 0.055);
  color: #d9e5df;
  font-size: 13px;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.signal-dot.active {
  background: var(--green);
  box-shadow: 0 0 20px rgba(104, 211, 145, 0.76);
}

.session-status {
  margin-left: auto;
  color: var(--green);
}

.conversation {
  display: grid;
  gap: 18px;
  padding: 28px 6px;
}

.message-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.message-row.outgoing {
  justify-content: flex-end;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #223630;
  color: #dce9e1;
  font-size: 13px;
  font-weight: 800;
}

.bubble {
  max-width: min(74%, 390px);
  padding: 15px 16px;
  border: 1px solid rgba(233, 240, 234, 0.12);
  border-radius: 16px;
  background: #14241f;
}

.outgoing .bubble {
  background: #163829;
  border-color: rgba(104, 211, 145, 0.28);
}

.bubble.shielded {
  background: #2d2918;
  border-color: rgba(242, 198, 109, 0.32);
}

.meta {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.bubble p {
  margin-bottom: 0;
  color: #edf5ef;
}

.composer {
  margin-top: 6px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(233, 240, 234, 0.18);
  border-radius: 10px;
  background: #102b25;
  color: var(--mist);
  cursor: pointer;
}

.icon-button.send {
  background: var(--green);
  color: #07110f;
}

.input-surface {
  min-width: 0;
  flex: 1;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-rail {
  display: grid;
  gap: 12px;
}

.security-rail > div {
  min-height: 120px;
  padding: 18px 14px;
  border: 1px solid rgba(233, 240, 234, 0.16);
  border-radius: 14px;
  background: rgba(233, 240, 234, 0.075);
  backdrop-filter: blur(12px);
}

.rail-value,
.rail-label {
  display: block;
}

.rail-value {
  color: var(--cyan);
  font-size: 31px;
  font-weight: 820;
  line-height: 1;
}

.rail-label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 96px clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto 40px;
}

.section-heading p:last-child,
.privacy-copy p,
.trust-list span {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card,
.timeline-item {
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(233, 240, 234, 0.045);
}

.feature-card p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(104, 211, 145, 0.42);
  border-radius: 10px;
  background: #0e2b24;
}

.lock-icon::before,
.key-icon::before,
.timer-icon::before {
  position: absolute;
  inset: 11px;
  border: 2px solid var(--green);
  border-radius: 4px;
  content: "";
}

.lock-icon::after {
  position: absolute;
  top: 7px;
  left: 13px;
  width: 14px;
  height: 12px;
  border: 2px solid var(--green);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  content: "";
}

.key-icon::before {
  inset: 13px auto auto 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.key-icon::after {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 13px;
  height: 2px;
  background: var(--green);
  box-shadow: 7px 4px 0 -1px var(--green);
  content: "";
}

.timer-icon::before {
  inset: 9px;
  border-radius: 50%;
}

.timer-icon::after {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 10px;
  height: 2px;
  background: var(--green);
  transform: rotate(-48deg);
  transform-origin: left center;
  content: "";
}

.privacy-band {
  background: #ecf2ed;
  color: #08120f;
}

.privacy-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 8vw, 100px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.privacy-split .eyebrow {
  color: #196b4a;
}

.privacy-copy p {
  color: #53635e;
}

.privacy-matrix {
  display: grid;
  border: 1px solid rgba(7, 17, 15, 0.14);
  border-radius: 8px;
  background: #f8fbf7;
}

.matrix-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  min-height: 76px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(7, 17, 15, 0.1);
}

.matrix-row:last-child {
  border-bottom: 0;
}

.matrix-row span {
  color: #5a6762;
}

.matrix-row strong {
  color: #0d3528;
}

.workflow-band {
  background: #0b1513;
}

.section-heading.compact {
  display: block;
  margin-bottom: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-item {
  border: 0;
  border-radius: 0;
  background: #111f1b;
}

.step-number {
  display: block;
  margin-bottom: 40px;
  color: var(--amber);
  font-weight: 820;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.download-heading {
  display: grid;
  gap: 22px;
}

.download-app-icon {
  width: 112px;
  height: 112px;
}

.trust-list {
  display: grid;
  gap: 18px;
}

.trust-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.trust-list strong {
  color: var(--coral);
}

.inline-link {
  color: var(--mist);
  text-decoration: underline;
  text-decoration-color: rgba(104, 211, 145, 0.7);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-shell,
  .product-stage,
  .section-heading,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .privacy-split {
    grid-template-columns: 1fr;
  }

  .security-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    padding-inline: 12px;
  }

  .hero {
    min-height: auto;
    padding: 92px 14px 52px;
  }

  .hero-shell {
    min-height: auto;
  }

  h1 {
    font-size: 54px;
  }

  .hero-app-icon {
    width: 78px;
    height: 78px;
  }

  .download-app-icon {
    width: 88px;
    height: 88px;
  }

  h2 {
    font-size: 34px;
  }

  .device-frame {
    min-height: 500px;
    padding: 12px;
  }

  .bubble {
    max-width: 82%;
  }

  .security-rail,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .security-rail > div {
    min-height: 92px;
  }

  .section {
    padding: 68px 14px;
  }

  .privacy-band {
    padding: 68px 14px;
  }

  .trust-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
    padding-inline: 14px;
  }
}
