/* ---- Vars (scoped fallback) ---- */
:root {
    --pt-primary: #0056b3;     /* site blue */
    --pt-primary-dk: #00408a;
    --pt-accent: #28a745;      /* success green */
    --pt-text: #333;
    --pt-text-subtle: #666;
    --pt-border: #e0e0e0;
    --pt-bg: #ffffff;
    --pt-bg-alt: #f9fafb;
    --pt-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  
  /* ---------- Hero confirmation ---------- */
  .thankyou-hero {
    text-align: center;
    padding: clamp(2rem, 3vw + 1rem, 4rem) 1rem;
    background: var(--pt-bg);
  }
  
  .thankyou-hero-inner {
    max-width: 640px;
    margin: 0 auto;
  }
  
  .checkmark {
    color: var(--pt-accent);
    margin-bottom: 1rem;
    inline-size: 56px;
    block-size: 56px;
    display: inline-block;
    /* gentle pop-in */
    transform: scale(1);
  }
  @media (prefers-reduced-motion: no-preference) {
    .checkmark { animation: tk-pop 280ms ease-out both; }
    @keyframes tk-pop {
      0% { transform: scale(0.8); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }
  }
  
  .lead {
    font-size: clamp(1.125rem, 1vw + 1rem, 1.375rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--pt-text);
  }
  
  .sublead {
    font-size: 1rem;
    color: var(--pt-text-subtle);
    max-width: 52ch;
    margin: 0 auto;
  }
  
  /* ---------- Next steps ---------- */
  .next-steps {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  .next-steps h2 {
    font-size: clamp(1.25rem, 0.6vw + 1rem, 1.5rem);
    margin-bottom: 1rem;
  }
  .steps-list {
    padding-left: 1.25rem;
    color: #444;
  }
  .steps-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
  }
  
/* ---------- Action cards (while you wait) ---------- */
.actions {
    background: var(--pt-bg-alt);
    padding: clamp(2rem, 2.5vw + 1rem, 3rem) 1rem;
  }
  
  .actions h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .action-card {
    background: #fff;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    padding: 1.5rem 1.25rem 1.75rem; /* consistent padding */
    display: flex;
    flex-direction: column;          /* stack content evenly */
    justify-content: space-between;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }
  
  .action-card:hover {
    box-shadow: var(--pt-shadow);
    transform: translateY(-2px);
    border-color: #d6d6d6;
  }
  
  .action-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  .action-card p {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
  
    text-align: left;       /* prevent justify stretching */
    word-spacing: normal;   /* reset word spacing */
    letter-spacing: normal; /* reset letter spacing */
    white-space: normal;    /* prevent odd wrapping */
  }
  
  .action-card .btn {
    margin-top: auto;                 /* keeps buttons aligned at bottom */
    align-self: flex-start;           /* keeps buttons left-aligned */
  }
  
  
  /* ---------- Buttons ---------- */
  .btn {
    display: inline-block;
    min-height: 44px;                 /* tap size */
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.06s ease;
    background: var(--pt-primary);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
  }
  .btn:hover { background: var(--pt-primary-dk); }
  .btn:active { transform: translateY(1px); }
  .btn:focus-visible {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(0,86,179,0.35);
  }
  
  .btn-secondary {
    background: var(--pt-accent);
    color: #fff;
  }
  .btn-secondary:hover { background: #1f7a34; }
  
  .btn-outline {
    border: 1px solid #c9c9c9;
    background: #fff;
    color: #333;
  }
  .btn-outline:hover {
    border-color: #999;
    color: #000;
  }
  
  /* ---------- Contact/support ---------- */
  .contact-support {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
  }
  .contact-support p {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--pt-text);
  }
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }
  
  /* ---------- Responsive ---------- */
  @media (min-width: 600px) {
    .action-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 992px) {
    .action-grid { grid-template-columns: repeat(4, 1fr); }
  }
  
  /* ---------- Reduced motion ---------- */
  @media (prefers-reduced-motion: reduce) {
    .action-card,
    .btn { transition: none; }
  }
  