:root {
  --red: #b21f29;
  --red-dark: #8f1821;
  --teal: #5e9da3;
  --teal-dark: #267887;
  --teal-light: #d8e9eb;
  --ink: #4e5558;
  --paper: #ffffff;
  --line: #d9e2e3;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #d9eaec;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.62), transparent 30rem),
    linear-gradient(145deg, #dcecee 0%, #c8dfe2 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 20px;
}

.maintenance-card {
  width: min(960px, 100%);
  overflow: hidden;
  background: var(--paper);
  border-top: 5px solid var(--red);
  box-shadow: 0 18px 60px rgba(39, 79, 84, .18);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 170px;
  padding: 24px;
}

.brand-logo {
  width: 145px;
  height: auto;
}

.brand-name {
  margin: 0;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name span {
  display: block;
  margin-bottom: 8px;
  color: #84aab0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.hero {
  position: relative;
  height: 245px;
  overflow: hidden;
}

.hero > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 43%;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(85, 10, 15, .75), transparent 55%);
}

.hero-label {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 20px 15px;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.hero-label span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  letter-spacing: .05em;
}

.hero-label small {
  font-size: .7rem;
  letter-spacing: .13em;
}

.content {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 52px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 7vw, 3.7rem);
  font-weight: 400;
  line-height: 1.15;
}

.intro {
  max-width: 570px;
  margin: 18px auto 30px;
  font-size: 1.08rem;
}

.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 20px;
  background: #eef5f5;
  border-left: 4px solid var(--teal);
  text-align: left;
}

.notice-icon {
  flex: 0 0 29px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}

.notice h2 {
  margin: 0 0 3px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.35;
}

.notice p {
  margin: 0;
  font-size: .91rem;
  line-height: 1.45;
}

.pdf-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  color: white;
  background: var(--red);
  text-align: left;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pdf-link:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(143, 24, 33, .2);
}

.pdf-link:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}

.pdf-icon {
  flex: 0 0 auto;
  padding: 5px 7px;
  color: var(--red);
  background: white;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.pdf-link strong,
.pdf-link small {
  display: block;
}

.pdf-link strong {
  line-height: 1.3;
}

.pdf-link small {
  margin-top: 2px;
  opacity: .78;
}

.arrow {
  margin-left: auto;
  font-size: 1.8rem;
  line-height: 1;
}

footer {
  padding: 20px;
  color: #476d72;
  background: var(--teal-light);
  text-align: center;
  font-size: .78rem;
}

footer p {
  margin: 0;
}

footer a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

footer a:hover {
  color: var(--red);
}

.footer-separator {
  padding: 0 7px;
}

.legal-page {
  width: min(860px, 100%);
  overflow: hidden;
  background: var(--paper);
  border-top: 5px solid var(--red);
  box-shadow: 0 18px 60px rgba(39, 79, 84, .18);
}

.legal-header {
  padding: 34px clamp(24px, 6vw, 58px);
  background: var(--teal-light);
  border-bottom: 1px solid var(--line);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--teal-dark);
  text-decoration: none;
}

.legal-brand img {
  width: 76px;
  height: auto;
}

.legal-brand strong,
.legal-brand small {
  display: block;
}

.legal-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.legal-brand small {
  color: var(--ink);
}

.legal-content {
  padding: 48px clamp(24px, 7vw, 68px) 60px;
}

.legal-content h1 {
  margin-bottom: 30px;
  font-size: clamp(2.2rem, 7vw, 3.3rem);
}

.legal-content h2 {
  margin: 36px 0 8px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: var(--red);
}

@media (max-width: 600px) {
  .page {
    padding: 0;
  }

  .maintenance-card {
    min-height: 100vh;
    border-top-width: 4px;
  }

  .brand {
    gap: 11px;
    min-height: 130px;
    padding: 19px 16px;
  }

  .brand-logo {
    width: 102px;
  }

  .brand-name {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .hero {
    height: 195px;
  }

  .hero-label small {
    display: none;
  }

  .content {
    padding: 40px 0 44px;
  }

  .notice {
    gap: 11px;
    padding: 17px 15px;
  }

  .footer-separator {
    display: block;
    height: 4px;
    font-size: 0;
  }

  .legal-page {
    min-height: 100vh;
    border-top-width: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-link {
    transition: none;
  }
}
