/* PushBlocks Website */
:root {
  --bg: #f7f8f4;
  --card: #ffffff;
  --text: #1f241f;
  --muted: #5f6b61;
  --accent: #5fa56a;
  --accent-dark: #3f7d4b;
  --line: #e3e7df;
  --warning-bg: #fff7d6;
  --warning-line: #ead9a5;
  --shadow: 0 14px 40px rgba(31, 36, 31, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #eef6e8 0%, var(--bg) 44%, #f8f6ef 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 244, 0.82);
  border-bottom: 1px solid rgba(227, 231, 223, 0.8);
}

.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.035em;
  font-size: 1.25rem;
  color: var(--text);
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #b7773d, #8a5229);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.22), var(--shadow);
  color: #fff0d8;
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 650;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.hero {
  padding: 84px 0 54px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  margin: 24px 0 18px;
  letter-spacing: -0.08em;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 1.25rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: white;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.button:hover { text-decoration: none; background: #101410; }

.button.secondary {
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border: 1px solid var(--line);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section { padding: 38px 0; }

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  margin: 0 0 18px;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: -6px 0 22px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.worlds { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-icon, .world-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #edf4e8;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.card p { margin: 0; color: var(--muted); }

.page { padding: 54px 0 70px; }

.page-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.page h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-top: 0;
}

.page h2 { margin-top: 34px; letter-spacing: -0.04em; }
.page h3 { margin-top: 24px; }

.notice {
  padding: 16px 18px;
  border: 1px solid var(--warning-line);
  background: var(--warning-bg);
  border-radius: 18px;
  color: #685018;
}

.placeholder {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 8px;
  background: #eef1ea;
  color: #445047;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

ul.clean { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

@media (max-width: 920px) {
  .grid.worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-inner { height: auto; padding: 16px 0; align-items: flex-start; flex-direction: column; }
  .grid.features, .grid.two, .grid.worlds { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
}
