/* ==========================================================================
   Founder Island Fest 2026 — Thank You page (after payment), v1
   Same tokens, header style and footer as the checkout pages.

   PART 1 · GoHighLevel. Everything down to the "PART 2" line goes into the
   page's Custom CSS. It styles the two Custom HTML blocks (hero, footer) and
   restyles GHL's own Order Confirmation element through the class names GHL
   gives it (.container-order-confirmation). Only looks change; the element
   still fills in the order itself.
   ========================================================================== */
.co, .ty-page, .container-order-confirmation {
  --co-ink: #130C19;
  --co-orange: #FF751F;
  --co-orange-ink: #B34A06;
  --co-on-ink: #F8F3FA;
  --co-on-ink-2: rgba(248, 243, 250, .76);
  --co-on-ink-3: rgba(248, 243, 250, .56);
  --co-text: #1C1422;
  --co-text-2: #5D5366;
  --co-text-3: #766C7F;
  --co-line: rgba(28, 20, 34, .12);
  --co-font: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.co { font-family: var(--co-font); color: var(--co-text); -webkit-font-smoothing: antialiased; }
.co *, .co *::before, .co *::after { box-sizing: border-box; }
/* resets carry no specificity (:where), so every component rule below wins over them */
.co :where(p, h1, h2, ul) { margin: 0; padding: 0; }
.co :where(img) { max-width: 100%; }

/* ---- hero: the confirmation message on the dark section ---- */
.ty-head { display: grid; justify-items: center; max-width: 760px; margin: 0 auto; text-align: center; color: var(--co-on-ink); }
.ty-logo { width: auto; height: clamp(56px, 6vw, 76px); margin-bottom: clamp(22px, 3.4vh, 34px); filter: drop-shadow(0 8px 30px rgba(255, 117, 31, .25)); }
.ty-badge { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; background: var(--co-orange); box-shadow: 0 18px 44px -12px rgba(255, 117, 31, .75); color: var(--co-ink); }
.ty-badge::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255, 117, 31, .45); animation: tyRing 2.6s ease-out infinite; }
.ty-badge svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tyTick .6s .25s ease-out forwards; }
@keyframes tyTick { to { stroke-dashoffset: 0; } }
@keyframes tyRing { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.ty-pill { padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: .8rem; font-weight: 700; letter-spacing: .12em; line-height: 1.4; }
.ty-title { max-width: 20ch; margin: 18px 0 16px; font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; color: #fff; }
.ty-lead { max-width: 56ch; font-size: 1.05rem; line-height: 1.6; color: var(--co-on-ink-2); }
.ty-lead b { font-weight: 700; color: #fff; }

/* ---- GHL's Order Confirmation element (its own markup) ---- */
.container-order-confirmation { font-family: var(--co-font) !important; color: var(--co-text); }
.container-order-confirmation .confirmationHeading { margin-bottom: 14px; font-family: var(--co-font) !important; font-size: 1.15rem !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--co-text) !important; }
.container-order-confirmation .confirmationText { font-family: var(--co-font) !important; font-size: .95rem !important; color: var(--co-text) !important; }
.container-order-confirmation .oc-product-title .item { font-size: .8rem !important; font-weight: 700 !important; color: var(--co-text-3) !important; }
.container-order-confirmation .divider-product { height: 0; margin: 10px 0; border: 0; border-top: 1px solid var(--co-line) !important; }
.container-order-confirmation .oc-product-total .item { font-size: 1.1rem !important; font-weight: 800 !important; }
.container-order-confirmation .oc-product-total .item:last-child { color: var(--co-orange-ink) !important; }

/* ---- footer (same as the checkout pages) ---- */
.co-foot { background: #0B070F; font-size: .95rem; color: var(--co-on-ink-2); }
.co-foot__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; max-width: 1180px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 44px) 32px; }
.co-foot__logo { width: auto; height: 76px; margin-bottom: 18px; }
.co-foot__ask { font-size: 1.1rem; font-weight: 700; color: #fff; }
.co-foot__mail { display: inline-flex; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: var(--co-orange); font-weight: 700; color: var(--co-ink); text-decoration: none; }
.co-foot__col { display: grid; align-content: start; gap: 10px; }
.co-foot__col p { font-weight: 700; color: #fff; }
.co-foot__col a { color: var(--co-on-ink-2); text-decoration: none; }
.co-foot__col a:hover, .co-foot__bottom a:hover { color: #fff; }
.co-foot__col--plain { padding-top: calc(1.65em + 10px); }
.co-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 44px) calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: var(--co-on-ink-3); }
.co-foot__bottom p:last-child { display: flex; gap: 20px; }
.co-foot__bottom a { color: var(--co-on-ink-2); }

@media (max-width: 760px) {
  .ty-logo { height: 46px; margin-bottom: 20px; }
  .ty-badge { width: 60px; height: 60px; margin-bottom: 16px; }
  .ty-badge svg { width: 28px; height: 28px; }
  .ty-pill { padding: 6px 14px; font-size: .7rem; }
  .ty-title { margin: 14px 0 12px; font-size: 2rem; }
  .ty-lead { font-size: .98rem; line-height: 1.55; }
  .container-order-confirmation .confirmationText { font-size: .88rem !important; }
  .co-foot__in { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 40px 20px 22px; }
  .co-foot__brand { grid-column: 1 / -1; }
  .co-foot__logo { height: 56px; margin-bottom: 12px; }
  .co-foot__col--plain { padding-top: 0; }
  .co-foot__bottom { padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .ty-badge::before { animation: none; opacity: 0; }
  .ty-badge svg { animation: none; stroke-dashoffset: 0; }
}

/* ==========================================================================
   PART 2 · PREVIEW ONLY — not for GoHighLevel.
   In GHL the dark background, the rows and the white card column are
   section, row and column settings, the "Name:" line is GHL's sub-heading
   element and the order table is laid out by GHL. These rules only make the
   preview look the same.
   ========================================================================== */
.ty-page *, .ty-page *::before, .ty-page *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ty-page { margin: 0; background: var(--co-ink); font-family: var(--co-font); color: var(--co-text); -webkit-font-smoothing: antialiased; }

/* the section, its two rows and the white card column */
.ty-hero { display: grid; align-content: center; gap: clamp(28px, 4vw, 44px); min-height: 100svh; padding: clamp(40px, 7vh, 88px) clamp(16px, 4vw, 44px); background: var(--co-ink) url("../img/ty-bg.webp") center / cover no-repeat; }
.ty-row { width: 100%; max-width: 1180px; margin: 0 auto; }
.ty-row--card { max-width: 680px; }
.ty-card { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.ty-example { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: #F3EDF6; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--co-text-3); }

/* GHL's "Name:" sub-heading (its settings in GHL: Work Sans, 16 px, 600, #1C1422) */
.ty-name { margin: 0 0 16px; padding-right: 110px; font-size: 1rem; font-weight: 600; color: var(--co-text); }
.ty-name b { font-weight: 800; }

/* the order table, as GHL lays it out */
.ty-card .product-detail { margin: 0; }
.ty-card .oc-product-title, .ty-card .oc-product-description, .ty-card .oc-product-total { display: grid; grid-template-columns: minmax(0, 1fr) 80px 96px; align-items: baseline; gap: 8px; }
.ty-card .oc-product-total { grid-template-columns: minmax(0, 1fr) auto; }
.ty-card .text-center { text-align: center; }
.ty-card .oc-product-title .item:last-child, .ty-card .oc-product-description .item:last-child, .ty-card .oc-product-total .item:last-child { text-align: right; }

@media (max-width: 760px) {
  .ty-hero { align-content: start; padding: 28px 16px 40px; }
  .ty-card { border-radius: 22px; }
  .ty-name { padding-right: 0; padding-top: 22px; }
  .ty-card .oc-product-title, .ty-card .oc-product-description { grid-template-columns: minmax(0, 1fr) 62px 76px; }
}
