/* ==========================================================
   Repair Service India — Android / Material 3 style
   Palette "Cool Trust": navy = trust, teal = cooling, orange = action
   ========================================================== */
:root {
  --primary: #0B2545;
  --on-primary: #FFFFFF;
  --primary-container: #D9E5F3;
  --secondary: #0E7C8A;
  --secondary-container: #CDEFF3;
  --on-secondary-container: #053B42;
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --on-accent: #FFFFFF;
  --surface: #F6F8FB;
  --surface-1: #FFFFFF;
  --surface-2: #EEF3F8;
  --surface-3: #E3EAF2;
  --on-surface: #18212E;
  --on-surface-variant: #55657A;
  --outline: #B9C4D0;
  --outline-variant: #E0E6EE;
  --wa: #128C4A;
  --error: #B3261E;

  --shape-xl: 28px;
  --shape-l: 20px;
  --shape-m: 16px;
  --shape-s: 12px;
  --elev-1: 0 1px 2px rgba(16, 24, 40, .08), 0 1px 3px 1px rgba(16, 24, 40, .05);
  --elev-2: 0 2px 6px 2px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .1);
  --elev-3: 0 4px 8px 3px rgba(16, 24, 40, .1), 0 1px 3px rgba(16, 24, 40, .12);

  --gutter: 16px;
  --appbar-h: 64px;
  --nav-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--appbar-h) + 8px); -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5;
  color: var(--on-surface); background: var(--surface);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
body.sheet-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--secondary); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* Material Symbols */
.ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  display: inline-block; flex: none; overflow: hidden; width: 1em;
  font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Ripple ---------- */
.ripple-host { position: relative; overflow: hidden; isolation: isolate; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  background: currentColor; opacity: .18; transform: scale(0);
  animation: ripple .5s ease-out forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: inherit; font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s, box-shadow .2s;
}
.btn .ms { font-size: 20px; }
.btn--filled { background: var(--accent); color: var(--on-accent); box-shadow: var(--elev-1); }
.btn--filled:hover { background: var(--accent-hover); box-shadow: var(--elev-2); }
.btn--tonal { background: var(--secondary-container); color: var(--on-secondary-container); width: 100%; }
.btn--tonal:hover { box-shadow: var(--elev-1); }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--primary); cursor: pointer; text-decoration: none;
}
.icon-btn--tonal { background: var(--secondary-container); color: var(--on-secondary-container); }
.icon-btn--wa { color: var(--wa); }

/* ---------- Top app bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--appbar-h); padding: 0 8px 0 var(--gutter);
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); transition: background .2s, box-shadow .2s;
}
.appbar.is-scrolled { background: var(--surface-1); box-shadow: var(--elev-2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { color: var(--primary); font-size: 1.05rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text small { color: var(--secondary); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #7DD3DE; }
.appbar__nav, .appbar__book { display: none; }
.appbar__actions { display: flex; align-items: center; gap: 4px; }

/* ---------- Sub-page app bar ---------- */
.appbar__back { margin-left: -10px; flex: none; }
.appbar__back + .brand img { display: none; }

/* ---------- Hero carousel ---------- */
.hero { padding: 8px 0 4px; }
.hero__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hero__track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 calc(100% - 28px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  border-radius: var(--shape-xl); overflow: hidden;
  background: var(--primary); box-shadow: var(--elev-1);
}
.slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.slide__body { flex: 1; padding: 18px 18px 20px; color: #D5E2F0; display: flex; flex-direction: column; gap: 10px; }
.slide__body h1, .slide__body h2 { color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.slide__body p { font-size: .94rem; }
.slide__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 6px; }

.label-chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px 0 8px; border-radius: 8px;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: .82rem; font-weight: 500;
}
.label-chip .ms { font-size: 18px; color: #7DD3DE; }

.hero__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 4px; }
.hero__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--outline); transition: width .25s, background .25s;
}
.hero__dots button[aria-selected="true"] { width: 24px; background: var(--primary); }

.hero--single .slide { flex-basis: 100%; }
.hero--single .hero__dots { display: none; }

