/* guarantee.html — page-specific styles */

/* ══════════════════════════════════════════════
       GUARANTEE PAGE
    ══════════════════════════════════════════════ */

    /* ── Hero (dark) ── */
    .gar-hero {
      background: var(--dark);
      min-height: 100vh;
      padding: 0;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .gar-hero > .container {
      padding-top: calc(var(--nav-h, 80px) + 2rem);
      padding-bottom: 2.5rem;
      width: 100%;
    }
    /* Ambient teal glow — top-right */
    .gar-hero::before {
      content: '';
      position: absolute; top: 0; right: 0;
      width: 55%; height: 100%;
      background: radial-gradient(ellipse at 85% 35%, rgba(60,234,199,0.09) 0%, transparent 62%);
      pointer-events: none;
    }
    /* Bottom fade to next section */
    .gar-hero::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
      background: linear-gradient(to bottom, transparent, rgba(0,26,21,0.55));
      pointer-events: none;
    }

    .gar-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }

    .gar-hero h1 {
      font-family: var(--font-display);
      font-size: 62px;
      font-weight: 800; line-height: 1.08; color: var(--cream);
      margin: 0.9rem 0 0;
    }
    .gar-hero .section-label {
      background: rgba(60,234,199,0.1);
      color: var(--teal-bright);
      border-color: rgba(60,234,199,0.2);
    }
    .gar-hero-sub {
      font-size: 1.1rem; line-height: 1.8;
      color: rgba(246,246,242,0.62);
      margin: 1.25rem 0 0; max-width: 44ch;
    }
    .gar-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

    /* 3 trust pills below CTAs */
    .gar-hero-trust {
      display: flex; flex-wrap: wrap; gap: 0.75rem;
      margin-top: 2.25rem;
    }
    .gar-hero-trust-pill {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.35rem 0.9rem; border-radius: 999px;
      border: 1px solid rgba(60,234,199,0.18);
      font-size: 0.78rem; font-weight: 600;
      font-family: var(--font-mono); color: rgba(168,240,227,0.65);
      letter-spacing: 0.03em;
    }
    .gar-hero-trust-pill::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--teal-bright); opacity: 0.7; flex-shrink: 0;
    }

    /* Illustration */
    .garill-wrap {
      position: relative;
      filter: drop-shadow(0 0 60px rgba(60,234,199,0.1)) drop-shadow(0 32px 64px rgba(0,0,0,0.4));
    }
    .garill-svg { display: block; width: 100%; height: auto; }

    /* ── SVG animations ── */
    @keyframes garCheckIn {
      from { opacity: 0; transform: scale(0.15); }
      65%  { transform: scale(1.2); }
      to   { opacity: 1; transform: scale(1); }
    }
    @keyframes garRowIn {
      from { opacity: 0; transform: translateX(-8px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes garSignedIn {
      from { opacity: 0; transform: scale(0.5) rotate(-18deg); }
      to   { opacity: 1; transform: scale(1) rotate(-6deg); }
    }
    @keyframes garGlowPulse {
      0%, 100% { opacity: 0.06; }
      50%      { opacity: 0.2; }
    }
    @keyframes garAuraPulse {
      0%, 100% { r: 170; opacity: 0.06; }
      50%      { r: 182; opacity: 0.11; }
    }
    @keyframes garPt1 {
      0%   { transform: translate(56px, 320px); opacity: 0; }
      12%  { opacity: 1; }
      88%  { opacity: 1; }
      100% { transform: translate(56px, 46px); opacity: 0; }
    }
    @keyframes garPt2 {
      0%   { transform: translate(384px, 46px); opacity: 0; }
      12%  { opacity: 1; }
      88%  { opacity: 1; }
      100% { transform: translate(384px, 320px); opacity: 0; }
    }
    @keyframes garScanLine {
      0%   { transform: translateY(0); opacity: 0.7; }
      100% { transform: translateY(270px); opacity: 0; }
    }
    @keyframes garShieldPop {
      from { opacity: 0; transform: scale(0.4); }
      70%  { transform: scale(1.15); }
      to   { opacity: 1; transform: scale(1); }
    }

    .garr-check, .garr-row, .garr-signed, .garr-shield {
      transform-box: fill-box; transform-origin: center;
    }
    .garr-check-1 { animation: garCheckIn 0.38s var(--ease-spring) 0.9s  both; }
    .garr-row-1   { animation: garRowIn   0.32s var(--ease-out)    0.9s  both; }
    .garr-check-2 { animation: garCheckIn 0.38s var(--ease-spring) 1.55s both; }
    .garr-row-2   { animation: garRowIn   0.32s var(--ease-out)    1.55s both; }
    .garr-check-3 { animation: garCheckIn 0.38s var(--ease-spring) 2.2s  both; }
    .garr-row-3   { animation: garRowIn   0.32s var(--ease-out)    2.2s  both; }
    .garr-check-4 { animation: garCheckIn 0.38s var(--ease-spring) 2.85s both; }
    .garr-row-4   { animation: garRowIn   0.32s var(--ease-out)    2.85s both; }
    .garr-check-5 { animation: garCheckIn 0.38s var(--ease-spring) 3.5s  both; }
    .garr-row-5   { animation: garRowIn   0.32s var(--ease-out)    3.5s  both; }
    .garr-check-6 { animation: garCheckIn 0.38s var(--ease-spring) 4.15s both; }
    .garr-row-6   { animation: garRowIn   0.32s var(--ease-out)    4.15s both; }
    .garr-signed  { animation: garSignedIn 0.55s var(--ease-spring) 4.85s both; }
    .garr-shield  { animation: garShieldPop 0.55s var(--ease-spring) 5.4s both; }
    .garr-glow    { animation: garGlowPulse 3.2s ease-in-out infinite; }
    .garr-scan    { animation: garScanLine 1.8s linear 0.3s both; }
    .garr-pt1     { animation: garPt1 5.5s ease-in-out 2s infinite; }
    .garr-pt2     { animation: garPt2 5.5s ease-in-out 3.4s infinite; }

    /* ── Shared section header ── */
    .gar-section-header { max-width: 640px; }
    .gar-section-header h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800; line-height: 1.15; color: var(--ink); margin-top: 0.75rem;
    }
    .gar-section-header p {
      font-size: 1.05rem; line-height: 1.875; color: var(--ink-60); margin-top: 1rem;
    }

    /* ── Promise (What We Guarantee) ── */
    .gar-promise { background: var(--cream-soft); padding: 6.5rem 0; }

    .gar-cards {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem; margin-top: 3rem;
    }
    .gar-card {
      background: var(--cream); border-radius: 14px; padding: 2rem;
      border-left: 3px solid var(--teal); position: relative; overflow: hidden;
      transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    }
    .gar-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 44px rgba(0,26,21,0.10);
    }
    .gar-card::before {
      content: ''; position: absolute; top: 0; right: 0;
      width: 100px; height: 100px;
      background: radial-gradient(circle at top right, rgba(0,133,125,0.05), transparent 70%);
      pointer-events: none;
    }
    .gar-card-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; background: var(--teal);
      border-radius: 8px; margin-bottom: 1.1rem; flex-shrink: 0;
    }
    .gar-card-badge svg { width: 16px; height: 16px; }
    .gar-card h3 {
      font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
      color: var(--ink); line-height: 1.35; margin-bottom: 0.75rem;
    }
    .gar-card p { font-size: 0.9rem; line-height: 1.825; color: var(--ink-60); }

    /* ── Accountability ── */
    .gar-acct { background: var(--cream); padding: 6.5rem 0; }

    .gar-miss-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 1.5rem; margin-top: 3rem;
    }
    .gar-miss-item {
      background: var(--cream-soft); border-radius: 14px; padding: 2rem 2.25rem;
      border-top: 3px solid var(--teal-deep); position: relative;
    }
    .gar-miss-item h3 {
      font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
      color: var(--ink); margin-bottom: 0.75rem;
    }
    .gar-miss-item p { font-size: 0.9rem; line-height: 1.825; color: var(--ink-60); }
    .gar-miss-tag {
      display: inline-block; margin-top: 1.1rem; padding: 0.32rem 0.82rem;
      border-radius: 999px; background: rgba(60,234,199,0.12);
      color: var(--teal); font-size: 0.78rem; font-weight: 600;
      font-family: var(--font-mono); letter-spacing: 0.02em;
    }

    /* ── Cannot Guarantee (dark) ── */
    .gar-cannot { background: var(--dark); padding: 6.5rem 0; }

    .gar-cannot-header { max-width: 640px; margin-bottom: 3.5rem; }
    .gar-cannot-header h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800; line-height: 1.15; color: var(--cream); margin-top: 0.75rem;
    }
    .gar-cannot-header p {
      font-size: 1.05rem; line-height: 1.875; color: rgba(246,246,242,0.5);
      margin-top: 1rem;
    }

    .gar-cannot-list {
      display: grid; grid-template-columns: 1fr 1fr;
      border: 1px solid rgba(60,234,199,0.1); border-radius: 14px; overflow: hidden;
    }
    .gar-cannot-item {
      padding: 2rem 2.25rem;
      border-bottom: 1px solid rgba(60,234,199,0.08);
      border-right: 1px solid rgba(60,234,199,0.08);
      transition: background 0.3s var(--ease-out);
    }
    .gar-cannot-item:hover { background: rgba(60,234,199,0.03); }
    .gar-cannot-item:nth-child(2n)        { border-right: none; }
    .gar-cannot-item:nth-last-child(-n+2) { border-bottom: none; }
    .gar-cannot-item strong {
      display: block; font-size: 0.78rem; font-weight: 600;
      color: var(--teal-bright); margin-bottom: 0.6rem;
      font-family: var(--font-mono); letter-spacing: 0.02em;
    }
    .gar-cannot-item p { font-size: 0.9rem; line-height: 1.825; color: rgba(168,240,227,0.5); }

    /* ── Clarity ── */
    .gar-clarity { background: var(--cream-soft); padding: 6.5rem 0; }
    .gar-clarity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

    .gar-clarity-main h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800; line-height: 1.2; color: var(--ink); margin-top: 0.75rem;
    }
    .gar-clarity-main p {
      font-size: 1.05rem; line-height: 1.875; color: var(--ink-60); margin-top: 1.25rem;
    }

    .gar-clarity-aside {
      background: var(--cream); border-radius: 14px; padding: 2.25rem;
      border-left: 3px solid var(--teal);
    }
    .gar-clarity-aside-label {
      font-size: 0.78rem; font-weight: 700; font-family: var(--font-mono);
      text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--teal); margin-bottom: 1.1rem;
    }
    .gar-clarity-facts { list-style: none; padding: 0; margin: 0; }
    .gar-clarity-facts li {
      font-size: 0.9rem; line-height: 1.7; color: var(--ink-60);
      padding: 0.6rem 0; border-bottom: 1px solid var(--ink-06);
      display: flex; gap: 0.75rem; align-items: flex-start;
    }
    .gar-clarity-facts li:last-child { border-bottom: none; }
    .gar-clarity-facts li::before {
      content: '→'; color: var(--teal); font-size: 0.78rem;
      font-weight: 700; margin-top: 0.1rem; flex-shrink: 0;
    }

    /* ── CTA ── */
    .gar-cta { background: var(--dark-mid); padding: 6.5rem 0; text-align: center; }
    .gar-cta-inner { max-width: 580px; margin: 0 auto; }
    .gar-cta-inner h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800; line-height: 1.2; color: var(--cream);
    }
    .gar-cta-inner p {
      font-size: 1.05rem; line-height: 1.875;
      color: rgba(246,246,242,0.6); margin-top: 1.25rem;
    }
    .gar-cta-actions {
      display: flex; gap: 1rem; justify-content: center;
      flex-wrap: wrap; margin-top: 2.5rem;
    }

    /* ── Responsive ── */
    @media (max-width: 1024px) {
      .gar-hero-grid   { gap: 3.5rem; }
      .gar-cards       { grid-template-columns: repeat(2, 1fr); }
      .gar-clarity-grid { gap: 3rem; }
    }
    @media (max-width: 768px) {
      .gar-hero-grid   { grid-template-columns: 1fr; }
      .garill-wrap     { display: none; }
      .gar-cards       { grid-template-columns: 1fr; }
      .gar-miss-grid   { grid-template-columns: 1fr; }
      .gar-cannot-list { grid-template-columns: 1fr; }
      .gar-cannot-item:nth-child(2n)        { border-right: none; }
      .gar-cannot-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(60,234,199,0.08); }
      .gar-cannot-item:last-child           { border-bottom: none; }
      .gar-clarity-grid { grid-template-columns: 1fr; gap: 2rem; }
      .gar-hero-trust { display: none; }
    }
