/* StayInAnswer — daytime lobby / linen hospitality (editorial elevation) */
:root {
  --ground: #faf8f5;
  --ground-deep: #f3efe8;
  --elevated: #ffffff;
  --ink: #0c1218;
  --ink-muted: #5c6570;
  --line: #e6e1da;
  --line-strong: #d9d2c8;
  --copper: #b07a45;
  --copper-deep: #966536;
  --danger: #c45c5c;
  --success: #3d7a55;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-panel: 0 18px 48px rgba(12, 18, 24, 0.09), 0 4px 14px rgba(12, 18, 24, 0.04);
  --shadow-soft: 0 6px 20px rgba(12, 18, 24, 0.06);
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --header-h: 4rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --wrap: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--ground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(176, 122, 69, 0.28);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ground-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
  border: 2px solid var(--ground-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copper);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

a {
  color: var(--copper-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

.wrap {
  width: min(var(--wrap), 100%);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
  box-sizing: border-box;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  background: rgba(250, 248, 245, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header .nav {
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: var(--space-4);
  min-height: 3.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark-img {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.logo-word {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  min-height: 2.85rem;
  border-radius: 999px;
  background: var(--copper);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(12, 18, 24, 0.08);
  transition: background 0.18s var(--ease-out), color 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta:hover {
  background: var(--copper-deep);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 18, 24, 0.12);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.75rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      102deg,
      #faf8f5 0%,
      rgba(250, 248, 245, 0.98) 26%,
      rgba(250, 248, 245, 0.88) 44%,
      rgba(250, 248, 245, 0.55) 62%,
      rgba(250, 248, 245, 0.18) 82%,
      rgba(250, 248, 245, 0.06) 100%
    ),
    linear-gradient(
      180deg,
      rgba(250, 248, 245, 0.35) 0%,
      transparent 28%,
      transparent 72%,
      rgba(250, 248, 245, 0.45) 100%
    ),
    url("assets/hotel-lobby.jpg");
  background-size: cover;
  background-position: 62% center;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.82fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero-enter {
  animation: hero-in 0.95s var(--ease-out) both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter {
    animation: none;
  }
}

.hero-copy h1 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.2vw, 3.85rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--ink);
  max-width: 12.5ch;
  text-wrap: balance;
}

.hero-category {
  margin: 0 0 var(--space-4);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 36rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.lede {
  margin: 0 0 var(--space-6);
  font-size: clamp(1.05rem, 1.5vw, 1.125rem);
  color: var(--ink-muted);
  max-width: 36rem;
  line-height: 1.65;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  max-width: 34rem;
}

.hero-points li {
  display: grid;
  grid-template-columns: 0.7rem 1fr;
  gap: 0.9rem;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

.hero-points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 3px rgba(176, 122, 69, 0.18);
}

#early-access {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Form panel */
.form-panel {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 2rem 1.85rem 2rem;
  position: relative;
}

.form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.7rem;
  right: 1.7rem;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), rgba(176, 122, 69, 0.15));
  border-radius: 0 0 2px 2px;
}

.form-panel h2 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.32;
  color: var(--ink);
}

.form-sub {
  margin: 0 0 1.55rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.field {
  margin-bottom: 1.15rem;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 0.9rem 1rem;
  min-height: 3rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--elevated);
  caret-color: var(--copper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder {
  color: rgba(92, 101, 112, 0.62);
}

input:hover {
  border-color: #cfc6ba;
}

input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(176, 122, 69, 0.2);
}

input.invalid {
  border-color: rgba(196, 92, 92, 0.7);
  box-shadow: 0 0 0 3px rgba(196, 92, 92, 0.15);
}

.field-error {
  display: none;
  margin-top: 0.4rem;
  color: var(--danger);
  font-size: 0.82rem;
}

.field-error.show {
  display: block;
}

.btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 11px;
  padding: 1rem 1.15rem;
  min-height: 3.15rem;
  background: var(--copper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(12, 18, 24, 0.08);
  transition: background 0.15s ease, transform 0.12s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--copper-deep);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(12, 18, 24, 0.12);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-inline {
  width: auto;
  min-width: 12.5rem;
  padding-inline: 1.5rem;
  flex-shrink: 0;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.45;
}

.thankyou {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.thankyou.show {
  display: block;
}

.thankyou-icon {
  width: 3.15rem;
  height: 3.15rem;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: rgba(61, 122, 85, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
}

.thankyou h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.thankyou p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.form-live {
  display: block;
}

.form-live.hide {
  display: none;
}

/* Sections */
section {
  padding: var(--space-8) 0;
}

.section-head {
  margin-bottom: var(--space-7);
  max-width: 40rem;
}

.section-head-wide {
  max-width: 44rem;
}

.section-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.32;
  color: var(--ink);
  text-wrap: balance;
}

.section-lede {
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  max-width: 40rem;
}

/* Examples */
.examples {
  background: var(--ground);
  border-top: 1px solid var(--line);
}

.examples-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.example-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}

.example-row:last-child {
  border-bottom: 1px solid var(--line);
}

.example-city {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--copper-deep);
  padding-top: 0.35rem;
}

.example-body {
  min-width: 0;
}

.example-prompt {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.35;
  max-width: 48rem;
  text-wrap: pretty;
}

.example-outcome {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 46rem;
}

/* Problem — open field, no nested card */
.problem {
  border-top: 1px solid var(--line);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  padding-inline: 0.25rem;
}

.problem-intro .section-lede {
  margin-top: var(--space-4);
}

.problem-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-inline: 0.15rem;
}

.editorial-block {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line-strong);
}

