@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --dark-blue: #0a1f44;
  --blue: #1a63d6;
  --magenta: #9e005d;
  --white: #ffffff;
  --gray-mid: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--dark-blue);
  background: #f4f6fa;
  line-height: 1.6;
}

/* ---- Header / nav ---- */

.site-header {
  background: var(--dark-blue);
  color: var(--white);
}

.site-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img.logo {
  height: 34px;
  width: auto;
  border-radius: 6px;
}

.brand .app-name {
  font-weight: 700;
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.btn-login-small {
  display: inline-block;
  background: var(--magenta);
  color: var(--white) !important;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.btn-login-small:hover {
  opacity: 0.92;
}

/* ---- Main / hero ---- */

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.hero {
  text-align: center;
  padding: 24px 0 48px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero p {
  font-size: 17px;
  color: #475569;
  max-width: 660px;
  margin: 0 auto;
}

.hero-small {
  padding: 8px 0 32px;
}

/* ---- Module sections ---- */

.modules {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.module-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.08);
  padding: 28px 32px;
}

.module-text h2 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--blue);
}

.module-text p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 14.5px;
  max-width: 720px;
}

.shot-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.shot-link img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #d5dae3;
  box-shadow: 0 1px 4px rgba(10, 31, 68, 0.1);
  transition: transform 0.15s, box-shadow 0.15s;
}

.shot-link:hover img {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 31, 68, 0.16);
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.08);
}

.card h2 {
  font-size: 18px;
  margin-top: 0;
  color: var(--blue);
}

/* ---- Contact page ---- */

.two-col-contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  align-items: start;
}

.two-col-contact .card p {
  font-size: 14.5px;
  color: #334155;
}

form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-blue);
  margin: 14px 0 6px;
}

form label:first-child {
  margin-top: 0;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d5dae3;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  margin-top: 18px;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 14px;
}

.status-msg {
  font-size: 13px;
  color: var(--gray-mid);
  margin-top: 12px;
  min-height: 18px;
}

.status-msg.error {
  color: var(--magenta);
}

.status-msg.success {
  color: #17a673;
}

/* ---- Footer ---- */

footer {
  text-align: center;
  padding: 32px 24px;
  color: #64748b;
  font-size: 13px;
}

footer a {
  color: var(--blue);
  text-decoration: none;
}

/* ---- Legal pages ---- */

.legal {
  max-width: 760px;
}

.legal h1 {
  font-size: 26px;
  margin-bottom: 4px;
}

.legal .updated {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 18px;
  color: var(--blue);
  margin-top: 32px;
}

.legal ul {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .site-header-inner {
    flex-wrap: wrap;
  }
  .two-col-contact {
    grid-template-columns: 1fr;
  }
  .shot-link {
    flex-direction: column;
    align-items: flex-start;
  }
  .shot-link img {
    width: 100%;
    max-width: 320px;
  }
}
