@import url("/brand.css");
:root {
  color-scheme: light;
  --paper: var(--surface);
  --border: var(--rule);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
}
h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: 36px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 28px;
}
p {
  line-height: 1.65;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a:hover {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 30px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 16px;
}
.page-header {
  max-width: 1232px;
  min-height: 72px;
  padding: 14px 16px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 26px;
  letter-spacing: -1.3px;
  font-weight: 600;
  line-height: 1;
}
.brand img {
  width: 28px;
  height: 28px;
}
.page-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.page-header .nav-account {
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 30px;
}
main {
  width: min(calc(100% - 80px), 1200px);
  margin: 0 auto;
  padding: 70px 0 90px;
  min-height: 70vh;
}
.eyebrow {
  font-family: var(--serif);
  font-size: 15px;
  margin-bottom: 20px;
}
.page-heading {
  margin-bottom: 55px;
}
.page-heading h1 {
  margin-bottom: 26px;
}
.lead {
  font-size: 20px;
  line-height: 1.5;
}
.identity,
.muted,
.hint,
.sub {
  color: var(--muted);
}
.identity {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.hint {
  font-size: 12px;
  line-height: 1.55;
  margin-top: 10px;
}
.muted {
  font-size: 13px;
  line-height: 1.6;
}
.centered {
  text-align: center;
}
.centered .lead {
  margin-top: 28px;
}
.paper {
  border: 1px solid var(--rule);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 8px 20px #29292908;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
button,
.action {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid #cfcfc5;
  background: #fff;
  border-radius: 28px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #efefe8;
}
.primary,
.action {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.primary:hover,
.action:hover {
  background: #455900;
  color: #fff;
}
.action.dark {
  background: var(--ink);
  border-color: var(--ink);
}
.action.dark:hover {
  background: #41413b;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid;
  padding-bottom: 3px;
}
.field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 8px;
}
input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d5d5ca;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  font-size: 14px;
}
input::placeholder {
  color: #919286;
}
input:focus {
  border-color: var(--accent);
}
.notice {
  padding: 16px 20px;
  border: 1px solid #dfcd9b;
  background: #fcf6e7;
  color: #786020;
  border-radius: 14px;
  margin: 22px 0;
  font-size: 13px;
}
.error {
  color: #a23432;
}
.notice.error {
  background: #fff2ef;
  border-color: #ebc8bf;
}
.card-note,
.form-note {
  font-size: 12px;
  line-height: 1.7;
  color: #74766a;
}
.card-note {
  margin-top: 28px;
}
.form-note {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.form-note a {
  border-bottom: 1px solid;
}
.page-footer {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid var(--rule);
  padding: 34px 0 38px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.page-footer .brand {
  font-size: 23px;
}
.page-footer p,
.page-footer small {
  font-size: 12px;
  color: var(--muted);
}
.page-footer nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
}
.page-footer small {
  white-space: nowrap;
}
/* The same paper, collage, display type and olive accent as the public homepage. */
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
}
.login-intro h1 {
  font-size: 66px;
}
.login-intro .lead {
  margin-top: 30px;
}
.login-card {
  padding: 38px;
}
.login-card h2 {
  font-size: 35px;
  margin-bottom: 12px;
}
.login-card .sub {
  font-size: 14px;
  margin-bottom: 30px;
}
.google-button {
  width: 100%;
  background: #fff;
  border-color: #cfcec2;
}
.google-g {
  font-weight: 600;
  font-size: 19px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  margin: 28px 0 0;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--rule);
  flex: 1;
}
.phone-row #cc {
  width: 76px;
  flex: none;
}
.code-row button {
  font-size: 12px;
  padding: 10px 14px;
  white-space: nowrap;
}
.login-submit {
  width: 100%;
  margin-top: 24px;
}
.login-card #status {
  min-height: 20px;
}
.login-art {
  position: relative;
  max-width: 390px;
  height: 230px;
  margin-top: 45px;
  background: var(--green);
  border-radius: 4px;
}
.mini-paper {
  position: absolute;
  left: 32px;
  top: 22px;
  right: 20px;
  padding: 20px 25px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 15px;
  box-shadow: 0 10px 20px #29292918;
  transform: rotate(-5deg);
}
.paper-dots {
  font-size: 11px;
  letter-spacing: 3px;
  color: #a3aa76;
}
.mini-paper h2 {
  font-size: 25px;
  margin: 16px 0;
}
.mini-paper p {
  font-size: 13px;
  border-left: 2px solid var(--green);
  padding-left: 10px;
  color: #60634c;
}
.mini-tag {
  display: inline-block;
  font-size: 10px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 3px 9px;
  margin-top: 15px;
}
.art-wave {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--ink);
  color: var(--green);
  padding: 16px;
  border-radius: 10px;
  font-size: 20px;
  letter-spacing: 2px;
}
.account-tabs {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  margin-bottom: 32px;
}
.account-tabs a {
  padding: 0 0 18px;
}
.account-tabs .active {
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
}
.balance-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 40px;
  gap: 36px;
}
.balance-panel .eyebrow {
  margin-bottom: 12px;
}
.balance {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.balance-detail {
  max-width: 480px;
}
.balance-detail > p:first-child {
  font-size: 21px;
  margin-bottom: 10px;
}
.balance-detail a {
  font-size: 12px;
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid;
}
.purchase-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 30px;
  align-items: stretch;
}
.purchase-card,
.pricing-card {
  padding: 38px 34px;
  border-radius: 24px;
}
.purchase-card h2 {
  font-size: 34px;
  margin-bottom: 24px;
}
.purchase-card > p:not(.eyebrow) {
  font-size: 14px;
}
.offers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.offers button {
  min-width: 90px;
}
.buyout-card {
  background: var(--green);
  color: var(--ink);
  border: 1px solid #a6b440;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.buyout-card .card-note {
  color: #474d2d;
}
.buyout-card .offers {
  margin-top: 20px;
}
.buyout-card .offers button {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.buyout-card .offers button:hover {
  background: #41413b;
}
.buyout-card .text-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
}
.buyout-price {
  font-size: 20px !important;
}
.purchase-card .row input {
  flex: 1;
}
.purchase-card .row button {
  flex: none;
  font-size: 12px;
}
.purchase-card #custom-hint {
  margin-top: 10px;
}
.account-actions {
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  min-height: 36px;
}
.text-button:hover {
  background: none;
  text-decoration: underline;
}
.checkout-section {
  margin-top: 65px;
}
.checkout-section > h2 {
  font-size: 42px;
  margin-bottom: 25px;
}
.checkout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  padding: 40px;
  gap: 45px;
  margin-top: 28px;
}
.checkout-copy h2,
.checkout-copy h3 {
  margin-bottom: 24px;
}
.checkout-copy > p {
  margin: 14px 0;
}
.qr-panel {
  text-align: center;
  border-left: 1px solid var(--rule);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.qr-panel img {
  display: block;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 14px;
  border-radius: 14px;
  width: 240px;
  height: 240px;
}
.qr-panel p {
  font-size: 13px;
  max-width: 290px;
}
.order-amount {
  overflow-wrap: anywhere;
}
.order-state {
  display: inline-block;
  background: #e4e9ce;
  color: #566629;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
}
.after-note {
  font-size: 13px;
  margin-top: 28px;
}
.orders-intro {
  margin-bottom: 36px;
}
.orders-list > section {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 20px;
  margin-bottom: 18px;
  padding: 28px 32px;
}
.orders-list h2 {
  font-size: 27px;
  margin-bottom: 17px;
}
.orders-list p {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.orders-list a {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid;
  font-size: 13px;
}
.orders-list:empty::before {
  content: "正在读取订单…";
  color: var(--muted);
  font-size: 14px;
  display: block;
  padding: 30px 0;
}
.pricing-grid {
  margin-top: 64px;
}
.pricing-card {
  padding: 45px 38px;
}
.pricing-card h2 {
  font-size: 42px;
  margin-bottom: 24px;
}
.display-price {
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 32px 0;
}
.display-price > span {
  font-family: var(--serif);
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.display-price > small {
  font-size: 12px;
}
.pricing-card #service-price {
  font-size: 12px;
  color: var(--muted);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  flex: 1;
}
.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid #29292917;
  font-size: 14px;
}
.feature-list li::before {
  content: "✓";
  margin-right: 12px;
}
.pricing-card .action {
  margin-top: 6px;
}
.pricing-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin-top: 90px;
  padding-top: 38px;
  border-top: 1px solid var(--rule);
}
.pricing-notes h2 {
  font-size: 40px;
}
.pricing-notes p:not(.eyebrow) {
  margin-bottom: 24px;
  font-size: 15px;
}
.pricing-notes .text-link {
  font-size: 14px;
}
.guide-content {
  max-width: 880px;
  margin: auto;
}
.guide-content > p {
  font-size: 15px;
  margin: 22px 0;
}
.guide-content > h2 {
  font-size: 34px;
  margin: 60px 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.guide-content code {
  font-size: 12px;
  background: var(--surface);
  padding: 3px 6px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.guide-content p > a,
.guide-content li > a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-steps {
  list-style: none;
  padding: 24px 30px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  counter-reset: step;
  margin: 35px 0;
}
.guide-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0 7px;
  font-size: 14px;
  line-height: 1.8;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.guide-steps li:last-child {
  border: 0;
}
.guide-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--accent);
  font-size: 22px;
  margin-right: 12px;
}
.guide-steps li > a {
  display: inline;
}
@media (max-width: 1023px) {
  .login-layout {
    gap: 36px;
    grid-template-columns: 1fr 1fr;
  }
  .login-intro h1 {
    font-size: 49px;
  }
  .login-card {
    padding: 28px;
  }
  .page-footer {
    width: calc(100% - 80px);
    flex-wrap: wrap;
  }
  .page-footer nav {
    margin-left: 0;
  }
  .balance {
    font-size: 40px;
  }
  .purchase-card,
  .pricing-card {
    padding: 28px;
  }
  .purchase-card .row {
    flex-wrap: wrap;
  }
  .purchase-card .row input {
    flex-basis: 100%;
  }
  .pricing-notes {
    gap: 45px;
  }
  .checkout {
    padding: 30px;
    gap: 25px;
  }
}
@media (max-width: 767px) {
  .page-header {
    padding: 12px 16px;
    gap: 10px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 24px;
    height: 24px;
  }
  .page-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .page-header nav > a:first-child {
    display: none;
  }
  .page-header .nav-account {
    padding: 9px 12px;
  }
  main {
    width: calc(100% - 32px);
    padding: 46px 0 64px;
  }
  h1 {
    font-size: 44px;
    line-height: 1.08;
  }
  h2 {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .page-heading {
    margin-bottom: 35px;
  }
  .page-heading h1 {
    margin-bottom: 23px;
  }
  .lead {
    font-size: 17px;
  }
  .identity {
    font-size: 12px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .login-intro h1 {
    font-size: 44px;
  }
  .login-intro .lead {
    font-size: 16px;
    margin-top: 22px;
  }
  .login-art {
    display: none;
  }
  .login-card {
    padding: 26px 23px;
    border-radius: 20px;
  }
  .login-card h2 {
    font-size: 31px;
  }
  .login-card .eyebrow {
    margin-bottom: 15px;
  }
  .login-card .sub {
    margin-bottom: 24px;
  }
  .page-footer {
    width: calc(100% - 32px);
    padding: 25px 0;
    gap: 15px;
  }
  .page-footer p {
    margin-left: auto;
  }
  .page-footer nav {
    width: 100%;
    gap: 22px;
  }
  .page-footer small {
    font-size: 10px;
  }
  .account-tabs {
    gap: 21px;
    font-size: 12px;
    margin-bottom: 23px;
  }
  .account-tabs a {
    padding-bottom: 14px;
  }
  .balance-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    gap: 23px;
  }
  .balance {
    font-size: 38px;
  }
  .balance-detail > p:first-child {
    font-size: 18px;
  }
  .purchase-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  .purchase-card,
  .pricing-card {
    padding: 27px 24px;
    border-radius: 20px;
  }
  .purchase-card h2 {
    font-size: 30px;
  }
  .purchase-card > p:not(.eyebrow) {
    font-size: 13px;
  }
  .offers {
    margin: 23px 0;
  }
  .offers button {
    min-width: 70px;
    font-size: 12px;
    padding: 9px 15px;
  }
  .buyout-card .text-link {
    margin-top: 25px;
    padding-top: 0;
  }
  .buyout-price {
    font-size: 18px !important;
  }
  .purchase-card .row {
    flex-wrap: wrap;
  }
  .purchase-card .row input {
    flex-basis: 100%;
  }
  .checkout-section {
    margin-top: 45px;
  }
  .checkout-section > h2 {
    font-size: 34px;
  }
  .checkout {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 28px;
    border-radius: 20px;
  }
  .qr-panel {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 25px 0 0;
  }
  .qr-panel img {
    width: 220px;
    height: 220px;
  }
  .orders-list > section {
    padding: 24px;
  }
  .orders-list h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .pricing-card h2 {
    font-size: 36px;
  }
  .display-price > span {
    font-size: 55px;
  }
  .pricing-notes {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 55px;
  }
  .pricing-notes h2 {
    font-size: 34px;
  }
  .guide-content > p {
    font-size: 14px;
  }
  .guide-content > h2 {
    font-size: 29px;
    margin-top: 45px;
  }
  .guide-steps {
    padding: 10px 20px;
  }
  .guide-steps li {
    font-size: 13px;
  }
}
@media (max-width: 370px) {
  .page-header nav {
    gap: 10px;
    font-size: 11px;
  }
  .page-header .nav-account {
    padding: 8px 10px;
  }
  .page-header nav > a:nth-child(3) {
    display: none;
  }
  h1,
  .login-intro h1 {
    font-size: 38px;
  }
  .account-tabs {
    gap: 16px;
    font-size: 11px;
  }
  .login-card {
    padding: 23px 18px;
  }
  .code-row {
    gap: 8px;
  }
  .code-row button {
    font-size: 11px;
    padding: 9px 10px;
  }
  .page-footer nav {
    gap: 17px;
  }
  .balance {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.preview-banner {
  display: block;
  background: #292929;
  color: #f7f7f2;
  text-align: center;
  font: 11px/1.4 var(--sans);
  padding: 7px 16px;
}
.guide-steps li {
  display: block;
}
