/* trillirt.com — Aurora, dark only (CDO-9, trillirt-com-visual-design-v1.md; tokens = aurora-palette.md §1).
   CSP is style-src 'self': every rule lives here, no inline styles. No JS. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/PlusJakartaSans-5.3.0.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root { color-scheme: dark; --canvas: #0C0E1C; --low: #151833; --high: #1E2244; --btn: #262B52; --accent: #9D8CFF; --on-accent: #0C0E1C;
  --text: #FFFFFF; --text2: #A9AECB; --legal: #E8EAF5; --hair: rgba(255,255,255,.08); --live: #3FE0C5; --glow: #FF7AB8;
  --caution: #F5A524; --caution-bg: #2A2012; --grad: linear-gradient(90deg, #3FE0C5, #9D8CFF 55%, #FF7AB8); }
* { box-sizing: border-box; }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 17px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: var(--accent); }
a:hover { color: #B9ACFF; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--accent); color: var(--on-accent); padding: 12px 16px; border-radius: 12px; font-weight: 700; z-index: 10; }
.skip:focus { top: 12px; }
h1, h2, h3 { margin: 0; }
.ico { flex: none; }

/* header + footer */
.top, main, .foot { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.top { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.word { color: var(--text); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.3px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.word:hover { color: var(--text); }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.navlink { color: var(--text2); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; }
.navlink:hover { color: var(--text); }
.pill { color: var(--on-accent); background: var(--accent); text-decoration: none; font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; }
.pill:hover { color: var(--on-accent); background: #B9ACFF; }
.foot { margin-top: 72px; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--hair); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot p { margin: 12px 0 0; font-size: 14px; color: var(--text2); }

/* store block */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.stores.center { justify-content: center; margin-top: 28px; }
.stores.full { margin-top: 12px; }
.store { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; background: var(--btn); color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; }
a.store:hover { color: var(--text); background: #30366A; }
.store.soon { background: transparent; border: 1px dashed rgba(169,174,203,.45); color: var(--text2); font-weight: 600; cursor: default; }
.stores.full .store { flex: 1 1 100%; }

/* home */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 56px 0 72px; }
.herotext { flex: 1 1 460px; min-width: 0; }
.heroart { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.rings { width: 100%; max-width: 520px; height: auto; }
.ring, .ring2 { transform-origin: 400px 400px; animation: spin 140s linear infinite; }
.ring2 { animation-duration: 200s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring, .ring2 { animation: none; } }
.eyebrow { margin: 0 0 20px; font-size: 14px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text2); }
.grad { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -1.5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin: 20px 0 0; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; }
.intro { margin: 20px 0 0; font-size: 19px; color: var(--text2); max-width: 560px; }
.note { margin: 16px 0 0; font-size: 15px; color: var(--text2); }
.band { padding: 72px 0 0; }
.band h2, .closing h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.6px; }
.band > .intro { margin: 12px 0 0; font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--low); border: 1px solid var(--hair); border-radius: 20px; padding: 28px; }
.tile { width: 44px; height: 44px; border-radius: 12px; background: var(--high); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3, .steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p, .steps p { margin: 0; font-size: 16px; color: var(--text2); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.num { display: block; font-size: 44px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; -webkit-background-clip: text; background-clip: text; color: transparent; }
.n1 { background-image: linear-gradient(90deg, #3FE0C5, #9D8CFF); }
.n2 { background-image: linear-gradient(90deg, #9D8CFF, #FF7AB8); }
.n3 { background-image: linear-gradient(90deg, #FF7AB8, #FFB38A); }
.closing { margin-top: 72px; border-radius: 28px; padding: 56px 32px; text-align: center; border: 1px solid var(--hair); background: radial-gradient(ellipse at 50% 0%, rgba(157,140,255,.28), #151833 70%); }
.closing p { margin: 12px 0 0; font-size: 18px; color: var(--text2); }

/* share page */
.share { max-width: 520px; margin: 24px auto 0; }
.cover { position: relative; overflow: hidden; border-radius: 20px; min-height: 220px; padding: 28px 24px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,28,0) 30%, rgba(12,14,28,.72) 100%); }
.coverin { position: relative; z-index: 1; }
.cover h1 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.6px; overflow-wrap: anywhere; }
.c0 { background: linear-gradient(150deg, #3FE0C5, #5B4BD6); }
.c1 { background: linear-gradient(150deg, #FF7AB8, #6A4CFF); }
.c2 { background: linear-gradient(150deg, #9D8CFF, #2E2A7A); }
.c3 { background: linear-gradient(150deg, #5FD3FF, #7A6CFF); }
.c4 { background: linear-gradient(150deg, #FFB38A, #FF5C9E); }
.c5 { background: linear-gradient(150deg, #3FE0C5, #2D7FF9); }
.badge { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8,10,20,.78); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; letter-spacing: .8px; }
.badge.live { color: var(--live); }
.badge.soon { color: var(--glow); }
.badge.ended { color: var(--text2); }
.by, .count { margin: 16px 0 0; font-size: 16px; color: var(--text2); }
.count { margin-top: 6px; font-size: 15px; }
.when { margin: 6px 0 0; font-size: 18px; font-weight: 600; color: var(--text); }
.share .lead { margin: 24px 0 0; font-size: 17px; color: var(--text2); }
.join { margin-top: 24px; display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 800; font-size: 17px; }
.join:hover { color: var(--on-accent); background: #B9ACFF; }
.hint { margin: 12px 0 0; font-size: 14px; text-align: center; color: var(--text2); }

/* legal + delete-account */
.legal { max-width: 680px; margin: 24px auto 0; font-size: 17px; line-height: 1.65; color: var(--legal); }
.legal h1 { margin: 28px 0 8px; font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -.6px; color: var(--text); }
.legal h2 { margin: 32px 0 8px; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--text); }
.legal h3 { margin: 24px 0 6px; font-size: 18px; font-weight: 700; color: var(--text); }
.legal p, .legal ul, .legal ol { margin: 0 0 16px; }
.legal hr { border: 0; border-top: 1px solid var(--hair); margin: 32px 0; }
.legal code { font-size: .92em; background: var(--high); padding: 1px 6px; border-radius: 6px; }
.draft { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--caution-bg); border: 1.5px solid var(--caution); color: var(--text); font-size: 15px; line-height: 1.5; }
.draft p { margin: 0; }
mark.tbd { background: #F5D58A; color: #1A1A1A; padding: 0 4px; border-radius: 3px; }
.tablewrap { margin: 24px 0; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; line-height: 1.5; }
.legal th { background: var(--high); text-align: left; font-weight: 700; padding: 10px 12px; color: var(--text); }
.legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--hair); }
.legal tbody tr:nth-child(even) { background: var(--low); }

/* 404 */
.nothing { text-align: center; padding: 96px 0 24px; }
.nothing h1 { font-size: 40px; font-weight: 800; margin-bottom: 24px; }

/* phone */
@media (max-width: 640px) {
  .top, main, .foot { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 24px; gap: 24px; }
  .heroart { order: -1; }
  .rings { max-width: 300px; }
  .sub { font-size: 26px; }
  .intro { font-size: 17px; }
  #get .store { flex: 1 1 100%; }
  .closing { padding: 40px 20px; }
}

/* CDO-9 S4: gradient headline never vanishes */
/* (S12: the step numbers use the same gradient text, so they get the same solid fallback) */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { background: none; color: #9D8CFF; }
  .num { background: none; }
  .n1 { color: #3FE0C5; } .n2 { color: #9D8CFF; } .n3 { color: #FF7AB8; }
}
@media (forced-colors: active) { .grad, .num { background: none; color: CanvasText; } }
/* CDO-9 S4 #4: the closing period stays with its word; no extra gap after the last glyph */
.nw { white-space: nowrap; }
.grad { padding-right: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.grad .dot { margin-left: -.05em; }
