/* Gift-idea pages (/gifts/…). Static by design: no motion (owner's rule).
   Colours come from shared.css tokens; the hero picture is drawn dark on the
   left so white text stays readable (scrim guarantees it on any picture). */
.gi-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-900); color: var(--ink-ondark); }
.gi-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; z-index: -2; }
.gi-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,6,48,.94) 0%, rgba(26,11,77,.88) 38%, rgba(26,11,77,.45) 68%, rgba(26,11,77,.10) 100%); }
.gi-hero-in { max-width: 1160px; margin: 0 auto; padding: clamp(40px, 6vw, 84px) var(--sect-x) clamp(44px, 6vw, 88px); }
.gi-hero-in > * { max-width: 620px; }
.gi-crumbs { font-size: 14px; color: var(--ink-ondark-mute); margin: 0 0 18px; }
.gi-crumbs a { color: var(--ink-ondark-soft); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 13px 4px; }
.gi-crumbs span { padding: 0 2px; }
.gi-eyebrow { display: inline-block; background: rgba(255,179,71,.16); border: 1px solid rgba(255,179,71,.5); color: var(--accent-300);
  font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.gi-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.08; letter-spacing: -.015em; margin: 16px 0 14px; color: #fff; }
.gi-lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-ondark-soft); margin: 0 0 22px; }
.gi-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 0 18px; }
.gi-cta .btn-primary { font-size: 17px; padding: 16px 30px; }
.gi-link { color: var(--accent-300); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.gi-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ink-ondark-soft); }
.gi-trust li::before { content: "✓"; color: var(--accent-300); font-weight: 800; margin-right: 6px; }

.sect h2 { font-family: var(--font-head); font-weight: 800; color: var(--brand-800); font-size: clamp(24px, 3vw, 32px); margin: 0 0 20px; }
.sect h2.gi-gap { margin-top: 44px; }
.gi-narrow { max-width: 820px; }
.gi-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gi-card { background: var(--brand-050); border: 1px solid var(--brand-100); border-radius: 18px; padding: 22px 22px 20px; }
.gi-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-800); margin: 10px 0 8px; }
.gi-card p { margin: 0; color: var(--ink-700); line-height: 1.6; }
.gi-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--brand-800); color: #fff; font-family: var(--font-head); font-weight: 800; }
.gi-use { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 32px; align-items: center; margin-top: 36px;
  background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 22px; padding: 26px; }
.gi-use img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 34px rgba(26,11,77,.22); }
.gi-use h3 { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--brand-800); margin: 0 0 10px; }
.gi-use p { color: var(--ink-700); line-height: 1.65; margin: 0 0 16px; }

.gi-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gi-tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; text-align: center;
  background: #fff; border: 2px solid var(--brand-100); border-radius: 18px; padding: 26px 14px 20px; color: var(--ink-900); }
.gi-tier.pop { border-color: var(--accent-500); background: var(--accent-050); }
.gi-tier:hover { border-color: var(--brand-600); }
.gi-tier:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; }
.gi-flag { position: absolute; top: -13px; background: var(--brand-800); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.gi-pay { font-size: 15px; color: var(--ink-700); font-weight: 700; }
.gi-get { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1; color: var(--brand-800); }
.gi-bonus { font-weight: 800; color: var(--accent-600); font-size: 15px; }
.gi-fine { font-size: 14px; color: var(--ink-700); line-height: 1.6; margin: 18px 0 0; }
.gi-fine a, .gi-use p a { color: var(--brand-800); font-weight: 700; display: inline-block; padding: 13px 2px; margin: -13px 0; }
.gi-hero :focus-visible { outline: 3px solid var(--accent-300); outline-offset: 3px; }

.gi-how { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 36px; align-items: center; }
.gi-how ol { margin: 0; padding-left: 22px; color: var(--ink-700); line-height: 1.7; }
.gi-how li { margin-bottom: 10px; }
.gi-how li b { color: var(--brand-800); }
.gi-how img { width: 100%; height: auto; border-radius: 16px; }

.faq details { border-bottom: 1px solid var(--brand-100); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--brand-800); font-size: 17px; padding: 16px 0; min-height: 44px; }
.faq details p { margin: 0 0 16px; color: var(--ink-700); line-height: 1.65; }

.gi-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gi-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none;
  background: var(--brand-050); border: 1px solid var(--brand-100); color: var(--brand-800); font-weight: 700; }
.gi-chips a:hover { background: var(--brand-100); }

.gi-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gi-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gi-tile { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--brand-100); border-radius: 18px; overflow: hidden; color: var(--ink-900); }
.gi-tile img { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; object-position: 80% 50%; display: block; }
.gi-tile-t { font-family: var(--font-head); font-weight: 800; color: var(--brand-800); font-size: 18px; padding: 14px 16px 4px; }
.gi-tile-s { color: var(--ink-700); font-size: 14.5px; line-height: 1.5; padding: 0 16px 16px; }
.gi-tile:hover { border-color: var(--brand-600); }
.gi-tile:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; }

@media (max-width: 900px) {
  .gi-why, .gi-tiers { grid-template-columns: 1fr; }
  .gi-use, .gi-how { grid-template-columns: 1fr; }
  .gi-tiles, .gi-tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gi-tier { padding-top: 30px; }
}
@media (max-width: 1200px) { .gi-hero::after { background: linear-gradient(180deg, rgba(15,6,48,.90), rgba(26,11,77,.82)); } }
@media (min-width: 521px) and (max-width: 900px) { .gi-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .gi-tiles, .gi-tiles.three { grid-template-columns: 1fr; } }