/* ---------- Fee card ---------- */
.fee-card {
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
  padding: 12px 12px 12px 14px; border-radius: var(--shape-m);
  background: var(--secondary-container); color: var(--on-secondary-container); text-decoration: none;
}
.fee-card__icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-1);
  display: grid; place-items: center; color: var(--secondary);
}
.fee-card__text { flex: 1; display: flex; flex-direction: column; }
.fee-card__text strong { font-weight: 700; }
.fee-card__text small { font-size: .82rem; }

/* ---------- Blocks ---------- */
.block { padding-top: 28px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.block__title { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.block__sub { color: var(--on-surface-variant); font-size: .92rem; margin: -6px 0 14px; }
.block__hint { display: inline-flex; align-items: center; gap: 2px; color: var(--on-surface-variant); font-size: .82rem; }
.block__hint .ms { font-size: 18px; }
.note { color: var(--on-surface-variant); font-size: .85rem; margin-top: 12px; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px 14px; border-radius: var(--shape-l);
  background: var(--surface-1); box-shadow: var(--elev-1);
  color: var(--on-surface); text-decoration: none; font-weight: 500; font-size: .92rem;
}
.cat__icon {
  width: 56px; height: 56px; border-radius: 18px; font-size: 30px;
  display: grid; place-items: center;
  background: var(--primary-container); color: var(--primary);
}
.cat:nth-child(2) .cat__icon { background: var(--secondary-container); color: var(--secondary); }
.cat:nth-child(3) .cat__icon { background: #FFE6D5; color: var(--accent); }

.assist-chips { display: flex; gap: 8px; overflow-x: auto; margin: 14px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scrollbar-width: none; }
.assist-chips::-webkit-scrollbar { display: none; }
.assist-chips li {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px 0 10px; border-radius: 8px;
  border: 1px solid var(--outline-variant); background: var(--surface-1);
  font-size: .85rem; font-weight: 500; color: var(--on-surface);
}
.assist-chips .ms { font-size: 18px; color: var(--secondary); }

/* ---------- Horizontal service cards ---------- */
.hscroll {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.svc {
  flex: 0 0 78%; scroll-snap-align: start;
  background: var(--surface-1); border-radius: var(--shape-l); overflow: hidden; box-shadow: var(--elev-1);
  display: flex; flex-direction: column;
}
.svc:only-child { flex-basis: 100%; }
.svc img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 40%; }
.svc__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.svc h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.svc .btn { margin-top: auto; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 4px; color: var(--on-surface-variant); font-size: .9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 7px;
  border-left: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary); transform: rotate(-45deg);
}

/* ---------- Stepper ---------- */
.stepper { background: var(--surface-1); border-radius: var(--shape-l); padding: 18px 16px 4px; box-shadow: var(--elev-1); }
.stepper li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.stepper li:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--outline-variant);
}
.stepper__dot {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center;
}
.stepper h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 4px 0 2px; }
.stepper p { color: var(--on-surface-variant); font-size: .9rem; }

/* ---------- Lists (charges, areas, FAQ) ---------- */
.list-card { background: var(--surface-1); border-radius: var(--shape-l); box-shadow: var(--elev-1); overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.list-item + .list-item, .expand + .expand { border-top: 1px solid var(--outline-variant); }
.list-item__lead {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--primary); font-size: 22px;
}
.list-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-item__text strong { font-weight: 500; }
.list-item__text small { color: var(--on-surface-variant); font-size: .82rem; }
.list-item__trail { font-weight: 700; color: var(--primary); text-align: right; font-size: .95rem; max-width: 40%; }

.expand summary {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  cursor: pointer; list-style: none; min-height: 56px;
}
.expand summary::-webkit-details-marker { display: none; }
.expand__lead { color: var(--secondary); }
.expand__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.expand__text strong { font-weight: 500; }
.expand__text small { color: var(--on-surface-variant); font-size: .82rem; }
.expand__trail { color: var(--on-surface-variant); transition: transform .2s; }
.expand[open] .expand__trail { transform: rotate(180deg); }
.expand > p { padding: 0 16px 16px; color: var(--on-surface-variant); font-size: .92rem; }

.about__text { color: var(--on-surface-variant); font-size: .95rem; margin: -4px 0 14px; max-width: 760px; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--surface-2); border-radius: var(--shape-l); padding: 16px 14px; }
.tile .ms { color: var(--secondary); font-size: 28px; }
.tile h3 { font-size: .98rem; font-weight: 700; color: var(--primary); margin: 8px 0 4px; }
.tile p { font-size: .85rem; color: var(--on-surface-variant); }

