:root {
  --ink: #142332;
  --muted: #4b5d70;
  --accent: #ff6b35;
  --accent-text: #a3320b;
  --line: #dee5eb;
  color: var(--ink);
  background: #f4f6f8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-optical-sizing: auto;
}

* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(250, 251, 252, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.navigation, nav { display: flex; align-items: center; }
.navigation { min-height: 68px; justify-content: space-between; gap: 16px; }
nav { gap: clamp(12px, 3vw, 30px); }
.brand img { display: block; width: clamp(112px, 20vw, 155px); height: auto; }
a { color: inherit; text-decoration: none; }
.nav-features { font-size: .94rem; font-weight: 650; }
.nav-features:hover { color: var(--accent-text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 44px;
  padding: .65rem 1.05rem;
  border-radius: 999px;
  font-weight: 720;
  transition: background-color 160ms ease, transform 160ms ease;
}
.button:active { transform: scale(.97); transition-duration: 80ms; }
a:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
.login { background: var(--ink); color: #fff; }
.login:hover { background: #28445c; }
.explore { background: var(--accent); color: var(--ink); }
.explore:hover { background: #f15d28; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding-block: clamp(64px, 10vw, 132px);
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5.9vw, 5.7rem);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 760;
}
.hero em { color: var(--accent-text); font-style: normal; }
.hero-copy p {
  max-width: 32ch;
  margin: 1.4rem 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.preview {
  min-width: 0;
  margin: 0;
  padding: clamp(14px, 2.2vw, 26px);
  border-radius: 26px;
  background: #142332;
  color: #fff;
  box-shadow: 0 18px 42px rgba(20, 35, 50, .2);
}
.preview figcaption { padding: 6px 4px 19px; }
.preview-label { display: block; margin-bottom: 4px; color: #c3d0dd; font-size: .8rem; }
.preview strong { font-size: 1.5rem; letter-spacing: -.03em; }
.schedule { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #3a4a60; border-radius: 14px; background: #3a4a60; }
.day {
  min-height: 216px;
  padding: 7px;
  background: repeating-linear-gradient(to bottom, transparent 0 43px, #2c3d52 43px 44px), #1c2d40;
}
.day h2 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px; margin: 4px 0 19px; font-size: .78rem; }
.day h2 span { color: #b6c7d8; }
.current { box-shadow: inset 0 3px var(--accent); background-color: #263748; }
.current h2 span { color: #ffab8d; }
.appointment {
  overflow-wrap: anywhere;
  margin: 0 0 9px;
  padding: 7px 5px;
  border-inline-start: 3px solid;
  border-radius: 6px;
  font-size: clamp(.62rem, 1vw, .79rem);
  line-height: 1.25;
}
.appointment time { display: block; margin-bottom: 3px; font-weight: 750; font-variant-numeric: tabular-nums; }
.service { background: #244453; border-color: #7cbfc6; }
.repair { background: #284735; border-color: #83cda2; }
.handover { background: #543327; border-color: var(--accent); }
.day:nth-child(even) .appointment { margin-top: 37px; }
.day:last-child .appointment { margin-top: 62px; }

.features { border-top: 1px solid var(--line); padding-block: clamp(42px, 7vw, 86px); background: #fff; scroll-margin-top: 68px; }
.features h2 { margin: 0 0 1.5rem; font-size: clamp(1.85rem, 4vw, 3.2rem); letter-spacing: -.05em; line-height: 1.05; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature { padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: #f6f8fa; }
.feature h3 { margin: 0; font-size: 1.17rem; line-height: 1.3; letter-spacing: -.016em; }
.feature h3::before { display: block; width: 22px; height: 4px; margin-bottom: .9rem; border-radius: 999px; background: var(--accent); content: ""; }
.feature p, .feature-note { max-width: 54ch; margin: .6rem 0 0; color: var(--muted); line-height: 1.55; }
.feature-note { max-width: none; margin-top: 1rem; font-size: .9rem; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .preview { width: min(100%, 640px); }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 32px); }
  .nav-features { display: none; }
  .hero { padding-block: 50px; }
  .preview { border-radius: 18px; }
  .schedule { grid-template-columns: 1fr; }
  .day { min-height: 0; display: grid; grid-template-columns: 42px repeat(2, minmax(0, 1fr)); gap: 6px; align-items: center; background-image: none; }
  .day h2 { display: grid; margin: 0; padding-inline-start: 4px; }
  .day:nth-child(n) .appointment { margin: 0; font-size: .75rem; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
}
@media (prefers-contrast: more) {
  .site-header { background: #fff; backdrop-filter: none; }
  .site-header, .feature { border-color: var(--ink); }
}
