/* ============================================================
   Hashside — Landing page styles
   Single-file: tokens + layout. Plain static HTML, no JS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Brand */
  --hs-blue:        #BCDEFE;
  --hs-blue-pale:   #DFEAF9;
  --hs-blue-tint:   #EEF4FC;
  --hs-blue-deep:   #1E3A8A;
  --hs-ink:         #0A0A0A;
  --hs-ink-2:       #1F1F1F;
  --hs-paper:       #FAFAF7;
  --hs-paper-2:     #F4F4EF;
  --hs-white:       #FFFFFF;

  /* Neutrals */
  --hs-gray-100:    #ECEEF2;
  --hs-gray-200:    #DEE2E8;
  --hs-gray-300:    #C5CBD4;
  --hs-gray-400:    #9AA2AE;
  --hs-gray-500:    #6B7280;
  --hs-gray-700:    #2E343D;
  --hs-gray-800:    #1A1D22;

  /* Semantic roles */
  --bg:             var(--hs-paper);
  --fg:             var(--hs-ink);
  --fg-2:           var(--hs-gray-700);
  --fg-3:           var(--hs-gray-500);

  /* Type families */
  --font-display:   'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:      'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease-out:       cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--hs-paper); }
body {
  margin: 0;
  color: var(--hs-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 64px; }

.section {
  padding: 96px 0;
  border-top: 1px solid var(--hs-gray-200);
}
.section:first-of-type { border-top: 0; }
.section--blue {
  background: var(--hs-blue-pale);
  border-top: 1px solid var(--hs-gray-200);
  border-bottom: 1px solid var(--hs-gray-200);
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 10;
  background: var(--hs-paper);
  border-bottom: 1px solid var(--hs-gray-200);
  height: 64px;
}
.header--minimal { border-bottom: 0; }
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__brand img { height: 28px; width: auto; display: block; }
.header__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  letter-spacing: -0.005em; color: var(--hs-ink);
}
.header__nav { display: flex; align-items: center; gap: 36px; }
.header__nav a:not(.btn) {
  font-family: var(--font-body); font-size: 14px;
  color: var(--fg-2);
  transition: color 140ms var(--ease-out);
}
.header__nav a:not(.btn):hover { color: var(--hs-ink); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--hs-ink); display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 128px 64px 96px;
  position: relative; overflow: hidden;
}
.hero__watermark {
  position: absolute; right: -120px; top: 60px;
  height: 480px; width: auto;
  opacity: 0.05; pointer-events: none; user-select: none;
}
.hero__inner { position: relative; max-width: 920px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 84px);
  line-height: 1.02; letter-spacing: -0.03em;
  margin: 20px 0 28px;
  max-width: 18ch;
  color: inherit;
}

/* ---------- Memo / About ---------- */
.memo { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.memo__meta {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--fg-3); line-height: 1.8;
}
.memo__meta .row {
  display: flex; justify-content: space-between; gap: 8px;
  border-bottom: 1px dashed var(--hs-gray-300);
  padding: 6px 0;
}
.memo__body { max-width: 64ch; }
.memo__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px; letter-spacing: -0.02em; line-height: 1.05;
  margin: 0 0 28px;
}
.memo__body p {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.65;
  color: var(--hs-ink-2);
  margin: 0 0 18px;
}

/* ---------- Section head ---------- */
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 32px;
}
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px; letter-spacing: -0.02em;
  margin: 12px 0 0;
}

/* ---------- Investments ---------- */
.iclasses {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--hs-ink);
}
.iclass {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hs-gray-200);
}
.iclass__index {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--fg-3);
  padding-top: 8px;
}
.iclass__body { max-width: 64ch; }
.iclass__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: 10px;
}
.iclass__head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px; letter-spacing: -0.015em;
  margin: 0;
  color: var(--hs-ink);
}
.iclass__meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-3);
}
.iclass__body p {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 56ch;
}

/* ---------- Contact ---------- */
.contact-block { max-width: 720px; }
.contact-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 60px; line-height: 1.02; letter-spacing: -0.025em;
  margin: 12px 0 28px;
  max-width: 16ch;
}
.contact-block p {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.6;
  color: var(--fg-2);
  max-width: 52ch;
  margin: 0 0 32px;
}
.contact-email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 20px; color: var(--hs-ink);
  border-bottom: 1px solid var(--hs-ink);
  padding-bottom: 4px;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--hs-ink);
  color: var(--hs-gray-400);
  padding: 96px 0 48px;
  margin-top: auto;
}
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 36px; }
.footer__brand .name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: var(--hs-paper);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-gray-400);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer ul a {
  font-family: var(--font-body);
  font-size: 14px; color: var(--hs-paper);
}
.footer ul a:hover { color: var(--hs-blue); }
.footer__small {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid #2E343D;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--hs-gray-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out);
  text-decoration: none;
}
.btn--primary { background: var(--hs-ink); color: var(--hs-paper); }
.btn--primary:hover { background: var(--hs-gray-800); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 80px 24px 56px; }
  .memo, .footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .section__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .iclass { grid-template-columns: 1fr; gap: 8px; }
  .iclass__index { padding-top: 0; }
  .iclass__head { flex-wrap: wrap; }
  .contact-block h2 { font-size: 44px; }
}
