:root {
  --navy: #0b1f3a;
  --brand: #2a3547;
  --navy-2: #12305a;
  --blue: #1f5fae;
  --gray-900: #1c2430;
  --gray-600: #5b6675;
  --gray-200: #e3e7ed;
  --gray-100: #f3f5f8;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 31, 58, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.muted { color: var(--gray-600); }
.small { font-size: .85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--navy); color: var(--white); border-radius: 8px; font-size: .85rem; letter-spacing: .03em;
}
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: #c9d3e3; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--white); }
.nav-toggle, .nav-burger { display: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, #1f3f6d 100%);
  color: var(--white);
  padding: clamp(64px, 11vw, 130px) 0;
}
.hero-inner { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: #9fc1ee; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: #d3deee; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #2a73cc; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--gray-100); }
.section-sub { color: var(--gray-600); margin-bottom: 36px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  background: #e6eefa; color: var(--blue); border-radius: 12px;
}

/* Apps */
.app-card { display: flex; gap: 28px; align-items: center; }
.app-badge {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 110px; height: 110px; border-radius: 26px;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white);
  font-size: 1.9rem; font-weight: 800; line-height: 1;
}
.app-badge span { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { font-weight: 600; font-size: .9rem; color: var(--navy); display: flex; flex-direction: column; gap: 6px; }
.form input, .form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--white);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form .btn { align-self: flex-start; }

/* Policy */
.policy h3 { margin-top: 1.8em; }

/* Footer */
.site-footer { background: var(--brand); color: #c3d0e4; padding: 36px 0; font-size: .9rem; }
.site-footer strong { color: var(--white); }
.site-footer a { color: #c3d0e4; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-right { display: flex; flex-direction: column; gap: 4px; text-align: right; }

/* Responsive */
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .app-card { flex-direction: column; align-items: flex-start; }

  .nav-burger {
    display: block; width: 40px; height: 40px; cursor: pointer; position: relative;
  }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    content: ""; position: absolute; left: 9px; width: 22px; height: 2px; background: var(--navy);
  }
  .nav-burger span { top: 19px; }
  .nav-burger span::before { left: 0; top: -7px; }
  .nav-burger span::after { left: 0; top: 7px; }

  .nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--gray-200);
  }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--gray-100); }
  .nav-toggle:checked ~ .nav { display: flex; }

  .footer-right { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Logo */
.site-header { backdrop-filter: none; border-bottom: 0; }
.brand-logo { display: block; height: 68px; width: auto; }
.footer-logo { display: block; height: 90px; width: auto; margin-bottom: 8px; }
.app-badge { flex: none; width: 140px; height: auto; border-radius: 20px; }
.site-footer p { margin: 0; }
@media (max-width: 760px) {
  .nav { background: var(--brand); border-bottom: 0; }
  .nav a { border-top-color: rgba(255, 255, 255, .1); }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { background: var(--white); }
}
