@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Inter, Arial, sans-serif;
  color: #152c49;
  background: #eef5ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(190px, 23vh, 270px) 24px clamp(36px, 6vh, 72px);
  background: #eef5ff url("corporate-background.png") left top / cover no-repeat;
}

.brand {
  /* The logo is part of the supplied corporate background. */
  position: absolute;
  top: 0;
  left: 0;
}

.notice {
  width: min(100%, 820px);
  position: relative;
  padding: 34px 44px 25px;
  text-align: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #fff;
  border-radius: 22px;
  box-shadow: 0 16px 60px rgba(21, 67, 117, .09), 0 2px 8px rgba(21, 67, 117, .025);
}

.notice::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 3px;
  top: -1px;
  left: calc(50% - 34px);
  background: #078fd0;
  border-radius: 0 0 3px 3px;
}

p, h1 { margin: 0; }

.greeting {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #52637a;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(28px, 3.05vw, 40px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.reason {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #65748a;
}

.work-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 26px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
  color: #206147;
}

.status-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31825e;
  box-shadow: 0 0 0 4px #e9f4ee;
}

.contact-intro {
  font-size: 14px;
  line-height: 1.6;
  color: #65748a;
  margin-bottom: 13px;
}

.contacts {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 12px;
  text-align: left;
}

.contact {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 77px;
  padding: 15px 18px;
  color: #123f74;
  text-decoration: none;
  background: #f4f8fd;
  border: 1px solid #e3ecf7;
  border-radius: 12px;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}

.contact-icon {
  display: flex;
  flex: 0 0 25px;
  width: 25px;
  color: #3174b5;
}

.contact-icon svg { width: 25px; height: 25px; }
.contact-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.contact-label { font-size: 12px; line-height: 1.35; color: #63758c; }
.contact-value { font-size: 18px; font-weight: 650; line-height: 1.4; white-space: nowrap; letter-spacing: -.025em; }

.contact:hover {
  background: #eaf3ff;
  border-color: #accdef;
  box-shadow: 0 3px 12px rgba(25, 75, 130, .06);
}

.max-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 22px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: #fff;
  background: #075aaa;
  border: 1px solid #075aaa;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(7, 90, 170, .16);
  text-decoration: none;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}

.message-icon { width: 23px; height: 23px; flex-shrink: 0; }
.arrow-icon { width: 17px; height: 17px; margin-left: 10px; opacity: .8; flex-shrink: 0; }
.max-button:hover { background: #064b8e; border-color: #064b8e; box-shadow: 0 6px 18px rgba(7, 90, 170, .23); }
a:focus-visible { outline: 3px solid #087bd3; outline-offset: 4px; }

.apology {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e8eef5;
  color: #637185;
  font-size: 13px;
  line-height: 1.6;
  text-wrap: balance;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 701px) and (max-height: 850px) {
  body { padding-top: 178px; padding-bottom: 32px; }
  .notice { padding-top: 28px; padding-bottom: 22px; }
  .greeting { margin-bottom: 10px; }
  .work-status { margin-top: 18px; margin-bottom: 20px; }
  .apology { margin-top: 22px; padding-top: 17px; }
}

@media (max-width: 700px) {
  body {
    justify-content: flex-start;
    padding: 172px 18px 36px;
    background-image: linear-gradient(to bottom, transparent 420px, #eef5ff 600px), url("corporate-background.png");
    background-size: 100% 100%, auto 600px;
  }
  .notice { max-width: 510px; padding: 29px 26px 24px; border-radius: 18px; }
  .greeting { max-width: 300px; margin: 0 auto 16px; font-size: 14px; }
  h1 { max-width: 400px; margin: 0 auto; font-size: 34px; letter-spacing: -.04em; }
  .reason { font-size: 14px; }
  .work-status { margin-top: 23px; margin-bottom: 25px; font-size: 16px; }
  .contact-intro { max-width: 300px; margin-left: auto; margin-right: auto; font-size: 13px; }
  .contacts { grid-template-columns: 1fr; gap: 10px; }
  .contact { min-height: 73px; padding: 14px 18px; }
  .contact-value { font-size: 19px; }
  .max-button { display: flex; width: 100%; margin-top: 16px; padding-left: 16px; padding-right: 16px; }
  .apology { margin-top: 23px; padding-top: 18px; font-size: 12px; }
}

@media (max-width: 360px) {
  body { padding-left: 12px; padding-right: 12px; }
  .notice { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 29px; }
  .contact { padding-left: 13px; padding-right: 13px; gap: 11px; }
  .contact-value { font-size: 17px; }
  .work-status { font-size: 14px; }
  .max-button { gap: 10px; padding: 14px 12px; font-size: 15px; }
  .arrow-icon { margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
