/* AstroGarden early-access waitlist page (waitlist/astrogarden/). Every rule is scoped to this page. */
.astrogarden-waitlist {
  --agw-orange: #ff6a08;
  --agw-amber: #ffb000;
  --agw-line: rgba(138, 143, 152, .24);
  --agw-border: rgba(255, 106, 8, .32);
  background:
    radial-gradient(circle at 72% 5%, rgba(255, 106, 8, .13), transparent 32rem),
    radial-gradient(circle at 15% 38%, rgba(255, 176, 0, .05), transparent 28rem),
    linear-gradient(180deg, #08090b, #050608);
}
.astrogarden-waitlist .site-header { background: rgba(8, 9, 11, .84); backdrop-filter: blur(14px); }
.astrogarden-waitlist .site-nav .nav-cta {
  background: linear-gradient(90deg, var(--agw-orange), var(--agw-amber));
  color: #160b02;
  box-shadow: 0 0 24px rgba(255, 106, 8, .22);
}
.astrogarden-waitlist h1,
.astrogarden-waitlist h2,
.astrogarden-waitlist h3 { font-family: var(--font-display); text-wrap: balance; }
.astrogarden-waitlist .section { border-top: 1px solid var(--agw-line); }
.astrogarden-waitlist .site-footer { background: #050608; }

/* Hero */
.agw-hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 7rem); }
.agw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 240, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}
.agw-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.agw-hero-copy { position: relative; z-index: 1; }
.agw-eyebrow,
.agw-card-index,
.agw-role-grid span {
  color: var(--agw-amber);
  font: 700 .7rem/1.2 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.agw-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  margin: 0 .7rem .22rem 0;
  background: var(--agw-orange);
}
.agw-hero h1 {
  max-width: 760px;
  margin: 1rem 0 1.6rem;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.045em;
}
.agw-hero h1 span { color: var(--agw-amber); }
.agw-lede { max-width: 650px; color: #c9cdd5; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; }
.agw-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.agw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.9rem;
  padding: .75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.agw-button:hover,
.agw-button:focus-visible { transform: translateY(-1px); }
.agw-button-primary {
  background: linear-gradient(135deg, var(--agw-orange), var(--agw-amber));
  color: #160b02;
  box-shadow: 0 0 25px rgba(255, 106, 8, .24);
}
.agw-button-secondary { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .2); color: var(--bone); }
.agw-proof { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.4rem; color: var(--ash); font-size: .8rem; }
.agw-proof span { padding-left: .8rem; border-left: 1px solid var(--agw-line); }
.agw-proof b { display: block; color: var(--bone); font: 700 1rem var(--font-display); }

/* Hero visual: the AstroGarden wordmark on a grid panel with workflow signals. */
.agw-hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.agw-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .6rem;
  width: min(25rem, 100%);
  padding: 4rem 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .65rem;
  background:
    linear-gradient(rgba(255, 176, 0, .07) 1px, transparent 1px) 0 0 / 2.2rem 2.2rem,
    linear-gradient(90deg, rgba(255, 176, 0, .07) 1px, transparent 1px) 0 0 / 2.2rem 2.2rem,
    linear-gradient(145deg, rgba(30, 34, 42, .94), rgba(9, 10, 13, .96));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.agw-panel img {
  width: min(17rem, 72vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(255, 106, 8, .22));
}
.agw-panel-label { color: var(--agw-amber); font: 700 .66rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.agw-signal {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .35rem;
  background: rgba(8, 9, 11, .9);
  color: #dce2ea;
  font: 700 .68rem var(--font-mono);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
}
.agw-signal i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--agw-orange); box-shadow: 0 0 10px var(--agw-orange); }
.agw-signal-top { top: 2.5rem; left: 0; }
.agw-signal-right { top: 50%; right: 0; }
.agw-signal-bottom { bottom: 2rem; left: 1.2rem; }

