:root {
  color: #073f35;
  background: #f3f1e7;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body { background: #f3f1e7; }

.page {
  width: min(100%, 430px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.95), transparent 45%),
    linear-gradient(180deg, #fffef9 0%, #f7f5eb 100%);
  display: flex;
  flex-direction: column;
  padding: max(8px, env(safe-area-inset-top)) 18px max(8px, env(safe-area-inset-bottom));
}

.brand {
  height: clamp(48px, 8svh, 66px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex: 0 0 auto;
}

.school-logo {
  display: block;
  width: min(60vw, 238px);
  height: auto;
}

.divider {
  width: 1px;
  height: 29px;
  background: rgba(7,63,53,.25);
  flex: 0 0 auto;
}

.media-logo {
  display: block;
  width: min(15vw, 62px);
  height: auto;
  mix-blend-mode: multiply;
}

.content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin-top: 1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .75em;
  text-indent: .75em;
  color: rgba(7,63,53,.58);
}

.eyebrow-line {
  width: 45px;
  height: 1px;
  margin: 7px 0 9px;
  background: rgba(7,63,53,.58);
}

h1 {
  margin: 0;
  color: #003f33;
  font-size: clamp(38px, 11.5vw, 53px);
  line-height: .9;
  letter-spacing: -.05em;
  text-align: center;
  font-weight: 900;
}

h1 span { font-size: 1.18em; }

.accent {
  width: 92px;
  height: 7px;
  margin: -2px 0 12px 76px;
  border-top: 4px solid #ff7317;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.slogan {
  margin: 0 0 6px;
  font-size: clamp(17px, 4.8vw, 21px);
  font-weight: 800;
  letter-spacing: .08em;
}

.description {
  margin: 0 0 10px;
  font-size: clamp(13px, 3.7vw, 16px);
  color: rgba(7,63,53,.56);
  letter-spacing: .05em;
}

.audience {
  margin: 0 0 11px;
  padding: 9px 13px;
  width: min(100%, 310px);
  display: flex;
  justify-content: center;
  gap: 13px;
  border-left: 3px solid #ff7317;
  background: rgba(7,63,53,.035);
  font-size: clamp(13px, 3.7vw, 16px);
  font-weight: 700;
}

.audience b { color: #087260; }

.scan-tip {
  margin: 0 0 8px;
  font-size: clamp(14px, 4vw, 17px);
  font-weight: 700;
  color: rgba(7,63,53,.78);
  letter-spacing: .05em;
}

.scan-icon { margin-right: 7px; font-size: 1.25em; }

.qr-frame {
  position: relative;
  width: min(270px, 72vw, 35svh);
  aspect-ratio: 1;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 24px rgba(3,35,29,.08);
}

.qr-frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 134%;
  max-width: none;
  transform: translate(-50%, -60.5%);
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
}

.tl { top: 6px; left: 6px; border-top: 3px solid #075247; border-left: 3px solid #075247; }
.tr { top: 6px; right: 6px; border-top: 3px solid #075247; border-right: 3px solid #075247; }
.bl { bottom: 6px; left: 6px; border-bottom: 3px solid #075247; border-left: 3px solid #075247; }
.br { bottom: 6px; right: 6px; border-bottom: 3px solid #075247; border-right: 3px solid #075247; }

.hint {
  margin: 7px 0 0;
  font-size: clamp(11px, 3vw, 13px);
  color: rgba(7,63,53,.45);
}

footer {
  flex: 0 0 auto;
  padding-top: 6px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(7,63,53,.38);
}

@media (max-height: 700px) {
  .brand { height: 45px; }
  .eyebrow, .eyebrow-line, .description { display: none; }
  h1 { font-size: min(11vw, 46px); }
  .accent { margin-bottom: 7px; }
  .slogan { margin-bottom: 4px; }
  .audience { margin-bottom: 7px; padding-block: 6px; }
  .scan-tip { margin-bottom: 5px; }
  .qr-frame { width: min(250px, 66vw, 38svh); }
  .hint { margin-top: 4px; }
}
