
:root {
  --bg: #070707;
  --bg-soft: #0c0a09;
  --surface: #151515;
  --surface-2: #1d1713;
  --border: rgba(255,255,255,0.11);
  --border-strong: rgba(255,255,255,0.18);
  --text: #f8f4ef;
  --muted: rgba(248,244,239,0.70);
  --muted-2: rgba(248,244,239,0.50);
  --accent: #ff7300;
  --accent-2: #ff9b3d;
  --accent-soft: rgba(255,115,0,0.13);
  --accent-border: rgba(255,115,0,0.36);
  --shadow: 0 22px 68px rgba(0,0,0,0.40);
  --max: 1180px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,115,0,0.16), transparent 27%),
    radial-gradient(circle at 78% 8%, rgba(255,115,0,0.10), transparent 25%),
    linear-gradient(180deg, #080706 0%, #060606 45%, #050505 100%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,7,0.90);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 0 32px rgba(255,115,0,0.28);
}

.brand strong {
  font-size: 19px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-brand small {
  display: block;
  margin: 3px 0 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 14px;
}

.button-large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
}

.button-primary {
  color: #140800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 38px rgba(255,115,0,0.23);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
}

.full {
  width: 100%;
}

.hero {
  padding: 70px 0 64px;
}

.home-hero {
  padding-top: 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 16px;
  padding: 0 12px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffd2b2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.card-tag {
  min-height: 30px;
  margin-bottom: 14px;
}

.hero-copy h1,
.subhero h1,
.task-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.subhero h1,
.task-heading h1 {
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.12;
  max-width: 760px;
  margin-inline: auto;
}

.task-heading h1 {
  margin-inline: 0;
}

.hero-lead,
.task-heading p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.62;
}

.narrow .hero-lead {
  margin-inline: auto;
}

.price-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(255,115,0,0.12);
  color: var(--muted);
  font-weight: 800;
}

.price-note strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.centered-actions,
.centered {
  justify-content: center;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.trust-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.product-visual-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 58%, rgba(255,115,0,0.20), transparent 32%),
    linear-gradient(145deg, rgba(255,115,0,0.10), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
}

.product-visual-card img {
  max-height: 260px;
  object-fit: contain;
  border-radius: 22px;
}

.visual-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(10px);
}

.visual-caption strong,
.visual-caption span {
  display: inline;
}

.visual-caption span {
  margin-left: 6px;
  color: var(--muted);
}

.flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(12,12,12,0.92);
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.subhero {
  padding: 48px 0 34px;
  border-bottom: 1px solid var(--border);
}

.pricing-hero {
  padding-bottom: 26px;
}

.task-hero {
  padding: 46px 0 30px;
  border-bottom: 1px solid var(--border);
}

.task-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.task-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding-top: 34px;
}

.pricing-section {
  padding-top: 32px;
}

