:root {
  color-scheme: light;
  --primary-blue: #005A9C;
  --secondary-blue: #1E73BE;
  --accent-orange: #F28C28;
  --light-orange: #F6A94D;
  --background: #e4e5e5;
  --surface: #FFFFFF;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border-color: #D9E2EC;
  --hover-blue: #004A80;
  --bg: var(--background);
  --card: var(--surface);
  --card-border: var(--border-color);
  --text: var(--text-dark);
  --muted: var(--text-light);
  --accent: var(--primary-blue);
  --accent-2: var(--secondary-blue);
  --shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
  transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--background);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-blue);
  border-bottom: 3px solid var(--accent-orange);
}

.nav-wrap {
  width: min(1240px, calc(100% - 20px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: nowrap;
}

.nav-group {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: #ffffff;
  flex: 0 0 auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px;
}

.brand span {
  display: block;
  font-size: 0.96rem;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  margin-top: 1px;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  font-size: 0.84rem;
  color: #ffffff;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--accent-orange);
  background: rgba(242, 140, 40, 0.16);
  box-shadow: inset 0 -2px 0 var(--accent-orange);
  outline: none;
  transform: none;
}

.login-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--accent-orange);
  border-radius: 999px;
  background: #ffffff;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  background: var(--accent-orange);
  box-shadow: 0 4px 10px rgba(31, 41, 55, 0.12);
}

.login-trigger:hover,
.login-trigger:focus-visible {
  outline: none;
  border-color: var(--light-orange);
  background: var(--light-orange);
  transform: none;
}

.page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.home-hero {
  width: min(756px, 100%);
  margin: 33px auto 0;
  padding: 40px;
  text-align: left;
}

.panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
}

.hero-lead {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 58ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(246, 169, 77, 0.14);
  border: 1px solid rgba(242, 140, 40, 0.3);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.payment-note {
  margin: 20px 0 0;
  padding: 10px 13px;
  border: 1px solid rgba(30, 115, 190, 0.24);
  border-radius: 999px;
  background: rgba(30, 115, 190, 0.06);
  color: var(--primary-blue);
  font-size: 0.82rem;
  line-height: 1.25;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-blue);
  background: rgba(242, 140, 40, 0.12);
  border: 1px solid rgba(242, 140, 40, 0.3);
  font-size: 0.9rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 62ch;
}

.action-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 90, 156, 0.2);
}

.button.secondary {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: #ffffff;
}

.button:hover,
.button:focus-visible {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
  transform: translateY(-1px);
  outline: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--light-orange);
  border-color: var(--light-orange);
}

.hero-aside {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 22px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-color);
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.point-list {
  margin: 10px 0 0;
  padding-left: 24px;
  list-style: disc outside;
  color: var(--muted);
  line-height: 1.7;
}

.point-list li + li {
  margin-top: 6px;
}

.contact-form {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(30, 115, 190, 0.18);
  border-color: var(--secondary-blue);
}

.contact-submit {
  width: 100%;
  margin-top: 8px;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.success-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0f7a3d;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 122, 61, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 3000;
}

.success-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.section-title {
  margin: 48px 0 18px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cards .info-card {
  min-height: 160px;
}

.footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.pricing-page {
  width: min(736px, calc(100% - 32px));
  padding-top: 22px;
}

.page-shell .panel {
  padding: 36px;
}

.pricing-page .panel {
  padding: 28px;
}

.page-shell p {
  color: var(--muted);
  line-height: 1.7;
}

.page-shell h1,
.page-shell h2,
.page-shell h3,
.hero-copy h1,
.section-title {
  color: var(--text);
}

.login-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 38, 68, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
}

.login-toggle:checked ~ .modal-backdrop {
  display: flex;
}

.login-modal {
  width: min(100%, 420px);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.login-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 0;
}

.login-modal h2 {
  margin: 0;
  font-size: 1.4rem;
}

.login-modal p {
  margin: 8px 0 0;
  color: var(--muted);
}

.modal-close {
  border: 0;
  background: rgba(242, 140, 40, 0.14);
  color: var(--primary-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.login-form {
  padding: 16px 20px 20px;
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.field-group input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.field-group input:focus {
  outline: 2px solid rgba(30, 115, 190, 0.18);
  border-color: var(--secondary-blue);
}

.login-form .button {
  width: 100%;
}

@media (max-width: 980px) {
  .hero,
  .cards {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    width: min(1240px, calc(100% - 24px));
  }

  .nav-group {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
  }

  .home-hero {
    width: 100%;
    padding: 34px 26px;
  }
}

@media (max-width: 640px) {
  .page,
  .page-shell,
  .footer {
    width: min(100% - 20px, 1200px);
  }

  .hero-copy,
  .hero-aside,
  .page-shell .panel {
    padding: 24px;
  }

  .nav-links a {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .nav-group {
    gap: 10px;
  }

  .login-trigger {
    min-height: 40px;
    padding: 0 14px;
  }

  .home-hero {
    padding: 28px 22px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    padding: 8px 12px;
    font-size: 0.86rem;
  }
}