/* Three-step strip */
.agw-role-strip { border-top: 1px solid var(--agw-line); background: linear-gradient(180deg, rgba(255, 106, 8, .055), transparent); }
.agw-role-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.agw-role-grid article { min-height: 180px; padding: 2rem 1.5rem; }
.agw-role-grid article + article { border-left: 1px solid var(--agw-line); }
.agw-role-grid h2 { margin: .7rem 0 .3rem; font-size: 1.7rem; }

/* Sections and cards */
.agw-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.agw-section-dark { background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent); }
.agw-section-heading { max-width: 780px; margin-bottom: 3rem; }
.agw-section-heading h2 { margin: .6rem 0 1rem; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.04em; }
.agw-role-grid p,
.agw-section-heading > p:last-child,
.agw-card p { margin: 0; color: var(--ash); line-height: 1.65; }
.agw-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.agw-card {
  min-height: 220px;
  padding: 1.4rem;
  border: 1px solid var(--agw-line);
  border-radius: .55rem;
  background: linear-gradient(145deg, rgba(23, 27, 34, .92), rgba(12, 14, 18, .9));
}
.agw-card-accent { border-color: var(--agw-border); box-shadow: inset 0 2px 0 rgba(255, 106, 8, .3); }
.agw-card-index { display: block; margin-bottom: 2rem; }
.agw-card h3 { margin: 0 0 .5rem; font-size: 1.35rem; }

/* FAQ */
.agw-faq-list { max-width: 820px; border-top: 1px solid var(--agw-line); }
.agw-faq-list details { padding: 1.15rem 0; border-bottom: 1px solid var(--agw-line); }
.agw-faq-list summary { position: relative; padding-right: 2rem; font: 700 1.15rem var(--font-display); list-style: none; cursor: pointer; }
.agw-faq-list summary::-webkit-details-marker { display: none; }
.agw-faq-list summary::after { content: "+"; position: absolute; right: 0; color: var(--agw-orange); font: 700 1.2rem var(--font-mono); }
.agw-faq-list details[open] summary::after { content: "−"; }
.agw-faq-list details p { max-width: 680px; margin: 1rem 2rem 0 0; color: var(--ash); line-height: 1.7; }

/* Waitlist */
.agw-waitlist-section { padding-top: clamp(4rem, 8vw, 7rem); background: radial-gradient(circle at 78% 20%, rgba(255, 106, 8, .1), transparent 30rem); }
.agw-waitlist-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 2.5rem;
  max-width: 1040px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.agw-waitlist-intro h2 { margin: .6rem 0 1rem; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: .98; }
.agw-waitlist-intro p:not(.agw-eyebrow) { color: var(--ash); line-height: 1.7; }
.agw-waitlist-card .waitlist-form { margin: 0; }
.agw-waitlist-card .agw-button { width: 100%; border: 0; }
.agw-privacy { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .78rem; }

@media (max-width: 900px) {
  .agw-hero-grid,
  .agw-waitlist-card { grid-template-columns: 1fr; }
  .agw-hero-visual { order: -1; min-height: 340px; }
  .agw-card-grid { grid-template-columns: repeat(2, 1fr); }
  .agw-waitlist-card .waitlist-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .agw-hero { padding-top: 4rem; }
  .agw-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .agw-role-grid,
  .agw-card-grid { grid-template-columns: 1fr; }
  .agw-role-grid article { min-height: auto; padding: 1.5rem 0; }
  .agw-role-grid article + article { border-left: 0; border-top: 1px solid var(--agw-line); }
  /* Move the workflow tags into the visual's top and bottom margins so they never cover the wordmark. */
  .agw-hero-visual { min-height: auto; padding: 2.6rem 0; }
  .agw-signal-top { top: 0; left: 0; }
  .agw-signal-right { top: auto; right: 0; bottom: 0; }
  .agw-signal-bottom { bottom: 0; left: 0; }
  .agw-waitlist-card { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .astrogarden-waitlist * { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
