/* Support page — concept: "the thread". One centred sentence with the people
   and the code set into it, then the ticket as the conversation it becomes.
   Tiers are three page-wide bands, services five panels with one open, the
   documentation a directory listing, and the status a single line. */

/* 1 · sentence + thread */
.su { padding: 160px 0 clamp(40px, 5vw, 72px); text-align: center; }
.su h1 { margin: 24px auto 26px; max-width: 12.5em; font-size: clamp(40px, 6.6vw, 108px); line-height: 1.02; letter-spacing: -.048em; }
.su-ppl { display: inline-flex; vertical-align: middle; margin: -.12em .06em 0 .02em; }
.su-ppl i { display: grid; place-items: center; width: 4.1em; height: 4.1em; margin-left: -1.2em; border-radius: 50%; border: .22em solid var(--bg); font: normal 500 .2em/1 var(--mono); letter-spacing: 0; color: #fff; background: linear-gradient(140deg, var(--o2), #B23A22); animation: suBob 4.5s ease-in-out infinite; }
.su-ppl i:first-child { margin-left: 0; } .su-ppl i:nth-child(2) { background: var(--fg); animation-delay: -1.5s; } .su-ppl i:nth-child(3) { background: linear-gradient(140deg, var(--o3), var(--o2)); color: #3A160B; animation-delay: -3s; }
@keyframes suBob { 50% { transform: translateY(-.35em); } }
.su-code { display: inline-flex; align-items: center; gap: .5em; vertical-align: middle; margin: -.14em .04em 0; padding: .5em .9em; border-radius: 999px; background: var(--ember); color: #fff; font: 500 .2em var(--mono); letter-spacing: 0; box-shadow: 0 .8em 1.6em -.8em rgba(178, 58, 34, .9); } .su-code b { font-weight: 400; color: var(--o2); animation: suNudge 1.6s ease-in-out infinite; } @keyframes suNudge { 50% { transform: translateX(.25em); } }
.su .lede { margin-inline: auto; max-width: 58ch; } .su .inst-ctas { margin-top: 30px; justify-content: center; }
.su-go { background: var(--fg); color: #fff; } .su-go:hover { background: #000; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(27, 29, 34, .7); } .su-ghost { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 28%, transparent); } .su-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.su-thread { position: relative; margin: clamp(52px, 7vw, 96px) auto 0; max-width: 880px; display: grid; gap: 18px; text-align: left; }
.su-thread::before { content: ""; position: absolute; left: 50%; top: -34px; bottom: 20px; border-left: 1.5px dashed #E6CFC0; z-index: -1; }
.su-thread li { display: flex; align-items: flex-end; gap: 12px; max-width: 78%; transition: opacity .9s var(--ease), transform .9s var(--ease-out); } .su-thread li.dev { margin-left: auto; flex-direction: row-reverse; }
.su-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 500 11px var(--mono); background: var(--card); border: 1px solid var(--line); color: var(--fg); } .dev .su-av { background: linear-gradient(140deg, var(--o2), #B23A22); border-color: transparent; color: #fff; }
.su-thread li > div { padding: 20px 24px 22px; border-radius: 26px 26px 26px 8px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(60, 40, 25, .4); } .su-thread .dev > div { border-radius: 26px 26px 8px 26px; background: var(--ember); border-color: transparent; color: #fff; box-shadow: 0 30px 50px -30px rgba(178, 58, 34, .8); }
.su-thread b { display: block; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); } .su-thread .dev b { color: var(--o3); } .su-thread p { margin-top: 8px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.42; letter-spacing: -.01em; }
.su-thread mark { background: linear-gradient(100deg, var(--o2), var(--o1)); color: #fff; padding: .05em .4em; border-radius: 8px; white-space: nowrap; }
.su-thread .done > div { background: linear-gradient(140deg, var(--o2), #B23A22); } .su-thread .done b { color: #fff; } .su-thread .done b::after { content: " ✓"; }

/* 2 · tier bands */
.su-tiers .wrap { display: grid; gap: 12px; }
.su-band { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(24px, 3vw, 44px); border-radius: 34px; background: var(--card); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s, opacity .9s var(--ease) calc(var(--i, 0) * 100ms); } .su-band:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.su-band h2 { font-size: clamp(26px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; } .su-band header p { margin-top: 10px; font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.su-band dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; } .su-band dl div { padding: 16px 18px 18px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; } .su-band dl .w2 { grid-column: span 2; }
.su-band dt { font: 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); } .su-band dd { margin: 0; font-size: clamp(16px, 1.45vw, 20px); font-weight: 500; letter-spacing: -.015em; line-height: 1.22; } .su-band dd.lo { font-weight: 400; color: var(--fg-3); } .su-band dd.hi { color: var(--accent); }
.su-band.ee { background: var(--ember); border-color: transparent; color: #fff; padding-block: clamp(34px, 4.4vw, 64px); box-shadow: 0 50px 90px -50px rgba(178, 58, 34, .8); } .su-band.ee::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 90% at 0% 0%, rgba(232, 115, 79, .5), transparent 70%), radial-gradient(420px circle at var(--mx, 80%) var(--my, 100%), rgba(255, 122, 89, .18), transparent 65%); }
.su-band.ee h2 { font-size: clamp(30px, 3.8vw, 58px); } .su-band.ee header p { color: var(--o3); } .su-band.ee dl div { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .13); } .su-band.ee dt { color: rgba(255, 255, 255, .55); } .su-band.ee dd.hi { color: var(--o3); font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.03em; }
.su-band.inc { background: linear-gradient(120deg, #FFE9DD, #FFF6EF); border-color: #F6D9C9; } .su-band.inc dl div { background: rgba(255, 255, 255, .7); border-color: #F3DDD0; }

/* 3 · the services accordion */
.su-sv-h { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; } .su-sv-h .lede { max-width: 44ch; }
.su-acc { margin-top: 48px; display: flex; gap: 10px; height: clamp(380px, 36vw, 480px); }
.su-p { position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0; padding: 26px 24px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; transition: flex-grow .8s var(--ease-out), background .5s, color .5s, border-color .5s; }
.su-p.on { flex-grow: 4.4; background: var(--ember); color: #fff; border-color: transparent; cursor: default; } .su-p.on::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(232, 115, 79, .55), transparent 70%); }
.su-p span { font: 12px var(--mono); letter-spacing: .12em; color: var(--accent); } .su-p.on span { color: var(--o3); }
.su-p h3 { margin-top: auto; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; white-space: nowrap; transition: font-size .5s; }
.su-p.on h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: clamp(30px, 3.6vw, 54px); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; max-width: 11em; animation: suIn .7s var(--ease-out); } @keyframes suIn { from { opacity: 0; transform: translateY(14px); } }
.su-p p { display: none; margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .74); max-width: 44ch; } .su-p.on p { display: block; animation: suIn .7s .08s var(--ease-out) backwards; }
.su-p:not(.on):hover { border-color: var(--o2); background: color-mix(in srgb, var(--o2) 6%, var(--card)); }
.su-enq { margin-top: 22px; font-size: 16px; color: var(--fg-2); } .su-enq a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* 4 · the directory listing */
.su-ls { border-radius: 34px; background: var(--ember); color: #fff; overflow: hidden; box-shadow: 0 60px 100px -60px rgba(178, 58, 34, .8); }
.su-ls-bar { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); } .su-lights { display: flex; gap: 6px; } .su-lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); } .su-lights i:first-child { background: var(--o2); }
.su-ls-bar b { font-weight: 500; font-size: 15px; } .su-ls-bar label { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font: 13px var(--mono); transition: border-color .25s, background .25s; } .su-ls-bar label:focus-within { border-color: var(--o2); background: rgba(255, 255, 255, .12); } .su-ls-bar label span { color: var(--o2); }
.su-ls-bar input { width: clamp(90px, 16vw, 220px); border: 0; background: none; outline: none; color: #fff; font: inherit; }
.su-ls-cmd { padding: 20px 28px 10px; font: 14px var(--mono); color: rgba(255, 255, 255, .7); } .su-ls-cmd span { color: var(--o2); margin-right: 6px; } .su-ls-cmd em { font-style: normal; color: rgba(255, 255, 255, .4); margin-left: 10px; }
.su-ls ul { padding: 4px 12px 14px; counter-reset: d; } .su-ls li { counter-increment: d; } .su-ls li[hidden] { display: none; }
.su-ls li a { display: grid; grid-template-columns: 44px minmax(0, .8fr) minmax(0, 1.6fr) 28px; gap: 16px; align-items: baseline; padding: 17px 16px; border-radius: 16px; border-top: 1px solid rgba(255, 255, 255, .08); transition: background .25s, padding .45s var(--ease-out); } .su-ls li:first-child a { border-top: 0; } .su-ls li a:hover { background: rgba(255, 255, 255, .07); padding-left: 26px; }
.su-ls li a::before { content: "0" counter(d); font: 12px var(--mono); color: var(--o2); } .su-ls li a::after { content: "↗"; color: rgba(255, 255, 255, .4); transition: color .25s, transform .4s var(--ease-out); } .su-ls li a:hover::after { color: var(--o3); transform: translate(3px, -3px); }
.su-ls li b { font: 500 clamp(17px, 1.6vw, 22px) var(--mono); letter-spacing: -.02em; } .su-ls li span { font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .64); }
.su-none { padding: 6px 28px 28px; font: 14px var(--mono); color: rgba(255, 255, 255, .6); } .su-none[hidden] { display: none; } .su-none a { color: var(--o3); text-decoration: underline; text-underline-offset: 4px; }

/* 5 · status */
.su-status { padding: clamp(24px, 4vw, 56px) 0 clamp(72px, 9vw, 130px); text-align: center; }
.su-status a { display: grid; justify-items: center; gap: 14px; } .su-status i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--o2); } .su-status i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid var(--o2); animation: suPing 2.4s var(--ease-out) infinite; } @keyframes suPing { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.su-status h2 { font-size: clamp(38px, 7vw, 116px); font-weight: 400; letter-spacing: -.05em; line-height: 1; transition: color .4s; } .su-status a:hover h2 { color: var(--accent); } .su-status p { font: 13.5px var(--mono); letter-spacing: .03em; color: var(--fg-2); } .su-status span { margin-top: 8px; font-weight: 500; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) { .su-band { grid-template-columns: 1fr; } .su-ls li a { grid-template-columns: 36px minmax(0, 1fr) 24px; } .su-ls li span { grid-column: 2; grid-row: 2; } .su-ls li a::after { grid-column: 3; grid-row: 1; } }
@media (max-width: 760px) { .su { padding-top: 124px; } .su-thread li { max-width: 100%; } .su-thread::before { display: none; } .su-av { width: 36px; height: 36px; font-size: 10px; } .su-thread li > div { padding: 16px 18px 18px; border-radius: 22px 22px 22px 6px; } .su-thread .dev > div { border-radius: 22px 22px 6px 22px; }
  .su-band { border-radius: 26px; } .su-band:hover { transform: none; } .su-band dl { grid-template-columns: 1fr 1fr; } .su-band dl .w2 { grid-column: 1 / -1; }
  /* the accordion stacks: every panel open, nothing to tap */
  .su-acc { flex-direction: column; height: auto; } .su-p, .su-p.on { flex: none; padding: 22px; border-radius: 24px; cursor: default; } .su-p h3, .su-p.on h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; margin-top: 14px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; animation: none; } .su-p p { display: block; color: var(--fg-2); font-size: 16px; margin-top: 8px; animation: none !important; } .su-p.on p { color: rgba(255, 255, 255, .74); }
  .su-ls { border-radius: 26px; } .su-ls-bar b { display: none; } .su-ls-bar label { margin-left: 0; flex: 1; } .su-ls-bar input { width: 100%; } .su-ls-cmd { padding-inline: 20px; font-size: 12px; } .su-ls li a { padding-inline: 10px; } }
@media (prefers-reduced-motion: reduce) { .su-ppl i, .su-code b, .su-status i::after { animation: none; } }
