/* Standalone maintenance page. Brand colors and IRANSansX match the main site. */

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IRANSansX-Regular.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/IRANSansX-DemiBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/IRANSansX-Bold.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --primary: #14317a;
  --ink: #27354b;
  --border: #e6ecf3;
  --page: #f4f7fc;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  font-family: IRANSansX, Tahoma, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 90% 0%, #e8effa 0, transparent 46%), radial-gradient(ellipse at 0% 95%, #e5f1f6 0, transparent 40%), var(--page);
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #74bac8, #14317a 65%);
}

.page-shell {
  width: min(1100px, calc(100% - 80px));
  margin: 0 auto;
  padding: 45px 0 26px;
}

.page-header {
  display: flex;
  align-items: center;
  margin-bottom: 31px;
}

.brand-logo {
  display: block;
  width: 145px;
  height: auto;
}

.maintenance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35%;
  background: white;
  border: 1px solid #fff;
  border-radius: 26px;
  box-shadow: 0 22px 65px -28px #193a6b38, 0 2px 8px #213d6705;
  overflow: hidden;
}

.notice {
  padding: 39px 42px 28px;
}

h1 {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: clamp(25px, 2.45vw, 32px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: -.75px;
}

h1 span {
  color: #334767;
}

.notice-copy {
  font-size: 13px;
  line-height: 2.35;
  color: #657187;
}

.notice-copy p {
  margin: 0 0 11px;
}

.notice-copy .salutation {
  margin-bottom: 3px;
  font-weight: 600;
  color: #334767;
}

.notice-copy strong {
  font-weight: 600;
  color: #3c4e6c;
}

.schedule {
  margin-top: 23px;
  padding: 17px 20px 20px;
  background: #f7f9fd;
  border: 1px solid var(--border);
  border-radius: 13px;
}

.schedule h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: #4a5e7f;
  font-size: 11px;
  font-weight: 600;
}

.schedule h2 svg {
  width: 17px;
  height: 17px;
  color: #6a80a5;
}

.schedule-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.time-entry {
  flex: 1;
  min-width: 0;
}

.time-entry time {
  display: grid;
  gap: 3px;
}

.time-label {
  display: block;
  color: #748198;
  font-size: 10px;
  margin-bottom: 3px;
}

.time-value {
  width: fit-content;
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.7px;
}

.time-date {
  font-size: 11px;
  font-weight: 600;
  color: #536581;
  white-space: nowrap;
}

.time-connector {
  display: flex;
  align-items: center;
  flex: 0 1 78px;
  gap: 5px;
  color: #9baecb;
  margin-inline: 8px 20px;
}

.time-connector span {
  height: 1px;
  flex: 1;
  background: #d7e1ef;
}

.time-connector svg {
  width: 21px;
  height: 21px;
  flex: none;
}

.thanks {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #758198;
  font-size: 11px;
}

.thanks svg {
  width: 15px;
  height: 15px;
  color: #8095b5;
  flex: none;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 30px 31px;
  isolation: isolate;
  color: white;
  background: linear-gradient(150deg, #2b4d95 0%, #173678 45%, #0d2151 100%);
  overflow: hidden;
}

.brand-panel::before, .brand-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 470px;
  height: 470px;
  border: 1px solid #ffffff0a;
  border-radius: 50%;
  pointer-events: none;
}

.brand-panel::before {
  bottom: -280px;
  right: -200px;
  box-shadow: 0 0 0 36px #ffffff03, 0 0 0 72px #ffffff03;
}

.brand-panel::after {
  top: -345px;
  left: -150px;
  box-shadow: 0 0 0 36px #ffffff03, 0 0 0 72px #ffffff03;
}

.illustration {
  margin: 1px -25px -5px;
}

.maintenance-art {
  display: block;
  width: 100%;
  height: auto;
}

.panel-copy {
  padding: 0 2px;
}

.panel-copy h2 {
  margin: 12px 0 11px;
  font-size: 25px;
  line-height: 1.9;
  font-weight: 600;
  letter-spacing: -.4px;
}

.panel-copy p {
  max-width: 265px;
  margin: 0;
  font-size: 11px;
  line-height: 2.3;
  color: #bac9e6;
}

::selection {
  color: #14317a;
  background: #dce8ff;
}

@media (min-width: 1500px) {
  .page-shell {
    padding-top: max(45px, calc((100svh - 680px) / 2));
  }

}

@media (max-width: 1000px) {
  .page-shell {
    width: calc(100% - 48px);
    padding-top: 32px;
  }

  .maintenance-card {
    grid-template-columns: minmax(0, 1fr) 33%;
  }

  .notice {
    padding: 30px 28px 26px;
  }

  .brand-panel {
    padding: 30px 23px 24px;
  }

  .panel-copy h2 {
    font-size: 22px;
  }

  .schedule {
    padding-inline: 15px;
  }

  .time-connector {
    flex-basis: 40px;
    margin-inline: 0;
  }

}

@media (max-width: 760px) {
  .page-shell {
    width: min(560px, calc(100% - 32px));
    padding: 25px 0 22px;
  }

  .page-header {
    margin-bottom: 23px;
  }

  .brand-logo {
    width: 118px;
  }

  .maintenance-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .notice {
    padding: 27px 26px 25px;
  }

  h1 {
    font-size: 27px;
  }

  .notice-copy {
    font-size: 12px;
  }

  .brand-panel {
    display: grid;
    grid-template-columns: 1fr 135px;
    gap: 0 10px;
    padding: 23px 26px 20px;
  }

  .illustration {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: -10px -14px -10px -20px;
  }

  .panel-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .panel-copy h2 {
    font-size: 18px;
    margin: 7px 0;
  }

  .panel-copy p {
    font-size: 9px;
  }

}

@media (max-width: 380px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .notice {
    padding: 23px 18px;
  }

  h1 {
    font-size: 23px;
  }

  .schedule {
    padding-inline: 12px;
  }

  .schedule-times {
    gap: 5px;
  }

  .time-date {
    font-size: 9px;
  }

  .time-value {
    font-size: 26px;
  }

  .time-connector {
    flex-basis: 22px;
  }

  .time-connector span {
    display: none;
  }

  .brand-panel {
    padding-inline: 18px;
    grid-template-columns: 1fr 105px;
  }

}

@media print {
  body {
    background: white;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .maintenance-card {
    box-shadow: none;
    border: 1px solid #ddd;
    grid-template-columns: 1fr;
  }

  .brand-panel {
    display: none;
  }

  .page-header {
    margin-bottom: 20px;
  }

}
