:root {
  color-scheme: dark;
  --bg: #061b18;
  --panel: rgba(8, 42, 37, 0.84);
  --text: #f4fff9;
  --muted: rgba(244, 255, 249, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --green: #27d07d;
  --blue: #24a7ff;
  --yellow: #f4c542;
  --orange: #ff7a1a;
  --red: #ff4d4f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(36, 167, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 4%, rgba(39, 208, 125, 0.2), transparent 28rem),
    linear-gradient(135deg, #061b18 0%, #082923 54%, #061613 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.25rem;
}

.brand-centered {
  display: block;
  width: 100%;
  text-align: center;
}

.brand-icon,
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand-icon {
  display: block;
  object-fit: cover;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green), var(--blue));
  color: #021310;
  font-weight: 900;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.hero {
  padding: 34px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
  gap: clamp(24px, 6vw, 54px);
  align-items: center;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: block;
  margin-bottom: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.55rem, 9vw, 5.8rem);
  max-width: 860px;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 740px;
}

.actions,
.store-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 28px;
  align-items: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: var(--text);
  color: #061b18;
}

.app-store-badge {
  display: inline-flex;
  width: 180px;
  max-width: 100%;
  opacity: 0.94;
}

.app-store-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.beta-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: -4px;
}

.demo-phone {
  width: 100%;
  max-width: 390px;
  justify-self: center;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  border-radius: 34px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.phone-screen {
  min-height: 640px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #103f38, #0d2e2a);
}

.hero-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #d7efb7;
}

.demo-sheet {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 24px;
  padding: 22px;
  background: rgba(3, 24, 21, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.demo-sheet h2 {
  font-size: 1.55rem;
}

.demo-sheet-icon,
.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--green);
  margin-bottom: 14px;
}

.demo-sheet-icon svg,
.feature-icon svg {
  width: 25px;
  height: 25px;
}

.sections,
.demo-sections {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 34px 0 60px;
}

.card,
.feature-card,
.feature-alert {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.feature-alert {
  position: relative;
  overflow: hidden;
  padding-left: 26px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.feature-alert::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--green);
}

.feature-alert-blue::before {
  background: var(--blue);
}

.feature-alert-green::before {
  background: var(--green);
}

.feature-alert-red::before {
  background: var(--red);
}

.feature-alert h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.feature-alert p {
  margin-bottom: 0;
}

.feature-alert-blue .feature-icon {
  color: var(--blue);
}

.feature-alert-green .feature-icon {
  color: var(--green);
}

.feature-alert-red .feature-icon {
  color: var(--red);
}

.page {
  padding: 36px 0 64px;
}

.content-panel {
  background: rgba(255, 255, 255, 0.94);
  color: #10201d;
  border-radius: 26px;
  padding: clamp(24px, 5vw, 52px);
}

.content-panel p,
.content-panel li {
  color: rgba(16, 32, 29, 0.76);
}

.content-panel a {
  color: #006d4f;
}

.content-panel h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.content-panel h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(244, 197, 66, 0.14);
  border: 1px solid rgba(244, 197, 66, 0.36);
}

.admin-login {
  max-width: 520px;
  margin: 8vh auto 0;
}

.admin-login form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.admin-login label {
  font-weight: 800;
}

.admin-login input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 32, 29, 0.18);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .site-header,
  .site-footer,
  .wrap {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    justify-content: flex-start;
  }

  .hero-layout,
  .sections,
  .demo-sections {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-icon {
    margin: 0 auto 18px;
  }

  .store-actions {
    align-items: center;
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .phone-screen {
    min-height: 590px;
  }

  .content-panel {
    border-radius: 20px;
  }
}
