:root {
  --ink: #eef5f2;
  --muted: #99aaa6;
  --deep: #071411;
  --panel: rgba(16, 34, 29, .82);
  --panel-solid: #112821;
  --line: rgba(192, 224, 213, .14);
  --lime: #b9f14b;
  --lime-dark: #8fc52a;
  --orange: #ff825c;
  --danger: #ff8e7d;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", Avenir, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--deep); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 15% 0%, #183b31 0, transparent 31rem), linear-gradient(135deg, #071411 0%, #081914 45%, #0d1c18 100%);
  font-family: var(--sans);
  letter-spacing: -.015em;
}
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.07em; font-size: 1.42rem; display: flex; align-items: center; gap: 11px; }
.brand > span:last-child span { color: var(--lime); }
.brand-mark { height: 31px; width: 31px; display: flex; gap: 3px; align-items: end; transform: skew(-7deg); }
.brand-mark i { background: var(--lime); border-radius: 6px 6px 2px 2px; width: 8px; display: block; }
.brand-mark i:nth-child(1) { height: 13px; opacity: .66; }.brand-mark i:nth-child(2) { height: 23px; }.brand-mark i:nth-child(3) { height: 31px; background: var(--orange); }
.header-status { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .01em; display: flex; gap: 8px; align-items: center; }
.status-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 999px; box-shadow: 0 0 14px rgba(185, 241, 75, .75); }
.orb { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(1px); opacity: .4; z-index: -1; }
.orb-one { width: 460px; height: 460px; right: -240px; top: 36%; background: radial-gradient(circle, rgba(185,241,75,.16), transparent 67%); }
.orb-two { width: 400px; height: 400px; left: -230px; bottom: -80px; background: radial-gradient(circle, rgba(255,130,92,.1), transparent 67%); }
.loading { min-height: 73vh; display: grid; place-content: center; gap: 14px; color: var(--muted); font-weight: 700; text-align: center; }
.pulse { width: 14px; height: 14px; border: 2px solid var(--lime); border-radius: 50%; margin: auto; animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.8); opacity: .3; } }

