:root {
  --navy: #06142c;
  --navy-deep: #04101f;
  --card: rgba(8, 18, 38, 0.92);
  --red: #e31b23;
  --gold: #f3c21a;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.92);
  --font: "Prompt", "Sarabun", "Noto Sans Thai", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--white);
  background: var(--navy-deep);
  overflow-x: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scene__sunset,
.scene__servers {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 54%;
}

.scene__sunset {
  left: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 62%, rgba(255, 146, 42, 0.55) 0%, rgba(255, 146, 42, 0) 70%),
    linear-gradient(180deg, #2a6aa8 0%, #3d7eb5 18%, #d36a3a 48%, #ef8a2c 62%, #1a2a48 78%, #071225 100%);
}

.scene__servers {
  right: 0;
  width: 58%;
  background:
    radial-gradient(ellipse 70% 80% at 78% 42%, rgba(18, 120, 210, 0.35) 0%, rgba(8, 20, 40, 0) 62%),
    linear-gradient(180deg, #083056 0%, #0a1c38 42%, #071224 100%);
}

.scene__poles {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: min(42vw, 420px);
  opacity: 0.55;
}

.scene__racks {
  position: absolute;
  right: 4%;
  top: 12%;
  bottom: 8%;
  width: min(34vw, 360px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  opacity: 0.55;
}

.scene__racks span {
  display: block;
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(80, 190, 255, 0.18) 0 8px,
      rgba(10, 28, 52, 0.7) 8px 18px
    ),
    linear-gradient(90deg, rgba(4, 16, 32, 0.9), rgba(12, 40, 72, 0.75));
  box-shadow:
    0 0 24px rgba(40, 160, 255, 0.18),
    inset 4px 0 0 rgba(70, 190, 255, 0.35);
}

.scene__haze {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 36, 0.28) 0%, rgba(6, 18, 40, 0.72) 38%, rgba(5, 14, 32, 0.78) 62%, rgba(5, 16, 36, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 12, 28, 0.2) 0%, rgba(4, 12, 28, 0.55) 100%);
}

.sheet {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 36px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  margin-bottom: 22px;
}

.brand__name {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand__tagline {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(78%, 430px);
  padding: 10px 36px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0333a 0%, var(--red) 100%);
  box-shadow: 0 8px 22px rgba(227, 27, 35, 0.35);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1 {
  margin-top: 28px;
  font-size: clamp(1.85rem, 5.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.lead {
  margin-top: 8px;
  font-size: clamp(1.15rem, 3.2vw, 1.7rem);
  font-weight: 600;
  color: var(--muted);
}

.when {
  width: min(100%, 760px);
  margin-top: 28px;
  padding: 22px 28px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 20px;
}

.when__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}

.when__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #dce7f7;
}

.when__icon svg {
  width: 100%;
  height: 100%;
}

.when__label {
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.when__value {
  margin-top: 2px;
  color: var(--gold);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 700;
  white-space: nowrap;
}

.when__divider {
  width: 2px;
  height: 58px;
  background: rgba(255, 255, 255, 0.28);
}

.reason {
  width: min(100%, 760px);
  margin-top: 28px;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--muted);
}

.reason p + p {
  margin-top: 22px;
}

.apology {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(86%, 430px);
  padding: 10px 28px 12px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 600;
  background: rgba(8, 18, 38, 0.28);
}

.contacts {
  margin-top: auto;
  padding-top: 36px;
  width: min(100%, 820px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.contacts__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}

.contacts__item:hover,
.contacts__item:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts__item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.caution {
  position: fixed;
  right: 4%;
  bottom: 18%;
  z-index: 1;
  width: clamp(72px, 10vw, 110px);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.caution svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  .sheet {
    width: calc(100% - 20px);
    min-height: 100dvh;
    padding: 22px 14px 24px;
  }

  .brand {
    margin-bottom: 16px;
  }

  h1 {
    margin-top: 18px;
  }

  .when {
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 16px 16px;
  }

  .when__divider {
    width: 72%;
    height: 1px;
    margin: 4px auto;
  }

  .when__item {
    justify-content: flex-start;
    padding-left: 8px;
  }

  .reason {
    margin-top: 20px;
  }

  .reason br {
    display: none;
  }

  .reason p + p {
    margin-top: 14px;
  }

  .apology {
    margin-top: 20px;
  }

  .scene__racks,
  .caution {
    display: none;
  }

  .contacts {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 12px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .sheet {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  h1 {
    margin-top: 18px;
  }

  .when,
  .reason,
  .apology {
    margin-top: 18px;
  }

  .contacts {
    padding-top: 22px;
  }
}
