@charset "UTF-8";

:root {
  --paper: #f8f7f0;
  --surface: #fffefa;
  --sand: #eeece1;
  --mint: #e8eee5;
  --ink: #142b29;
  --muted: #485b53;
  --green: #215146;
  --dark: #153831;
  --line: #d9dcd1;
  --coral: #ce6945;
  --salmon: #f3a784;
  --radius: 18px;
  --width: 1152px;
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, fieldset, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 750; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.55vw, 4.25rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.52rem, 2.8vw, 2.55rem); letter-spacing: -.031em; }
h3 { font-size: clamp(1.08rem, 1.55vw, 1.4rem); }
p { max-width: 70ch; }
img { display: block; max-width: 100%; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #a54423;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.wrap { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 76px; }
.section-head { max-width: 790px; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--muted); }
.subtle, .source-note { color: var(--muted); font-size: .87rem; }
.source-note { margin-top: 20px; }
.lead { color: var(--muted); }
.skip-link { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 10px 14px; transform: translateY(-200%); background: var(--surface); color: var(--ink); }
.skip-link:focus { transform: none; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 13px; font-size: .86rem; font-weight: 750; color: var(--green); letter-spacing: .06em; }
.kicker a { text-decoration: underline; text-underline-offset: 4px; }
.pin { display: inline-block; width: 10px; height: 10px; flex: 0 0 10px; background: var(--coral); border-radius: 50%; }
.header { border-bottom: 1px solid var(--line); }
.head { min-height: 82px; display: grid; grid-template-columns: minmax(198px, 1fr) auto minmax(138px, 1fr); align-items: center; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; width: fit-content; line-height: 1.34; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.04rem; font-weight: 800; }
.brand small { color: var(--muted); font-size: .68rem; margin-top: 3px; }
.brand-mark { position: relative; display: inline-block; width: 41px; height: 41px; flex: 0 0 41px; border-radius: 11px; background: var(--dark); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 7px; height: 21px; border-left: 3px solid var(--surface); border-radius: 85% 0 0 0; transform: rotate(19deg); }
.brand-mark::before { left: 13px; top: 9px; }
.brand-mark::after { left: 21px; top: 14px; height: 16px; }
.brand-mark i { position: absolute; inset: 10px 9px auto auto; width: 6px; height: 6px; border-radius: 50%; background: var(--salmon); }
.head nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 35px); }
.head nav a { position: relative; min-height: 44px; padding: 11px 0; white-space: nowrap; font-size: .88rem; color: var(--muted); font-weight: 700; }
.head nav a[aria-current="page"] { color: var(--green); }
.head nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 2px; background: var(--coral); }
.head nav a:hover { color: var(--ink); }
.head-reserve { justify-self: end; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; max-width: 100%; min-height: 48px; padding: 10px 17px; line-height: 1.4; border: 1px solid transparent; border-radius: 10px; font-weight: 750; font-size: .9rem; text-align: center; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.btn span { padding-left: 3px; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: #163e36; border-color: #163e36; }
.btn-outline { background: transparent; border-color: #87968a; color: var(--green); }
.btn-outline:hover { background: var(--mint); border-color: var(--green); }
.text-link { display: inline-flex; align-items: center; padding-block: 8px; color: var(--green); font-weight: 730; text-decoration: underline; text-underline-offset: 4px; line-height: 1.4; }
.text-link:hover { color: var(--dark); }
.text-link span { padding-left: 6px; flex: 0 0 auto; }
.hero { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(25px, 4.5vw, 68px); padding-block: 54px 45px; }
.hero-text h1 { max-width: 12em; font-size: clamp(2.05rem, 3.8vw, 3.64rem); }
.hero-lead { margin-top: 13px; color: var(--green); font-size: clamp(1.16rem, 2.1vw, 1.76rem); font-weight: 750; line-height: 1.5; letter-spacing: .005em; }
.hero-lead br { display: none; }
.hero-text .lead { margin-top: 15px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 23px; }
.hero-price { display: grid; grid-template-columns: auto 1fr; gap: 2px 13px; align-items: baseline; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.hero-price > span:first-child { font-size: .76rem; font-weight: 700; color: var(--muted); }
.hero-price strong { font-size: 1.04rem; color: var(--ink); white-space: nowrap; }
.hero-price em { font-family: Georgia, "Times New Roman", serif; font-style: normal; font-size: 1.92rem; line-height: 1; margin-left: 3px; color: var(--dark); }
.hero-price .subtle { grid-column: 1 / -1; }
.hero-photo { position: relative; min-width: 0; margin: 0; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.22; border-radius: 24px 24px 24px 6px; object-fit: cover; object-position: 52% center; background-color: var(--sand); }
.hero-photo figcaption { width: fit-content; margin-top: 6px; margin-left: auto; font-size: .7rem; color: var(--muted); }
.service-band { background: var(--dark); color: var(--surface); }
.band-inner { min-height: 100px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: center; gap: 20px; }
.band-inner > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.band-inner > div + div { border-left: 1px solid #45675c; padding-left: clamp(18px, 3.8vw, 53px); }
.band-inner p { line-height: 1.45; }
.band-inner p span { display: block; color: #dce7dc; font-size: .81rem; margin-top: 3px; }
.band-inner p strong { font-size: .98rem; letter-spacing: .03em; }
.pic { display: inline-grid; position: relative; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--green); border: 1px solid #aabeb2; border-radius: 12px; background: #edf3e9; line-height: 1; }
.pic::before, .pic::after { box-sizing: border-box; position: absolute; display: block; }
.band-inner .pic { color: #fff; background: #295147; border-color: #53746a; }
.pic-one::before { content: ""; width: 10px; height: 10px; left: 15px; top: 9px; border: 1.6px solid currentColor; border-radius: 50%; }
.pic-one::after { content: ""; width: 20px; height: 11px; top: 23px; left: 10px; border: 1.6px solid currentColor; border-radius: 12px 12px 3px 3px; }
.pic-car::before { content: ""; width: 23px; height: 11px; top: 17px; left: 9px; border: 1.6px solid currentColor; border-radius: 3px; }
.pic-car::after { content: ""; width: 15px; height: 7px; top: 12px; left: 13px; border: 1.6px solid currentColor; border-radius: 5px 5px 0 0; border-bottom: 0; }
.pic-location::before { content: ""; top: 9px; left: 12px; width: 18px; height: 18px; transform: rotate(-45deg); border: 1.6px solid currentColor; border-radius: 50% 50% 50% 2px; }
.pic-location::after { content: ""; width: 5px; height: 5px; top: 15px; left: 18px; background: currentColor; border-radius: 50%; }
.pic-wheel::before { content: ""; width: 22px; height: 22px; border: 1.7px solid currentColor; border-radius: 50%; }
.pic-wheel::after { content: ""; height: 12px; width: 14px; top: 17px; border: solid currentColor; border-width: 1.7px 1.7px 0 0; border-radius: 2px; transform: rotate(45deg); }
.pic-parking::before { content: "P"; height: 22px; width: 20px; display: grid; place-items: center; font-family: Georgia, serif; font-size: 16px; border: 1.6px solid currentColor; border-radius: 3px; }
.pic-route::before { content: ""; width: 20px; height: 11px; transform: rotate(-35deg); border: 1.7px solid currentColor; border-width: 0 1.7px 1.7px 0; border-radius: 3px; }
.pic-route::after { content: ""; width: 6px; height: 6px; border: 1.6px solid currentColor; border-radius: 50%; top: 10px; left: 10px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.tile, .quote-card, .price-card { padding: 25px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.tile { display: flex; flex-direction: column; align-items: flex-start; transition: border-color .16s ease, background-color .16s ease; }
.tile:hover { border-color: var(--green); background: #fcfff9; }
.tile h3 { margin-top: 16px; }
.tile p, .quote-card p { margin-top: 10px; color: var(--muted); }
.tile-next { margin-top: auto; padding-top: 17px; color: var(--green); font-size: .86rem; font-weight: 750; }
.tile-next span { margin-left: 4px; }
.case-strip, .planner-section { background: var(--mint); }
.case-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(24px, 6vw, 90px); }
.case-layout > div > p:not(.kicker) { margin-top: 13px; color: var(--muted); }
.case-layout > div .btn { margin-top: 17px; }
.quote-card { border-left: 4px solid var(--coral); padding: 24px 25px; }
.quote-card .subtle { margin: 0 0 9px; }
.quote-card .text-link { margin-top: 7px; }
.comparison > div > p { margin-top: 10px; color: var(--muted); }
.two-plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.two-plans > div { border-top: 1px solid #96a89b; padding: 20px 10px 0 0; }
.two-plans dt { font-size: 1.18rem; font-weight: 750; }
.two-plans dd { margin-top: 8px; color: var(--muted); }
.two-plans .btn { margin-top: 5px; }
.ready { background: var(--dark); color: #fff; padding-block: 42px; }
.ready-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.ready h2 { font-size: clamp(1.48rem,2.6vw,2.2rem); }
.ready p { margin-top: 7px; color: #e3eee5; }
.ready .btn { flex-shrink: 0; background: #fcf7e9; border-color: #fcf7e9; color: var(--dark); }
.ready .btn:hover { background: #f5ddba; border-color: #f5ddba; }
.footer { padding-block: 30px; }
.foot { display: flex; align-items: start; justify-content: space-between; gap: 22px; }
.foot > div p { margin-top: 11px; color: var(--muted); font-size: .79rem; }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 19px; font-size: .81rem; }
.foot nav a { padding-block: 7px; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero { padding-block: 69px; display: grid; grid-template-columns: 1fr minmax(290px,.73fr); align-items: center; gap: clamp(25px,7vw,100px); }
.page-hero .lead, .compact-hero .lead { margin-top: 17px; }
.page-aside { background: var(--sand); padding: 30px; border-radius: 18px; border-top: 4px solid var(--coral); }
.page-aside h2 { font-size: 1.26rem; }
.page-aside p { font-size: .9rem; color: var(--muted); }
.tick-list { padding-left: 1.15em; margin-block: 11px 14px; color: var(--muted); }
.tick-list li { padding-left: 3px; margin: 6px 0; }
.tick-list li::marker { color: var(--green); }
.steps { counter-reset: flow; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.steps li { border-top: 2px solid var(--green); padding: 20px 8px 0 0; }
.steps li::before { counter-increment: flow; content: counter(flow); display: block; color: var(--green); font-family: Georgia, serif; font-size: 1.85rem; line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--muted); margin-top: 8px; }
.prep { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.prep p { margin-top: 10px; color: var(--muted); }
.prep .tick-list { margin-top: 0; }
.compact-hero { padding-block: 56px 41px; }
.compact-hero h1 { font-size: clamp(1.85rem,4vw,3.6rem); }
.anchor-row { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 20px; }
.anchor-row a { color: var(--green); font-weight: 750; border: 1px solid #98a79a; border-radius: 30px; min-height: 42px; padding: 8px 13px; font-size: .84rem; }
.anchor-row a:hover { background: var(--mint); }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(263px, 1fr); align-items: start; gap: 18px; }
.planner-fields { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 23px; }
.planner-fields fieldset { min-width: 0; border: 0; padding: 0; }
.planner-fields fieldset + fieldset { margin-top: 24px; }
.planner-fields legend { padding: 0; font-weight: 750; margin-bottom: 8px; }
.option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.option { display: flex; align-items: flex-start; gap: 8px; min-height: 65px; width: 100%; padding: 10px 11px; border: 1px solid #bbc7ba; border-radius: 9px; background: #fafbf7; cursor: pointer; }
.option:has(:checked) { border-color: var(--green); background: #e6f0e7; box-shadow: inset 0 0 0 1px var(--green); }
.option input { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--green); flex: 0 0 auto; }
.option strong { font-size: .9rem; }
.option small { display: block; font-size: .75rem; line-height: 1.42; color: var(--muted); }
.reset { padding: 9px 0; margin-top: 9px; min-height: 42px; border: 0; background: transparent; color: var(--green); font-size: .83rem; text-decoration: underline; text-underline-offset: 3px; }
.reset:disabled { color: #61716a; cursor: default; }
.planner-result { padding: 23px; background: var(--dark); color: #fff; border-radius: var(--radius); min-height: 200px; }
.planner-result h3 { margin-bottom: 14px; }
.planner-result .subtle { color: #e2eee7; }
.planner-result .btn { color: var(--dark); background: #fcf7e9; border-color: #fcf7e9; margin-top: 13px; }
.result-name { color: #fff; font-weight: 800; font-size: 1.25rem; }
.result-desc { color: #e7f1e9; margin-top: 6px; font-size: .91rem; }
.result-price { color: #fff4cc; margin-block: 9px; font-weight: 760; }
.result-note { color: #e7f1e9; font-size: .78rem; margin-top: 8px; }
.price-grid, .area-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.price-card table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-card caption { text-align: left; color: var(--muted); font-size: .87rem; margin-bottom: 4px; }
.price-card th, .price-card td { padding: 8px 3px; border-bottom: 1px solid var(--line); }
.price-card th { text-align: left; }
.price-card td, .price-card th:last-child { text-align: right; }
.price-card td { font-variant-numeric: tabular-nums; }
.price-card thead { color: var(--muted); font-size: .85rem; }
.price-card .text-link { margin-top: 8px; }
.area-grid > div { padding: 20px; border: 1px solid #c0cdc1; background: #f6f8f2; border-radius: 12px; }
.area-grid p { margin-top: 6px; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding-block: 1px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 48px; padding: 13px 3px; font-weight: 730; cursor: pointer; }
.faq summary::marker { color: var(--green); }
.faq details p { padding: 0 3px 14px 21px; color: var(--muted); }
.notice { background: var(--surface); color: var(--ink); padding: 10px; margin-bottom: 9px; }
:target { scroll-margin-top: 18px; }

@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }
  .head { gap: 14px; }
  .head-reserve { padding-inline: 11px; }
  .hero { gap: 27px; padding-block: 43px 33px; }
  .hero-photo img { aspect-ratio: .98; }
  .tile, .quote-card { padding: 19px; }
  .section { padding-block: 55px; }
}
@media (max-width: 680px) {
  html { font-size: 15px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 43px; }
  .head { grid-template-columns: minmax(0,1fr) auto; min-height: 0; padding: 12px 0 0; gap: 4px 9px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .brand-mark::before { left: 10px; top: 6px; }
  .brand-mark::after { left: 18px; top: 11px; }
  .brand-mark i { inset: 7px 6px auto auto; }
  .brand { gap: 7px; }
  .brand strong { font-size: .96rem; }
  .brand small { font-size: .65rem; }
  .head nav { grid-row: 2; grid-column: 1 / -1; gap: 15px; justify-content: space-between; width: 100%; }
  .head nav a { min-height: 44px; padding-inline: 2px; }
  .head nav a[aria-current="page"]::after { bottom: 1px; }
  .head-reserve { min-height: 43px; font-size: .77rem; padding: 7px 8px; }
  .head-reserve span { margin-left: 0; padding: 0; }
  .hero, .page-hero, .case-layout, .prep, .planner-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero, .page-hero { padding-block: 31px 25px; }
  .hero-text h1 { font-size: clamp(1.66rem, 6.5vw, 2.65rem); max-width: 100%; }
  .hero-text .lead { margin-top: 12px; }
  .hero-lead { font-size: 1.23rem; margin-top: 8px; }
  .hero-buttons { margin-top: 17px; gap: 8px; }
  .btn { min-height: 45px; padding-inline: 11px; gap: 5px; }
  .hero-price { margin-top: 16px; padding-top: 10px; }
  .hero-photo img { aspect-ratio: 1.44; border-radius: 16px 16px 16px 4px; }
  .hero-photo figcaption { margin-top: 3px; }
  .band-inner { gap: 0; min-height: 0; grid-template-columns: 1fr; padding-block: 7px; }
  .band-inner > div { padding: 8px 0; gap: 10px; }
  .band-inner > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #45675c; }
  .band-inner .pic { transform: scale(.81); transform-origin: center; margin-right: -4px; }
  .section-head { margin-bottom: 20px; }
  .tile-grid, .two-plans, .steps, .price-grid, .area-grid { grid-template-columns: 1fr; gap: 11px; }
  .tile { display: grid; grid-template-columns: 37px 1fr; gap: 3px 12px; }
  .tile h3, .tile p, .tile-next { margin: 0; }
  .tile .pic { width: 36px; height: 36px; transform-origin: top left; transform: scale(.89); }
  .tile p, .tile-next { grid-column: 2; }
  .tile-next { padding-top: 4px; }
  .two-plans > div { padding-top: 12px; }
  .ready { padding-block: 25px; }
  .ready-inner, .foot { align-items: flex-start; flex-direction: column; gap: 14px; }
  .foot nav { gap: 0 14px; }
  .footer { padding-block: 25px; }
  .page-aside, .price-card, .planner-fields, .planner-result { padding: 17px; }
  .steps li { padding: 11px 0 9px; }
  .steps li::before { float: left; font-size: 1.4rem; margin: 2px 11px 0 0; }
  .steps p { margin-top: 5px; }
  .page-hero .lead,.compact-hero .lead { margin-top: 12px; }
  .compact-hero { padding-block: 32px 23px; }
  .planner-grid { gap: 13px; }
  .option-grid { gap: 7px; }
  .option { min-height: 61px; padding-inline: 6px; gap: 5px; }
  .option small { font-size: .72rem; }
}
@media (max-width: 340px) {
  .wrap { width: calc(100% - 26px); }
  .option-grid { grid-template-columns: 1fr; }
  .hero-buttons { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Comparison guide */
.compare-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 24px 27px;
  margin-block: -27px 58px;
  border: 1px solid #cdd7cb;
  border-radius: var(--radius);
  background: var(--mint);
}
.compare-home h2 { font-size: clamp(1.24rem, 2.2vw, 1.65rem); }
.compare-home p { margin-top: 7px; color: var(--muted); }
.compare-home .btn { flex: 0 0 auto; }

.compare-hero { background: var(--mint); border-bottom: 1px solid var(--line); }
.compare-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  align-items: center;
  gap: 40px clamp(30px, 6vw, 90px);
  padding-block: clamp(36px, 6vw, 84px);
}
.compare-intro h1 { font-size: clamp(2.22rem, 4.55vw, 4.3rem); line-height: 1.14; }
.compare-intro .lead { margin-top: 20px; }
.compare-intro .btn { margin-top: 22px; }
.compare-criteria { padding: 24px 28px; border: 1px solid #cbd7cb; border-radius: var(--radius); background: var(--surface); }
.compare-criteria h2 { font-size: clamp(1.12rem, 1.7vw, 1.4rem); }
.compare-criteria dl { margin: 10px 0 0; }
.compare-criteria dl div { display: grid; grid-template-columns: 5.3em 1fr; gap: 12px; padding-block: 11px; }
.compare-criteria dl div + div { border-top: 1px solid var(--line); }
.compare-criteria dt { color: var(--green); font-weight: 750; }
.compare-criteria dd { margin: 0; color: var(--muted); font-size: .92rem; }

.provider-section { scroll-margin-top: 16px; }
.provider-filter { padding: 19px 21px 15px; background: var(--mint); border: 1px solid #cdd7cb; border-radius: var(--radius); margin-bottom: 23px; }
.provider-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.provider-controls label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
.provider-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #8d9c91;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  padding: 6px 9px;
}
.provider-controls select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.provider-filter .source-note { margin-block: 11px 5px; }
.provider-filter-bottom { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: space-between; }
.provider-filter-bottom p { font-size: .9rem; font-weight: 750; }
.provider-filter-bottom .btn { color: var(--green); background: var(--surface); font: inherit; font-size: .84rem; font-weight: 700; }
.provider-filter-bottom .btn:disabled { opacity: .68; cursor: default; }
.provider-empty { margin: 0; }
.provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.provider {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.provider-top { padding-bottom: 13px; }
.provider-type { color: var(--green); font-size: .82rem; font-weight: 800; }
.provider-type span { margin-left: 6px; font-weight: 600; color: var(--muted); }
.provider h3 { font-size: 1.12rem; line-height: 1.42; margin-top: 6px; }
.provider-plan { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.provider-cost { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; color: var(--green); }
.provider-cost > strong { font-family: Georgia, serif; font-size: clamp(1.9rem, 2.75vw, 2.5rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.provider-cost > strong span, .provider-cost > span { font-family: inherit; font-size: .86rem; margin-left: 2px; }
.provider-price-note { color: var(--muted); font-size: .84rem; }
.provider-details { margin: 12px 0 15px; }
.provider-details div { border-top: 1px solid var(--line); padding: 8px 0; }
.provider-details dt { font-size: .79rem; font-weight: 800; }
.provider-details dd { color: var(--muted); font-size: .9rem; margin: 2px 0 0; }
.provider-links { margin-top: auto; display: flex; align-items: flex-start; flex-direction: column; gap: 7px; font-size: .88rem; }
.comparison-how { background: var(--sand); }
.compare-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.compare-tips article { border-top: 2px solid #a4b4a8; padding-top: 15px; }
.compare-tips h3 { font-size: 1.12rem; }
.compare-tips p { margin-top: 6px; color: var(--muted); }

@media (max-width: 850px) {
  .head { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding: 12px 0 0; gap: 4px 9px; }
  .head nav { grid-row: 2; grid-column: 1 / -1; gap: 7px; justify-content: space-between; width: 100%; }
  .head nav a { min-height: 44px; padding-inline: 2px; }
  .head nav a[aria-current="page"]::after { bottom: 1px; }
  .head-reserve { min-height: 43px; font-size: .77rem; padding: 7px 8px; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .compare-home { align-items: flex-start; flex-direction: column; padding: 15px; margin-block: 3px 40px; }
  .compare-intro { grid-template-columns: 1fr; gap: 22px; }
  .compare-intro h1 { font-size: clamp(1.65rem, 6.8vw, 2.7rem); }
  .compare-intro .lead { margin-top: 10px; }
  .compare-criteria { padding: 15px 17px; }
  .provider { padding: 15px; }
  .provider-filter { padding: 14px 12px; }
  .provider-controls { gap: 10px 8px; }
  .provider-controls label { font-size: .79rem; }
  .provider-controls select { padding-inline: 4px; }
  .compare-tips { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .provider-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .head nav { min-width: 0; gap: 6px; }
  .head nav a { display: flex; align-items: center; padding: 5px 0; font-size: .78rem; line-height: 1.25; white-space: normal; }
}

/* Driving school group and provider safety information */
.group-note {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  align-items: start;
  gap: 18px 36px;
  margin-top: 30px;
  padding: 24px 27px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.group-note h2 { font-size: clamp(1.23rem, 2.5vw, 1.65rem); }
.group-note p { margin-top: 7px; color: var(--muted); }
.group-schools { display: flex; flex-wrap: wrap; gap: 5px 13px; list-style: none; margin: 4px 0 7px; padding: 0; color: var(--ink); font-weight: 750; font-size: .94rem; }
.group-note .text-link { font-size: .88rem; }
.compare-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 17px; margin-top: 22px; }
.compare-intro .compare-hero-actions .btn { margin-top: 0; }
.compare-hero-actions .text-link { font-size: .89rem; }
.safety-section { background: var(--mint); border-block: 1px solid var(--line); }
.safety-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.safety-provider {
  scroll-margin-top: 18px;
  border: 1px solid #cbd7cb;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 19px 21px;
}
.safety-provider:target { outline: 2px solid var(--green); outline-offset: 2px; }
.safety-provider h3 { font-size: 1.13rem; line-height: 1.45; }
.safety-provider h3 span { margin-left: 5px; color: var(--muted); font-size: .81rem; font-weight: 600; white-space: nowrap; }
.safety-provider .provider-details { margin: 11px 0 9px; }
.safety-provider .provider-details div { display: grid; grid-template-columns: minmax(6.6em, max-content) minmax(0, 1fr); gap: 8px; padding: 10px 0; align-items: baseline; }
.safety-provider .provider-details dd { margin: 0; }
.safety-sources { display: flex; flex-wrap: wrap; gap: 5px 13px; margin: 0; padding: 0; list-style: none; font-size: .82rem; }
.compare-reserve-actions { display: flex; flex-wrap: wrap; gap: 9px 14px; align-items: center; }
.compare-reserve-actions .text-link { color: var(--paper); font-size: .88rem; }
@media (max-width: 680px) {
  .group-note { grid-template-columns: 1fr; gap: 12px; margin-top: 23px; padding: 14px 15px; }
  .compare-hero-actions { margin-top: 16px; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-provider { padding: 14px 15px; }
  .safety-provider .provider-details div { display: block; padding: 8px 0; }
  .safety-provider .provider-details dd { margin-top: 3px; }
}

/* Guide pages */
.guide-types { background: var(--mint); border-block: 1px solid var(--line); }
.guide-quick { margin-top: 19px; }
.guide-types .tile h3 { margin-top: 0; }
.guide-mode-grid .text-link { display: inline-block; margin-top: 13px; }
.guide-decision-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; }
.guide-decision-grid > div { border-top: 2px solid #a4b4a8; padding-top: 14px; }
.guide-decision-grid h3 { font-size: 1.13rem; margin-bottom: 7px; }
.guide-decision-grid p { margin-bottom: 9px; color: var(--muted); }
.guide-price-notes { margin-top: 28px; }
.guide-sample table { width: 100%; }
.guide-sample th, .guide-sample td { overflow-wrap: anywhere; }
.guide-sample .source-note { margin-top: 10px; }
.guide-decisions + .section { padding-top: 15px; }
@media (max-width: 680px) {
  .guide-decision-grid { grid-template-columns: 1fr; gap: 15px; }
  .guide-sample { padding: 12px; }
  .guide-sample :is(th,td) { font-size: .83rem; padding-inline: 5px; }
}
