    /* ---- signup hero (Uber-Eats-style): big photo header with the
       headline and the "start" card sitting SIDE BY SIDE (not stacked)
       -- the card is the actual entry point into step 1 of the form
       (restaurant name + address only); step 2 (everything else) is a
       separate page the server renders after that's submitted, see
       restaurant.js's VIEW_register. ---- */
    .signup-hero {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 3.5rem;
      padding: 5.5rem 15vw;
      min-height: 70vh;
      background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0.4) 55%, rgba(8, 8, 8, 0.22) 100%),
        url('/public/images/register-restaurant2.jpg')
          center / cover no-repeat;
      color: #fff;
      text-align: left;
    }
    .signup-hero2 {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 3.5rem;
      padding: 5.5rem 15vw;
      min-height: 70vh;
      background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0.4) 55%, rgba(8, 8, 8, 0.22) 100%),
        url('/public/images/register-restaurant.jpg')
          center / cover no-repeat;
      color: #fff;
      text-align: left;
    }
    .signup-hero-copy { flex: 1 1 480px; max-width: 560px; }
    .signup-hero h1 {
      font-size: clamp(2.4rem, 4.6vw, 3.6rem);
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin: 0;
      color: #fff;
      text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    }
    /* kept for the conditions page, which reuses .signup-hero but
       centers its own single-column content (see conditions.ejs /
       .signup-hero-inner) */
    .signup-hero-inner { max-width: 640px; margin: 0 auto; text-align: center;font-size: clamp(2.4rem, 1.6vw, 3.6rem); }
    .signup-hero-sub {
      font-size: 1.2rem;
      font-weight: 600;
      margin: 0 0 0.6rem;
      color: rgba(255, 255, 255, 0.95);
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
    }
    .signup-hero-urgency {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.95rem;
      margin: 0;
    }

    /* ---- hero start card: sits beside the headline, not below it --
       a compact white panel with its own short pitch, stacked
       name/address fields, and a full-width CTA, closer to Uber Eats'
       actual "store name or address" card than a full-width search
       bar. ---- */
    .hero-start-card {
      position: relative;
      z-index: 2;
      flex: 0 0 400px;
      width: 400px;
      max-width: 100%;
      background: #fff;
      border-radius: 16px;
      padding: 1.75rem;
      box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
      text-align: left;
    }
    .hero-start-card-heading {
      font-size: 1.3rem;
      letter-spacing: -0.01em;
      margin: 0 0 0.4rem;
      color: var(--ink);
    }
    .hero-start-card-sub {
      font-size: 0.88rem;
      color: var(--muted);
      margin: 0 0 1.25rem;
      line-height: 1.5;
    }
    .hero-start-error {
      margin: 0 0 1rem;
      padding: 0.7rem 0.9rem;
      background: #fff1f0;
      border: 1px solid #ffd4d0;
      border-radius: 9px;
      color: #b3261e;
      font-size: 0.85rem;
    }
    .hero-start-form {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
    .hero-start-field { position: relative; }
    .hero-start-field-address { position: relative; display: flex; gap: 0.5rem; }

    /* ---- address suggestions dropdown (step 1) ---- */
    .address-suggestions {
      position: absolute;
      top: calc(100% + 0.4rem);
      left: 0;
      right: 0;
      z-index: 10;
      list-style: none;
      margin: 0;
      padding: 0.35rem;
      max-height: 260px;
      overflow-y: auto;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.45);
    }
    .address-suggestions:empty { display: none; }
    .address-suggestion {
      padding: 0.6rem 0.7rem;
      border-radius: 7px;
      font-size: 0.85rem;
      line-height: 1.4;
      color: var(--ink);
      cursor: pointer;
    }
    .address-suggestion:hover { background: var(--panel); }
    .hero-start-form input {
      width: 100%;
      font-family: inherit;
      font-size: 0.95rem;
      padding: 0.8rem 1rem;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--panel);
      color: var(--ink);
    }
    .hero-start-field-address input { flex: 1; min-width: 0; }
    .hero-start-field-address .house-number-input { flex: 0 0 92px; max-width: 92px; min-width: 70px; }
    .hero-start-form input:focus {
      outline: none;
      border-color: var(--accent);
      background: #fff;
    }
    .hero-locate-btn {
      flex-shrink: 0;
      width: 44px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--panel);
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-locate-btn:hover { border-color: var(--ink); background: #fff; }
    .hero-start-submit {
      margin-top: 0.4rem;
      width: 100%;
      background: #e26b31;
      color: #fff;
      border-color: #e26b31;
      padding: 0.85rem 1.2rem;
      font-size: 1rem;
      border-radius: 10px;
    }
    .hero-start-submit:hover { background: #c95a24; border-color: #c95a24; }

    /* ---- step 2 page: no hero, just the plain card -- ".step-back-link"
       is new, everything else (.register-card, .register-form, ...)
       is the same look the single-page form used before. ---- */
    .step-back-link {
      display: inline-block;
      margin-bottom: 1.1rem;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--muted);
    }
    .step-back-link:hover { color: var(--ink); }

    .register-section {
      padding: 3.5rem 6vw;
      display: flex;
      justify-content: center;
    }
    .register-section-standalone { padding-top: 3.5rem; }
    .register-card {
      width: 100%;
      max-width: 640px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 2.5rem;
      box-shadow: 0 20px 44px -30px rgba(0,0,0,0.3);
    }
    .register-card h1 {
      font-size: 1.7rem;
      letter-spacing: -0.02em;
      margin: 0 0 0.5rem;
    }
    .register-sub {
      color: var(--muted);
      margin: 0 0 1.75rem;
      font-size: 0.95rem;
    }

    .form-errors {
      list-style: none;
      margin: 0 0 1.5rem;
      padding: 0.9rem 1.1rem;
      background: #fff1f0;
      border: 1px solid #ffd4d0;
      border-radius: 10px;
      color: #b3261e;
      font-size: 0.88rem;
    }
    .form-errors li + li { margin-top: 0.3rem; }

    .register-form { display: flex; flex-direction: column; gap: 1.1rem; }
    .form-row { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-row-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.1rem;
    }
    .form-row-split > div { display: flex; flex-direction: column; gap: 0.4rem; }

    .register-form label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--ink);
    }
    .register-form input,
    .register-form select,
    .register-form textarea {
      font-family: inherit;
      font-size: 0.95rem;
      padding: 0.65rem 0.8rem;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: #fff;
      color: var(--ink);
    }
    .register-form input:focus,
    .register-form select:focus,
    .register-form textarea:focus {
      outline: none;
      border-color: var(--accent);
    }
    .register-form textarea { resize: vertical; }
    .register-form input[type="file"] {
      padding: 0.5rem 0.6rem;
      font-size: 0.88rem;
    }
    .field-hint {
      margin: 0;
      font-size: 0.78rem;
      color: var(--muted);
    }

    /* ---- cuisine picker: several can be selected, so a checkbox-pill
       grid replaces the old single <select> ---- */
    .cuisine-checkbox-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .cuisine-checkbox {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.8rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      user-select: none;
      transition: border-color 0.15s ease, background 0.15s ease;
    }
    .cuisine-checkbox input {
      margin: 0;
      accent-color: var(--accent);
    }
    /* "I accept the Terms & Conditions" checkbox -- shared by all three
       registration forms (restaurant/courier/customer, see each
       register.ejs), since all three load this stylesheet. */
    .terms-checkbox {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.9rem;
      font-weight: 400;
      cursor: pointer;
    }
    .terms-checkbox input {
      margin: 0.2rem 0 0;
      accent-color: var(--accent);
      flex-shrink: 0;
    }
    .terms-checkbox a {
      color: var(--accent);
      text-decoration: underline;
    }
    .terms-checkbox a:hover {
      text-decoration: none;
    }
    .cuisine-checkbox:has(input:checked) {
      background: #eafff3;
      border-color: var(--accent);
      color: var(--accent-dark);
    }

    /* ---- address map ---- */
    .map-locate-row { display: flex; gap: 0.6rem; align-items: stretch; }
    .map-locate-row input { flex: 1; min-width: 0; }
    .map-locate-row .house-number-input { flex: 0 0 110px; max-width: 110px; min-width: 80px; }
    .map-locate-btn {
      flex-shrink: 0;
      width: 44px;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: #fff;
      font-size: 1.15rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .map-locate-btn:hover { border-color: var(--ink); }
    .address-map {
      margin-top: 0.6rem;
      height: 280px;
      width: 100%;
      border-radius: 10px;
      border: 1px solid var(--line);
      overflow: hidden;
      background: var(--panel);
    }
    .map-hint {
      margin: 0.5rem 0 0;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .register-submit { margin-top: 0.5rem; align-self: flex-start; }
    .register-submit.full-width {
      width: 100%;
      align-self: stretch;
      padding: 0.85rem 1.2rem;
      font-size: 1rem;
      border-radius: 10px;
    }

    .register-success {
      text-align: center;
      padding: 1.5rem 0;
    }
    .register-success .success-icon {
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin: 0 auto 1.25rem;
    }
    .register-success h1 { margin-bottom: 0.6rem; }
    .register-success p { color: var(--muted); margin: 0 0 1.75rem; }
    .register-success .btn { margin: 0 0.35rem 0.6rem; }

    @media (max-width: 560px) {
      .register-card { padding: 1.75rem; }
      .form-row-split { grid-template-columns: 1fr; }
    }

    /* below this, the headline + card can't comfortably sit side by
       side any more -- stack them instead, card second, both centered */
    @media (max-width: 920px) {
      .signup-hero { flex-direction: column; justify-content: center; text-align: center; gap: 2.25rem; }
      /* flex-basis is a HEIGHT in column direction -- without
         resetting it here, .signup-hero-copy's row-mode "480px" basis
         (meant as a width) would inflate its height instead */
      .signup-hero-copy { flex: none; max-width: 560px; text-align: center; }
      .hero-start-card { width: min(440px, 100%); flex: none; }
    }

    @media (max-width: 480px) {
      .hero-start-card { padding: 1.25rem; }
      .hero-start-field-address .house-number-input { flex-basis: 72px; max-width: 72px; min-width: 56px; }
    }

    /* ---- why join section ---- */
    .why-section {
      padding: 3.5rem 6vw;
      max-width: 1040px;
      margin: 0 auto;
    }
    .why-heading {
      text-align: center;
      font-size: 1.6rem;
      letter-spacing: -0.02em;
      margin: 0 0 2.25rem;
    }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .why-card { text-align: center; padding: 0 0.5rem; }
    .why-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--panel);
      color: var(--accent-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
    }
    .why-icon svg { width: 30px; height: 30px; }
    .why-card h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
    .why-card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.5; }

    /* ---- FAQ ---- */
    .faq-section {
      padding: 1rem 6vw 4rem;
      max-width: 760px;
      margin: 0 auto;
    }
    .faq-heading {
      text-align: center;
      font-size: 1.6rem;
      letter-spacing: -0.02em;
      margin: 0 0 1.75rem;
    }
    .faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
    .faq-item {
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 0.2rem 1.1rem;
    }
    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 1rem 1.6rem 1rem 0;
      font-weight: 600;
      font-size: 0.98rem;
      position: relative;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: "";
      position: absolute;
      right: 0.2rem;
      top: 50%;
      width: 9px;
      height: 9px;
      border-right: 2px solid var(--muted);
      border-bottom: 2px solid var(--muted);
      transform: translateY(-65%) rotate(45deg);
      transition: transform 0.18s ease;
    }
    .faq-item[open] summary::after { transform: translateY(-35%) rotate(225deg); }
    .faq-item p { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

    /* ---- conditions page: fee breakdown + delivery-commission note +
       CTA (reuses .why-section / .why-grid / .why-card above for the
       6 benefit cards, and the signup-hero for the page header) ---- */
    .fee-section {
      padding: 1rem 6vw 3.5rem;
      max-width: 760px;
      margin: 0 auto;
    }
    .fee-heading {
      text-align: center;
      font-size: 1.6rem;
      letter-spacing: -0.02em;
      margin: 0 0 0.75rem;
    }
    .fee-intro {
      text-align: center;
      color: var(--muted);
      font-size: 0.96rem;
      line-height: 1.55;
      margin: 0 0 1.75rem;
    }
    .fee-table {
      list-style: none;
      margin: 0 0 2rem;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden;
    }
    .fee-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.9rem 1.4rem;
      font-size: 0.96rem;
    }
    .fee-row + .fee-row { border-top: 1px solid var(--line); }
    .fee-country { font-weight: 600; }
    .fee-amount { color: var(--ink); font-weight: 600; }
    .fee-per-order { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

    .conditions-note {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 1.5rem 1.75rem;
    }
    .conditions-note h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
    .conditions-note p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

    .conditions-cta {
      margin: 1rem 6vw 3.5rem;
      border-radius: 18px;
      background: var(--panel);
      text-align: center;
      padding: 3rem 2rem;
    }
    .conditions-cta-inner { max-width: 520px; margin: 0 auto; }
    .conditions-cta h2 { margin: 0 0 0.6rem; font-size: 1.8rem; letter-spacing: -0.02em; }
    .conditions-cta p { margin: 0 0 1.5rem; color: var(--muted); font-size: 1rem; }
    .conditions-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .conditions-cta .btn { background: #e26b31; color: #fff; padding: 0.8rem 1.6rem; border-radius: 9px; }
    .conditions-cta .btn:hover { background: #c95a24; }
    .conditions-cta .btn-secondary {
      background: transparent;
      color: var(--ink);
      border: 1.5px solid var(--line);
    }
    .conditions-cta .btn-secondary:hover { background: #fff; border-color: var(--ink); }

    @media (max-width: 760px) {
      .signup-hero { padding: 3.5rem 6vw; min-height: 0; }
      .why-grid { grid-template-columns: 1fr; gap: 2rem; }
      .fee-row { flex-wrap: wrap; gap: 0.25rem; }
      .conditions-cta { padding: 2.25rem 1.5rem; }
    }
