:root {
  --blue: #2563eb;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f8fafc;
  --border: #e5e7eb;
  --card: #ffffff;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none
}

.brand img {
  height: 36px;
  width: auto;
  display: block
}

.brand span {
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .2px
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem
}

.btn {
  border: 1px solid var(--border);
  padding: .5rem .9rem;
  border-radius: .6rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: #fff
}

.btn.primary {
  padding: .4rem;
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  line-height: 1.1;
}

/* Hamburger menu toggle */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: .55rem;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700
}

.menu-btn svg rect {
  fill: #374151;
}

/* icon color */
.menu-btn:active {
  transform: translateY(1px);
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .45);
  display: none;
  z-index: 80
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, 360px);
  background: #fff;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0)
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border)
}

/* For independantly scrollable body */
.drawer-body {
  flex: 1 1 auto;
  /* take remaining height */
  min-height: 0;
  /* critical for flex children to allow overflow */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* smooth iOS scroll */
  padding: 0 0 env(safe-area-inset-bottom) 0;
}

.drawer-list {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.drawer-list a {
  display: block;
  padding: .4rem .4rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  margin-left: 1rem;
  text-decoration: none;
  color: #374151;
  font-weight: 700
}

.drawer-list li {
  margin-top: 0rem;
  margin-bottom: 0rem;
}


.drawer-list a:hover {
  background: #f3f4f6
}

.drawer-list a.btn.primary:hover {
  color: #111827;
}

/* Hero */
.hero {
  padding: 2rem 0 1.5rem;
  text-align: center
}

.hero h1 {
  margin: .2rem 0 .5rem;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.1
}

.hero p {
  margin: 0 auto;
  max-width: 70ch;
  color: var(--muted);
  font-weight: 500
}

/* Quick-scan cards */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr)
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04)
}

.card .media {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: .6rem
}

.card h3 {
  margin: .25rem 0 .4rem
}

.card p {
  margin: 0;
  color: var(--muted)
}

@media (max-width:640px) {
  .cards {
    grid-template-columns: 1fr
  }
}

/* Story panel  */
.panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px
}

.panel.reverse {
  grid-template-columns: 1fr 1.1fr
}

.panel .visual {
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center
}

.panel h3 {
  margin: .2rem 0 .4rem
}

.panel p {
  margin: 0;
  color: var(--muted)
}

@media (max-width:900px) {

  .panel,
  .panel.reverse {
    grid-template-columns: 1fr
  }
}

/* Supporting tiles (four) */
.tiles {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr)
}

.tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05)
}

.tile h4 {
  margin: .25rem 0 .35rem
}

.tile p {
  margin: 0;
  color: var(--muted)
}

@media (max-width:640px) {
  .tiles {
    grid-template-columns: 1fr
  }

  .tile {
    max-width: 28rem;
    margin-inline: auto
  }
}

/* CTA section */
.cta {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.cta p {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: #10b981;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #059669;
}

footer {
  margin: 3rem 0 2.5rem;
  text-align: center;
  color: #94a3b8;
  font-size: .9rem
}










/* login page */

html {
  background-color: #ffffff;
  height: 100%
}

body {
  min-height: 100vh
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  line-height: 1
}

* {
  box-sizing: border-box
}

body {
  line-height: 1.6;
  padding: 0;
  color: #1f2937;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%
}

@media (min-width:640px) {}

@media (min-width:1024px) {}

@media (min-width:640px) {
  h1 {
    font-size: 2.25rem
  }
}

@media (min-width:1024px) {
  h1 {
    font-size: 3rem
  }
}




@media (min-width:640px) {
  p {
    font-size: 1rem
  }
}

@media (min-width:480px) and (max-width:639px) {}

@media (min-width:640px) and (max-width:767px) {}

@media (min-width:768px) {}

@media (max-width:639px) {}


@media (hover:none) and (pointer:coarse) {}

@keyframes spin {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (prefers-reduced-motion:reduce) {}

@media (max-width:768px) {}

@supports (padding:max(0px)) {
  .page-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right))
  }

  @media (min-width:640px) {
    .page-content {
      padding-left: max(1.5rem, env(safe-area-inset-left));
      padding-right: max(1.5rem, env(safe-area-inset-right))
    }
  }

  @media (min-width:1024px) {
    .page-content {
      padding-left: max(2rem, env(safe-area-inset-left));
      padding-right: max(2rem, env(safe-area-inset-right))
    }
  }
}

@media (max-width:768px) {}

@media (prefers-contrast:high) {
  .page-content .text-center.mb-6 {
    background: #fff;
    border: 2px solid #000
  }
}

.btn {
  justify-content: center
}

@media (min-width:640px) {
  .btn {
    width: auto;
    padding: 0.75rem 1.5rem;
    font-size: 1rem
  }
}

button:hover,
.btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px)
}

button:active,
.btn:active {
  transform: translateY(0)
}

