:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #657087;
  --blue: #2477e8;
  --blue-deep: #165dbd;
  --blue-soft: #eaf3ff;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  --line: #dfe5ee;
  --shadow: 0 24px 70px rgba(31, 55, 88, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 238, 0.82);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 6px;
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(36, 119, 232, 0.26);
}

.brand-mark span {
  border-radius: 2px;
  background: white;
  opacity: 0.96;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.hero,
.section,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 680px;
  padding: 90px 0 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 28px rgba(36, 119, 232, 0.24);
}

.button.primary:hover {
  background: var(--blue-deep);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  padding: 36px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -3% 0;
  border-radius: 48% 52% 46% 54%;
  background: linear-gradient(145deg, #d9eaff, #f2f7ff);
  transform: rotate(-5deg);
}

.mini-calendar {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.calendar-top,
.shift-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-top {
  margin-bottom: 26px;
}

.calendar-top span {
  font-size: 1.65rem;
  font-weight: 800;
}

.calendar-top strong {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
}

.weekdays,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.weekdays {
  margin-bottom: 10px;
  color: #919aab;
  font-size: 0.7rem;
  font-weight: 700;
}

.days span {
  min-height: 57px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 15px;
  font-size: 0.82rem;
  font-weight: 650;
}

.days .today {
  outline: 2px solid var(--blue);
  color: var(--blue);
}

.days i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.days i.late {
  background: #7f69e8;
}

.days i.night {
  background: #203a67;
}

.days i.off {
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: #bdc4cf;
}

.shift-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: 20px;
  background: #f4f7fb;
}

.shift-card div {
  display: grid;
  gap: 2px;
}

.shift-card small {
  color: var(--muted);
  font-size: 0.72rem;
}

.shift-card strong {
  font-size: 1.25rem;
}

.shift-card time {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 750;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-number {
  display: block;
  margin-bottom: 48px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-card p,
.steps p,
.notice p,
.contact p,
.policy p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.guide {
  padding-inline: 7%;
  border-radius: 40px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(31, 55, 88, 0.07);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.steps > li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
}

.notice {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: #f6f9fd;
}

.notice-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 25px 52px 25px 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 720;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  color: var(--blue);
  font-size: 1.7rem;
  font-weight: 400;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 850px;
  padding: 0 52px 24px 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-inline: 7%;
  border-radius: 36px;
  background: var(--ink);
  color: white;
}

.contact > div {
  max-width: 690px;
}

.contact .eyebrow {
  color: #83b8ff;
}

.contact p {
  color: #bdc7d7;
}

.contact .button {
  flex: 0 0 auto;
}

.privacy {
  padding-bottom: 70px;
}

.updated {
  color: var(--muted);
  font-size: 0.85rem;
}

.policy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.policy section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

footer div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

footer strong {
  color: var(--ink);
  font-size: 1rem;
}

footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(36, 119, 232, 0.4);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
    padding: 24px;
  }

  .feature-grid,
  .policy {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 230px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .hero,
  .section,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .section {
    padding-block: 74px;
  }

  .guide,
  .contact {
    width: 100%;
    padding-inline: 22px;
    border-radius: 0;
  }

  .mini-calendar {
    padding: 20px;
    border-radius: 26px;
  }

  .days {
    gap: 3px;
  }

  .days span {
    min-height: 50px;
  }

  .shift-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .steps li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .steps > li > span {
    width: 34px;
    height: 34px;
  }

  footer {
    padding-block: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
