:root { color: #162033; background: #f7fbff; color-scheme: light; font-family: Arial, sans-serif; }
* { box-sizing: border-box; }
body { background: #f7fbff; color: #162033; margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
h1 { font-size: clamp(42px, 11vw, 86px); font-weight: 650; line-height: .95; margin: 0; }
h2, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; touch-action: manipulation; }
.travel-gate { min-height: 100vh; min-height: 100dvh; }
.travel-hero { align-items: center; background: linear-gradient(90deg, rgba(247,251,255,.88) 0%, rgba(247,251,255,.70) 38%, rgba(247,251,255,.12) 76%, rgba(247,251,255,.02) 100%), linear-gradient(180deg, rgba(247,251,255,.10), rgba(13,38,61,.10)), url("/auth-assets/travel-coast.jpg") center / cover no-repeat; display: flex; isolation: isolate; min-height: 100vh; min-height: 100dvh; overflow: hidden; padding: calc(54px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); position: relative; }
.travel-hero::after { background: linear-gradient(180deg, transparent 58%, rgba(9,31,51,.10)); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: -1; }
.travel-copy { color: #122033; display: grid; gap: 20px; width: min(100%, 650px); }
.kicker, .notes span, .panel-kicker { border: 1px solid rgba(106,137,176,.24); border-radius: 999px; background: rgba(255,255,255,.66); color: #55708e; font-size: 13px; font-weight: 700; padding: 8px 14px; width: fit-content; }
.lead { color: #52687f; font-size: clamp(18px, 3.8vw, 25px); line-height: 1.5; max-width: 560px; }
.notes { display: flex; flex-wrap: wrap; gap: 10px; }
.notes span { padding: 8px 12px; backdrop-filter: blur(14px); }
.plane-button { animation: plane-float 7.5s ease-in-out infinite; background: transparent; bottom: clamp(72px, 12vh, 150px); filter: drop-shadow(0 16px 22px rgba(17,39,58,.22)); opacity: .96; padding: 0; position: absolute; right: clamp(24px, 6vw, 96px); width: clamp(180px, 25vw, 340px); z-index: 1; }
.plane-button:focus-visible { border-radius: 20px; outline: 3px solid rgba(22,32,51,.72); outline-offset: 8px; }
.plane-button img { display: block; height: auto; pointer-events: none; user-select: none; width: 100%; }
.plane-button-pressed { opacity: .98; transform: translateY(-1px) scale(.985); }
.login-panel { background: rgba(255,255,255,.88); border: 1px solid rgba(102,132,170,.18); border-radius: 8px; box-shadow: 0 18px 50px rgba(51,85,118,.11); display: grid; gap: 14px; max-width: min(390px, calc(100% - 36px)); padding: 20px; position: absolute; right: clamp(20px, 7vw, 104px); top: clamp(56px, 14vh, 130px); width: 360px; z-index: 2; }
.login-panel[hidden], [hidden] { display: none !important; }
.login-panel-visible { animation: panel-arrive 320ms cubic-bezier(.2,.75,.25,1) both; }
.panel-head { align-items: center; display: flex; justify-content: space-between; }
.mode-button { align-items: center; background: rgba(22,32,51,.08); border-radius: 50%; color: #162033; display: flex; font-size: 23px; height: 32px; justify-content: center; line-height: 1; width: 32px; }
.login-panel h2, .settings-card h2 { font-size: 22px; line-height: 1.2; margin: 0 0 14px; }
.primary, .secondary { border-radius: 8px; display: block; font-weight: 650; padding: 12px 14px; text-align: center; width: 100%; }
.primary { background: #162033; color: #f7fbff; }
.secondary { background: rgba(22,32,51,.08); color: #162033; }
.link-button { text-decoration: none; }
form { display: grid; gap: 12px; }
label { color: #52687f; display: grid; font-size: 13px; gap: 6px; }
input, select { background: rgba(255,255,255,.85); border: 1px solid rgba(102,132,170,.28); border-radius: 8px; color: #162033; outline: none; padding: 11px 12px; width: 100%; }
input:focus, select:focus { border-color: #55708e; box-shadow: 0 0 0 3px rgba(85,112,142,.12); }
#message, li, .settings-card > p:not(.panel-kicker) { color: #5f7892; line-height: 1.5; }
ul { list-style: none; margin: 0; padding: 0; }
li { padding: 8px 0; }
body[data-page="setup"], body[data-page="account"], body[data-page="integrations"], body[data-page="oauth"] { align-items: center; background: radial-gradient(circle at 50% 10%, rgba(189,223,255,.72), transparent 330px), linear-gradient(180deg,#f7fbff 0%,#eef6ff 100%); display: flex; justify-content: center; padding: 18px; }
.settings-card { background: rgba(255,255,255,.88); border: 1px solid rgba(102,132,170,.18); border-radius: 8px; box-shadow: 0 18px 50px rgba(51,85,118,.11); display: grid; gap: 18px; max-width: 430px; padding: 24px; width: 100%; }
.settings-card.wide { max-width: 680px; }
.settings-card h1 { font-size: 30px; line-height: 1.1; }
.device-row { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.device-row span { display: grid; gap: 2px; }
.device-row b { color: #162033; font-size: 14px; }
.device-row small { font-size: 12px; }
.device-row .secondary { padding: 7px 10px; width: auto; }
.token-result { background: rgba(85,112,142,.08); border-radius: 8px; display: grid; gap: 8px; padding: 14px; }
.token-line { align-items: center; display: flex; gap: 8px; }
.token-line code { background: #fff; border-radius: 6px; flex: 1; overflow-wrap: anywhere; padding: 10px; }
.token-line .secondary { width: auto; }
.guide { color: #52687f; line-height: 1.5; }
.guide ol { margin: 0; padding-left: 22px; }
.guide code { background: rgba(85,112,142,.08); border-radius: 4px; padding: 2px 4px; }
.consent-actions { display: flex; gap: 10px; }
.pair-code { color: #162033 !important; font-size: 34px; font-weight: 700; letter-spacing: .14em; text-align: center; }
@keyframes plane-float { 0%,100% { transform: translate3d(0,0,0) rotate(-2deg); } 50% { transform: translate3d(-9px,-11px,0) rotate(0deg); } }
@keyframes panel-arrive { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 720px) { .travel-hero { align-items: flex-start; padding-top: calc(74px + env(safe-area-inset-top)); } .travel-copy { gap: 16px; max-width: 92%; } .plane-button { bottom: clamp(150px,24vh,230px); right: clamp(18px,7vw,42px); width: clamp(142px,40vw,210px); } body.passkey-revealed .plane-button { bottom: clamp(280px,42vh,390px); } .login-panel { bottom: calc(24px + env(safe-area-inset-bottom)); left: 18px; right: 18px; top: auto; width: auto; } }
@media (prefers-reduced-motion: reduce) { .plane-button, .login-panel-visible { animation: none; } }