li {
  margin-bottom: 0.5rem
}

@media (min-width:640px) {
  li {
    margin-bottom: 0.75rem
  }
}

li a {
  display: block;
  background: white;
  border: 1px solid #e5e7eb;
  min-height: 44px
}

li a:hover {
  background-color: #f3f4f6;
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-1px)
}

.page-content {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  min-height: calc(100vh - 120px);
  position: relative
}

.page-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 25%), radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 25%);
  pointer-events: none;
  z-index: 0
}

.page-content>* {
  position: relative;
  z-index: 1
}

.page-content .text-center.mb-6 {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  margin: -1rem -1rem 2rem -1rem;
  border-radius: 0 0 32px 32px;
  position: relative;
  overflow: hidden
}

.page-content .text-center.mb-6::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(data:image/svg+xml,<svg\ xmlns=\"http://www.w3.org/2000/svg\"\ viewBox=\"0\ 0\ 100\ 100\"><circle\ cx=\"50\"\ cy=\"50\"\ r=\"2\"\ fill=\"%23cbd5e1\"\ opacity=\"0.3\"\/><circle\ cx=\"25\"\ cy=\"25\"\ r=\"1.5\"\ fill=\"%23cbd5e1\"\ opacity=\"0.2\"\/><circle\ cx=\"75\"\ cy=\"25\"\ r=\"1\"\ fill=\"%23cbd5e1\"\ opacity=\"0.4\"\/><circle\ cx=\"25\"\ cy=\"75\"\ r=\"1\"\ fill=\"%23cbd5e1\"\ opacity=\"0.3\"\/><circle\ cx=\"75\"\ cy=\"75\"\ r=\"2\"\ fill=\"%23cbd5e1\"\ opacity=\"0.2\"\/><\/svg>);
  pointer-events: none
}

.page-content .text-center.mb-6 h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  position: relative;
  z-index: 1
}

.page-content .text-center.mb-6 p {
  font-size: 1rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  font-weight: 500
}

@media (min-width:640px) {
  .page-content {
    padding: 1.5rem
  }

  .page-content .text-center.mb-6 {
    padding: 2rem 1.5rem;
    margin: -1.5rem -1.5rem 2rem -1.5rem
  }

  .page-content .text-center.mb-6 h1 {
    font-size: 2.25rem
  }

  .page-content .text-center.mb-6 p {
    font-size: 1.125rem;
    max-width: 70%
  }
}

@media (min-width:1024px) {
  .page-content {
    padding: 2rem
  }

  .page-content .text-center.mb-6 {
    padding: 3rem 2rem;
    margin: -2rem -2rem 2rem -2rem
  }

  .page-content .text-center.mb-6 h1 {
    font-size: 2.5rem
  }
}

input {
  background: white
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1)
}

.text-center {
  text-align: center
}

form .mb-4 {
  margin-bottom: 1rem
}

form .mb-6 {
  margin-bottom: 1.5rem
}

@media (min-width:640px) {}

@media (min-width:768px) {}

@media (min-width:1024px) {}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem
}

.btn-primary:hover {
  background-color: #1d4ed8
}

@media (max-width:1024px) and (min-width:769px) {}

@media (max-width:768px) {}

@media (min-width:640px) {}

@media (min-width:768px) {}

.login-container {
  max-width: 400px;
  margin: 2rem auto;
  padding: 0
}

@media (min-width:640px) {
  .login-container {
    margin: 4rem auto
  }
}

.login-header {
  margin-bottom: 2rem
}

.login-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem
}

.login-logo-img {
  width: 3rem;
  height: 3rem;
  opacity: 0.9
}

.login-title {
  margin: 0 0 0.5rem 0
}

@media (min-width:640px) {
  .login-title {
    font-size: 2.25rem
  }
}

.login-form-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6
}

@media (min-width:640px) {
  .login-form-container {
    padding: 2.5rem
  }
}

.login-form {
  width: 100%
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all 0.2s ease;
  min-height: 48px
}

.form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1)
}

.form-input:hover {
  border-color: #9ca3af
}

.form-input::placeholder {
  color: #9ca3af
}

.btn-full {
  width: 100%
}

.btn-primary {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  min-height: 48px
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15)
}

.btn-primary:active {
  transform: translateY(0)
}

.login-links {
  margin-top: 1.5rem
}

.login-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s ease
}

.login-link:hover {
  color: #1d4ed8;
  text-decoration: underline
}

.login-separator {
  color: #6b7280;
  margin: 0 0.5rem;
  font-weight: 300
}

@media (max-width:639px) {
  .login-container {
    margin: 1rem;
    max-width: none
  }

  .login-form-container {
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1)
  }

  .login-title {
    font-size: 1.5rem
  }
}

@media (max-width:768px) {}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1
  }
}


@keyframes flashSlideIn {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0
  }

  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1
  }
}

