/*
 * Sunset Pill: components
 * Every value comes from tokens.css. Prefix: su-
 */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--su-paper);
  color: var(--su-ink);
  font-family: var(--su-sans);
  font-size: var(--su-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Layout ---------- */
.su-container { width: 100%; max-width: var(--su-container); margin: 0 auto; padding: 0 var(--su-gutter); }
.su-narrow { width: 100%; max-width: var(--su-narrow); margin: 0 auto; padding: 0 var(--su-gutter); }
.su-section { padding: var(--su-section) 0; }
.su-section--mist { background: var(--su-mist); }
.su-center { text-align: center; }
.su-stack { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- Type ---------- */
.su-hero-title, .su-h2, .su-h3 { font-family: var(--su-display); color: var(--su-ink); margin: 0; }
.su-hero-title {
  font-size: var(--su-text-hero);
  font-weight: 700;
  letter-spacing: var(--su-tracking-hero);
  line-height: var(--su-leading-hero);
  text-wrap: balance;
}
.su-h2 { font-size: var(--su-text-h2); font-weight: 700; letter-spacing: var(--su-tracking-h2); line-height: 1.04; text-wrap: balance; }
.su-h3 { font-size: var(--su-text-h3); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.su-lead { font-size: var(--su-text-lead); color: var(--su-soft); line-height: 1.55; margin: 0; max-width: 34ch; }
.su-muted { color: var(--su-soft); }
.su-small { font-size: var(--su-text-small); }
.su-eyebrow { font-size: var(--su-text-small); font-weight: 500; color: var(--su-soft); margin: 0 0 14px; }

/* The signature: one phrase per page filled with the sunset */
.su-sunset {
  background: var(--su-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: .06em;
}

/* ---------- Wordmark ---------- */
.su-mark { display: inline-flex; align-items: flex-start; gap: 2px; font-family: var(--su-display); font-weight: 600; font-size: 22px; letter-spacing: -.04em; color: var(--su-soft); text-decoration: none; line-height: 1; }
.su-mark svg { width: 10px; height: 10px; margin-top: -2px; color: var(--su-soft); }
.su-sparkle { width: 16px; height: 16px; color: var(--su-faint); }

/* ---------- Nav ---------- */
.su-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.su-nav-links { display: flex; align-items: center; gap: 22px; }
.su-nav-link { font-size: var(--su-text-small); font-weight: 500; color: var(--su-soft); text-decoration: none; white-space: nowrap; transition: color .2s var(--su-ease); }
.su-nav-link:hover { color: var(--su-ink); }
.su-nav-link--hide-sm { }
@media (max-width: 640px) { .su-nav-link--hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.su-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--su-sans); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 24px; border-radius: var(--su-radius-pill); border: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--su-ease), background .2s var(--su-ease), box-shadow .25s var(--su-ease);
}
.su-btn--ink { background: var(--su-ink); color: var(--su-paper); }
.su-btn--ink:hover { background: var(--su-ink-2); transform: translateY(-1px); box-shadow: var(--su-shadow-lift); }
.su-btn--mist { background: var(--su-mist); color: var(--su-ink); }
.su-btn--mist:hover { background: var(--su-mist-2); }
.su-btn--chip { background: var(--su-mist); color: var(--su-ink-2); font-size: 13px; font-weight: 500; padding: 8px 14px; }
.su-btn--chip:hover { background: var(--su-mist-2); }
.su-btn--block { width: 100%; }

.su-textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--su-soft); text-decoration: none; white-space: nowrap; }
.su-textlink:hover { color: var(--su-ink); }
.su-textlink::after { content: "\2192"; font-size: 13px; transition: transform .2s var(--su-ease); }
.su-textlink:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.su-hero { min-height: min(86vh, 820px); display: flex; align-items: center; justify-content: center; padding: 72px 0 96px; }
.su-hero .su-mark { margin-bottom: 18px; }
.su-hero .su-lead { margin-top: 26px; }
.su-cta { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 34px; }
.su-cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; width: min(520px, 100vw); height: 220px; transform: translate(-50%, -30%); background: var(--su-halo); filter: blur(10px); pointer-events: none; }

/* ---------- Badges and chips ---------- */
.su-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--su-radius-pill); background: var(--su-mist); color: var(--su-ink-2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.su-badge--blush { background: var(--su-blush); color: var(--su-magenta); }
.su-badge--peach { background: var(--su-peach); color: var(--su-amber-ink); }
.su-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--su-sunset); }

/* ---------- Cards ---------- */
.su-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.su-card { background: var(--su-paper); border: var(--su-border); border-radius: var(--su-radius); padding: 28px; box-shadow: var(--su-shadow); }
.su-card--flat { box-shadow: none; background: var(--su-mist); border-color: transparent; }
.su-card .su-h3 { margin: 18px 0 8px; }
.su-card p { margin: 0; color: var(--su-soft); font-size: 15px; }
.su-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--su-mist); display: grid; place-items: center; color: var(--su-ink); }
.su-icon svg { width: 22px; height: 22px; }

