@charset "UTF-8";
:root {
  --ink: oklch(0.22 0.018 290);
  --muted: oklch(0.53 0.018 290);
  --paper: oklch(0.993 0.002 290);
  --line: oklch(0.92 0.01 290);
  --lime: oklch(0.86 0.07 295);
  --soft: oklch(0.972 0.008 290);
  --radius: 24px;
  font-family: "PingFang SC","Microsoft YaHei",sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input {
  touch-action: manipulation;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

button:focus-visible,a:focus-visible {
  outline: 3px solid #9c69e8;
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.wrap {
  width: min(1160px,calc(100% - 64px));
  margin: auto;
}

.nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.9px;
}

.brand-sub {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.3px;
  align-self: center;
  margin: 0;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.text-button {
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
}

.text-button:hover,a:hover {
  color: #7840c9;
}

.small-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.small-button:hover {
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 110px;
  padding-top: 68px;
  padding-bottom: 76px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  height: 7px;
  width: 7px;
  background: #9251ec;
  border-radius: 50%;
}

h1 {
  font-size: clamp(42px,4.8vw,66px);
  line-height: 1.13;
  letter-spacing: -2.2px;
  font-weight: 700;
  margin: 30px 0 22px;
}

h1 span {
  color: #8245d1;
  font-size: .82em;
  letter-spacing: -1.8px;
}

.hero-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.button {
  padding: 17px 23px;
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s,background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.dark {
  color: #fefdfd;
  background: var(--ink);
}

.dark:hover {
  background: #6b31bb;
  color: #fefdfd;
}

.light {
  background: var(--lime);
  color: var(--ink);
}

.full {
  width: 100%;
}

.hero-meta {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 42px;
}

.hero-meta span::before {
  content: "✓";
  margin-right: 6px;
  color: #8042d6;
}

.purchase-card {
  background: #fefdfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 16px 60px #4320690a;
  scroll-margin-top: 30px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.card-top .eyebrow {
  color: var(--muted);
  font-size: 10px;
}

.stock-pill {
  background: var(--soft);
  font-size: 10px;
  padding: 7px 10px;
  border-radius: 20px;
  color: #76618d;
}

.stock-pill b {
  color: var(--ink);
}

h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.7px;
  margin: 20px 0 12px;
}

.purchase-card h2 {
  font-size: 24px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 8px;
}

.price strong {
  font-family: "Helvetica Neue",sans-serif;
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -3px;
}

.price>span:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-left: 5px;
}

.currency {
  font-size: 25px;
}

.bulk {
  font-size: 11px;
  color: #7840b9;
  padding: 8px 11px;
  background: #f4eefc;
  border-radius: 7px;
  display: inline-block;
}

.quantity-row,.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.quantity-row {
  margin-top: 25px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.stepper {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  height: 33px;
}

.stepper button {
  border: 0;
  background: #fefdfd;
  width: 30px;
}

.stepper input {
  border: 0;
  text-align: center;
  width: 34px;
  font-size: 13px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stepper input::-webkit-inner-spin-button {
  appearance: none;
}

.total-row {
  padding: 18px 0;
}

.total-row strong {
  font-size: 20px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0 18px;
  color: var(--muted);
}

input[type=checkbox] {
  accent-color: #8245d1;
  flex-shrink: 0;
  margin: 3px 0;
}

.checkbox a {
  text-decoration: underline;
  color: var(--ink);
}

.card-foot {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin: 14px 0 0;
}

.process-section {
  background: var(--soft);
  padding: 54px 0 58px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-heading h2 {
  font-size: 26px;
  margin-top: 0;
}

.section-heading .eyebrow,.before-section .eyebrow {
  color: #897b99;
  font-size: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 54px;
  margin-top: 33px;
}

.steps article+article {
  border-left: 1px solid #e7e2ed;
  padding-left: 34px;
}

.step-symbol {
  font-size: 25px;
  color: #8b59c8;
  height: 38px;
}

h3 {
  font-weight: 600;
  font-size: 15px;
}

.steps p,.notice-list p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 0;
}

.before-section {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 90px;
  padding-top: 76px;
  padding-bottom: 80px;
}

.before-section .small-button {
  margin-top: 20px;
}

.notice-list article {
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
  margin-bottom: 22px;
}

.notice-list article:last-child {
  margin: 0;
}

.notice-list h3 {
  margin: 0 0 8px;
}

.contact-banner {
  background: oklch(0.245 0.033 295);
  color: #f8f5fc;
  border-radius: var(--radius);
  padding: 40px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-banner .eyebrow {
  color: var(--lime);
  font-size: 10px;
}

.contact-banner h2 {
  font-size: 26px;
}

.contact-banner p:last-child {
  font-size: 12px;
  color: #c1b6cd;
}

.footer {
  padding-top: 37px;
  padding-bottom: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .brand {
  font-size: 22px;
}

.footer>span {
  font-size: 11px;
  color: var(--muted);
}

dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  width: min(460px,calc(100% - 28px));
  color: var(--ink);
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
}

dialog::backdrop {
  background: #25193270;
  backdrop-filter: blur(5px);
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.dialog-heading h2 {
  font-size: 23px;
  margin: 0;
}

.close {
  border: 0;
  background: none;
  font-size: 26px;
  padding: 0 4px;
}

dialog p {
  font-size: 13px;
  line-height: 1.9;
}

form>label {
  display: block;
  font-size: 12px;
  margin: 18px 0 8px;
}

form input:not([type=checkbox]):not([type=file]),form textarea,.admin-toolbar input,.admin-toolbar select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #e1dae9;
  background: #fefdfd;
  border-radius: 8px;
  margin-top: 8px;
  outline: none;
}

form input:focus,form textarea:focus {
  border-color: #a071de;
}

form textarea {
  resize: vertical;
  font-family: ui-monospace,monospace;
  font-size: 12px;
}

form .checkbox {
  display: flex;
}

.inline-field {
  display: flex;
  align-items: end;
  gap: 9px;
}

.inline-field input {
  min-width: 0;
}

.inline-field button {
  flex-shrink: 0;
  height: 42px;
  border-radius: 8px;
}

.inline-field button:has(img) {
  padding: 0;
  border: 1px solid var(--line);
  background: #fefdfd;
}

.inline-field img {
  width: 115px;
  height: 40px;
}

.form-error {
  color: #a84635;
  min-height: 18px;
  font-size: 12px;
}

.wechat {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.center {
  text-align: center;
}

.wide-dialog {
  width: min(800px,calc(100% - 28px));
}

.order-card {
  border: 1px solid var(--line);
  background: #fefdfd;
  border-radius: 14px;
  padding: 20px;
  margin-top: 16px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  flex-wrap: wrap;
}

.order-id {
  color: var(--muted);
  font-family: ui-monospace,monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.order-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.badge {
  display: inline-block;
  background: var(--soft);
  color: #73528f;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
}

.badge.issue,.error {
  color: #a84635;
  background: #fdf0e9;
}

.badge.done {
  background: #e8f5e9;
  color: #397347;
}

.payment-qr {
  display: block;
  width: 230px;
  max-width: 100%;
  margin: 16px auto;
}

.file-label {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px;
}

.file-label input {
  margin-top: 10px;
  width: 100%;
  font-size: 11px;
}

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: var(--ink);
  color: #fefdfd;
  box-shadow: 0 6px 25px #0002;
  border-radius: 12px;
  font-size: 13px;
  max-width: 90%;
  z-index: 100;
}

.admin-main {
  padding-top: 48px;
  padding-bottom: 60px;
}

.admin-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.admin-toolbar input {
  flex: 1;
}

.admin-toolbar select {
  width: auto;
}

.admin-item textarea {
  width: 100%;
  margin: 12px 0;
  font-size: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.json-view {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  background: var(--soft);
  padding: 15px;
  border-radius: 8px;
  max-height: 350px;
  overflow: auto;
}

.empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.admin-login {
  max-width: 420px;
  margin: 80px auto;
}

.admin-login h1 {
  font-size: 32px;
}

.order-note {
  white-space: pre-wrap;
}

.hero-copy {
  animation: enter .6s ease-out;
}

.purchase-card {
  animation: enter .7s ease-out;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media(max-width:1000px) {
  .hero {
    gap: 40px;
  }

  .hero-actions {
    gap: 12px;
    flex-wrap: wrap;
  }

  nav {
    gap: 18px;
  }

  .hero-meta {
    gap: 12px;
  }

  .purchase-card {
    padding: 24px;
  }

  .before-section {
    gap: 45px;
  }

}

@media(max-width:700px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .nav {
    height: 76px;
  }

  nav {
    gap: 12px;
  }

  nav>a {
    display: none;
  }

  .brand {
    font-size: 24px;
  }

  .brand-sub {
    font-size: 10px;
  }

  nav .small-button {
    padding: 9px 10px;
    font-size: 11px;
  }

  nav .text-button {
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 42px;
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-meta {
    margin-top: 28px;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .purchase-card {
    padding: 24px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 23px;
    line-height: 1.5;
  }

  .section-heading>button {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 26px;
  }

  .steps article+article {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #e7e2ed;
  }

  .step-symbol {
    float: left;
    width: 45px;
    height: 90px;
  }

  .steps h3 {
    margin: 5px 0;
  }

  .steps p {
    margin-top: 5px;
  }

  .before-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 44px 0;
  }

  .contact-banner {
    display: block;
    padding: 26px;
  }

  .contact-banner h2 {
    font-size: 23px;
    line-height: 1.5;
  }

  .contact-banner .button {
    margin-top: 14px;
  }

  .footer {
    align-items: start;
    flex-wrap: wrap;
    padding: 28px 0;
  }

  .footer>span {
    width: 100%;
    order: 2;
  }

  .footer #logout-button {
    margin-left: auto;
  }

  .admin-main {
    padding-top: 20px;
  }

  .admin-intro {
    display: block;
  }

  .admin-toolbar {
    flex-wrap: wrap;
  }

  .admin-toolbar input {
    min-width: 100%;
  }

  .order-card {
    padding: 15px;
  }

  .item-row {
    align-items: start;
    flex-wrap: wrap;
  }

  .admin-toolbar select {
    flex: 1;
  }

  dialog {
    padding: 22px;
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }

}

.student-mark {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-right: 5px;
}

.kiro-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.graduation-cap {
  position: absolute;
  width: 84%;
  height: auto;
  right: -9%;
  top: -24%;
  transform: rotate(-13deg);
  pointer-events: none;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
}

.hero-identity .student-mark {
  width: 88px;
  height: 88px;
  margin-right: 0;
}

.hero-identity .graduation-cap {
  top: -25%;
  right: -11%;
}

.availability {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.85;
  margin: 0;
}

.availability .live-dot {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}

.availability>span:last-child {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-left: 14px;
}

.service-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.footer .student-mark {
  width: 25px;
  height: 25px;
}

.footer .brand-sub {
  font-size: 12px;
}

@media(max-width:700px) {
  .hero {
    padding-top: 48px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: -1.5px;
    margin-top: 26px;
  }

  .hero h1 span {
    font-size: .8em;
    letter-spacing: -1px;
  }

  .hero-identity .student-mark {
    width: 72px;
    height: 72px;
  }

  .hero-identity {
    gap: 21px;
  }

  .brand {
    font-size: 20px;
    gap: 5px;
  }

  .brand-sub {
    font-size: 12px;
    margin: 0;
  }

  .student-mark {
    width: 29px;
    height: 29px;
    margin-right: 3px;
  }

  .availability {
    font-size: 12px;
  }

  .availability>span:last-child {
    font-size: 11px;
  }

}
