*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #d7f0da;
  font-family: "Inter", sans-serif;
  color: #202223;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #222136;
  box-shadow: 0px 2px 2px -1px rgba(0, 0, 0, 0.15);
  height: 75px;
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 40px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.logo-name {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: #fbfcfd;
  line-height: 1;
}
.logo-sub {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #fff;
  line-height: 1.2;
  max-width: 131px;
  text-align: justify;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
  text-decoration: none;
  padding: 12px 12px 12px 12px;
  transition: opacity 0.15s;
}
.nav-link:hover {
  opacity: 0.75;
}
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2c6ecb;
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-blue:hover {
  background: #2458a8;
}
.btn-blue .ti {
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Hero ── */
#hero {
  background: #222136;
  padding-top: 75px; /* navbar height */
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 597px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 692px;
  flex: 1;
}
.hero-h1 {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 60px;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: #ffc152;
}
.hero-sub {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 120%;
  color: #fff;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline-white .ti {
  font-size: 16px;
}

/* Product screenshot */
.hero-img {
  width: 482px;
  flex-shrink: 0;
  filter: drop-shadow(15px 19px 28px rgba(0, 0, 0, 0.25));
  border-radius: 10px;
  overflow: hidden;
}
.hero-img img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* ── Section wrapper ── */
.section-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 128px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-header--tight {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mt-20 {
  margin-top: 20px;
}
.nav-links .btn-blue {
  margin-left: 8px;
}
.footer-partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.section-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  color: #202223;
}
.section-sub {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #202223;
}

/* ── What is ── */
#what-is {
  background: #d7f0da;
}
.what-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #202223;
  padding-bottom: 10px;
}
.feat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-card {
  background: #fff4f4;
  border-radius: 4px;
  padding: 24px;
  gap: 5px;
  display: flex;
  flex-direction: column;
}
.feat-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  font-size: 34px;
  line-height: 1;
}
.feat-label {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #202223;
}
.feat-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #202223;
}

/* ── Promo Banner ── */
#promo {
  background: #d7f0da;
}
.promo-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 128px;
}
.promo-band {
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url("assets/flood_heat.png") center/cover no-repeat;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 58px 48px;
  gap: 20px;
  margin-top: 20px;
}
.promo-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 580px;
}
.promo-title-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}
.promo-ids {
  white-space: nowrap;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: 0.14em;
  color: #ffc152;
  line-height: 1;
}
.promo-full {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: #ffc152;
}
.promo-divider {
  border: 2px solid #ffc152;
  width: 100%;
}
.promo-tagline {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  text-align: left;
  color: #fff;
}
.no-break {
  white-space: nowrap;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffc152;
  color: #202223;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-band .btn-gold {
  margin-left: auto;
}
.btn-gold:hover {
  background: #e8a020;
}
.btn-gold .ti {
  font-size: 16px;
}

/* ── Deploy ── */
#deploy {
  background: #f6f6f7;
}
.deploy-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.deploy-row {
  background: #fff;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.deploy-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.deploy-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-size: 34px;
  line-height: 1;
}
.deploy-text-block {
  display: flex;
  flex-direction: column;
}
.deploy-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #202223;
}
.deploy-sub {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #6d7175;
}
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2c6ecb;
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-read:hover {
  background: #2458a8;
}
.btn-read .ti {
  font-size: 16px;
}

/* ── Repos ── */
#repositories {
  background: #d7f0da;
}
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.repo-card {
  background: #f1f2f3;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 200px;
}
.repo-top {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.repo-label {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #202223;
}
.repo-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #202223;
}
.btn-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2c6ecb;
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-view:hover {
  background: #2458a8;
}
.btn-view .ti {
  font-size: 16px;
}

/* ── Contribute ── */
#contribute {
  background: #d7f0da;
}
.contribute-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 128px 64px;
}
.contribute-card {
  background: #222136;
  border-radius: 8px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contrib-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 863px;
}
.contrib-h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  color: #ffc96b;
}
.contrib-p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.contrib-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  min-width: 241px;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.check-item .ti {
  font-size: 20px;
  flex-shrink: 0;
}
.check-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}
.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2c6ecb;
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
  width: fit-content;
}
.btn-github:hover {
  background: #2458a8;
}
.btn-github .ti {
  font-size: 16px;
}

