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

@font-face {
  font-family: "Nabyt";
  src: url("assets/fonts/nabyt.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eeeadb;
  --paper: rgba(250, 246, 236, 0.88);
  --paper-strong: #f8f4ea;
  --white-soft: rgba(255, 255, 255, 0.42);
  --line: rgba(37, 88, 26, 0.11);
  --line-strong: rgba(37, 88, 26, 0.16);
  --text: #25581a;
  --text-soft: rgba(37, 88, 26, 0.76);
  --text-faint: rgba(37, 88, 26, 0.58);
  --accent: #a5677a;
  --shadow-soft: 0 18px 44px rgba(56, 71, 34, 0.08);
  --shadow-card: 0 22px 54px rgba(56, 71, 34, 0.1);
  --shadow-hero: 0 28px 64px rgba(56, 71, 34, 0.1);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 26%, rgba(123, 150, 98, 0.13), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(165, 103, 122, 0.05), transparent 18%),
    var(--bg);
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-bg {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(14px);
}

.page-bg-left {
  top: 110px;
  left: -150px;
  width: 440px;
  height: 620px;
  background: radial-gradient(circle at 50% 50%,
      rgba(150, 175, 122, 0.22),
      rgba(150, 175, 122, 0));
}

.page-bg-right {
  right: -220px;
  bottom: -190px;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle at 50% 50%,
      rgba(165, 103, 122, 0.1),
      rgba(165, 103, 122, 0));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 88px));
  margin: 0 auto;
  padding: 30px 0 32px;
}

.landing-shell {
  min-height: 100vh;
}

.admin-shell {
  max-width: 980px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 2px 0 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(56, 71, 34, 0.1);
  flex: 0 0 auto;
}

.brand-word {
  font-family: "Nabyt";
  font-size: 2rem;
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0.015em;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 24px;
  border: 1px solid rgba(37, 88, 26, 0.12);
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.76);
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(56, 71, 34, 0.04);
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 560px);
  gap: 70px;
  align-items: start;
  padding-top: 10px;
}

