:root {
     --bg: #0f1115;
     --fg: #e8eaf2;
     --muted: #a9afc6;
     --card: #161a22;
     --accent: #4da3ff;
     --mandatory: #FFF0F0;
}

* {
     box-sizing: border-box;
}

html, body {
     height: 100%;
}

body {
     margin: 0;
     background: var(--bg);
     color: var(--fg);
     font: 16px/1.5 system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Sticky header */
.site-header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     background: #0c0f17d9;
     border-bottom: 1px solid #23293a;
     backdrop-filter: saturate(120%) blur(6px);
     z-index: 1000;
}

.site-header, .site-header .wrap, .brand {
     text-align: left;
}

.site-header .wrap {
     max-width: 1000px;
     margin: 0 auto;
     padding: 10px 16px;
     display: flex;
     align-items: center;
     justify-content: space-between;
}

/* Separator between header links, in accent blue */
.site-header nav a + a::before {
     content: "\2022";
     color: var(--accent);
     margin: 0 8px;
}

/* Brand with icon + text aligned in the header */
.brand {
     display: flex;           /* text sits NEXT to the icon   */
     align-items: center;     /* vertical centering           */
     gap: 20px;               /* space between icon and text  */
     flex: 0 0 auto;          /* do not stretch to full width */
     font-size: 24pt;
     font-weight: 700;
     text-align: left;
     text-decoration: none;
}

.brand:focus-visible {
     outline: 2px solid var(--accent);
     outline-offset: 2px;
}

.brand-thin {
     font-weight: 400;
}

.brand-icon {
     width: 48px;         /* header-sized icon */
     height: 48px;        /* keep it square */
     display: block;      /* remove inline-gap artifacts */
     object-fit: contain; /* protect aspect ratio when swapping icons */
}

/* Text alignment */
.brand-text {
     line-height: 1;
}

a.footer:hover .accent,
a.footer {
     color: #909090;
     cursor: pointer;
}

a.brand:hover .brand-text,
a.brand:focus-visible .brand-text {
     color: var(--accent);
}

a.brand:hover .accent,
a.brand:focus-visible .accent {
     color: var(--fg);
}


/* tighter vertical rhythm */
.accent {
     color: var(--accent)!important;
}

/* Links: always white, even when visited */
a, a:visited {
     color: inherit;
     text-decoration: none;
}

a:hover {
     color: var(--accent);
}

/* active (pressed) */
a:active{
     background: #363646;
     transform: translateY(1px);
}

/* Main content area with top padding for fixed header */
.content {
     max-width: 1000px;
     margin: 0 auto;
     padding: 88px 16px 32px; /* top padding clears the fixed header */
}

section.option {
     background: rgba(145,254,0,0.05);
     border: 1px solid rgba(145,254,0,0.15);
}

/* Cards / boxed sections */
.card {
     background: var(--card);
     border: 1px solid #23293a;
     border-radius: 12px;
     padding: 16px;
     margin: 16px 0;
}

/* Constrained, centered form/landing cards */
.form-card {
     max-width: 520px;
     margin: 16px auto;
}

.landing-card {
     max-width: 820px;
     margin: 16px auto;
}

/* Form elements */
label {
     display: block;
     margin: 0;
     color: var(--muted);
}

input {
	width: 100%;
	padding: 6px 6px;
	border-radius: 8px;
	border: 2px solid #606068;
	background: #202028;
	color: #FFFFFF;
	font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	font-size: 18px;
	font-weight: lighter;
}

/* Buttons */
button, .btn {
     display: inline-block;
     margin-top: 30px;
     min-width: 120px;
     padding: 10px 14px;
     border-radius: 8px;
     border: 1px solid #2a3145;
     background: #363646;
     color: var(--fg);
     cursor: pointer;
     font-size: 15px;
}

button:hover, .btn:hover {
     border-color: var(--accent);
}

button:active{
     background: #363646;
     transform: translateY(1px);
}


.msg {
     min-height: 20px;
     color: var(--accent);
}

/* Optional section headings */
h1 {
     margin: 0 0 12px;
     font-size: 26px;
}

h2 {
     margin: 0px 0 8px;
     font-weight: normal;
     font-size: 20pt;
}
h2.option {
     color: #91FE53;
}

p.label-prompt {
     color: var(--muted);
     margin-bottom: 4px;
}
p.forgot-link {
    text-align: right;
    margin: 4px 0 0 0; /* small gap under input */
}
p.forgot-link a {
     color: var(--accent);
     font-size: 14px;
}

p.btn-intro {
     font-style: italic;
     margin-bottom: 0px;
}

small.label-note {
     color: var(--muted);
     font-style: italic;
}

summary {
	cursor: pointer;
     margin: 0;
}
summary:hover {
	 color: var(--accent);
}

footer {
     margin-top: 60px;
     padding: 1rem 0;
     text-align: center;
     width: 100%;
}