/* ── Footer ── */
footer {
  background: #222136;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  flex: 0 1 auto;
  min-width: 0;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 4.67px;
}
.footer-logo-name {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.12em;
  color: #fbfcfd;
  line-height: 1;
}
.footer-logo-sub {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 11.67px;
  color: #fff;
  line-height: 1.2;
  text-align: justify;
  max-width: 153px;
}
.footer-divider {
  width: 0;
  height: 40px;
  border-left: 2px solid #fbfcfd;
}
.footer-partners {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-partner-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 1 auto;
  margin-left: auto;
}
.footer-made {
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.footer-by {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: right;
}
.footer-partner-link {
  color: #fff;
  text-decoration: none;
}
.footer-partner-link:hover {
  text-decoration: underline;
}
.underline {
  text-decoration: underline;
}

/* Tabler Icons */
.ti {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}
.repo-top > .ti {
  font-size: 34px;
  line-height: 1;
}
#mob-btn .ti {
  font-size: 24px;
  color: #fff;
}
.icon-green {
  color: #92e6b5;
}
.icon-gold {
  color: #ffc96b;
}
.icon-white {
  color: #ffffff;
}

/* scroll offset */
.scroll-target {
  scroll-margin-top: 75px;
}

/* Mobile */
#mob-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
#mob-menu {
  display: none;
}

@media (max-width: 1024px) {
  .hero-inner {
    padding: 60px 40px;
    flex-direction: column;
  }
  .hero-h1 {
    font-size: 32px;
    line-height: 44px;
  }
  .hero-sub {
    font-size: 20px;
  }
  .hero-img {
    width: 100%;
    max-width: 480px;
  }
  .section-wrap {
    padding: 48px 40px;
  }
  .feat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-inner {
    padding: 0 40px;
  }
  .contribute-inner {
    padding: 0 40px 48px;
  }
  .contribute-card {
    flex-direction: column;
  }
  .promo-band {
    padding: 40px 32px;
    gap: 16px;
  }
  .promo-band .btn-gold {
    margin-left: 0;
  }
  .promo-ids {
    font-size: 36px;
  }
  .promo-full {
    font-size: 16px;
  }
  .footer-inner {
    padding: 32px 40px;
    gap: 20px;
  }
  .footer-right {
    margin-left: 0;
  }
  .footer-left {
    gap: 16px;
  }
  .nav-links {
    display: none;
  }
  #mob-btn {
    display: block;
  }
}
@media (max-width: 640px) {
  .feat-cards {
    grid-template-columns: 1fr;
  }
  .repo-grid {
    grid-template-columns: 1fr;
  }
  .deploy-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .promo-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 16px;
  }
  .promo-left {
    max-width: 100%;
  }
  .promo-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .promo-ids,
  .no-break {
    white-space: normal;
    font-size: 28px;
    letter-spacing: 0.1em;
  }
  .promo-full {
    font-size: 14px;
    line-height: 130%;
  }
  .promo-tagline {
    font-size: 11px;
    line-height: 140%;
  }
  .btn-gold {
    width: 100%;
    justify-content: center;
  }
  .section-wrap {
    padding: 40px 20px;
  }
  .promo-inner,
  .contribute-inner {
    padding: 0 20px 40px;
  }
  .hero-inner {
    padding: 40px 20px;
  }
  .nav-inner {
    padding: 16px 20px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px;
    gap: 20px;
  }
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
  }
  .footer-divider {
    display: none;
  }
  .footer-partners {
    width: 100%;
  }
  .footer-partner-row {
    gap: 12px;
  }
  .footer-partner-img {
    height: 40px;
    max-width: 100%;
  }
  .footer-right {
    align-items: flex-start;
    width: 100%;
  }
  .footer-by {
    text-align: left;
  }
  .footer-logo-sub {
    max-width: none;
  }
}
#mob-menu.open {
  display: block;
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  background: #222136;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#mob-menu a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#mob-menu a:last-child {
  border-bottom: none;
}
