/* hustlein.id landing site. Brand colours match the app (AppColors / AppColorScheme). Dark first, light supported. */
:root {
  --primary: #7c3aed;
  --secondary: #ec4899;
  --bg: #0f0f1a;
  --surface: #16162a;
  --surface2: #1a1a2e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --link: #c4a5ff;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f7ff;
    --surface: #ffffff;
    --surface2: #f0eef8;
    --border: rgba(124, 58, 237, 0.14);
    --text: #0f0f1a;
    --muted: #4b5563;
    --link: #6d28d9;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
nav.site { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

main { padding: 40px 0 64px; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; margin: 0 0 16px; }
h2 { font-size: 22px; font-weight: 750; margin: 36px 0 10px; }
h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }

.hero { padding: 24px 0 8px; }
.gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.btn.secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: default; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px;
}
.card.offer { border-left: 4px solid var(--primary); }
.card.request { border-left: 4px solid var(--secondary); }
.card h3 { margin-top: 0; }
.badge { font-size: 13px; font-weight: 700; color: var(--muted); }

.steps { padding-left: 20px; }
.steps li { margin: 6px 0; }

.doc { max-width: 760px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.note {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin: 18px 0;
}

table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--surface2); }
.table-wrap { overflow-x: auto; }

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; gap: 16px 24px; flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: var(--muted); }
