/* ============================================================================
   Avogado — Get Started (signup) page
   Centered 1040px two-pane card mirroring the app's signup screen.
   Left: dark brand panel (440px). Right: create-workspace form.
   ========================================================================== */

.gs-body { min-height: 100vh; display: flex; flex-direction: column; }

.gs-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 32px 72px;
}

/* ---- The card -------------------------------------------------------------- */
.gs-card {
  width: 100%; max-width: 1040px;
  background: var(--card);
  border-radius: var(--r-frame);
  box-shadow: var(--sh-frame);
  overflow: hidden;
  display: flex;
}

/* ---- Left brand panel ------------------------------------------------------- */
.gs-brand {
  width: 440px; flex: none;
  background: var(--skin);
  padding: 44px 44px 40px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
/* two faint radial sage circles as texture */
.gs-brand::before, .gs-brand::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.gs-brand::before { width: 340px; height: 340px; background: rgba(157, 179, 90, .06); top: -90px; right: -120px; }
.gs-brand::after  { width: 260px; height: 260px; background: rgba(157, 179, 90, .05); bottom: -60px; left: -80px; }

.gs-lockup { display: flex; align-items: center; gap: 11px; position: relative; }
.gs-lockup img { width: 26px; height: 36px; object-fit: contain; }
.gs-lockup__name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--skinTx); line-height: 1.25; }
.gs-lockup__by { font-size: 10.5px; color: var(--skinMut); }

.gs-brand__title {
  font-family: var(--serif);
  font-size: 29px; line-height: 1.25; font-weight: 500;
  color: var(--skinTx);
  margin: 44px 0 0; position: relative;
  text-wrap: balance;
}

