:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg: #ffffff;
  --fg: #000000;
  --spacing: 1.5rem;
  --radius: 0.375rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

.container {
  width: min(90%, 600px);
  margin: 0 auto;
  padding: var(--spacing) 0;
}

.site-header {
  background: var(--bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.site-header .container {
  display: flex;
  flex-wrap: nowrap;      
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing);
  width: 100%;
  max-width: none;
}

.logo {
  font-size: 1.75rem;
  font-weight: 600;
}
.site-nav {
  display: flex;
  flex-wrap: nowrap;       
  align-items: center;
  gap: var(--spacing);
}
.nav-link {
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #555;
}
.nav-cta {
  margin-left: auto;               
  padding: 0.5em 1em;             
  border: 1px solid var(--fg);   
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: var(--fg);
  color: var(--bg);
}

main {
  flex: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;      
  text-align: center;      
  padding: 6rem 1rem;     
}
.hero h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.hero-content {
  margin-top: 2rem;     
  text-align: center;    
}
.hero-content p {
  text-align: center;   
  margin: 0 auto 2rem;   
  max-width: 560px;     
}

.hero .btn {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 1px solid var(--fg);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--fg);
  color: var(--bg);
}

.notice {
  background: #FFFBCC;
  border-left: 4px solid #FFD700;
  padding: var(--spacing);
  border-radius: var(--radius);
  margin-bottom: var(--spacing);
  font-size: 0.95rem;
}
.form-page {
  padding: var(--spacing) 0;
}
.form-container {
  border: 1px solid #e5e5e5;
  padding: var(--spacing);
  border-radius: var(--radius);
  max-width: 400px;
  margin: 0 auto;
}
.form-container label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}
.form-container input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75em;
  border: 1px solid #d1d1d1;
  border-radius: var(--radius);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.link {
  font-size: 0.9rem;
  color: var(--fg);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

.content {
  text-align: center;
  padding: calc(var(--spacing) * 2) 0;
}
.dashboard-cards {
  display: flex;
  flex-wrap: nowrap;          
  justify-content: center;    
  gap: var(--spacing);
}
.card {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: var(--spacing);
  text-decoration: none;
  color: var(--fg);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
  flex: 0 0 260px;   
  max-width: 260px;     
  height: 140px;     
}
.card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

 footer{
      margin-top:auto;         
      padding:1.5rem 1rem 2rem;
      text-align:center; color:#6a7380; font-size:.92rem;
      border-top:1px solid var(--ring);
      background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(20,20,20,.015) 100%);
    }
    a.inline{color:var(--accent); text-decoration:none}
    a.inline:hover{text-decoration:underline}

.hero-content h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.1);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes typewriter {
  0%, 50%   { width: 0; }
  60%,100%  { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50%      { border-color: var(--fg); }
}
.link-exit {
  border: 1px solid #e74c3c;
  padding: 0.5em 1em;
  border-radius: var(--radius);
  color: #e74c3c;
  transition: background 0.2s, color 0.2s;
}
.link-exit:hover {
  background: #e74c3c;
  color: #ffffff;
}

.link-back {
  border: 1px solid var(--fg);
  padding: 0.5em 1em;
  border-radius: var(--radius);
  color: var(--fg);
  transition: background 0.2s, color 0.2s;
}
.link-back:hover {
  background: var(--fg);
  color: var(--bg);
}
.home-link {
  text-decoration: none;
  color: inherit;      
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.home-link:hover {
  opacity: 0.8;       
}
.sponsor {
  text-align: center;
  margin-top: 2rem;
}
.sponsor p {
  font-size: 0.9rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.sponsor img {
  height: 100px;          
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s;
}
.sponsor img:hover {
  filter: none;      
}
.content ul {
  list-style: none;
  padding: 0;
}
.content li + li {
  margin-top: 1rem;
}
.content a {
  color: var(--fg);
  text-decoration: underline;
}
.content a:hover {
  opacity: 0.8;
}
