/* Homepage banner. A scoped copy of the feature-page hero styles (no global reset, so the theme's own sections are untouched). */
/* Shared styles for the redesigned feature pages (hero, showcase frame, sections, feature grid). */

  /* ── Website ordering hero ── */
  .hh-hero {
    --hh-ink: #0d1b22;
    --hh-ink-soft: #46616c;
    --hh-muted: #6f8692;
    --hh-brand: #1f4b5c;
    --hh-brand-hover: #173b48;
    --hh-line: #e3e9ec;
    --hh-band: #f4f7f8;
  }
  .hh-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: var(--hh-ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  .hh-hero__inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  .hh-hero__intro { padding-top: 120px; }
  .hh-hero svg.hh-i, .hh-hero svg.hh-i * { fill: none !important; }

  .hh-eyebrow { font-size: 14px; font-weight: 500; color: var(--hh-brand); letter-spacing: -0.005em; margin-bottom: 20px; }
  .hh-title {
    font-family: var(--heading-font-typeface, 'Inter Tight'), sans-serif; /* theme forces this on headings anyway */
    font-size: clamp(42px, 6.2vw, 78px);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.042em;
    color: var(--hh-ink);
    max-width: 15ch;
  }
  .hh-lede { margin-top: 26px; max-width: 580px; text-wrap: pretty; font-size: 19px; line-height: 1.55; color: var(--hh-ink-soft); letter-spacing: -0.008em; }
  .hh-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
  .hh-btn {
    display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 10px;
    background: var(--hh-brand); color: #ffffff !important; font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
    text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(13,27,34,.18);
    transition: background-color .15s ease;
  }
  .hh-btn:hover { background: var(--hh-brand-hover); }
  .hh-link {
    display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 4px;
    color: var(--hh-ink) !important; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  }
  .hh-link svg { transition: transform .15s ease; }
  .hh-link:hover svg { transform: translateX(3px); }
  .hh-btn:focus-visible, .hh-link:focus-visible { outline: 2px solid var(--hh-brand); outline-offset: 3px; }
  .hh-note { margin-top: 14px; font-size: 13.5px; color: var(--hh-muted); }
  .hh-note span + span::before { content: "·"; margin: 0 8px; }

  /* Entrance */
  @keyframes hhRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .hh-rise { animation: hhRise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hh-rise--1 { animation-delay: .05s; }
  .hh-rise--2 { animation-delay: .12s; }
  .hh-rise--3 { animation-delay: .2s; }
  .hh-rise--4 { animation-delay: .32s; }
  @media (prefers-reduced-motion: reduce) { .hh-rise { animation: none; } }

  @media (max-width: 1279px) {
    .hh-toast { left: 20px; }
  }
  @media (max-width: 720px) {
    .hh-hero__intro { padding-top: 104px; }
    .hh-lede { font-size: 17px; margin-top: 20px; }
    .hh-actions { margin-top: 28px; }
    .hh-btn { flex: 1 1 100%; justify-content: center; }
    .hh-link { flex: 1 1 100%; justify-content: center; }
    .hh-note { text-align: center; }
    .hh-showcase { margin-top: 48px; padding-bottom: 56px; background: linear-gradient(180deg, #ffffff 0, #ffffff 38%, var(--hh-line) 38%, var(--hh-line) calc(38% + 1px), var(--hh-band) calc(38% + 1px)); }
    .hh-toast { left: 50%; right: auto; bottom: -26px; width: min(318px, calc(100% - 8px)); transform: translateX(-50%); }
    .hh-pay { margin-top: 64px; flex-direction: column; align-items: flex-start; gap: 14px; }
    .hh-pay__logos { gap: 12px 22px; }
  }
  @media (max-width: 480px) {
    /* keeps the headline to two lines on phones */
    .hh-title { font-size: 9.2vw; }
  }


  /* Centered layout */
  .hh-hero--center .hh-hero__inner { text-align: center; }
  .hh-hero--center .hh-title { max-width: 20ch; margin-left: auto; margin-right: auto; font-size: clamp(40px, 5.8vw, 74px); }
  .hh-hero--center .hh-lede { margin-left: auto; margin-right: auto; max-width: 600px; }
  .hh-hero--center .hh-actions { justify-content: center; }
  .hh-hero--center .hh-note { text-align: center; }
  .hh-hero--center .hh-eyebrow a { color: var(--hh-brand); font-weight: 600; text-decoration: none; }
  .hh-hero--center .hh-eyebrow a:hover { text-decoration: underline; }
  .hh-hero--center .hh-eyebrow i { margin: 0 8px; font-style: normal; color: #b6c4ca; }
  .hh-hero--center .hh-hero__intro { padding-top: 132px; }
  .hh-accent { color: var(--hh-brand); }