/* ---------- Segmented button + areas ---------- */
.segmented {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 12px;
  border: 1px solid var(--outline); border-radius: 999px; overflow: hidden;
}
.segmented__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 500; color: var(--on-surface);
}
.segmented__btn + .segmented__btn { border-left: 1px solid var(--outline); }
.segmented__btn .ms { font-size: 18px; }
.segmented__btn[aria-selected="true"] { background: var(--secondary-container); color: var(--on-secondary-container); }
.area-panel[hidden] { display: none; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.area-chips li {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--outline-variant);
  font-size: .8rem; color: var(--on-surface); background: var(--surface);
}

/* ---------- Policy / text pages ---------- */
.article { background: var(--surface-1); border-radius: var(--shape-l); box-shadow: var(--elev-1); padding: 22px 18px; margin-top: 8px; }
.article h1 { font-size: 1.6rem; color: var(--primary); }
.article__updated { color: var(--on-surface-variant); font-size: .85rem; margin: 6px 0 18px; }
.article h2 { font-size: 1.1rem; color: var(--primary); margin: 22px 0 8px; }
.article p, .article li { color: var(--on-surface); font-size: .95rem; }
.article p + p { margin-top: 10px; }
.article ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.article table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.article th, .article td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--outline-variant); vertical-align: top; }
.article th { color: var(--on-surface-variant); font-weight: 500; }
.sitemap-list { list-style: none !important; padding: 0 !important; }
.sitemap-list a { font-weight: 500; }

