:root {
  color-scheme: light;
  --ink: #17233f;
  --muted: #52617b;
  --paper: #eff2f9;
  --navy: #1c2b4e;
  --coral: #ffb49e;
  --white: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
:where(a, button):focus-visible { outline: 3px solid #3c63c7; outline-offset: 4px; }
[id] { scroll-margin-top: 2rem; }
.shell { width: min(100% - 100px, 1200px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 2;
  top: .7rem;
  left: .7rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand, .masthead nav, .footer-inner nav { display: flex; align-items: center; }
.brand { gap: 11px; font-size: 1.24rem; letter-spacing: -.045em; white-space: nowrap; }
.brand img, .download img { border-radius: 25%; }
.masthead nav { gap: clamp(20px, 3vw, 44px); font-size: .94rem; font-weight: 600; }
.masthead nav a:not(.nav-download):hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: .35em; }
.nav-download { padding: 10px 16px; border: 1px solid #aab5ce; border-radius: 10px; white-space: nowrap; }
.nav-download:hover { background: var(--white); }

.hero {
  display: grid;
  grid-template-columns: minmax(320px, .89fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(38px, 6vw, 93px);
  padding-block: clamp(65px, 8vw, 115px) clamp(88px, 10vw, 145px);
}

h1 { font-size: clamp(3.4rem, 6.7vw, 6.35rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.04; white-space: nowrap; }
.intro p { max-width: 21em; margin-block: 25px 30px; font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.8; color: var(--muted); }
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 650;
  white-space: nowrap;
}
.store-button:hover { background: #314876; }
.device { display: block; padding-top: 13px; color: var(--muted); font-size: .83rem; }

.ledger {
  min-width: 0;
  padding: clamp(22px, 3.5vw, 43px);
  border-radius: 25px;
  border: 1px solid #3c507a;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 26px 55px -35px #253863a8;
}
.ledger-header, .ledger-footer, .shift-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.ledger-header p { color: #c2cfe9; font-size: .9rem; margin-bottom: 4px; }
.ledger h2 { font-size: clamp(1.65rem, 3.1vw, 2.6rem); letter-spacing: -.065em; }
.sample { border: 1px solid #66789d; border-radius: 100px; padding: 5px 10px; color: #e0e8f8; font-size: .78rem; white-space: nowrap; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(4px, .65vw, 9px); margin-block: 27px 23px; }
.week button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 84px;
  padding: 6px 0;
  border: 1px solid #52678e;
  border-radius: 9px;
  background: #27395f;
  color: #fff;
  cursor: pointer;
}
.week button:disabled { cursor: default; }
.week button:focus-visible { outline-color: var(--white); outline-offset: 2px; }
.week button:hover:not(:disabled) { border-color: var(--coral); }
.week span { font-size: .78rem; }
.week b { font: 650 clamp(1.24rem, 2.2vw, 1.65rem)/1.15 system-ui, sans-serif; font-variant-numeric: tabular-nums; margin-block: 4px 6px; }
.week i { width: 12px; height: 3px; border-radius: 4px; background: #aebfeb; }
.week .day-off i { background: transparent; }
.week [aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #232238; }
.week [aria-pressed="true"] i { background: #703525; }
.week .day-off[aria-pressed="true"] i { background: transparent; }

.shift-summary { padding: 19px 20px; border: 1px solid #4b618c; border-radius: 12px; background: #172543; }
.shift-heading { align-items: baseline; padding-bottom: 15px; border-bottom: 1px solid #445779; }
.shift-heading span { color: var(--coral); font-weight: 650; }
.shift-heading strong, .shift-details dd { font-variant-numeric: tabular-nums; }
.shift-heading strong { font-size: clamp(.91rem, 1.55vw, 1.12rem); text-align: right; }
.shift-details { display: grid; grid-template-columns: .8fr .8fr 1.15fr; column-gap: 8px; align-items: baseline; padding-top: 13px; }
.shift-details div:last-child { text-align: right; }
.shift-details dt { font-size: .81rem; color: #c8d3eb; }
.shift-details dd { font-size: clamp(.95rem, 1.65vw, 1.13rem); font-weight: 660; line-height: 1.3; margin-top: 6px; white-space: nowrap; }
#shift-pay { color: var(--coral); font-size: clamp(1.12rem, 2.45vw, 1.9rem); letter-spacing: -.04em; }
.ledger-footer { margin-top: 15px; min-height: 22px; font-size: .78rem; color: #c5d0e7; }

.feature-band { background: #e1e8f7; }
.feature-layout { display: grid; grid-template-columns: .95fr 1.05fr; column-gap: clamp(38px, 7vw, 99px); align-items: center; padding-block: clamp(68px, 9vw, 115px); }
.feature-copy h2, .download h2 { font-size: clamp(2rem, 4.45vw, 4.15rem); line-height: 1.13; font-weight: 800; letter-spacing: -.042em; }
.feature-list { margin-top: 30px; max-width: 30rem; }
.feature-list div { padding: 16px 0; border-top: 1px solid #afbdd7; }
.feature-list dt { font-size: 1.15rem; font-weight: 720; }
.feature-list dd { color: var(--muted); line-height: 1.7; margin-top: 5px; }
.pay-statement {
  position: relative;
  isolation: isolate;
  width: min(100% - 20px, 435px);
  margin: 16px auto;
}
.pay-statement::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -2px 3px 3px;
  border: 1px solid #475d8c;
  border-radius: 19px;
  background: #9aadd3;
  transform: rotate(5deg);
}
.statement-paper {
  padding: clamp(19px, 3vw, 33px);
  border: 1px solid #acb8d3;
  border-radius: 18px;
  background: #f9faff;
  box-shadow: 0 15px 30px -20px #25386399;
}
.statement-header, .statement-items div, .statement-totals div { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.statement-header h3 { font-size: clamp(1.45rem, 2.9vw, 2.2rem); letter-spacing: -.04em; }
.statement-header span { color: var(--muted); font-size: .85rem; }
.statement-items { margin-top: 20px; padding: 11px 0; border-block: 1px dashed #acb8d3; color: var(--muted); }
.statement-items div { padding-block: 5px; }
.statement-paper dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.statement-totals { padding-top: 13px; }
.statement-totals div { padding-block: 5px; }
.statement-totals dd { font-weight: 700; }
.statement-totals div:last-child dd { font-size: clamp(1.25rem, 2.6vw, 1.85rem); letter-spacing: -.035em; }
.statement-status { margin-top: 14px; font-size: .9rem; font-weight: 650; color: #274d42; }
.statement-status span { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 3px; border-radius: 50%; background: #dceee7; }
.download { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(53px, 7vw, 90px); }
.download-copy { display: flex; align-items: center; gap: 20px; }
.download img { width: clamp(45px, 5.5vw, 66px); height: auto; }
.download h2 { font-size: clamp(1.8rem, 3.8vw, 3.44rem); }
.site-footer { border-top: 1px solid #ced6e7; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 78px; font-size: .9rem; }
.footer-en { margin-inline-start: .4em; color: var(--muted); }
.footer-inner nav { gap: 1.2em; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(252px, .85fr) minmax(0, 1.15fr); gap: 27px; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 43px; padding-block: 48px 68px; }
  h1 { font-size: clamp(3.5rem, 10.6vw, 5.8rem); }
  .ledger { max-width: 580px; }
  .feature-layout { grid-template-columns: 1fr; gap: 25px; }
  .intro p { margin-block: 19px 24px; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 67px; gap: 7px; }
  .masthead nav { gap: 8px; font-size: .82rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav-download { padding: 6px 8px; }
  .brand { font-size: 1rem; gap: 6px; }
  .brand img { width: 29px; height: 29px; }
  .ledger { padding: 16px; border-radius: 18px; }
  .week { margin-block: 19px 14px; }
  .week button { min-height: 67px; }
  .shift-summary { padding: 13px 11px; }
  .shift-details dt, .ledger-footer { font-size: .75rem; }
  .ledger-footer { gap: 5px; }
  .download { flex-direction: column; align-items: flex-start; }
  .download-copy { gap: 10px; }
  .footer-inner { flex-wrap: wrap; padding-block: 18px; }
}
