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

/* ── TOKENS ─────────────────────────────────── */
:root {
  --white:   #FFFFFF;
  --off:     #F7F6F3;
  --light:   #EEECEA;
  --border:  #D8D4CE;
  --muted:   #8A8480;
  --ink:     #1C1A18;
  --ink2:    #3D3A36;
  --red:     #CC1400;
  --red-d:   #A81000;
  --orange:  #E85D00;
  --shadow:  rgba(28,26,24,0.14);

  --font-head: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max: 1280px;
  --r:   6px;
  --r-lg: 12px;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--off);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ──────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.logo-ghs { color: var(--red); }
.logo-rest { color: var(--ink); }
.logo-tld { color: var(--muted); font-weight: 500; font-size: 18px; }

.nav-links { display: flex; gap: 32px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink2);
  letter-spacing: 0.02em;
  transition: color 0.15s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--red); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--r) !important;
  border-bottom: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--red-d) !important; }

/* ── REG STRIP ───────────────────────────────── */
.reg-strip {
  background: var(--ink);
  color: var(--white);
  padding: 10px 32px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.reg-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.reg-item { display: flex; align-items: center; gap: 8px; opacity: 0.85; }
.reg-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
.reg-label { color: var(--orange); font-weight: 500; }

/* ── HERO ────────────────────────────────────── */
.hero {
  background: var(--white);
  padding: 80px 32px 72px;
  border-bottom: 2px solid var(--ink);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--red);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(52px, 5.5vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-desc {
  font-size: 19px;
  color: var(--ink2);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Hero pictogram grid */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-pic {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.hero-pic:hover {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}
.hero-pic img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.2));
}
.hero-pic-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* ── PICTOGRAMS SECTION ──────────────────────── */
.section { padding: 80px 32px; }
.section-alt { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

.section-head { margin-bottom: 56px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before { content: '//'; font-weight: 500; }
.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--ink2);
  max-width: 600px;
  line-height: 1.6;
}

/* Pictogram grid */
.pic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.pic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
}
.pic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.pic-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-3px);
}
.pic-card:hover::before { opacity: 1; }

.pic-img {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18));
  transition: filter 0.2s, transform 0.2s;
}
.pic-card:hover .pic-img {
  filter: drop-shadow(0 10px 24px rgba(204,20,0,0.25));
  transform: scale(1.04);
}
.pic-id {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.pic-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.pic-desc {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.pic-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.hcode {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--ink2);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* ── TOOLS SECTION ───────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.tool-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s;
  text-decoration: none;
}
.tool-card:hover {
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 4px 20px var(--shadow);
}
.tool-icon {
  width: 48px; height: 48px;
  background: var(--ink);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.tool-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.tool-desc { font-size: 15px; color: var(--ink2); line-height: 1.6; }
.tool-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  margin-top: auto;
}
.tool-status.live { color: #1A7A40; }
.tool-status.live::before { content: ''; width: 7px; height: 7px; background: #22C55E; border-radius: 50%; }
.tool-status.soon { color: var(--muted); }
.tool-status.soon::before { content: ''; width: 7px; height: 7px; background: var(--border); border-radius: 50%; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 32px 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-ghs { color: var(--red); }
.footer-brand .logo-rest,
.footer-brand .logo-tld { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-grid { display: none; }
  .pic-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .section { padding-left: 20px; padding-right: 20px; }
  .pic-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .nav-links { gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
