/* Kyo Auth */
:root {
  --bg: #0c0714;
  --panel: #150d24;
  --ln: rgba(184, 160, 235, .13);
  --tx: #f1ecfb;
  --mu: #a79cc0;
  --di: #6d6388;
  --blue: #8b5cf6;
  --blue2: #a78bfa;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.022em; line-height: 1.14; }
p { margin: 0; }
::selection { background: rgba(139, 92, 246, .4); }
:focus-visible { outline: 1px solid var(--blue2); outline-offset: 4px; }

.box { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 720px; }
.kick { font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--blue2); }
.lead { color: var(--mu); font-size: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border-radius: 3px; border: 1px solid rgba(184, 160, 235, .24); font: 500 14.5px/1 var(--font); white-space: nowrap; transition: background .2s, border-color .2s; }
.btn:hover { border-color: rgba(184, 160, 235, .45); }
.btn-p { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-p:hover { background: #9d6dfb; border-color: #9d6dfb; }
.btn-sm { height: 34px; padding: 0 15px; font-size: 13px; }
.btn[aria-disabled='true'] { opacity: .5; pointer-events: none; }
.ul { font-size: 14.5px; font-weight: 500; color: var(--mu); border-bottom: 1px solid rgba(184, 160, 235, .25); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.ul:hover { color: var(--tx); border-color: var(--blue2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 7, 20, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.stuck { border-bottom-color: var(--ln); }
.nav-in { height: 74px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; font-size: 14px; letter-spacing: .24em; }
.brand img { width: 23px; height: 23px; }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-size: 14.5px; color: var(--mu); align-items: center; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--tx); }

/* hero */
.hero { position: relative; padding: 130px 0 140px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 62% at 76% 38%, rgba(139, 92, 246, .15), transparent 68%); }
.hero-mark { position: absolute; right: -40px; top: 50%; width: min(460px, 42vw); transform: translateY(-50%); opacity: .07; pointer-events: none; }
.hero-in { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.4rem); margin-top: 28px; max-width: 13ch; }
.hero h1 em { font-style: normal; font-weight: 500; color: #fff; }
.hero .lead { max-width: 48ch; margin-top: 30px; }
.acts { display: flex; align-items: center; gap: 26px; margin-top: 46px; flex-wrap: wrap; }

/* section */
.sec { padding: 110px 0; border-top: 1px solid var(--ln); }
.sec h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); max-width: 18ch; }
.sec > .box > .lead { max-width: 54ch; margin-top: 22px; }

/* three columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; margin-top: 68px; }
.col h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; padding-bottom: 16px; border-bottom: 1px solid var(--ln); }
.col p { color: var(--mu); font-size: 15px; margin-top: 18px; }

/* split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.notes { display: grid; gap: 30px; }
.note h3 { font-size: 16.5px; font-weight: 500; }
.note p { color: var(--mu); font-size: 15px; margin-top: 9px; }
.quiet { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--ln); color: var(--di); font-size: 14.5px; max-width: 52ch; }

/* access */
.access { text-align: center; }
.access h2 { margin: 0 auto; }
.access .lead { margin: 22px auto 0; max-width: 50ch; }
.access .acts { justify-content: center; }
.terms-line { margin-top: 30px; font-size: 14px; color: var(--di); }

/* form */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; color: var(--mu); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 3px; border: 1px solid rgba(184, 160, 235, .2);
  background: var(--panel); color: var(--tx); font: 400 15px/1.5 var(--font); transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #574d79; }
.form .btn { width: 100%; }
.fnote { font-size: 13px; color: var(--di); }

/* prose / terms */
.ph { padding: 90px 0 50px; border-bottom: 1px solid var(--ln); }
.ph .box > *, .prose .box > *:not(.split) { max-width: 720px; }
.ph h1 { font-size: clamp(2.2rem, 4.4vw, 3rem); margin-top: 22px; }
.ph p { color: var(--mu); margin-top: 18px; max-width: 54ch; }
.prose { padding: 70px 0 110px; }
.prose h2 { font-size: 21px; font-weight: 500; margin-top: 52px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #c6bce0; margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; color: #c6bce0; }
.prose li::marker { color: var(--blue2); }
.prose a { color: var(--blue2); }
.stamp { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--ln); font-size: 13.5px; color: var(--di); }

/* 404 */
.lost { padding: 170px 0; text-align: center; }
.lost h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.lost p { color: var(--mu); margin: 18px 0 36px; }

/* footer */
.foot { border-top: 1px solid var(--ln); padding: 46px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--di); }
.foot-links { margin-left: auto; display: flex; gap: 26px; }
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--tx); }

/* reveal */
.up { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; gap: 38px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-mark { display: none; }
}
@media (max-width: 640px) {
  .box { padding: 0 22px; }
  .nav-links { gap: 20px; font-size: 13.5px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 84px 0 92px; }
  .sec { padding: 78px 0; }
  .foot-links { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .up { opacity: 1; transform: none; }
}

/* ---- pricing tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 68px; }
.tier { display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--ln); border-radius: 4px; background: rgba(184, 160, 235, .02); transition: border-color .2s, transform .2s, background .2s; }
.tier:hover { border-color: rgba(184, 160, 235, .3); transform: translateY(-3px); }
.tier.featured { border-color: var(--blue); background: rgba(139, 92, 246, .08); }
.tier .badge { font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue2); margin-bottom: 18px; }
.tier .name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tier .price { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--ln); }
.tier .price .amt { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--tx); }
.tier .price .per { font-size: 14px; color: var(--di); }
.tier ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.tier li { position: relative; padding-left: 22px; color: var(--mu); font-size: 14px; line-height: 1.5; }
.tier li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--blue2); border-bottom: 1.5px solid var(--blue2); transform: rotate(-45deg); }
.tier .btn { margin-top: auto; width: 100%; }
@media (max-width: 920px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }
