:root {
  --olive: #4a5a2e;
  --olive-deep: #354220;
  --olive-bright: #5c6f38;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --muted: #3f3f3f;
  --white: #ffffff;
  --panel: rgba(255, 252, 247, 0.88);
  --panel-border: rgba(255, 255, 255, 0.7);
  --glass: #ffffff;
  --shadow: 0 18px 50px rgba(18, 22, 12, 0.22);
  --font: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: max(1rem, env(safe-area-inset-left));
  --pad-r: max(1rem, env(safe-area-inset-right));
  --pad-b: max(1rem, env(safe-area-inset-bottom));
  --pad-t: max(0.75rem, env(safe-area-inset-top));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: #1a1c14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(74, 90, 46, 0.22);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.bg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 55% at 50% 30%,
      rgba(255, 250, 240, 0.45) 0%,
      transparent 65%
    ),
    linear-gradient(
      180deg,
      rgba(255, 248, 236, 0.42) 0%,
      rgba(255, 248, 236, 0.12) 26%,
      rgba(12, 18, 14, 0.22) 58%,
      rgba(8, 12, 10, 0.68) 100%
    );
}

.content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1100px, calc(100% - var(--pad-x) - var(--pad-r)));
  margin: 0 auto;
  padding: var(--pad-t) 0 var(--pad-b);
}

.brand {
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
  flex-shrink: 0;
}

.logo {
  width: clamp(180px, 42vw, 260px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.5));
}

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 760px;
  padding: clamp(1rem, 3.5vh, 2.5rem) 0 clamp(0.75rem, 2vh, 1.5rem);
}

/* Frosted panel = guaranteed readable type over photo */
.hero-panel {
  width: 100%;
  text-align: center;
  padding: clamp(1.35rem, 3.5vw, 2.35rem) clamp(1.15rem, 3.5vw, 2.5rem)
    clamp(1.15rem, 3vw, 1.85rem);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.headline {
  margin: 0;
  font-size: clamp(2rem, 6.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15em 0.28em;
}

.headline-dark {
  color: var(--ink);
}

.headline-green {
  color: var(--olive);
}

.headline-green sup {
  font-size: 0.36em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 0.05em;
}

.tagline {
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.lede {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

.soon {
  display: inline-block;
  margin: clamp(1.35rem, 3vh, 1.85rem) 0 1rem;
  padding: 0.55rem 1.15rem;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--olive-deep);
  border: 0;
  border-radius: 999px;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(53, 66, 32, 0.3);
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.notify {
  width: min(100%, 420px);
  margin: 0 auto;
}

.notify-bar {
  display: flex;
  align-items: stretch;
  background: var(--glass);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(20, 24, 12, 0.12);
  padding: 0.3rem;
  border: 1px solid rgba(30, 36, 20, 0.1);
}

.notify-bar:focus-within {
  border-color: rgba(74, 90, 46, 0.45);
  box-shadow: 0 10px 28px rgba(20, 24, 12, 0.16);
}

.notify input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.8rem 1.05rem;
  min-height: 48px;
}

.notify input::placeholder {
  color: #6f6f6f;
  font-weight: 400;
}

.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.8rem 1.3rem;
  min-height: 48px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.notify-btn:hover,
.notify-btn:focus-visible {
  background: var(--olive-deep);
}

.notify-btn:focus-visible {
  outline: 2px solid var(--olive-bright);
  outline-offset: 2px;
}

.notify-btn:active {
  transform: scale(0.98);
}

.notify-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.notify-btn svg {
  flex-shrink: 0;
}

.form-msg {
  min-height: 1.4rem;
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--olive-deep);
}

.form-msg.error {
  color: #9b1c1c;
}

.categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1.35rem);
  width: 100%;
  max-width: 980px;
  margin-top: auto;
  padding: clamp(0.85rem, 2vh, 1.5rem) 0.25rem 0.35rem;
  flex-shrink: 0;
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 48px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 14px rgba(0, 0, 0, 0.5);
}

.cat svg {
  width: clamp(34px, 5vw, 46px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.cat span {
  font-size: clamp(0.75rem, 1.4vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.3;
  max-width: 11ch;
}

/* —— Tablet —— */
@media (max-width: 900px) {
  .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.1rem;
  }

  .cat span {
    max-width: 14ch;
  }
}

/* —— Mobile —— */
@media (max-width: 600px) {
  .content {
    width: min(100%, calc(100% - 1.25rem));
  }

  .hero-panel {
    padding: 1.25rem 1rem 1.1rem;
    border-radius: 1.25rem;
  }

  .headline {
    flex-direction: column;
    gap: 0.05em;
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
  }

  .tagline {
    font-size: 1.05rem;
  }

  .lede {
    font-size: 0.98rem;
  }

  .soon {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 0.42rem 0.8rem;
    max-width: 100%;
  }

  .notify-bar {
    flex-direction: column;
    border-radius: 1.15rem;
    padding: 0.4rem;
  }

  .notify input {
    text-align: center;
    padding: 0.85rem 0.9rem;
  }

  .notify-btn {
    width: 100%;
  }

  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 0.5rem;
    padding-top: 1.1rem;
  }

  .cat span {
    max-width: 15ch;
    font-size: 0.78rem;
  }

  .bg-veil {
    background:
      linear-gradient(
        180deg,
        rgba(255, 248, 236, 0.5) 0%,
        rgba(255, 248, 236, 0.18) 28%,
        rgba(12, 18, 14, 0.3) 60%,
        rgba(8, 12, 10, 0.7) 100%
      );
  }
}

/* —— Short landscape —— */
@media (max-height: 560px) and (orientation: landscape) {
  .page {
    min-height: auto;
  }

  .content {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }

  .hero {
    padding: 0.5rem 0;
    flex: 0 1 auto;
  }

  .lede {
    display: none;
  }

  .hero-panel {
    padding: 0.85rem 1.25rem 0.75rem;
  }

  .categories {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
    padding-top: 0.5rem;
  }

  .cat span {
    font-size: 0.62rem;
    max-width: none;
  }

  .headline {
    flex-direction: row;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
  }

  .soon {
    margin: 0.65rem 0 0.55rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  .headline {
    font-size: 1.65rem;
  }

  .soon {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
  .brand,
  .hero-panel,
  .categories {
    animation: rise 0.65s var(--ease) both;
  }

  .hero-panel {
    animation-delay: 0.06s;
  }

  .categories {
    animation-delay: 0.14s;
  }
}

@keyframes rise {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

/* Fallback when backdrop-filter unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-panel {
    background: rgba(255, 252, 247, 0.96);
  }
}
