@font-face{font-family:Jakarta;src:url('assets/jakarta.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:JetBrains;src:url('assets/mono.woff2') format('woff2');font-weight:400 500;font-display:swap}
:root{--bg:#f6f5f1;--panel:#fff;--ink:#20221f;--muted:#656861;--line:#deded7;--ember:#f97316;--rust:#b9420a;--green:#237548;--soft:#eeede7;--sans:Jakarta,system-ui,sans-serif;--mono:JetBrains,monospace;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.65 var(--sans);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}svg{display:block}.icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-lg{width:24px;height:24px}.mono,code,kbd{font-family:var(--mono);font-size:.86em}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16;letter-spacing:-.045em}h1{font-weight:600}h2{font-weight:600}h3{letter-spacing:-.025em}p{color:var(--muted)}button{color:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 18px;border:1px solid var(--line);background:var(--panel);border-radius:7px;font-weight:600;font-size:12px;line-height:1.4;transition:background .15s,transform .15s}.btn:hover{background:var(--soft)}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--ember);border-color:var(--ember);color:#24180e}.btn-primary:hover{background:#fb923c;border-color:#fb923c}.btn-dark{background:var(--ink);color:var(--bg);border-color:var(--ink)}.btn-dark:hover{background:var(--ink-hover,#383b35)}.btn-quiet{background:transparent}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted)}.icon-btn:hover{background:var(--soft);color:var(--ink)}.text-link{display:inline-flex;gap:8px;align-items:center;font-weight:600;font-size:12px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font:500 10px/1.7 var(--mono);color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);flex:none}.dot.ember{background:var(--ember)}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:5px;padding:3px 8px;font-size:10px;color:var(--muted);white-space:nowrap}.pill.ok{color:var(--green);background:var(--ok-tint,#2375480b);border-color:var(--ok-edge,#23754825)}.pill.warning{color:var(--rust);background:#f973160c;border-color:#f9731630}.pill.rest{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:10px;left:10px;transform:translateY(-180%);z-index:100;background:var(--panel);padding:12px;border-radius:6px}.skip:focus{transform:none}:focus-visible{outline:2px solid var(--ember);outline-offset:4px}::selection{background:#f9731633}dialog{border:1px solid var(--line);border-radius:12px;box-shadow:0 30px 100px #0005;width:min(500px,calc(100% - 32px));padding:28px;background:var(--panel);color:var(--ink);max-height:85dvh}dialog::backdrop{background:var(--scrim,#10141180);backdrop-filter:blur(4px)}dialog h2{font-size:23px;margin-bottom:10px}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.dialog-head .icon-btn{margin:-10px -10px 0 0}.dialog-copy{font-size:12px;margin-bottom:22px}label.field{display:block;font-size:12px;font-weight:600;margin:18px 0}label.field input,label.field select,label.field textarea{display:block;width:100%;padding:11px 12px;background:var(--bg);border:1px solid var(--line);border-radius:6px;margin-top:7px;color:var(--ink);outline-offset:2px}label.field small{display:block;margin-top:6px;color:var(--muted);font-weight:400}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:90;border:1px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:0 8px 40px #0002;padding:12px 18px;border-radius:8px;max-width:calc(100vw - 32px);font-size:12px;transition:opacity .15s,transform .15s}.toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Two drawn letters retain their shape where the small trademark glyph blurs. */
.logo-lockup{--logo-width:132px;position:relative;display:inline-block;vertical-align:middle;width:var(--logo-width);margin-right:calc(var(--logo-width)*.095);line-height:0;flex:none}
.logo-lockup>img{display:block;width:100%!important;height:auto}
.logo-tm{position:absolute;top:13%;left:calc(100% + var(--logo-width)*.014);padding:0;margin:0;display:block;font-family:var(--sans);font-size:calc(var(--logo-width)*.048);font-weight:600;line-height:1;letter-spacing:.06em;color:var(--muted);vertical-align:baseline;white-space:nowrap;pointer-events:none}

/* Dark is the console's slate, value for value (dashboard/src/app/globals.css),
   with the ember accent unchanged. The ramp --s1…--s12 exists only here: every
   colour that differs by theme reads var(--sN, <its light literal>), so with
   the ramp undefined the light page resolves to exactly the colour it always
   had. The block is written twice because a media query and an attribute
   cannot share one rule: the OS decides unless the visitor chose (the
   fortly-theme cookie, stamped as data-theme before first paint in <head>). */
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0F1218;--panel:#161A21;--ink:#E9ECF2;--muted:#989EAA;--line:#282E38;--rust:#FB923C;--green:#77B890;--soft:#1C2029;--s1:#0F1218;--s2:#161A21;--s3:#1C2029;--s4:#232932;--s5:#282E38;--s6:#2F353F;--s7:#414855;--s8:#8A929F;--s9:#989EAA;--s11:#B0B6C0;--s12:#E9ECF2;--a3:#2E140A;--a7:#9A4A14;--a11:#FDBA74;--k3:#0E261C;--k11:#99D4AA;--well:#0C0F14;--ink-hover:#FFFFFF;--ok-tint:#77B89014;--ok-edge:#77B89038;--scrim:#05070Ab8;--lift:0 1px 2px #0006;color-scheme:dark}}
:root[data-theme="dark"]{--bg:#0F1218;--panel:#161A21;--ink:#E9ECF2;--muted:#989EAA;--line:#282E38;--rust:#FB923C;--green:#77B890;--soft:#1C2029;--s1:#0F1218;--s2:#161A21;--s3:#1C2029;--s4:#232932;--s5:#282E38;--s6:#2F353F;--s7:#414855;--s8:#8A929F;--s9:#989EAA;--s11:#B0B6C0;--s12:#E9ECF2;--a3:#2E140A;--a7:#9A4A14;--a11:#FDBA74;--k3:#0E261C;--k11:#99D4AA;--well:#0C0F14;--ink-hover:#FFFFFF;--ok-tint:#77B89014;--ok-edge:#77B89038;--scrim:#05070Ab8;--lift:0 1px 2px #0006;color-scheme:dark}
/* Without this every transition on the page runs at once as the tokens flip. */
:root[data-switching] *,:root[data-switching] *::before,:root[data-switching] *::after{transition:none!important}

/* The theme switch: the same three-way control as docs.fortly.com's header. */
.theme{display:inline-flex;padding:2px;gap:1px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}
.theme button{display:grid;place-items:center;width:28px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);transition:color .15s,background .15s}
.theme button:hover{color:var(--ink)}.theme button[aria-pressed=true]{background:var(--soft);color:var(--ink);box-shadow:var(--lift,0 1px 2px #1018280f)}
.theme svg{width:15px;height:15px;fill:currentColor}.theme [aria-pressed=true] .r,.theme [aria-pressed=false] .f{display:none}
/* Two copies of the mark, one per ground; the hidden one is 2.5 KB. */
.logo-lockup>.logo-on-dark{display:none}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .logo-lockup>.logo-on-light{display:none}:root:not([data-theme="light"]) .logo-lockup>.logo-on-dark{display:block}}
:root[data-theme="dark"] .logo-lockup>.logo-on-light{display:none}:root[data-theme="dark"] .logo-lockup>.logo-on-dark{display:block}
