/* /tickets: TEDxDUTH 2026 BLOOM campaign page. Standalone, does not load style.css. */
:root {
  --night: #240b42;
  --deep: #3c0e46;
  --deep-2: #180834;
  --poster: #7a1f86;
  --poster-2: #5e1a7c;
  --pink: #e61e7f;
  --yellow: #ffcd38;
  --orange: #ff8d29;
  --cream: #fff7ea;
  --ink: #22103a;
  --ink-soft: #5a4870;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, .82);
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgba(34, 16, 58, .12);
  --radius: 18px;
  --wrap: 1180px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.tx {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 500;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.tx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.tx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tx-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--yellow); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.tx-skip:focus { top: 12px; }
.tx-preview { background: var(--yellow); color: var(--night); font-weight: 700; font-size: .9rem; padding: 10px 20px; text-align: center; }

/* Buttons */
.tx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--yellow); color: var(--night);
  border: 2px solid var(--yellow); border-radius: 999px;
  font: 800 1.0625rem/1.2 var(--font); text-decoration: none; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.tx-btn:hover { background: #ffe07a; border-color: #ffe07a; }
.tx-btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .55); }
.tx-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.tx-btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.tx-ext { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Top bar */
.tx-bar { background: var(--night); border-bottom: 1px solid var(--line-dark); }
.tx-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.tx-logo { display: inline-flex; align-items: center; min-height: 44px; }
.tx-logo img { width: 128px; }
.tx-bar-nav { display: flex; align-items: center; gap: 18px; }
.tx-lang { font-weight: 700; font-size: .95rem; text-decoration: none; padding: 10px 4px; color: var(--on-dark-soft); }
.tx-lang:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.tx-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  padding: 44px 0 56px;
}
.tx-daisies img { position: absolute; width: 90px; opacity: .1; pointer-events: none; }
.tx-daisies .d1 { left: -20px; top: 30px; width: 120px; }
.tx-daisies .d2 { right: 6%; top: -24px; }
.tx-daisies .d3 { left: 46%; bottom: -30px; width: 110px; }
.tx-daisies .d4 { right: -26px; bottom: 22%; width: 70px; }
.tx-hero-in { position: relative; display: grid; gap: 28px; }
.tx-wordmark { width: min(340px, 78vw); margin-bottom: 22px; }
.tx-hero h1 { font-size: clamp(1.75rem, 5.2vw, 2.75rem); color: #fff; }
.tx-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.tx-facts li { display: flex; align-items: flex-start; gap: 12px; color: var(--on-dark-soft); font-weight: 700; }
.tx-facts svg, .tx-where-card svg { width: 22px; height: 22px; flex: none; margin-top: 3px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tx-facts a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.tx-facts a:hover { text-decoration-color: #fff; }
.tx-offer { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); max-width: 520px; }
.tx-offer-main { font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 800; line-height: 1.25; color: var(--yellow); }
.tx-offer-sub { margin-top: 4px; color: var(--on-dark-soft); }
.tx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tx-seller { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; font-size: .9rem; font-weight: 700; color: var(--on-dark-soft); }
.tx-seller img { width: 118px; height: auto; }
.tx-final .tx-seller { justify-content: center; }
.tx-gnome { width: 180px; justify-self: end; margin-top: -8px; }

/* Sections */
.tx-sec { padding: 64px 0; }
.tx-sec h2 { font-size: clamp(1.6rem, 4.2vw, 2.25rem); }
.tx-intro { margin-top: 12px; max-width: 680px; color: var(--on-dark-soft); }
.tx-light { background: var(--cream); color: var(--ink); }
.tx-light .tx-intro, .tx-light p { color: var(--ink-soft); }
.tx-light h2, .tx-light h3 { color: var(--ink); }
.tx-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; flex: none; }

/* Prices */
.tx-prices { background: linear-gradient(180deg, var(--poster) 0%, var(--poster-2) 100%); }
.tx-tiers { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.tx-tier { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 22px 24px; border: 3px solid transparent; display: flex; flex-direction: column; }
.tx-tier.is-now { border-color: var(--yellow); }
.tx-tier.is-later, .tx-tier.is-ended, .tx-tier.is-closed { background: #f4eef7; }
.tx-tier-status { align-self: flex-start; font-size: .85rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: #ece4f1; color: var(--ink-soft); }
.tx-tier.is-now .tx-tier-status { background: var(--yellow); color: var(--night); }
.tx-tier h3 { margin-top: 14px; font-size: 1.2rem; }
.tx-tier-price { font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin-top: 4px; color: var(--pink); }
.tx-tier.is-ended .tx-tier-price, .tx-tier.is-closed .tx-tier-price { color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 2px; }
.tx-tier-text { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }
.tx-perks { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .97rem; color: var(--ink); }
.tx-perks li { position: relative; padding-left: 22px; }
.tx-perks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.tx-tier-limit { margin-top: 14px; font-size: .95rem; font-weight: 800; color: var(--ink); }
.tx-code-note { margin-top: 22px; color: var(--on-dark-soft); max-width: 720px; font-size: 1rem; }

/* Includes + theme */
.tx-two { display: grid; gap: 56px; }
.tx-inc { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.tx-inc li { display: flex; gap: 16px; align-items: flex-start; }
.tx-inc img { width: 34px; height: 34px; flex: none; margin-top: 2px; }
.tx-inc h3, .tx-parts h3 { font-size: 1.08rem; }
.tx-inc p, .tx-parts p { margin-top: 2px; font-size: 1rem; }
.tx-parts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.tx-parts li { display: flex; gap: 16px; align-items: flex-start; }
.tx-parts .tx-num { background: var(--pink); color: #fff; }
.tx-speakers { margin-top: 24px; font-size: 1rem; }
.tx-speakers a, .tx-faq a { color: #b0125f; font-weight: 800; text-underline-offset: 3px; }

/* How it works */
.tx-how { background: var(--night); }
.tx-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.tx-steps li { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; }
.tx-steps .tx-num { background: var(--yellow); color: var(--night); }
.tx-steps h3 { margin-top: 14px; font-size: 1.12rem; }
.tx-steps p { margin-top: 6px; color: var(--on-dark-soft); font-size: 1rem; }

/* When and where */
.tx-where { background: linear-gradient(180deg, var(--deep-2) 0%, var(--night) 100%); border-top: 1px solid var(--line-dark); }
.tx-where-grid { display: grid; gap: 16px; margin-top: 28px; }
.tx-where-card { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; }
.tx-where-card p { color: var(--on-dark-soft); }
.tx-where-card .tx-where-l { color: #fff; font-weight: 800; font-size: 1.12rem; }
.tx-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--yellow); font-weight: 800; text-underline-offset: 4px; }
.tx-entry { margin-top: 20px; color: var(--on-dark-soft); max-width: 720px; font-size: 1rem; }

/* FAQ */
.tx-narrow { max-width: 820px; }
.tx-faq { margin-top: 24px; border-top: 1px solid var(--line-light); }
.tx-faq details { border-bottom: 1px solid var(--line-light); }
.tx-faq summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-weight: 800; font-size: 1.06rem; color: var(--ink); line-height: 1.4;
}
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--pink); border-bottom: 2.5px solid var(--pink); transform: rotate(45deg);
  transition: transform .15s ease;
}
.tx-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.tx-faq details > p { padding: 0 0 20px; max-width: 680px; }
.tx-terms ol { margin: 0; padding: 0 0 22px 22px; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-soft); }

/* Final band */
.tx-final { background: linear-gradient(160deg, var(--poster) 0%, var(--deep) 100%); text-align: center; }
.tx-final-in { display: flex; flex-direction: column; align-items: center; }
.tx-final h2 { color: #fff; }
.tx-final .tx-offer-main { margin-top: 14px; }
.tx-final .tx-offer-sub { margin-top: 4px; }
.tx-final .tx-btn { margin-top: 26px; }

/* Footer */
.tx-foot { background: var(--night); border-top: 1px solid var(--line-dark); padding: 36px 0 110px; }
.tx-foot-in { display: grid; gap: 18px; }
.tx-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tx-foot-nav a { color: var(--on-dark-soft); font-weight: 700; font-size: .95rem; text-decoration: none; padding: 8px 0; }
.tx-foot-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tx-license { color: rgba(255, 255, 255, .6); font-size: .85rem; }

/* Phone buy bar */
.tx-sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(36, 11, 66, .92); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.tx-sticky[hidden] { display: none; }
.tx-sticky-price { font-weight: 800; color: var(--yellow); font-size: 1rem; white-space: nowrap; }
.tx-sticky .tx-btn { padding: 10px 28px; white-space: nowrap; }

@media (min-width: 640px) {
  .tx-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-where-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .tx-logo img { width: 150px; }
  .tx-hero { padding: 72px 0 88px; }
  .tx-hero-in { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 40px; }
  .tx-wordmark { width: 420px; }
  .tx-gnome { width: 340px; justify-self: center; margin-top: 0; }
  .tx-sec { padding: 88px 0; }
  .tx-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .tx-sticky { display: none !important; }
  .tx-foot { padding-bottom: 40px; }
}
@media (min-width: 1100px) {
  .tx-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .tx-hero-in { grid-template-columns: minmax(0, 1fr); }
  .tx-gnome { position: absolute; right: 12px; top: -10px; width: min(118px, 27vw); }
  .tx-wordmark { width: min(250px, 58vw); }
}
@media (max-width: 639px) {
  .tx-bar .tx-btn { display: none; }
  .tx-ctas .tx-btn { width: 100%; padding: 14px 18px; font-size: 1rem; }
}
@media (max-width: 380px) {
  .tx-final .tx-btn { width: 100%; }
}
