:root {
  --bg: #0c0c10;
  --bg-soft: #14141a;
  --panel: rgba(20, 20, 26, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(214, 178, 110, 0.18);
  --text: #f6f1e8;
  --muted: #b8ae9e;
  --gold: #d6b26e;
  --gold-strong: #e3c383;
  --success: #9bddb0;
  --danger: #ff8c8c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(214, 178, 110, 0.12), transparent 30%),
    linear-gradient(180deg, #0a0a0d 0%, #0e0f14 100%);
  color: var(--text);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap,
.header-inner,
.footer-inner,
.section,
.section-plans,
.section-launch,
.section-final,
.section-split {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--gold-strong), #8d6b35);
  box-shadow: 0 0 18px rgba(214, 178, 110, 0.45);
}

.btn {
  appearance: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #e1c287 0%, #c79c4d 100%);
  color: #17120a;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.section-kicker,
.eyebrow,
.plan-label,
.stat-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading,
.hero-copy h1,
.split-copy h2,
.app-topbar h1,
.app-card h2,
.panel h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-intro,
.section-text,
.hero-subline,
.plan-text,
.auth-text,
.stat-text,
.project-row p,
.ledger-row span,
.setting-row span,
.storage-meta span {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.main-nav,
.footer-links,
.hero-actions,
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.main-nav a,
.header-link,
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.header-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  padding: 44px 0 26px;
}

.hero-grid,
.split-grid,
.steps-grid,
.plans-grid,
.dashboard-grid,
.form-grid {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  margin-bottom: 18px;
}

.hero-subline {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: 17px;
}

.plan-badge,
.visual-tagline,
.status-pill,
.storage-meta span,
.meta-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 110, 0.18);
  background: rgba(214, 178, 110, 0.06);
  color: #eadbc1;
  font-size: 13px;
}

.status-pill.soft {
  background: rgba(155, 221, 176, 0.08);
  border-color: rgba(155, 221, 176, 0.22);
  color: #d9ffe4;
}

.hero-visual,
.visual-card,
.quote-card,
.launch-card,
.step-card,
.plan-card,
.final-box,
.split-panel,
.app-card,
.auth-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-visual,
.visual-card,
.quote-card,
.launch-card,
.step-card,
.plan-card,
.final-box,
.split-panel,
.app-card {
  padding: 28px;
}

.hero-bg,
.hero-video {
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(227, 195, 131, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(18, 18, 24, 0.94), rgba(11, 11, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.section {
  padding: 24px 0;
}

.section-heading {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
  margin-bottom: 14px;
}

.section-intro {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
}

.feature-list,
.ledger-list,
.settings-list,
.project-list {
  display: grid;
  gap: 14px;
}

.feature-list,
.project-list {
  margin-top: 18px;
}

.feature-list li,
.ledger-row,
.setting-row,
.project-row,
.storage-meta,
.meta-item {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  border-radius: var(--radius-md);
}

.feature-list li,
.ledger-row,
.setting-row,
.project-row,
.storage-meta {
  padding: 16px 18px;
}

.project-row,
.ledger-row,
.setting-row,
.storage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-row h3,
.plan-card h3,
.step-card h3,
.launch-card h3,
.app-card h2,
.large-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.project-row p,
.plan-card p,
.step-card p,
.launch-card p,
.section-text {
  margin: 0;
}

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

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

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 700;
  color: #17120a;
  background: linear-gradient(180deg, #e1c287 0%, #c79c4d 100%);
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-shell {
  width: 100%;
  max-width: 560px;
}

.auth-panel {
  padding: 34px;
}

.auth-brand {
  margin-bottom: 18px;
}

.auth-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
}

.auth-text {
  margin: 0 0 24px;
  font-size: 15px;
}

.auth-form,
.field {
  display: grid;
  gap: 14px;
}

.field span,
.auth-form label {
  color: #e8dfd0;
  font-size: 13px;
}

.auth-form input,
.auth-form select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: #8f877a;
}

.auth-form input:focus,
.auth-form select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(214, 178, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(214, 178, 110, 0.1);
}

.auth-switch,
.footer {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-switch a,
.footer a {
  color: var(--gold-strong);
}

.site-footer {
  padding: 40px 0 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .steps-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .project-row,
  .ledger-row,
  .setting-row,
  .storage-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .auth-panel,
  .hero-visual,
  .visual-card,
  .quote-card,
  .launch-card,
  .step-card,
  .plan-card,
  .final-box,
  .split-panel,
  .app-card {
    padding: 22px;
  }
}
/* === Homepage how-it-works alignment fix === */
#how-it-works.section.section-intro {
  width: min(100% - 32px, var(--container));
  max-width: none;
  margin-inline: auto;
  margin-top: 0;
  margin-bottom: 0;
  font-size: inherit;
}

#how-it-works .wrap {
  width: 100%;
  margin-inline: auto;
}

#how-it-works .section-heading.narrow {
  max-width: 760px;
}