/* An event-style ticket card: a tiny poster swatch, title and meta */
.su-ticket { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--su-radius); background: var(--su-paper); border: var(--su-border); box-shadow: var(--su-shadow); text-align: left; }
.su-ticket-art { flex: 0 0 64px; height: 64px; border-radius: 14px; background: var(--su-sunset); position: relative; overflow: hidden; }
.su-ticket-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 45%); }
.su-ticket-title { font-weight: 600; font-size: 15px; line-height: 1.3; margin: 0; }
.su-ticket-meta { font-size: 13px; color: var(--su-soft); margin: 2px 0 0; }

/* ---------- Stat row ---------- */
.su-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; }
.su-stat strong { display: block; font-family: var(--su-display); font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.su-stat span { font-size: var(--su-text-small); color: var(--su-soft); }

/* ---------- Quote ---------- */
.su-quote { font-family: var(--su-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; line-height: 1.18; margin: 0; text-wrap: balance; }
.su-quote-by { margin-top: 20px; font-size: var(--su-text-small); color: var(--su-soft); }

/* ---------- Forms ---------- */
.su-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.su-label { display: block; font-size: 13px; font-weight: 500; color: var(--su-soft); margin-bottom: 6px; }
.su-input, .su-select {
  width: 100%; font: inherit; font-size: 16px; color: var(--su-ink);
  background: var(--su-mist); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px;
  transition: border-color .2s var(--su-ease), background .2s var(--su-ease);
}
.su-input::placeholder { color: var(--su-faint); }
.su-input:focus, .su-select:focus { outline: none; background: var(--su-paper); border-color: var(--su-ink); }
.su-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--su-soft); }
.su-check input { accent-color: var(--su-ink); margin-top: 4px; }
.su-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--su-faint); }
.su-or::before, .su-or::after { content: ""; flex: 1; height: 1px; background: var(--su-line); }
.su-inline-form { display: flex; gap: 8px; padding: 6px; border-radius: var(--su-radius-pill); background: var(--su-mist); max-width: 420px; width: 100%; }
.su-inline-form .su-input { background: transparent; border: 0; padding: 10px 14px; min-width: 0; }
.su-inline-form .su-input:focus { background: transparent; }

/* ---------- Pricing ---------- */
.su-toggle { display: inline-flex; padding: 4px; border-radius: var(--su-radius-pill); background: var(--su-mist); gap: 2px; }
.su-toggle button { font: inherit; font-size: 14px; font-weight: 500; border: 0; background: transparent; color: var(--su-soft); padding: 8px 16px; border-radius: var(--su-radius-pill); cursor: pointer; white-space: nowrap; }
.su-toggle button[aria-pressed="true"] { background: var(--su-paper); color: var(--su-ink); box-shadow: var(--su-shadow); }
.su-plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.su-plan { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--su-radius-lg); border: var(--su-border); background: var(--su-paper); text-align: left; }
.su-plan--pick { box-shadow: var(--su-shadow-lift); border-color: transparent; position: relative; }
.su-plan--pick::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--su-sunset); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.su-plan-name { font-weight: 600; font-size: 17px; margin: 0; }
.su-price { font-family: var(--su-display); font-weight: 700; font-size: 52px; letter-spacing: -.045em; line-height: 1; }
.su-price small { font-family: var(--su-sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--su-soft); }
.su-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.su-list li { display: flex; gap: 10px; align-items: flex-start; }
.su-list li::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--su-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23121215' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.su-plan .su-btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.su-faq { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.su-faq details { background: var(--su-mist); border-radius: var(--su-radius); padding: 18px 22px; }
.su-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.su-faq summary::-webkit-details-marker { display: none; }
.su-faq summary::after { content: "+"; color: var(--su-soft); font-weight: 500; }
.su-faq details[open] summary::after { content: "\2212"; }
.su-faq p { margin: 10px 0 0; color: var(--su-soft); font-size: 15px; }

/* ---------- Article ---------- */
.su-article { max-width: 680px; margin: 0 auto; padding: 0 var(--su-gutter); }
.su-article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 14px; color: var(--su-soft); }
.su-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--su-sunset); flex: 0 0 28px; }
.su-prose { font-size: 18px; line-height: 1.75; color: var(--su-ink-2); }
.su-prose h2 { font-family: var(--su-display); font-size: 30px; letter-spacing: -.03em; line-height: 1.15; color: var(--su-ink); margin: 56px 0 14px; }
.su-prose p { margin: 0 0 22px; }
.su-prose a { text-decoration-color: var(--su-coral); text-underline-offset: 3px; }
.su-prose blockquote { margin: 40px 0; padding: 0; text-align: center; font-family: var(--su-display); font-weight: 600; font-size: 28px; letter-spacing: -.03em; line-height: 1.2; color: var(--su-ink); }
.su-prose ul { padding-left: 20px; margin: 0 0 22px; }
.su-prose li { margin-bottom: 8px; }
.su-cover { height: 300px; border-radius: var(--su-radius-lg); background: var(--su-mist); position: relative; overflow: hidden; }
.su-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Footer ---------- */
.su-footer { padding: 56px 0 40px; }
.su-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.su-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.su-footer small { color: var(--su-faint); font-size: 13px; }

/* ---------- Motion ---------- */
@keyframes su-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.su-rise { animation: su-rise .9s var(--su-ease) both; }
.su-rise--2 { animation-delay: .12s; }
.su-rise--3 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .su-rise { animation: none; } }
