/* =========================================================================
   THANK YOU PAGE — Confirmation section (tek-cabinets/ty-confirm)
   Shares the Tek section padding (70 / 50), joined sections, Background
   setting and the 2px radius with the other Tek sections.
   ========================================================================= */
.ty-confirm .wrap{display:flex;justify-content:center}
.ty-card{position:relative;width:100%;max-width:960px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(36px,5vw,64px) clamp(22px,4vw,56px);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 30px 70px -40px rgba(28,31,29,.35)}
.tek-bg-paper .ty-card{background:var(--stone)}
.tek-bg-deep .ty-card{background:var(--paper);color:var(--ink-soft)}

/* Check mark */
.ty-badge{display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;margin-bottom:22px;border-radius:50%;background:var(--brand);color:#fff;box-shadow:0 0 0 10px color-mix(in srgb,var(--brand) 12%,transparent)}
.ty-badge svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:no-preference){
  .ty-badge{animation:ty-pop 520ms cubic-bezier(.2,.9,.3,1.3) both}
  @keyframes ty-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
}

/* Text */
.ty-card .ho-eyebrow{margin:0}
.ty-h1{margin:12px 0 0;font-family:var(--font-head);font-weight:600;font-size:clamp(34px,24px + 2.6vw,56px);line-height:1.08;letter-spacing:-.025em;color:var(--ink);text-wrap:balance;max-width:20ch}
.ty-lede{margin-top:18px;max-width:60ch;font-size:clamp(16px,15px + .25vw,18px);line-height:1.65;color:var(--ink-soft);text-wrap:pretty}
.ty-lede+.ty-lede{margin-top:12px}
.ty-actions{justify-content:center;margin-top:30px}

/* Contact row */
.ty-contacts{width:100%;margin-top:clamp(32px,4vw,44px);padding-top:clamp(24px,3vw,32px);border-top:1px solid var(--line)}
.ty-contacts-t{margin:0 0 18px;font-family:var(--font-head);font-weight:600;font-size:18px;color:var(--ink)}
.ty-contact-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;text-align:left}
.ty-contact{display:flex;align-items:flex-start;gap:12px;height:100%;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--stone);color:var(--ink);text-decoration:none;transition:border-color 200ms var(--ease,ease),background-color 200ms var(--ease,ease)}
a.ty-contact:hover{border-color:var(--brand);background:var(--paper)}
.ty-contact-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius);background:var(--brand);color:#fff}
.ty-contact-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ty-contact-c{display:flex;flex-direction:column;gap:2px;min-width:0}
.ty-contact-k{font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-soft)}
.ty-contact-v{font-size:15px;font-weight:600;line-height:1.4;color:var(--ink);overflow-wrap:break-word}
a.ty-contact:hover .ty-contact-v{color:var(--brand)}

/* Tablet */
@media (max-width:900px){
  .ty-contact-list{grid-template-columns:minmax(0,1fr)}
}

/* Phones (767px and below) */
@media (max-width:767px){
  .ty-card{padding:32px 20px;box-shadow:none}
  .ty-badge{width:64px;height:64px;margin-bottom:18px;box-shadow:0 0 0 8px color-mix(in srgb,var(--brand) 12%,transparent)}
  .ty-badge svg{width:30px;height:30px}
  .ty-h1{max-width:100%}
  .ty-actions{width:100%;gap:12px}
  .ty-actions .btn{flex:1 1 100%;width:100%}
  .ty-contact{padding:14px}
}

/* Editor */
.tek-inline-block .ty-contact{cursor:text}
