:root {
  color-scheme: light;
  --bg: #f3efe6;
  --ink: #1b1a17;
  --muted: #58524a;
  --accent: #d45535;
  --accent-dark: #a33b22;
  --card: #fff;
  --stroke: #d6cbb8;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --menu-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 0;
}

.statusbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f3efe6;
  color: #1b1a17;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  border-bottom: 1px solid #e0d6c6;
  box-shadow: 0 6px 12px rgba(27, 26, 23, 0.08);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.status-logo-link {
  display: inline-flex;
  align-items: center;
}

.status-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.status-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-subline {
  font-size: 0.85rem;
  color: var(--muted);
}

.menu {
  position: relative;
}

.status-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.public-login-button {
  background: #d45536;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(27, 26, 23, 0.12);
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.public-login-button:hover {
  transform: none;
  box-shadow: 0 14px 26px rgba(27, 26, 23, 0.16);
}

#menuToggle {
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid #e0d6c6;
  border-radius: 16px;
  cursor: pointer;
  color: #1b1a17;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(27, 26, 23, 0.12);
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

#menuToggle:hover {
  transform: none;
  box-shadow: 0 14px 26px rgba(27, 26, 23, 0.16);
}

.hamburger-lines {
  width: 22px;
  height: 16px;
  display: grid;
  align-content: space-between;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--menu-shadow);
  min-width: 240px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee0cb;
}

.menu-panel.is-open {
  display: flex;
}

.menu-panel a {
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.menu-panel a:hover {
  background: #f3efe6;
}

.page {
  position: relative;
  z-index: 1;
  padding: 56px 7vw 64px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

.hero {
  display: grid;
  gap: 20px;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
}

.brand {
  font-family: "Poppins", "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 700;
  color: #d45536;
  font-size: 18px;
  display: inline-block;
  white-space: nowrap;
}

span.brand-1,
span.brand-2 {
  position: relative;
  left: 2px;
}

span.brand-4 {
  position: relative;
  right: 1px;
}

span.brand-5 {
  position: relative;
  right: 2px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.02;
  max-width: 18ch;
}

.hero__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 52ch;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
  box-shadow: 0 12px 24px rgba(212, 85, 53, 0.22);
}

.primary:hover {
  transform: none;
  box-shadow: 0 16px 28px rgba(212, 85, 53, 0.28);
}

.ghost {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 8px;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 28px;
}

.panel--compact {
  gap: 18px;
}

.panel--accent {
  border: 2px solid #d45536;
  box-shadow: 0 18px 36px rgba(212, 85, 54, 0.16);
  background: linear-gradient(180deg, #fff 0%, #fff7f4 100%);
}

.panel__intro {
  display: grid;
  gap: 12px;
  max-width: 58ch;
}

.panel__sublead {
  margin-top: -6px;
  font-weight: 600;
  color: #6a3a2f;
}

.panel__strong {
  font-weight: 700;
  color: #1b1a17;
}

.panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: #fff;
  display: grid;
  gap: 10px;
  min-height: 140px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 85, 53, 0.4);
}

.card h3 {
  font-size: 1.15rem;
}

.card p,
.panel p {
  color: var(--muted);
  line-height: 1.6;
}

.dev-login__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dev-login__button {
  background: #1b1a17;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(27, 26, 23, 0.12);
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.dev-login__button:hover {
  transform: none;
  box-shadow: 0 14px 26px rgba(27, 26, 23, 0.16);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  margin-top: 0;
  background: #f2ded6;
  color: #1b1a17;
  padding: 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-height: 20px;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-left a {
  color: #1b1a17;
  text-decoration: none;
  margin-left: 12px;
}

.footer-left a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .statusbar {
    align-items: center;
    padding: 14px 16px;
  }

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

  .status-text {
    display: none;
  }

  .status-actions {
    align-items: center;
  }

  .page {
    padding: 28px 0 48px;
    gap: 4px;
  }

  .panel,
  .hero {
    margin-top: 4px;
    border-radius: 0;
  }

  .hero,
  .panel {
    padding: 24px 16px;
  }

  .site-footer {
    padding: 20px 16px;
    justify-content: flex-start;
    max-height: none;
  }
}
