@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #1a1a1a;
  --color-body: #333333;
  --color-muted: #5c5c5c;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f2ee;
  --color-line: #dcd8d2;
  --color-accent: #1f3a5f;
  --color-accent-hover: #162a47;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
}

a:hover {
  color: var(--color-accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 10px 16px;
  border: 2px solid var(--color-accent);
  z-index: 100;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */

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

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

.brand img {
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  font-size: 16px;
}

.main-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}

.header-phone {
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* Typography */

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--color-ink);
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--color-ink);
  margin: 0 0 16px;
  font-weight: 500;
}

h3 {
  font-size: 1.12rem;
  color: var(--color-ink);
  margin: 0 0 10px;
  font-weight: 500;
}

p {
  margin: 0 0 16px;
}

.prose p {
  max-width: 70ch;
}

/* Hero */

.hero {
  background: var(--color-bg-alt);
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-media img {
  border-radius: 4px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-ghost:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Sections */

.section {
  padding: 58px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.page-head {
  padding: 52px 0 30px;
}

.page-head p {
  max-width: 68ch;
  color: var(--color-muted);
}

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

.card img {
  border-radius: 4px;
  margin-bottom: 16px;
}

.card p {
  color: var(--color-body);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 16px;
}

.no-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.no-list li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--color-line);
  position: relative;
}

.no-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-muted);
}

.cta-strip {
  background: var(--color-bg-alt);
  text-align: center;
}

.cta-strip p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing table */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.pricing-table caption {
  text-align: left;
  font-weight: 500;
  color: var(--color-ink);
  padding-bottom: 14px;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

.pricing-table thead th {
  font-weight: 500;
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
}

/* Contact */

.contact-layout {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 500;
  color: var(--color-ink);
  font-size: 15px;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  background: #fff;
  color: var(--color-body);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.field.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.field.checkbox input {
  width: auto;
  margin-top: 4px;
}

.field.checkbox label {
  font-weight: 400;
  font-size: 15px;
  color: var(--color-body);
}

.contact-form .btn {
  justify-self: start;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-line);
  background: #fff;
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.footer-col address {
  font-style: normal;
  margin-bottom: 14px;
}

.footer-col p {
  margin: 0 0 10px;
  font-size: 15px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  text-decoration: none;
  font-size: 15px;
  color: var(--color-body);
}

.footer-col ul a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.disclaimer {
  font-size: 13.5px;
  color: var(--color-muted);
  max-width: 80ch;
}

.copyright {
  font-size: 13.5px;
  color: var(--color-muted);
  margin-top: 12px;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #1a1a1a;
  color: #f4f2ee;
  padding: 18px 22px;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  max-width: 900px;
  margin: 0 auto;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 15px;
  flex: 1 1 320px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .btn-primary {
  background: #f4f2ee;
  color: #1a1a1a;
}

.cookie-banner .btn-primary:hover {
  background: #fff;
}

.cookie-banner .btn-ghost {
  color: #f4f2ee;
  border-color: #f4f2ee;
}

.cookie-banner .btn-ghost:hover {
  background: #f4f2ee;
  color: #1a1a1a;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 16px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .pricing-table {
    font-size: 15px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 520px) {
  .pricing-table thead {
    display: none;
  }

  .pricing-table tr {
    display: block;
    border-bottom: 1px solid var(--color-line);
    padding: 12px 0;
  }

  .pricing-table th,
  .pricing-table td {
    display: block;
    border: none;
    padding: 4px 0;
  }

  .pricing-table th[scope="row"] {
    font-weight: 500;
    color: var(--color-ink);
  }
}