.editorial-block:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.editorial-block h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.32;
  color: var(--ink);
}

.editorial-block p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 34rem;
}

/* Offer */
.offer {
  border-top: 1px solid var(--line);
}

.offer-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 54rem;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.offer-row:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.32;
  color: var(--ink);
}

.offer-row p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* How */
.how {
  border-top: 1px solid var(--line);
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.how-intro .section-lede {
  margin-top: var(--space-4);
}

.audience-line {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  color: var(--copper-deep);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 28rem;
  letter-spacing: -0.01em;
}

.how-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: how;
}

.how-steps li {
  counter-increment: how;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
}

.how-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.how-steps li::before {
  content: counter(how);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: -0.02em;
  padding-top: 0.1rem;
  font-variant-numeric: tabular-nums;
}

.how-steps strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.how-steps span {
  display: block;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.how-steps li > strong,
.how-steps li > span {
  grid-column: 2;
}

.how-steps li > strong {
  grid-row: 1;
}

.how-steps li > span {
  grid-row: 2;
}

.how-steps li::before {
  grid-row: 1 / span 2;
}

/* CTA */
.cta-section {
  padding: var(--space-7) 0 var(--space-8);
  border-top: 1px solid var(--line);
  background: var(--ground);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(1.75rem, 3vw, 2.35rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
}

.cta-band-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.32;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}

.cta-band p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 34rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-5) 0 var(--space-6);
  color: var(--ink-muted);
  font-size: 0.9rem;
  background: var(--ground-deep);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-brand {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Tablet */
@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding: 3.25rem 0 3.5rem;
    align-items: stretch;
  }

  .hero-grid,
  .problem-layout,
  .how-layout,
  .offer-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: var(--space-6);
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .hero-bg {
    background-position: center 40%;
    background-image:
      linear-gradient(
        180deg,
        rgba(250, 248, 245, 0.97) 0%,
        rgba(250, 248, 245, 0.94) 48%,
        rgba(250, 248, 245, 0.9) 100%
      ),
      url("assets/hotel-lobby.jpg");
  }

  .example-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .offer-row {
    gap: var(--space-2);
  }

  .problem-layout,
  .how-layout {
    gap: var(--space-6);
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band-title {
    max-width: none;
  }

  .btn-inline {
    width: 100%;
  }
}

/* Phone */
@media (max-width: 720px) {
  .wrap {
    width: min(var(--wrap), 100%);
    padding-inline: 1.25rem;
  }

  .logo-word {
    font-size: 0.98rem;
  }

  .nav-cta {
    padding: 0.55rem 1rem;
    font-size: 0.86rem;
  }

  .hero {
    padding: 2.35rem 0 2.75rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.5vw, 2.55rem);
    max-width: none;
  }

  .form-panel {
    padding: 1.45rem 1.2rem 1.55rem;
  }

  .form-panel::before {
    left: 1.2rem;
    right: 1.2rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-head {
    margin-bottom: var(--space-6);
  }

  .example-row,
  .editorial-block,
  .offer-row,
  .how-steps li {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .cta-section {
    padding: 2.75rem 0 3.5rem;
  }
}

@media (max-width: 390px) {
  .nav-cta {
    font-size: 0.82rem;
    padding-inline: 0.85rem;
  }

  .logo-mark-img {
    width: 1.75rem;
    height: 1.75rem;
  }
}