/* ---- Stepper ------------------------------------------------------------------ */
.gs-steps {
  list-style: none;
  margin: 40px 0 0; padding: 0;
  position: relative;
  display: flex; flex-direction: column;
}
.gs-step { display: flex; gap: 15px; }
.gs-step__rail { display: flex; flex-direction: column; align-items: center; }
.gs-step__num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.gs-step__num--filled { background: var(--accent); color: #fff; }
.gs-step__num--outline { border: 1.5px solid var(--skin3); color: var(--skinMut); }
.gs-step__line { width: 1px; flex: 1; background: var(--skin3); margin: 6px 0; }
.gs-step__body { padding-bottom: 26px; }
.gs-step:last-child .gs-step__body { padding-bottom: 0; }
.gs-step__title { font-size: 14px; font-weight: 600; color: var(--skinTx); }
.gs-step__sub { font-size: 12.5px; line-height: 1.55; color: var(--skinMut); margin-top: 3px; }

.gs-brand__spacer { flex: 1; }

/* ---- Reassurance lines ------------------------------------------------------------ */
.gs-assure {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 36px;
  font-size: 12.5px; color: var(--skinMut);
}
.gs-assure div { display: flex; gap: 8px; }
.gs-assure .check { color: var(--logoGreen); font-weight: 700; }

/* ---- Right form pane ----------------------------------------------------------------- */
.gs-pane { flex: 1; min-width: 0; padding: 44px 52px 40px; display: flex; flex-direction: column; }

.gs-signin { text-align: right; font-size: 13px; color: var(--mut); }
.gs-signin a { color: var(--accentDeep); font-weight: 600; text-decoration: none; }
.gs-signin a:hover { color: var(--accent); }

.gs-col {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 380px; width: 100%;
  margin: 0 auto;
}
.gs-col h1 { font-size: 32px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.gs-sub { font-size: 14.5px; color: var(--mut); margin: 10px 0 0; }

/* ---- Fields ------------------------------------------------------------------------------ */
.gs-fields { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.gs-field label {
  display: block;
  font-size: 12.5px; font-weight: 600; color: var(--inkSoft);
  margin-bottom: 6px;
}
.gs-input {
  width: 100%;
  border: 1px solid var(--line2); border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px; font-family: var(--sans);
  background: var(--card); color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.gs-input::placeholder { color: var(--mut); }
.gs-input:focus, .gs-input:focus-visible { outline: none; border-color: var(--accent); }
.gs-input[aria-invalid="true"] { border-color: var(--danger); }

/* ---- Buttons (extend .btn / .btn--secondary) ----------------------------------------------- */
.gs-btn { width: 100%; padding: 13px; font-size: 15px; margin-top: 4px; }
.gs-btn--google { padding: 12px; font-size: 14px; margin-top: 0; }

/* ---- "or" divider ----------------------------------------------------------------------------- */
.gs-or { display: flex; align-items: center; gap: 12px; color: var(--mut); font-size: 12px; }
.gs-or::before, .gs-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- Fine print + errors ------------------------------------------------------------------------ */
.gs-fine { font-size: 11.5px; line-height: 1.6; color: var(--mut); margin: 22px 0 0; }
.gs-fine a { color: var(--accentDeep); text-decoration: none; }
.gs-fine a:hover { color: var(--accent); text-decoration: underline; }

.gs-error { font-size: 12.5px; color: var(--danger); margin: 12px 0 0; }

/* ---- Success state (shown by form.js in place of the form) --------------------------------------- */
.gs-success {
  margin-top: 30px;
  background: var(--accentSoft);
  border: 1px solid var(--accentSoft2);
  border-radius: var(--r-card);
  padding: 22px 24px;
  outline: none;
}
.gs-success h2 { font-size: 22px; display: flex; align-items: center; gap: 9px; }
.gs-success h2 .check { color: var(--accent); font-size: 17px; }
.gs-success p { font-size: 14px; line-height: 1.6; color: var(--inkSoft); margin-top: 8px; }

/* ---- Bottom © line ---------------------------------------------------------------------------------- */
.gs-legal { text-align: center; font-size: 12px; color: var(--mut); margin-top: 24px; }
.gs-legal a { color: inherit; text-decoration: none; }
.gs-legal a:hover { color: var(--ink); }

/* ---- Nav "Sign in" link (mobile-only, .m-only hides it ≥761px) ---------------------------------------- */
.gs-nav-signin {
  font-size: 13px; color: var(--skinMut); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
}
.gs-nav-signin:hover { color: var(--skinTx); }

/* ---- Responsive --------------------------------------------------------------------------------------- */

/* Tablet 761–1000: keep the two-pane card, tighten it so it fits at 761px */
@media (max-width: 1000px) {
  .gs-main { padding: 40px 24px 56px; }
  .gs-brand { width: 340px; padding: 36px 30px 32px; }
  .gs-brand__title { font-size: 25px; margin-top: 36px; }
  .gs-steps { margin-top: 32px; }
  .gs-assure { margin-top: 30px; }
  .gs-pane { padding: 36px 30px 32px; }
}

/* Mobile ≤760: the card becomes the page (no outer card, edges to the viewport) */
@media (max-width: 760px) {

  /* Dark nav on this page: --skin bar, light wordmark, "Sign in" right, no
     hamburger / no Get-started chip (per prototype). Page-scoped: base.css
     untouched. */
  .gs-body .nav {
    background: var(--skin);
    border-bottom-color: var(--skin2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .gs-body .nav .brand__word { color: var(--skinTx); }
  .gs-body .nav .brand__word .av { color: var(--logoGreen); }
  .gs-body .nav__toggle,
  .gs-body .nav__cta,
  .gs-body .nav__links { display: none; }

  /* The card becomes the page */
  .gs-main { padding: 0; align-items: stretch; }
  .gs-card {
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
  }

  /* Brand panel -> compact dark header block */
  .gs-brand { width: 100%; padding: 28px 24px 26px; }
  .gs-brand::before {
    width: 220px; height: 220px;
    background: rgba(157, 179, 90, .06);
    top: -70px; right: -70px;
  }
  .gs-brand::after { display: none; }
  .gs-lockup { display: none; } /* the dark nav is the lockup on mobile */
  .gs-brand__title { font-size: 23px; line-height: 1.28; margin-top: 0; }
  .gs-brand__spacer { display: none; }

  /* Stepper flattens to a horizontal 3-up row; sub-lines dropped */
  .gs-steps { flex-direction: row; gap: 8px; margin-top: 20px; }
  .gs-step { flex: 1; flex-direction: column; align-items: flex-start; gap: 7px; }
  .gs-step__line { display: none; }
  .gs-step__num { width: 24px; height: 24px; font-size: 11px; }
  .gs-step__body { padding-bottom: 0; }
  .gs-step__title { font-size: 11px; line-height: 1.45; color: var(--skinMut); }
  .gs-step:first-child .gs-step__title { color: var(--skinTx); }
  .gs-step__sub { display: none; }

  /* Form section: sits directly under the dark header, © row at the bottom */
  .gs-pane { padding: 30px 24px 28px; }
  .gs-signin { display: none; } /* replaced by the nav "Sign in" link */
  .gs-col { max-width: none; flex: 0 0 auto; justify-content: flex-start; }
  .gs-legal { margin-top: auto; padding-top: 24px; }
  .gs-col h1 { font-size: 26px; }
  .gs-sub { font-size: 13px; margin-top: 8px; }

  .gs-fields { gap: 13px; margin-top: 22px; }
  .gs-field label { font-size: 12px; margin-bottom: 5px; }
  .gs-input { padding: 12px 13px; font-size: 15px; } /* 15px: no iOS zoom */

  .gs-btn { padding: 14px; font-size: 15px; margin-top: 2px; }
  .gs-btn--google { padding: 13px; font-size: 14px; margin-top: 0; }
  .gs-or { font-size: 11.5px; gap: 10px; }

  /* Reassurance list (moved below the form on mobile) */
  .gs-assure--m { gap: 6px; margin-top: 20px; font-size: 11.5px; color: var(--mut); }
  .gs-assure--m .check { color: var(--accent); }

  .gs-fine { font-size: 10.5px; margin-top: 16px; }
  .gs-legal { font-size: 11px; }
}