.landing-left {
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding-top: 10px;
  min-width: 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 20px;
  color: rgba(90, 127, 79, 0.72);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.headline {
  max-width: 1720px;
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(4.2rem, 5.8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.headline span {
  display: inline-block;
}

.subheadline {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.7;
}

.support-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding: 18px 20px;
  max-width: 520px;
  border-radius: 24px;
  background: rgba(247, 243, 232, 0.72);
  border: 1px solid rgba(37, 88, 26, 0.12);
  box-shadow: 0 14px 32px rgba(56, 71, 34, 0.06);
  backdrop-filter: blur(8px);
}

.support-kicker {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff7f2;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(165, 103, 122, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.support-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(165, 103, 122, 0.26);
  filter: brightness(1.02);
}

.support-link:focus-visible {
  outline: 2px solid rgba(165, 103, 122, 0.42);
  outline-offset: 3px;
}

.support-link-icon {
  font-size: 1rem;
  line-height: 1;
}

.support-note {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.93rem;
  line-height: 1.5;
}

.waitlist-card {
  width: 100%;
  max-width: 760px;
  margin-top: 2px;
  padding: 30px 30px 26px;
  border-radius: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.admin-card {
  max-width: none;
  margin-top: 0;
}

.card-head {
  margin-bottom: 18px;
}

.card-head h1,
.card-head h2,
.card-head h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.card-head p {
  margin: 0;
  color: var(--text-faint);
  font-size: 1rem;
  line-height: 1.55;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-form {
  max-width: 440px;
}

.input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(37, 88, 26, 0.26);
  box-shadow: 0 0 0 4px rgba(37, 88, 26, 0.05);
}

.input-label {
  color: var(--text-faint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 600;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: rgba(37, 88, 26, 0.34);
  font-weight: 500;
}

.btn-submit,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 24px;
  border: none;
  border-radius: 18px;
  background: var(--text);
  color: #f4efdf;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(37, 88, 26, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-submit:hover,
.link-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(37, 88, 26, 0.22);
  filter: brightness(1.01);
}

.btn-icon {
  font-size: 1.05em;
  line-height: 1;
}

.form-note,
.error-msg {
  margin: 0;
  font-size: 0.93rem;
}

.form-note {
  color: var(--text-faint);
  line-height: 1.55;
}

.error-msg {
  color: #9b3047;
  font-weight: 700;
}

.error-msg.visible {
  display: block;
}

.success-card {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px;
  margin-top: 4px;
  border-radius: 24px;
  border: 1px solid rgba(37, 88, 26, 0.14);
  background: linear-gradient(135deg,
      rgba(37, 88, 26, 0.08),
      rgba(37, 88, 26, 0.03));
}

.success-card.visible {
  display: flex;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(37, 88, 26, 0.1);
  font-size: 1.2rem;
  font-weight: 800;
}

.success-card h3,
.success-card p {
  margin: 0;
}

.success-card p {
  color: var(--text-faint);
  line-height: 1.55;
}

.success-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(165, 103, 122, 0.12);
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.bold {
  font-weight: 800;
  color: #9b3047 !important;
}

.success-link:hover {
  transform: translateY(-1px);
  background: rgba(165, 103, 122, 0.16);
  box-shadow: 0 10px 24px rgba(165, 103, 122, 0.12);
}

.success-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

.poster-stack {
  position: relative;
  width: min(100%, 560px);
}

.poster-note {
  position: absolute;
  top: -22px;
  left: -14px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 18px 18px 18px 8px;
  background: rgba(165, 103, 122, 0.97);
  color: #f9f1e5;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.28;
  box-shadow: 0 16px 30px rgba(165, 103, 122, 0.22);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: 16px;
  background: rgba(250, 246, 236, 0.96);
  border: 1px solid rgba(37, 88, 26, 0.08);
  box-shadow: var(--shadow-hero);
  transform: rotate(1.6deg);
}

.poster-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 30px;
  border: 1px solid rgba(37, 88, 26, 0.05);
  pointer-events: none;
}

.poster-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
}

.site-footer {
  padding-top: 20px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a,
.admin-link {
  text-underline-offset: 0.16em;
}

.footer-sep {
  padding: 0 8px;
}

.admin-layout {
  padding-top: 38px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-btn {
  min-width: 220px;
}

.feature-row,
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.feature-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 112px;
  padding: 18px 20px;
  background: rgba(247, 243, 232, 0.74);
  border: 1px solid rgba(37, 88, 26, 0.12);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(56, 71, 34, 0.06);
}

.feature-chip strong {
  font-size: 1rem;
}

.feature-chip span {
  color: var(--text-faint);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 22px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 18px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(37, 88, 26, 0.12);
}

.admin-table th {
  background: rgba(37, 88, 26, 0.08);
}

.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;
}

@media (max-width: 1360px) {
  .page-shell {
    width: min(100% - 56px, 1380px);
  }

  .landing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
    gap: 54px;
  }

  .landing-left {
    padding-top: 10px;
    gap: 38px;
  }

  .hero-visual {
    padding-top: 28px;
  }

  .headline {
    font-size: clamp(3.8rem, 5.2vw, 5.7rem);
  }
}

@media (max-width: 1120px) {
  .landing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 38px;
  }

  .landing-left {
    padding-top: 42px;
  }

  .headline {
    font-size: clamp(3.45rem, 4.9vw, 5rem);
  }

  .subheadline {
    font-size: 1.06rem;
  }

  .waitlist-card {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 8px;
  }

  .landing-left {
    padding-top: 12px;
    gap: 28px;
  }

  .hero-copy,
  .subheadline,
  .waitlist-card {
    max-width: 100%;
  }

  .hero-visual {
    justify-content: center;
    padding-top: 8px;
  }

  .poster-stack {
    width: min(100%, 560px);
  }

  .site-footer {
    padding-top: 24px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1380px);
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 4px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .brand-word {
    font-size: 2.9rem;
  }

  .header-pill {
    min-height: 50px;
    margin-top: 20px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .landing-grid {
    gap: 24px;
  }

  .landing-left {
    gap: 24px;
    padding-top: 6px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.94rem;
  }

  .headline {
    max-width: 100%;
    font-size: clamp(2.9rem, 13vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.07em;
  }

  .subheadline {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .waitlist-card {
    padding: 24px 20px 20px;
    border-radius: 28px;
  }

  .support-cta {
    margin-top: 22px;
    padding: 16px 16px;
    border-radius: 20px;
  }

  .support-link {
    width: 100%;
    justify-content: center;
  }

  .card-head {
    margin-bottom: 16px;
  }

  .card-head h1,
  .card-head h2,
  .card-head h3 {
    font-size: 1.42rem;
  }

  .input-group,
  .feature-row,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .btn-submit,
  .link-btn {
    width: 100%;
    min-height: 58px;
  }

  .poster-note {
    top: -10px;
    left: 10px;
    font-size: 0.86rem;
    padding: 14px 16px;
  }

  .poster-frame {
    transform: none;
    border-radius: 30px;
    padding: 14px;
  }

  .poster-frame::before {
    inset: 14px;
    border-radius: 22px;
  }

  .poster-image {
    border-radius: 22px;
  }

  .site-footer {
    font-size: 0.88rem;
  }
}

@media (max-width: 520px) {
  .brand-word {
    font-size: 2.45rem;
  }

  .header-pill {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 0.86rem;
  }

  .headline {
    font-size: 2.55rem;
  }

  .subheadline {
    font-size: 0.98rem;
    line-height: 1.64;
  }

  .support-kicker,
  .support-note {
    font-size: 0.9rem;
  }

  .waitlist-card {
    padding: 20px 16px 18px;
    border-radius: 26px;
  }

  .input-wrapper {
    padding: 13px 14px;
    border-radius: 16px;
  }

  .poster-note {
    position: static;
    display: inline-block;
    margin: 0 0 12px 8px;
  }

  .poster-stack {
    width: 100%;
  }

  .poster-frame {
    border-radius: 26px;
    padding: 12px;
  }

  .poster-frame::before {
    inset: 12px;
    border-radius: 18px;
  }

  .poster-image {
    border-radius: 18px;
  }

  .site-footer p {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .footer-sep {
    display: none;
  }
}