.hero { min-height: 690px; padding: 68px 0 92px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 68px; }
.eyebrow { font-family: var(--mono); color: var(--lime); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
h1 { font-size: clamp(3rem, 6vw, 5.35rem); line-height: .99; letter-spacing: -.075em; margin: 18px 0 23px; max-width: 700px; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy { color: var(--muted); line-height: 1.7; max-width: 560px; font-size: 1.05rem; }
.feature-row { display: flex; flex-wrap: wrap; gap: 11px 18px; margin: 29px 0 0; color: #c6d3cf; font-size: .82rem; font-weight: 700; }
.feature-row span::before { content: "✓"; color: var(--lime); margin-right: 7px; }
.auth-card, .panel { background: linear-gradient(145deg, rgba(28, 55, 47, .9), rgba(12, 29, 24, .9)); border: 1px solid var(--line); box-shadow: 0 28px 90px rgba(0,0,0,.24); }
.auth-card { padding: 33px; border-radius: 22px; position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -110px; top: -120px; background: radial-gradient(circle, rgba(185,241,75,.18), transparent 68%); }
.card-kicker { margin: 0 0 8px; color: var(--lime); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 0; font-size: 1.58rem; letter-spacing: -.055em; }
.card-intro { color: var(--muted); line-height: 1.6; font-size: .88rem; margin: 9px 0 24px; }
.field { display: grid; gap: 7px; margin: 14px 0; }
.field label { font-size: .76rem; font-weight: 800; color: #c6d8d2; }
.field input { width: 100%; color: var(--ink); padding: 13px 14px; background: rgba(5, 16, 13, .44); border: 1px solid rgba(201,232,219,.16); border-radius: 9px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: rgba(185,241,75,.8); box-shadow: 0 0 0 3px rgba(185,241,75,.12); }
.button { border: 0; border-radius: 9px; padding: 13px 16px; font-weight: 800; font-size: .86rem; transition: transform .16s, opacity .16s, background .16s; }
.button:hover { transform: translateY(-1px); }.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button.primary { width: 100%; background: var(--lime); color: #10200d; margin-top: 10px; }.button.primary:hover { background: #caf778; }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid rgba(201,232,219,.22); }.button.secondary:hover { background: rgba(255,255,255,.06); }
.button.danger { color: var(--danger); background: transparent; border: 1px solid rgba(255,142,125,.35); }.button.danger:hover { background: rgba(255,142,125,.1); }
.form-switch { margin: 18px 0 0; font-size: .79rem; color: var(--muted); text-align: center; }.text-button { padding: 0; color: var(--lime); background: none; border: 0; font-weight: 800; }
.oauth-button { display: block; text-align: center; text-decoration: none; }.oauth-copy { color: var(--muted); font-size: .76rem; line-height: 1.55; margin: 12px 0 0; text-align: center; }.legacy-auth { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; color: var(--muted); font-size: .76rem; }.legacy-auth summary { cursor: pointer; color: #c6d8d2; font-weight: 800; }.legacy-auth form { margin-top: 12px; }.legacy-auth .form-switch { margin-bottom: 0; }
.notice { margin: 16px 0 0; padding: 11px 12px; border-radius: 8px; font-size: .8rem; line-height: 1.45; }.notice.error { color: #ffb8ab; background: rgba(165, 49, 36, .18); border: 1px solid rgba(255,142,125,.22); }.notice.success { color: #d8f6a2; background: rgba(101, 142, 32, .16); border: 1px solid rgba(185,241,75,.2); }
.security-strip { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding: 21px 0 3px; margin-top: 29px; color: var(--muted); font-size: .73rem; line-height: 1.45; }.lock { color: var(--lime); font-size: 1.1rem; }

.portal { padding: 34px 0 80px; }.portal-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 38px 0 30px; }.portal-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 7px 0 0; }.portal-head p { color: var(--muted); margin: 8px 0 0; font-size: .93rem; }.account-menu { display: flex; align-items: center; gap: 13px; }.account-email { color: var(--muted); font-size: .77rem; font-family: var(--mono); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); gap: 22px; align-items: start; }.panel { border-radius: 16px; padding: 27px; }.panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 20px; }.panel-title { font-size: 1.13rem; font-weight: 800; letter-spacing: -.04em; }.panel-subtitle { color: var(--muted); font-size: .78rem; margin: 4px 0 0; }
.connection-list { display: grid; gap: 10px; }.connection { padding: 17px; border: 1px solid var(--line); background: rgba(4,14,11,.24); border-radius: 11px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }.connection-name { font-size: .92rem; font-weight: 800; }.connection-meta { color: var(--muted); font: .7rem var(--mono); margin: 6px 0 0; }.connection-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }.button.small { padding: 8px 10px; font-size: .7rem; }
.empty { border: 1px dashed rgba(201,232,219,.2); padding: 32px 20px; border-radius: 11px; text-align: center; color: var(--muted); font-size: .83rem; line-height: 1.6; }.empty strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.empty.compact { padding: 20px; }.history-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }.history-row { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(192,224,213,.09); }.history-row strong { display: block; font-size: .78rem; text-transform: capitalize; }.history-row > div:first-child > span { display: block; color: var(--muted); font: .68rem/1.45 var(--mono); margin-top: 4px; }.history-time { display: grid; justify-items: end; gap: 5px; flex: 0 0 auto; }.history-time time { color: var(--muted); font: .65rem var(--mono); }.history-status { font: .62rem var(--mono); text-transform: uppercase; color: #cdf08f; }.history-status.error { color: #ffb09c; }
.setup-steps { display: grid; gap: 17px; margin: 22px 0 28px; counter-reset: step; }.setup-step { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .8rem; color: var(--muted); line-height: 1.5; }.setup-step::before { counter-increment: step; content: counter(step); display: grid; place-content: center; height: 24px; border-radius: 50%; font: .7rem var(--mono); color: var(--lime); border: 1px solid rgba(185,241,75,.42); }.setup-step strong { display: block; color: var(--ink); font-size: .83rem; margin-bottom: 2px; }
.code-card { margin-top: 18px; border-radius: 11px; overflow: hidden; border: 1px solid rgba(185,241,75,.3); background: rgba(5,15,12,.72); }.code-card-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; background: rgba(185,241,75,.08); color: #d4eca7; font-size: .74rem; font-weight: 800; }.code-card code { display: block; padding: 15px 13px; color: #d7e7e1; font: .72rem/1.55 var(--mono); overflow-wrap: anywhere; }.copy { color: var(--lime); font: .68rem var(--mono); padding: 0; border: 0; background: transparent; }.one-time { color: #ffba91; font-size: .73rem; margin: 12px 0 0; line-height: 1.45; }.assistant-guide { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: rgba(5,14,11,.24); }.assistant-guide > strong { font-size: .82rem; }.assistant-guide > div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: start; }.assistant-guide span { color: var(--lime); font: .68rem var(--mono); padding-top: 1px; }.assistant-guide p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.45; }
.divider { height: 1px; background: var(--line); margin: 26px 0; }.hint { color: var(--muted); font-size: .72rem; line-height: 1.55; margin: 0; }.hint a { color: var(--lime); }.footer { color: #6f8580; padding: 30px 0 38px; border-top: 1px solid rgba(192,224,213,.09); font-size: .68rem; display: flex; justify-content: space-between; gap: 18px; }.footer span:first-child { color: #9aaca7; font-weight: 800; }.footer a { color: var(--muted); text-decoration: none; }.footer a:hover { color: var(--lime); }
.billing-panel { margin-top: 24px; padding-top: 23px; border-top: 1px solid var(--line); }.billing-status { align-self: start; border-radius: 999px; padding: 6px 9px; font: .63rem var(--mono); white-space: nowrap; }.billing-status.free { color: #d5e4df; background: rgba(201,232,219,.09); border: 1px solid rgba(201,232,219,.16); }.billing-status.pro { color: #d7f99c; background: rgba(185,241,75,.11); border: 1px solid rgba(185,241,75,.26); }.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.price-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 11px; border: 1px solid var(--line); background: rgba(5,14,11,.25); }.price-card.featured { border-color: rgba(185,241,75,.44); background: linear-gradient(145deg, rgba(185,241,75,.13), rgba(5,14,11,.28)); }.price-card > span { color: var(--muted); font: .68rem var(--mono); }.price-card strong { font-size: 1.55rem; letter-spacing: -.07em; }.price-card strong small { color: var(--muted); font-size: .65rem; letter-spacing: 0; margin-left: 3px; }.price-card p { min-height: 50px; margin: 0; color: var(--muted); font-size: .71rem; line-height: 1.5; }.price-card .button { margin-top: auto; width: 100%; }.billing-active { display: grid; gap: 7px; border: 1px solid rgba(185,241,75,.25); background: rgba(185,241,75,.07); padding: 16px; border-radius: 11px; }.billing-active strong { font-size: .82rem; }.billing-active span { color: var(--muted); font-size: .74rem; line-height: 1.5; }.billing-active .button { justify-self: start; margin-top: 4px; }.checkout-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; overflow: auto; background: rgba(2, 10, 8, .76); backdrop-filter: blur(8px); }.checkout-modal { width: min(680px, 100%); max-height: calc(100dvh - 48px); overflow: auto; padding: 22px; border: 1px solid rgba(185,241,75,.3); border-radius: 18px; background: var(--panel-solid); box-shadow: 0 30px 100px rgba(0,0,0,.52); }.checkout-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; font-size: .9rem; }.checkout-head .text-button { color: var(--lime); font-weight: 800; }.checkout-modal #embedded-checkout { min-height: 100px; }
.settings-panel { margin-top: 22px; }.setting-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }.setting-row strong, .danger-zone strong { display: block; font-size: .82rem; }.setting-row span { color: var(--muted); font-size: .76rem; }.danger-zone { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-top: 20px; padding: 17px; border: 1px solid rgba(255,142,125,.3); background: rgba(165,49,36,.1); border-radius: 11px; }.danger-zone p { max-width: 700px; margin: 6px 0 0; color: #d4aaa2; font-size: .74rem; line-height: 1.5; }
.privacy-page { padding: 50px 0 90px; }.privacy-page h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }.privacy-copy { max-width: 820px; color: var(--muted); line-height: 1.7; font-size: .9rem; }.privacy-copy h2 { color: var(--ink); font-size: 1.2rem; margin: 28px 0 8px; }.privacy-copy strong { color: var(--ink); }

@media (max-width: 800px) { .hero, .portal-grid { grid-template-columns: 1fr; }.hero { padding-top: 39px; gap: 42px; min-height: auto; }.portal-head { align-items: start; flex-direction: column; }.account-menu { width: 100%; justify-content: space-between; }.footer { flex-direction: column; }.header-status { display: none; } }
@media (max-width: 480px) { .shell { width: min(100% - 28px, 1180px); }.site-header { height: 68px; }.auth-card, .panel { padding: 21px; }.connection { align-items: start; flex-direction: column; }.connection-actions { justify-content: start; }.account-email { max-width: 185px; overflow: hidden; text-overflow: ellipsis; }.portal { padding-top: 10px; }.pricing-grid { grid-template-columns: 1fr; }.danger-zone { align-items: start; flex-direction: column; }.checkout-backdrop { padding: 12px; }.checkout-modal { max-height: calc(100dvh - 24px); padding: 15px; border-radius: 14px; } }
