/* TK Software look for the public subscription pages (/pricing, /welcome, /account).
   Charcoal and ivory, one teal accent, Geist with a Geist Mono label and an Instrument Serif italic word. */
:root {
  color-scheme: dark;
  --bg: #131416; --deep: #0f1011; --raised: #18191c; --well: #0e0f10;
  --ivory: #F3EEE5; --ink-2: #bfb9af; --ink-3: #9c968c;
  --line: rgba(243, 238, 229, .12); --line2: rgba(243, 238, 229, .22);
  --teal: #22D3C2; --teal-bright: #55f0de; --on-teal: #06201d;
  --red: #F07167; --amber: #E9B44C;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ivory); }
body { font: 16px/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
p { margin: 0; color: var(--ink-2); }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.label { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -.02em; font-size: 1.08em; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }

/* header + footer */
.top { border-bottom: 1px solid var(--line); background: rgba(19, 20, 22, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand .tk { height: 22px; width: auto; display: block; }
.brand .sep { width: 1px; height: 22px; background: var(--line2); flex: none; }
.brand .ls { display: flex; align-items: center; gap: 8px; font: 600 17px/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.brand .ls img { width: 26px; height: 26px; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.top nav a:hover { color: var(--ivory); }
@media (max-width: 640px) { .brand .tk, .brand .sep { display: none; } .top nav { gap: 14px; } .top nav a { font-size: 14px; } .top nav .hide-sm { display: none; } }
.foot { border-top: 1px solid var(--line); margin-top: auto; }
.foot .wrap { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font: 500 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.foot a { text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a:hover { color: var(--ivory); }

main { flex: 1; }
.page-head { padding: clamp(44px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); display: grid; gap: 18px; }
.page-head h1 { font: 620 clamp(40px, 6.2vw, 72px)/.98 var(--sans); letter-spacing: -.05em; max-width: 16ch; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }

/* buttons + fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 13px 22px; font: 560 15.5px/1.2 var(--sans); text-decoration: none; border: 1px solid var(--line2); color: var(--ivory); background: transparent; cursor: pointer; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; white-space: nowrap; }
.btn:hover { background: rgba(243, 238, 229, .06); border-color: rgba(243, 238, 229, .4); }
.btn.primary { background: var(--teal); color: var(--on-teal); border-color: transparent; box-shadow: 0 12px 30px -14px rgba(34, 211, 194, .7); }
.btn.primary:hover { box-shadow: 0 16px 40px -12px rgba(85, 240, 222, .8); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.block { width: 100%; }
.btn.small { padding: 8px 14px; font-size: 14px; }
label.f { display: block; font-size: 14px; color: var(--ink-2); margin: 16px 0 7px; }
input.f { width: 100%; background: var(--well); border: 1px solid var(--line2); color: var(--ivory); border-radius: 10px; padding: 12px 14px; font: inherit; outline: none; transition: border-color .2s; }
input.f:focus { border-color: var(--teal); }
input.f::placeholder { color: rgba(243, 238, 229, .35); }
input.f.key { font: 500 16px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.err { color: var(--red); font-size: 14.5px; margin-top: 12px; }
.err:empty { display: none; }
.note { font-size: 14px; color: var(--ink-3); }
.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--raised); padding: clamp(22px, 3vw, 32px); }
.notice { border: 1px solid rgba(233, 180, 76, .45); background: rgba(233, 180, 76, .07); color: #f3d79c; border-radius: 14px; padding: 14px 18px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
