:root {
  color-scheme: light dark;
  --bg: #f7faf8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #141816;
  --muted: #5d6a62;
  --line: rgba(20, 24, 22, 0.12);
  --green: #22c55e;
  --blue: #2563eb;
  --coral: #ff6b57;
  --amber: #f59e0b;
  --shadow: 0 28px 80px rgba(18, 33, 25, 0.13);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b09;
    --surface: rgba(20, 25, 22, 0.76);
    --surface-strong: rgba(26, 32, 28, 0.9);
    --text: #f4f8f5;
    --muted: #a6b4ab;
    --line: rgba(255, 255, 255, 0.13);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 16% 4%, rgba(34, 197, 94, 0.17), transparent 26rem),
    radial-gradient(circle at 86% 14%, rgba(37, 99, 235, 0.12), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(255, 107, 87, 0.06) 72%, transparent),
    var(--bg);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

li {
  margin-top: 9px;
}

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

.forgebyte-strip {
  padding: 18px 0 0;
}

.forgebyte-home {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(18, 33, 25, 0.1);
  backdrop-filter: blur(18px);
}

.forgebyte-home:hover {
  text-decoration: none;
  background: var(--surface-strong);
}

.forgebyte-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(226, 77, 18, 0.22);
}

.forgebyte-copy {
  display: grid;
  color: var(--text);
  line-height: 1.12;
}

.forgebyte-copy strong {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forgebyte-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 820;
  letter-spacing: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.24);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 680;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 190px);
  padding: clamp(36px, 7vw, 88px) 0 54px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  line-height: 1.38;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  font-weight: 780;
  backdrop-filter: blur(18px);
}

.button.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.2);
}

.app-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-icon {
  width: min(64vw, 230px);
  aspect-ratio: 1;
  border-radius: 48px;
  box-shadow: 0 32px 70px rgba(18, 33, 25, 0.22);
}

.metric-stack {
  width: 100%;
  display: grid;
  gap: 10px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric strong {
  text-align: right;
  font-size: 0.98rem;
}

.metric.active {
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
}

.band {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 56%, transparent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  box-shadow: 0 18px 48px rgba(18, 33, 25, 0.08);
}

.tile-mark {
  width: 34px;
  height: 8px;
  display: block;
  border-radius: 99px;
  margin-bottom: 22px;
}

.tile-mark.green {
  background: var(--green);
}

.tile-mark.blue {
  background: var(--blue);
}

.tile-mark.coral {
  background: var(--coral);
}

.tile h2 {
  font-size: 1.28rem;
  line-height: 1.18;
}

.tile p,
.privacy-list p,
.content-card p,
.content-card li {
  color: var(--muted);
}

.tile p {
  margin-top: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  padding: 70px 0 76px;
}

.split h2 {
  max-width: 430px;
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.privacy-list {
  display: grid;
  gap: 16px;
  font-size: 1.06rem;
}

.content-card {
  margin: 32px 0 56px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.content-card h1 {
  max-width: 860px;
  margin-top: 12px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

.content-card h2 {
  margin-top: 34px;
  font-size: 1.35rem;
  line-height: 1.22;
}

.content-card h3 {
  margin-top: 24px;
  font-size: 1.08rem;
}

.content-card p {
  margin-top: 12px;
}

.date {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--amber) 34%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--amber) 12%, var(--surface));
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

  .hero-icon {
    border-radius: 34px;
  }

  .metric {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .metric strong {
    text-align: left;
  }
}
