:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #5f6b7a;
  --accent: #1f6f8b;
  --accent-dark: #164f63;
  --line: #d9e2ec;
  --panel: #f7fafc;
  --notice: #eef7fb;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a:hover,
a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

.narrow {
  max-width: 840px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand:hover,
.brand:focus {
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero h1,
.legal-page h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.25rem;
}

.hero p:not(.eyebrow):not(.lead) {
  max-width: 760px;
  margin: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-section {
  padding: 42px 0;
}

.alt-section {
  background: var(--panel);
  border-top: 1px solid var(--line);
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.panel,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.panel {
  background: #ffffff;
}

.notice {
  background: var(--notice);
}

.signup-section {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.form-header {
  padding: 28px 28px 8px;
  color: var(--text);
}

.form-header h2,
.form-header p {
  margin: 0;
}

.form-header p {
  max-width: 620px;
  margin-top: 6px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 28px 10px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-grid input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.form-grid input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(31, 111, 139, 0.16);
  outline-offset: 0;
}

.consent-box {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  margin: 16px 28px 0;
  padding: 16px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
}

.consent-box input {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  accent-color: var(--accent);
}

.consent-box label {
  color: #364152;
  font-size: 0.9rem;
  line-height: 1.52;
}

.consent-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 22px 28px 28px;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.submit-button:hover,
.submit-button:focus {
  background: var(--accent-dark);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.clean-list,
.phone-list {
  margin: 0;
  padding-left: 20px;
}

.clean-list li,
.phone-list li {
  margin: 8px 0;
}

.legal-page {
  padding: 56px 0;
}

.legal-page section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page section:last-child {
  border-bottom: 0;
}

address {
  font-style: normal;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: #111827;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: #c8ecff;
}

.footer-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    gap: 12px 16px;
  }

  .hero {
    padding: 50px 0 42px;
  }

  .grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    padding: 18px 18px 8px;
  }

  .form-grid label {
    padding: 0;
  }

  .consent-box {
    margin: 14px 18px 0;
    grid-template-columns: 22px 1fr;
  }

  .form-header {
    padding: 22px 18px 4px;
  }

  .submit-button {
    width: calc(100% - 36px);
    margin: 20px 18px 22px;
  }

  .content-section,
  .legal-page {
    padding: 34px 0;
  }

  .panel,
  .notice {
    padding: 20px;
  }
}
