:root {
  --blue: #174a7e;
  --blue-dark: #10375f;
  --blue-soft: #edf4fb;

  --red: #d62839;
  --red-dark: #ad1f2d;
  --red-soft: #fff0f2;

  --background: #f5f7fa;
  --surface: #ffffff;

  --text: #1c2630;
  --muted: #66717d;
  --border: #dce3ea;

  --success-background: #e8f6ec;
  --success-text: #226239;

  --error-background: #fdeaea;
  --error-text: #8c2525;

  --shadow:
    0 12px 35px rgba(24, 54, 86, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;

  background: var(--background);
  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  background: var(--surface);
  border-bottom: 4px solid var(--red);
}

.header-content {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  display: block;

  width: auto;
  max-width: 170px;
  max-height: 58px;

  object-fit: contain;
}

.website-link {
  padding: 9px 14px;

  border: 1px solid var(--blue);
  border-radius: 8px;

  color: var(--blue);

  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.website-link:hover {
  background: var(--blue);
  color: white;
}

/* Main */

.page {
  padding: 44px 0 70px;
}

.intro {
  max-width: 780px;
  margin: 0 auto 30px;

  text-align: center;
}

.eyebrow,
.section-heading span {
  color: var(--red);

  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.intro h1 {
  margin: 10px 0 0;

  color: var(--blue-dark);

  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.intro > p {
  margin: 14px 0 0;

  color: var(--muted);

  font-size: 1rem;
}

.notice {
  margin-top: 22px;
  padding: 15px 18px;

  border-left: 4px solid var(--blue);
  border-radius: 8px;

  background: var(--blue-soft);

  color: var(--blue-dark);

  font-size: 0.9rem;
  text-align: left;
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 7px;
}

/* Grid */

.content-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);

  gap: 24px;
  align-items: start;
}

.card {
  padding: 28px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 8px 0 0;

  color: var(--blue-dark);

  font-size: 1.65rem;
}

/* Form */

form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;

  margin-bottom: 6px;

  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: white;
  color: var(--text);

  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 115px;
  padding: 12px;

  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);

  box-shadow:
    0 0 0 3px rgba(23, 74, 126, 0.1);
}

small {
  display: block;

  margin-top: 6px;

  color: var(--muted);

  font-size: 0.76rem;
}

.confirmation {
  padding: 13px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  border: 1px solid #f1c1c7;
  border-radius: 8px;

  background: var(--red-soft);

  color: #64252d;

  font-size: 0.85rem;
}

.confirmation input {
  width: 17px;
  min-height: 17px;

  margin: 2px 0 0;

  flex: 0 0 auto;
}

button {
  min-height: 50px;

  border: 0;
  border-radius: 8px;

  background: var(--blue);
  color: white;

  font-weight: 800;

  cursor: pointer;
}

button:hover:not(:disabled) {
  background: var(--blue-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

#formMessage {
  padding: 13px;

  border-radius: 8px;

  font-size: 0.88rem;
}

#formMessage.success {
  background: var(--success-background);
  color: var(--success-text);
}

#formMessage.error {
  background: var(--error-background);
  color: var(--error-text);
}

/* App links */

.app-download {
  margin-top: 24px;
  padding-top: 20px;

  border-top: 1px solid var(--border);

  text-align: center;
}

.app-download p {
  margin: 0 0 12px;

  color: var(--muted);

  font-size: 0.86rem;
}

.app-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-links a {
  padding: 9px 13px;

  border: 1px solid var(--blue);
  border-radius: 8px;

  color: var(--blue);

  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.app-links a:last-child {
  border-color: var(--red);
  color: var(--red);
}

.app-links a:hover {
  background: var(--blue);
  color: white;
}

.app-links a:last-child:hover {
  background: var(--red);
}

/* Information */

.information {
  border-top: 5px solid var(--red);
}

.info-item {
  padding: 16px 0;

  border-bottom: 1px solid var(--border);
}

.info-item:first-of-type {
  padding-top: 0;
}

.info-item strong {
  color: var(--blue-dark);
}

.info-item p {
  margin: 5px 0 0;

  color: var(--muted);

  font-size: 0.86rem;
}

.location,
.contact-box {
  margin-top: 22px;
  padding: 16px;

  border-radius: 10px;
}

.location {
  background: var(--blue-soft);
}

.contact-box {
  border: 1px solid #f1c1c7;
  background: var(--red-soft);
}

.location strong,
.contact-box strong {
  color: var(--blue-dark);
}

.location p,
.contact-box p {
  margin: 5px 0;

  color: var(--muted);

  font-size: 0.84rem;
}

.location a,
.contact-box a {
  color: var(--red);

  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-box small {
  margin-top: 8px;
}

/* Footer */

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

.footer-content {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  font-size: 0.82rem;
}

.footer-content div {
  display: flex;
  gap: 18px;
}

.footer-content a {
  color: white;
  text-decoration: none;
}

.footer-content a:hover {
  color: #ffb6bd;
}

/* Responsive */

@media (max-width: 820px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 22px, 1040px);
  }

  .header-content {
    min-height: 72px;
  }

  .logo {
    max-width: 135px;
    max-height: 48px;
  }

  .website-link {
    padding: 7px 10px;

    font-size: 0.75rem;
  }

  .page {
    padding-top: 32px;
  }

  .eyebrow {
    font-size: 0.92rem;
  }

  .intro h1 {
    font-size: 1.75rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .app-links {
    flex-direction: column;
  }

  .footer-content {
    padding: 20px 0;

    flex-direction: column;
    justify-content: center;

    text-align: center;
  }
}