.muted-section {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.split h2,
.final-cta h2,
.panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.section-heading p,
.split p,
.panel p,
.card p,
.price-card p,
.faq-grid p,
.footer p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.price-card,
.panel,
.check-panel,
.final-cta-card,
.faq-grid article,
.steps article,
.security-table,
.diagram-node {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 18px 54px rgba(0,0,0,0.20);
}

.card,
.price-card,
.panel,
.faq-grid article,
.steps article {
  padding: 22px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.price-card.compact {
  min-height: 265px;
}

.price-card h3,
.card h3,
.faq-grid h3,
.security-table h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.price {
  margin: 10px 0 12px;
  color: var(--text) !important;
  font-size: 37px;
  line-height: 1;
  font-weight: 920;
  letter-spacing: -0.052em;
}

.price-card .button {
  margin-top: auto;
}

.mini-list {
  margin: 16px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.mini-list li + li {
  margin-top: 7px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #130800;
  font-weight: 900;
}

.steps h3 {
  margin: 16px 0 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.check-panel {
  display: grid;
  gap: 11px;
  padding: 18px;
}

.check-row {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 38px;
  border-radius: 14px;
  background: rgba(255,255,255,0.052);
  color: var(--text);
  font-weight: 760;
}

.check-row::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,115,0,0.16), transparent 34%),
    rgba(255,255,255,0.045);
}

.setup-workspace {
  padding-top: 36px;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.vault-result {
  margin: 20px 0;
}

.setup-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.notice {
  padding: 17px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  background: rgba(255,115,0,0.11);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.notice strong {
  color: var(--text);
}

.notice code {
  display: inline-block;
  max-width: 100%;
  color: #ffd0ad;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.small-note {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 13px;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 15px;
  border-radius: 15px;
  background: rgba(255,255,255,0.045);
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list span {
  color: var(--muted);
  margin-top: 4px;
}

.security-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.diagram-node {
  padding: 20px;
  min-height: 130px;
}

.diagram-node strong,
.diagram-node span {
  display: block;
}

.diagram-node strong {
  font-size: 20px;
  letter-spacing: -0.035em;
}

.diagram-node span {
  margin-top: 8px;
  color: var(--muted);
}

.diagram-node.server {
  border-color: var(--accent-border);
  background: rgba(255,115,0,0.09);
}

.diagram-arrow {
  color: var(--accent-2);
  font-weight: 900;
  white-space: nowrap;
}

.security-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
}

.security-table ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.security-table li + li {
  margin-top: 8px;
}

.footer {
  padding: 54px 0;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(120px, 0.6fr));
  gap: 28px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--text);
}

.footer a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

.footer-main p {
  max-width: 440px;
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    padding: 12px 0;
    gap: 12px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-grid,
  .split,
  .setup-grid,
  .task-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    max-width: 620px;
  }

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

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

  .security-diagram {
    grid-template-columns: 1fr;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .brand small {
    display: none;
  }

  .nav-actions {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-nav {
    grid-row: 3;
    width: 100%;
  }

  .nav-actions .button,
  .hero-actions .button,
  .setup-buttons .button {
    width: 100%;
  }

  .hero,
  .subhero,
  .task-hero {
    padding: 44px 0;
  }

  .hero-copy h1,
  .subhero h1,
  .task-heading h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero-lead,
  .task-heading p {
    font-size: 16px;
  }

  .price-note {
    display: flex;
    border-radius: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-visual-card {
    min-height: 300px;
    padding: 18px;
  }

  .product-visual-card img {
    max-height: 220px;
  }

  .visual-caption {
    position: static;
    margin-top: 14px;
  }

  .flow-strip {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .grid-4,
  .grid-3,
  .steps,
  .faq-grid,
  .footer-grid,
  .security-table {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .final-cta-card {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta-card .button {
    width: 100%;
  }
}

/* ==================================================
   Final conversion polish
   Purpose: keep current launch layout, improve above-the-fold purchase visibility
   ================================================== */

@media (min-width: 1101px) {
  .home-hero {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 390px);
    gap: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 3.9vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .product-visual-card {
    min-height: 320px;
    padding: 20px;
  }

  .product-visual-card img {
    max-height: 230px;
  }

  .visual-caption {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .pricing-hero {
    padding-top: 38px;
    padding-bottom: 20px;
  }

  .pricing-section {
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .price-card {
    min-height: 0;
    padding: 20px;
  }

  .price-card .card-tag {
    margin-bottom: 12px;
  }

  .price-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .price {
    font-size: 34px;
    margin: 8px 0 10px;
  }

  .price-card p {
    font-size: 15px;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 14px;
  }

  .mini-list {
    margin: 12px 0 16px;
    font-size: 14px;
    line-height: 1.35;
  }

  .mini-list li + li {
    margin-top: 5px;
  }

  .price-card .button {
    min-height: 42px;
  }

  .task-hero {
    padding-top: 38px;
    padding-bottom: 26px;
  }

  .setup-workspace {
    padding-top: 32px;
  }

  .security-diagram {
    margin-top: -10px;
  }
}

@media (min-width: 1101px) and (max-height: 850px) {
  .subhero {
    padding-top: 36px;
    padding-bottom: 22px;
  }

  .subhero h1 {
    font-size: clamp(32px, 3vw, 42px);
  }

  .hero-lead {
    margin-top: 14px;
  }

  .trust-chips {
    margin-top: 18px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .pricing-section {
    padding-top: 24px;
  }
}

/* Make commercial CTA feel more direct */
.nav-actions .button-primary,
.hero-actions .button-primary,
.price-card .button-primary,
.final-cta-card .button-primary {
  box-shadow: 0 14px 34px rgba(255,115,0,0.30);
}

/* Improve card readability */
.price-card,
.panel,
.card,
.faq-grid article {
  background: linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.034));
}

/* Slightly reduce visual noise of chips */
.trust-chips span {
  background: rgba(255,255,255,0.038);
}

/* Setup page: reduce duplicate CTA dominance */
.task-actions .button-secondary {
  opacity: 0.82;
}


/* Legal/support pages */
.legal-layout {
  max-width: 920px;
}

.legal-panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.legal-panel h2:not(:first-child) {
  margin-top: 30px;
}

.legal-panel p {
  color: var(--muted);
}

.legal-panel a {
  color: #ffd2b2;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Product catalog matrix */
.product-matrix {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.matrix-heading {
  padding: 24px 24px 10px;
}

.matrix-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.matrix-heading p {
  color: var(--muted);
}

.matrix-table {
  padding: 12px 18px 22px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.65fr 1.4fr;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.matrix-row span:first-child,
.matrix-row span:nth-child(3) {
  color: var(--text);
  font-weight: 850;
}

.matrix-head {
  color: var(--text);
  font-weight: 900;
  background: rgba(255,255,255,0.035);
  border-radius: 14px;
}

@media (max-width: 820px) {
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .matrix-head {
    display: none;
  }

  .matrix-row span::before {
    display: block;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 2px;
  }

  .matrix-row span:nth-child(1)::before { content: "Channel type"; }
  .matrix-row span:nth-child(2)::before { content: "Max members"; }
  .matrix-row span:nth-child(3)::before { content: "Price"; }
  .matrix-row span:nth-child(4)::before { content: "Best for"; }
}
