/* Square Harmonics — shared brand system
   Gunmetal plate, bone ink, silver secondary, violet accent.
   Motif: engraved square-wave. Typography: Avenir Next, wide tracking. */

:root {
  --plate: #20252B;
  --plate-deep: #171B20;
  --plate-light: #262C33;
  --bg: #14171B;
  --bone: #FAF8F3;
  --silver: #C7CDD2;
  --silver-dim: #7d858d;
  --violet: #6C5CE7;
  --violet-soft: rgba(108, 92, 231, 0.28);
  --line: #2b323a;
  --font: "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 23, 27, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { height: 30px; }
.nav-logo img { height: 100%; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--silver); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--bone); }
.nav-cta {
  border: 1px solid var(--silver-dim); border-radius: 24px; padding: 9px 20px;
  font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bone);
  transition: border-color .15s, background .15s;
}
.nav-cta:hover { border-color: var(--bone); background: rgba(255,255,255,0.04); }

/* ---- eyebrow / labels ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--silver-dim);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--violet);
}

h1, h2, h3 { font-weight: 600; letter-spacing: 0.5px; }
.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.5px;
  max-width: 20ch;
}
.section-sub {
  color: var(--silver); font-size: 16px; line-height: 1.65; max-width: 58ch; margin-top: 18px; font-weight: 400;
}

section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 8px;
  font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn-primary { background: var(--bone); color: var(--plate-deep); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(250,248,243,0.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--silver-dim); background: rgba(255,255,255,0.03); }
.btn[disabled], .btn.soon {
  border: 1px solid var(--line); color: var(--silver-dim); cursor: default; background: transparent;
}
.btn.soon:hover { transform: none; box-shadow: none; }
.btn .tag {
  font-size: 10px; letter-spacing: 1px; background: var(--violet-soft); color: #C9C1FF;
  border-radius: 20px; padding: 3px 8px; text-transform: uppercase;
}

/* ---- card / plate surfaces ---- */
.plate {
  background: linear-gradient(180deg, var(--plate-light), var(--plate));
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 56px 0; color: var(--silver-dim); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
footer .foot-logo { height: 20px; opacity: 0.7; }
footer .foot-links { display: flex; gap: 28px; }
footer .foot-links a:hover { color: var(--silver); }

/* ---- misc ---- */
.divider { height: 1px; background: var(--line); }
.mono-tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: 0.5px;
  color: var(--silver-dim); background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 9px;
}