.sheet__notice { font-size: .78rem; color: #6B3A06; background: #FFF4E5; border-radius: var(--shape-s); padding: 10px 12px; }

.area-card { background: var(--surface-1); border-radius: var(--shape-l); box-shadow: var(--elev-1); padding: 18px 16px; }
.area-card + .area-card { margin-top: 12px; }
.area-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.area-card .area-chips { padding: 0; }
.area-card .area-chips li { border-radius: 999px; background: var(--surface-1); padding: 7px 14px; }

/* ---------- Closing CTA ---------- */
.cta-card {
  margin-top: 28px; padding: 24px 20px; border-radius: var(--shape-xl);
  background: var(--primary); color: #D5E2F0;
}
.cta-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.cta-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: #071A33; color: #A9BED6; padding: 36px 0 24px; margin-top: 32px; font-size: .88rem; }
.footer a { color: #E2ECF7; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.footer__grid { display: grid; gap: 24px; margin-bottom: 20px; }
.footer__legal { margin-top: 14px; }
.footer__links { display: grid; gap: 6px; }
.footer__notice {
  padding: 14px 16px; border-radius: var(--shape-m);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  color: #CFE0F2; font-size: .82rem; line-height: 1.6;
}
.footer__notice strong { color: #fff; }
.footer__copy { font-size: .78rem; margin-top: 10px; }

/* ---------- Bottom navigation ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: var(--surface-2); box-shadow: 0 -1px 0 var(--outline-variant);
}
.bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .75rem; font-weight: 500; color: var(--on-surface-variant); text-decoration: none;
}
.bottom-nav__pill { width: 56px; height: 32px; border-radius: 999px; display: grid; place-items: center; transition: background .2s; }
.bottom-nav__item[aria-current="true"] { color: var(--on-surface); font-weight: 700; }
.bottom-nav__item[aria-current="true"] .bottom-nav__pill { background: var(--secondary-container); color: var(--on-secondary-container); }
.bottom-nav__item[aria-current="true"] .ms { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.bottom-nav__fab {
  justify-self: center; transform: translateY(-14px);
  width: 64px; height: 64px; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--accent); color: #fff; text-decoration: none; box-shadow: var(--elev-3);
}
.bottom-nav__fab-label { font-size: .7rem; font-weight: 700; }

/* ---------- Bottom sheet ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(8, 18, 32, .45); opacity: 0; transition: opacity .25s; }
.scrim.is-visible { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  max-height: 92vh; overflow-y: auto;
  background: var(--surface-1); border-radius: var(--shape-xl) var(--shape-xl) 0 0;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: var(--elev-3);
  transform: translateY(105%); visibility: hidden;
  transition: transform .3s cubic-bezier(.2, .9, .3, 1), visibility 0s linear .3s;
}
.sheet.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
.sheet__handle { width: 32px; height: 4px; border-radius: 2px; background: var(--outline); margin: 6px auto 10px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head h2 { font-size: 1.35rem; color: var(--primary); }
.sheet__sub { color: var(--on-surface-variant); font-size: .9rem; margin: 2px 0 18px; }

.form { display: grid; gap: 16px; }
.choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice legend { font-size: .85rem; font-weight: 500; color: var(--on-surface-variant); margin-bottom: 8px; padding: 0; }
.choice__chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice__inner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px; border-radius: var(--shape-m); border: 1px solid var(--outline);
  font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s;
}
.choice__inner .ms { font-size: 26px; color: var(--on-surface-variant); }
.choice__chip input:checked + .choice__inner { background: var(--secondary-container); border-color: var(--secondary); color: var(--on-secondary-container); }
.choice__chip input:checked + .choice__inner .ms { color: var(--secondary); font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.choice__chip input:focus-visible + .choice__inner { outline: 2px solid var(--secondary); outline-offset: 2px; }

.field { position: relative; }
.field input {
  width: 100%; height: 56px; padding: 18px 16px 4px;
  font: inherit; color: var(--on-surface); background: transparent;
  border: 1px solid var(--outline); border-radius: var(--shape-s);
}
.field input:focus { outline: none; border: 2px solid var(--secondary); padding-left: 15px; }
.field label {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  padding: 0 4px; background: var(--surface-1); color: var(--on-surface-variant);
  pointer-events: none; transition: top .15s, font-size .15s, color .15s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 0; font-size: .75rem; color: var(--secondary); }
.form__error { color: var(--error); font-size: .88rem; }
.form__privacy { color: var(--on-surface-variant); font-size: .78rem; text-align: center; }

/* ---------- Snackbar ---------- */
.snackbar {
  position: fixed; left: 16px; right: 16px; z-index: 100;
  bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom));
  padding: 14px 16px; border-radius: 8px; background: #2B3542; color: #F1F4F8;
  font-size: .9rem; box-shadow: var(--elev-3);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .25s;
}
.snackbar.is-visible { transform: none; opacity: 1; }

/* ==========================================================
   Tablet / desktop
   ========================================================== */
@media (min-width: 600px) {
  .slide { flex-basis: calc(100% - 120px); }
  .svc { flex-basis: 46%; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .cta-card__actions { display: flex; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .snackbar { left: 50%; right: auto; width: 420px; margin-left: -210px; bottom: 24px; }

  .appbar { padding: 0 max(var(--gutter), calc((100vw - 1140px) / 2 + var(--gutter))); gap: 20px; }
  .appbar__nav { display: flex; gap: 22px; }
  .appbar__nav a { color: var(--on-surface); text-decoration: none; font-weight: 500; }
  .appbar__nav a:hover { color: var(--secondary); }
  .appbar__book { display: inline-flex; }

  .hero { max-width: 1140px; margin: 0 auto; padding: 8px var(--gutter) 4px; }
  .hero__track { gap: 40px; padding: 0; scroll-padding: 0; }
  .slide { flex-basis: 100%; flex-direction: row-reverse; height: 460px; }
  .slide img { width: 55%; aspect-ratio: auto; height: 100%; }
  .slide__body { justify-content: center; padding: 40px; }
  .slide__body h1, .slide__body h2 { font-size: 2.3rem; }
  .slide__actions { display: flex; margin-top: 8px; }

  .block { padding-top: 48px; }
  .block__title { font-size: 1.6rem; }
  .block__hint { display: none; }
  .cats { max-width: 640px; }
  .hscroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px; }
  .stepper li { padding: 0; }
  .stepper li::before { display: none; }
  #charges .list-card { max-width: 760px; }

  .sheet {
    left: 50%; right: auto; bottom: auto; top: 50%; width: 460px;
    border-radius: var(--shape-xl); padding: 16px 24px 24px;
    transform: translate(-50%, -46%); opacity: 0;
    transition: transform .25s, opacity .25s, visibility 0s linear .25s;
  }
  .sheet.is-open { transform: translate(-50%, -50%); opacity: 1; transition: transform .25s, opacity .25s; }
  .sheet__handle { display: none; }
  .appbar__back + .brand img { display: block; }
  .article { padding: 36px 40px; max-width: 860px; }
}

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