/* badia.club — Night Dune: near-black, hairline edges, one ember accent. */
:root {
  --bg: #05060b;
  --surface: #0c0d14;
  --edge: rgba(255, 255, 255, 0.08);
  --ink: #eef0f7;
  --muted: #8a90a6;
  --faint: #5a6075;
  --ember: #ff6a2a;
  --grad: linear-gradient(100deg, #ff8a1f, #ff4a26 55%, #ff2e4d);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}

/* type */
h1,
h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0;
}
h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  margin-top: 30px;
}
h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
}
p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 16px 0 0;
}
.label,
.by,
.meta,
.sig,
.code {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--faint);
}
.label {
  color: var(--ember);
  margin-bottom: 14px;
}

/* brand */
.lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lockup .en {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 9px;
}
.lockup .bar {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.22);
}
.lockup .ar {
  font-family: "El Messiri", sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--ember);
  line-height: 1;
}
.by {
  margin-top: 12px;
  color: var(--muted);
}

/* actions */
.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  background-image: var(--grad);
  box-shadow: 0 14px 44px -14px rgba(255, 74, 38, 0.7);
}
.quiet {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}
.quiet:hover,
footer a:hover {
  color: var(--ink);
}
.pill {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.03);
}

/* nav */
.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px max(16px, calc((100vw - 1120px) / 2));
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: 5px;
  font-size: 13px;
  font-weight: 500;
}
.brand img {
  width: 32px;
  height: 32px;
}

/* phone frame */
.phone {
  margin: 0;
  border-radius: 46px;
  padding: 9px;
  background: #15161d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6) inset;
}
.phone img {
  border-radius: 38px;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 110px max(16px, calc((100vw - 1120px) / 2)) 120px;
  background: radial-gradient(60% 50% at 75% 40%, rgba(255, 90, 40, 0.14), transparent 70%);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.lede {
  max-width: 480px;
  font-size: 19px;
}
.ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.meta {
  margin-top: 28px;
}
.hero-phone {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-phone .phone {
  width: min(330px, 80vw);
  transform: rotate(3deg);
}
.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 22vh;
  min-height: 120px;
  opacity: 0.75;
  pointer-events: none;
}

/* features */
main {
  padding: 0 max(16px, calc((100vw - 1120px) / 2));
}
.feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--edge);
}
.feature.flip {
  grid-template-columns: 1fr 300px;
}
.feature.flip .phone {
  order: 2;
}
.copy {
  max-width: 520px;
}
.feature ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.feature li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--ink);
  font-size: 15.5px;
  border-top: 1px solid var(--edge);
}
.feature li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

/* clubs + founder */
.clubs {
  text-align: center;
  padding: 96px 24px;
  margin: 24px 0;
  border: 1px solid var(--edge);
  border-radius: 32px;
  background: radial-gradient(70% 90% at 50% 120%, rgba(255, 74, 38, 0.22), transparent 70%), var(--surface);
}
.clubs p {
  max-width: 520px;
  margin: 16px auto 32px;
}
.founder {
  text-align: center;
  padding: 96px 0 72px;
}
.founder p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.5px;
  max-width: 640px;
  margin: 0 auto;
}
.sig {
  margin-top: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px max(16px, calc((100vw - 1120px) / 2)) 40px;
  border-top: 1px solid var(--edge);
  font-size: 14px;
  color: var(--faint);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 22px;
}

/* invite landing */
.invite {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}
.invite .mark {
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
}
.invite h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin-top: 48px;
}
.invite p {
  max-width: 420px;
}
.invite .btn {
  margin-top: 30px;
}
.invite .quiet {
  margin-top: 18px;
}
.invite .code {
  margin-top: 18px;
}

/* plain pages (privacy, support) */
.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  line-height: 1.65;
}
.doc .brand {
  margin-bottom: 36px;
  color: var(--ink);
}
.doc h1 {
  font-size: 40px;
  letter-spacing: -1px;
  margin-top: 0;
}
.doc h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 36px 0 6px;
}
.doc p,
.doc li {
  color: #b4b9cc;
  font-size: 15.5px;
}
.doc a {
  color: var(--ember);
}
.doc .meta {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 96px;
    gap: 56px;
  }
  .hero-phone .phone {
    width: min(280px, 72vw);
  }
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 0;
  }
  .feature .phone,
  .feature.flip .phone {
    order: 0;
    width: min(240px, 64vw);
    margin: 0 auto;
  }
  .clubs {
    padding: 64px 20px;
  }
}
