/* ===========================================================================
   offer.css — layer on top of the site's styles.css for galebach.com/offer/
   Mobile-first. Navy ground, cream type, gold only as hairlines and small
   glyphs (no gold fills). Square corners inherited from --radius: 0.
   =========================================================================== */

body {
  min-width: 20rem;
}

/* ---------- Slim landing header (no nav) ---------------------------------- */

.offer-header {
  align-items: center;
  background: #051433;
  border-bottom: 1px solid var(--nav-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 3.6rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 20;
}

.offer-header .header-logo {
  height: 1.9rem;
}

.offer-brand {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.offer-brand .wordmark {
  color: var(--cream);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}

@media (max-width: 22.5rem) {
  .offer-brand .wordmark {
    display: none;
  }
}

/* Hairline text button — never a gold fill. */
.text-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--gold-line-strong);
  color: var(--cream);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 2.3rem;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.text-button:hover,
.text-button:focus-visible {
  background: rgba(241, 234, 217, 0.07);
  border-color: var(--cream);
}

.text-button--wide {
  font-size: 0.62rem;
  min-height: 3.2rem;
  width: 100%;
}

.text-button .tb-glyph {
  color: var(--gold-readable);
  font-size: 0.8rem;
  line-height: 1;
}

/* ---------- Page shell ---------------------------------------------------- */

.offer-main {
  margin: 0 auto;
  max-width: 78rem;
  padding: clamp(1.6rem, 5vw, 3.4rem) clamp(1.1rem, 4vw, 3rem)
    clamp(2.4rem, 6vw, 4.5rem);
}

.offer-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

/* ---------- Hero -------------------------------------------------------- */

.offer-headline {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 9.6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

/* styles.css sets `h1 em { display: block }` for the site hero — not wanted here. */
.offer-headline em {
  color: var(--gold-readable);
  display: inline;
  font-style: italic;
}

.offer-sub {
  color: var(--cream-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-top: 0.9rem;
  max-width: 34rem;
  text-transform: uppercase;
}

.offer-sub strong {
  color: var(--cream);
  font-weight: 700;
}

/* The two explicit promises — 10 minutes, free to start. */
.promise-row {
  border-top: 1px solid var(--gold-line);
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.promise {
  border-bottom: 1px solid var(--gold-line);
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
}

.promise-num {
  color: var(--gold-readable);
  flex: 0 0 auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-top: 0.12rem;
}

.promise-text {
  color: var(--cream-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.promise-text b {
  color: var(--cream);
}

@media (min-width: 34rem) {
  .promise-row {
    grid-template-columns: 1fr 1fr;
  }

  .promise + .promise {
    border-left: 1px solid var(--gold-line);
    padding-left: 1.2rem;
  }
}

/* ---------- Tim / proof block ------------------------------------------- */

.proof {
  display: grid;
  gap: 1.1rem;
}

.proof-photo {
  border: 1px solid var(--cream-line);
  display: block;
  overflow: hidden;
  position: relative;
}

.proof-photo img {
  display: block;
  filter: saturate(0.85) contrast(1.03);
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  width: 100%;
}

.proof-photo figcaption {
  background: linear-gradient(to top, rgba(5, 20, 51, 0.94), rgba(5, 20, 51, 0));
  bottom: 0;
  left: 0;
  padding: 2.2rem 0.9rem 0.75rem;
  position: absolute;
  right: 0;
}

.proof-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.05;
}

.proof-role {
  color: var(--cream-quiet);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.guarantee {
  border: 1px solid var(--gold-line);
  padding: 1rem 1.05rem 1.1rem;
}

.guarantee h2 {
  color: var(--gold-readable);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guarantee p {
  font-size: 0.86rem;
  line-height: 1.55;
  margin-top: 0.6rem;
}

.guarantee p + p {
  color: var(--cream-muted);
  font-size: 0.78rem;
  margin-top: 0.55rem;
}

/* Source: documents/facts/faq.md — do not reword on the page alone. */

.offer-quote {
  border-left: 1px solid var(--gold-line-strong);
  padding-left: 1.1rem;
}

.offer-quote blockquote {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.28;
}

.offer-quote .attribution {
  color: var(--cream-quiet);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-top: 0.7rem;
  text-transform: uppercase;
}

/* ---------- Form card ---------------------------------------------------- */

.form-card {
  background: var(--navy-raised);
  border: 1px solid var(--gold-line);
  padding: clamp(1.1rem, 4vw, 1.8rem);
}

.form-card-head p {
  color: var(--cream-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.form-fields {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.3rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  color: var(--cream-quiet);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.field label .req {
  color: var(--gold-readable);
}

/* The open question is a full sentence — mono caps stay scarce, so this one
   label is set in sentence case at reading size. */
.field label.label--sentence {
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.field .help {
  color: var(--cream-quiet);
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.field input,
.field textarea {
  background: rgba(5, 20, 51, 0.75);
  border: 1px solid var(--cream-line);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 1rem; /* 16px — stops iOS zoom-on-focus */
  min-height: 2.9rem;
  padding: 0.6rem 0.7rem;
  width: 100%;
}

.field textarea {
  line-height: 1.5;
  min-height: 6rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(241, 234, 217, 0.32);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--focus);
  outline: none;
}

@media (min-width: 34rem) {
  .form-fields {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

/* Primary action: cream fill on navy. Gold is never a fill. */
.submit-button {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.8rem;
  justify-content: center;
  letter-spacing: 0.12em;
  margin-top: 1.3rem;
  min-height: 3.5rem;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
  width: 100%;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--cream-deep);
}

.form-alt {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.form-alt .or {
  color: var(--cream-quiet);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.form-fineprint {
  color: var(--cream-quiet);
  font-size: 0.66rem;
  line-height: 1.5;
  margin-top: 0.9rem;
}

/* Submission problems: a hairline gold-edged line inside the navy card, with
   the SMS escape hatch. No red — it is not in the palette. */
.form-error {
  border-left: 2px solid var(--gold-line-strong);
  color: var(--cream);
  font-size: 0.74rem;
  line-height: 1.5;
  margin-top: 0.9rem;
  padding-left: 0.75rem;
}

.form-error[hidden] {
  display: none;
}

.form-error a {
  color: var(--gold-readable);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line-strong);
}

/* ---------- Step 2: scheduler ------------------------------------------- */

.sched-band {
  background: var(--cream);
  border-top: 1px solid var(--gold-line-strong);
  color: var(--ink);
  scroll-margin-top: 4rem;
}

.sched-band[hidden] {
  display: none;
}

.sched-inner {
  margin: 0 auto;
  max-width: 78rem;
  padding: clamp(1.7rem, 5vw, 3rem) clamp(1.1rem, 4vw, 3rem)
    clamp(2.2rem, 6vw, 3.6rem);
}

.sched-confirm {
  border: 1px solid var(--ink-line);
  margin-bottom: clamp(1.4rem, 4vw, 2rem);
  padding: 0.85rem 1rem;
}

.sched-confirm p {
  font-size: 0.78rem;
  line-height: 1.5;
}

.sched-confirm .tick {
  color: var(--gold-dark);
  font-weight: 700;
}

.sched-step {
  color: var(--gold-dark);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sched-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
  margin-top: 0.5rem;
}

.sched-lede {
  color: var(--navy-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin-top: 0.6rem;
  max-width: 32rem;
}

/* Structure mirrors site/get-started/index.html so the real scheduler can be
   dropped in unchanged; the mockup fills it from a static month generator. */
.gs-durations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.3rem 0 1.1rem;
}

.gs-chip {
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-height: 2.4rem;
  padding: 0.4rem 0.9rem;
}

.gs-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.gs-cal-layout {
  display: grid;
  gap: 1.2rem;
}

.gs-cal {
  border: 1px solid var(--ink-line);
}

.gs-cal-head {
  align-items: center;
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
}

.gs-cal-head h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.gs-cal-nav {
  display: flex;
  gap: 0.3rem;
}

.gs-cal-nav button {
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
  height: 1.8rem;
  width: 1.8rem;
}

.gs-cal table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.gs-cal th {
  color: var(--navy-muted);
  font-family: var(--mono);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5rem 0 0.25rem;
  text-transform: uppercase;
}

.gs-cal td {
  padding: 0.14rem;
  text-align: center;
}

.gs-day {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(16, 24, 44, 0.3);
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.5rem 0;
  width: 100%;
}

.gs-day--open {
  background: var(--cream-deep);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.gs-day--selected {
  background: var(--ink);
  color: var(--cream);
}

.gs-slots h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.gs-slots .gs-tz {
  color: var(--navy-muted);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0.7rem;
  text-transform: uppercase;
}

.gs-slot {
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  min-height: 2.6rem;
  padding: 0.5rem 0;
  text-align: center;
  width: 100%;
}

.gs-slot[aria-pressed="true"],
.gs-slot:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.gs-day:focus-visible,
.gs-slot:focus-visible,
.gs-chip:focus-visible,
.gs-cal-nav button:focus-visible,
.book-button:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* Live status line written by ../get-started/scheduler.js. */
.sched-status {
  color: var(--navy-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.sched-status[data-state="error"] {
  color: #8b2929;
}

/* Replaces the whole booking form once the meeting is confirmed. */
.gs-success {
  border: 1px solid var(--ink-line);
  margin: 0 auto;
  max-width: 78rem;
  padding: clamp(1.7rem, 5vw, 3rem) clamp(1.1rem, 4vw, 3rem);
}

.gs-success h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.gs-success p {
  color: var(--navy-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.sched-actions {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.book-button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 3.5rem;
  text-transform: uppercase;
  width: 100%;
}

/* Disabled reads as an outline, not a grey fill — grey is not in the palette. */
.book-button[disabled] {
  background: transparent;
  border-color: var(--ink-line);
  color: var(--navy-muted);
  cursor: not-allowed;
}

.sched-note {
  color: var(--navy-muted);
  font-size: 0.72rem;
  line-height: 1.5;
  max-width: 30rem;
}

.text-button--ink {
  border-color: var(--ink-line);
  color: var(--ink);
}

.text-button--ink .tb-glyph {
  color: var(--gold-dark);
}

.text-button--ink:hover,
.text-button--ink:focus-visible {
  background: rgba(16, 24, 44, 0.06);
  border-color: var(--ink);
}

@media (min-width: 46rem) {
  .gs-cal-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(10rem, 1fr);
  }

  .sched-actions {
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .book-button {
    min-width: 14rem;
    width: auto;
  }
}

/* ---------- Footer ------------------------------------------------------- */

.offer-footer {
  align-items: center;
  background: var(--navy-deep);
  border-top: 1px solid var(--gold-line);
  color: var(--cream-quiet);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.55rem;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  letter-spacing: 0.09em;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.1rem, 4vw, 3rem);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
