/* ototo.benbasha.com generated pages (tool, guides, recalls, 404).
   Loaded after /css/site.css (the landing's tokens and header/footer). Mobile-first. */

.seo { padding-top: 18px; padding-bottom: 64px; }
.seo h1 { font-size: clamp(28px, 6.4vw, 44px); line-height: 1.12; font-weight: 900; margin: 6px 0 12px; }
.seo h2 { font-size: clamp(21px, 4.6vw, 28px); line-height: 1.2; font-weight: 800; margin: 0 0 10px; }
.seo h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.seo p { margin: 0 0 12px; }
.seo .lead { font-size: 18px; color: var(--text-2); max-width: 40em; }
.seo section + section { margin-top: 40px; }
.seo a.u, .prose a, .note a, .r-note a, .r-law a, .faq a, .sources a { text-decoration: underline; text-decoration-color: var(--plate-deep); text-underline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.note { color: var(--text-2); font-size: 14.5px; }

.crumbs { font-size: 14px; color: var(--text-2); margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border); }
.site-header nav a[aria-current="page"] { color: var(--accent); }
.site-header nav { gap: 14px; font-size: 14.5px; }
.site-header .wrap { gap: 10px; }
@media (max-width: 520px) {
  .site-header nav a[href="#app"] { display: none; }
  .site-header .brand { font-size: 18px; }
  .site-header .brand img { width: 30px; height: 30px; }
}

/* ---------------------------------------------------------------- tool */
.tool-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow); padding: 20px 18px; margin: 18px 0 14px;
}
.plate-form { display: grid; gap: 10px; }
.plate-form label { font-family: "Heebo", sans-serif; font-weight: 800; font-size: 16px; }
.plate-field {
  display: flex; direction: ltr; align-items: stretch; border: 2px solid var(--plate-deep); border-radius: 12px;
  overflow: hidden; background: var(--plate-yellow); box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.plate-field .il { background: var(--accent); color: #fff; font-family: "Heebo", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 0 10px; display: grid; place-items: center; }
.plate-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; font-family: "Heebo", sans-serif; font-weight: 800;
  font-size: 28px; letter-spacing: 2px; padding: 10px 12px; color: var(--text); text-align: center; outline: none;
}
.plate-field:focus-within { outline: 3px solid rgba(30, 58, 138, .35); outline-offset: 2px; }
.plate-field input::placeholder { color: rgba(15, 23, 42, .32); }
.plate-actions { display: flex; gap: 10px; }
.btn, .plate-form button[type="submit"] {
  flex: 1; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font-family: "Heebo", sans-serif;
  font-weight: 800; font-size: 18px; padding: 13px 18px; cursor: pointer; text-align: center; display: inline-block;
}
.plate-form button[type="submit"]:hover, .btn:hover { background: var(--accent-dark); }
.btn-secondary, #plate-clear {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px;
  font-family: "Heebo", sans-serif; font-weight: 700; font-size: 16px; padding: 12px 16px; cursor: pointer;
}
.hint { color: var(--overdue); font-weight: 600; font-size: 14.5px; min-height: 1px; margin: 0; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 12px 0 0; }
.privacy-note .i { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.noscript-box { background: var(--warning-soft); border-radius: 12px; padding: 12px 14px; }

#tool-result:empty { display: none; }
.r-loading { color: var(--text-2); font-weight: 600; padding: 14px 4px; }
.result {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg); padding: 18px 18px 14px; margin: 6px 0 18px; scroll-margin-top: 80px;
}
.result .r-title { font-size: 14px; font-weight: 700; color: var(--text-2); letter-spacing: 0; margin: 0 0 8px; outline: none; }
.r-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.r-head .plate { font-size: 16px; }
.r-head .plate .num { padding: 4px 11px; }
.r-vehicle { font-family: "Heebo", sans-serif; font-weight: 800; font-size: 17px; }
.r-label { font-weight: 700; color: var(--text-2); margin: 0 0 2px !important; }
.r-date { font-family: "Heebo", sans-serif; font-weight: 900; font-size: 40px; line-height: 1.1; color: var(--accent); margin: 0 0 4px !important; }
.r-date.over { color: var(--overdue); }
.r-days { font-family: "Heebo", sans-serif; font-weight: 800; font-size: 19px; }
.r-days.ok { color: #15803d; }
.r-days.warn { color: #b45309; }
.r-days.over { color: var(--overdue); }
.r-callout { background: var(--warning-soft); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.r-callout.over { background: var(--overdue-soft); }
.r-callout a, .r-next { font-weight: 800; text-decoration: underline; }
.r-note { color: var(--text-2); font-size: 14px; }
.r-recall { background: var(--overdue-soft); border: 1.5px solid #fca5a5; border-radius: 14px; padding: 14px 16px; margin: 12px 0 16px; }
.r-recall h3 { color: var(--overdue); }
.r-recall ul { margin: 6px 0 8px; padding: 0 18px 0 0; }
.r-recall li { margin-bottom: 10px; }
.r-recall li p { margin: 0 0 3px; }
.r-fault { font-weight: 700; }
.r-law { font-size: 14px; margin: 0 !important; }
.r-fee, .r-id { border-top: 1px solid var(--divider); padding-top: 14px; margin-top: 14px; }
.r-fee-amount { font-family: "Heebo", sans-serif; font-weight: 900; font-size: 26px; color: var(--text); margin: 0 0 4px !important; }
.r-id dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 6px 0 0; }
.r-id dl div { border-bottom: 1px solid var(--divider); padding-bottom: 6px; }
.r-id dt { font-size: 13px; color: var(--text-2); }
.r-id dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.r-source { font-size: 13px; color: var(--text-2); margin: 14px 0 0 !important; }
.r-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.result .app-cta { margin: 16px 0 6px; box-shadow: none; }

/* ------------------------------------------------------------ app cta */
.app-cta {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  background: var(--accent-soft); border: 1px solid #dbe7ff; border-radius: var(--radius-card); padding: 16px;
  margin: 26px 0;
}
.app-cta .app-shot { width: 96px; height: auto; border-radius: 16px; border: 4px solid #0b1220; background: #0b1220; }
.app-cta h2 { font-size: 20px; margin-bottom: 6px; }
.app-cta p { margin: 0 0 10px; font-size: 15.5px; }
.app-cta .fine { font-size: 13px; color: var(--text-2); margin: 8px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badges img { height: 44px; width: auto; }
html[data-platform="android"] .badges .b-play { order: -1; }
@media (max-width: 380px) { .app-cta { grid-template-columns: 72px 1fr; } .app-cta .app-shot { width: 72px; } }

/* --------------------------------------------------------- page blocks */
.prose { max-width: 46em; font-size: 17px; }
.prose h2 { margin-top: 30px; }
.prose ul, .prose ol { padding: 0 22px 0 0; }
.prose li { margin-bottom: 6px; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list-check li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { font-family: "Heebo", sans-serif; font-weight: 800; cursor: pointer; }
.faq details p { margin: 8px 0 0; }
.sources ul { padding: 0 20px 0 0; font-size: 14.5px; }
.updated { color: var(--text-2); font-size: 14px; }
.links-row { display: flex; flex-wrap: wrap; gap: 10px; }
.links-row a { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 700; box-shadow: var(--shadow); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.tile strong { display: block; font-family: "Heebo", sans-serif; font-weight: 900; font-size: 26px; color: var(--accent); line-height: 1.1; }
.tile span { font-size: 14px; color: var(--text-2); font-weight: 600; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; font-size: 15px; }
table.data th, table.data td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--divider); vertical-align: top; }
table.data th { background: var(--accent-soft); font-family: "Heebo", sans-serif; font-weight: 800; font-size: 14px; }
table.data td.n { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
.bar { display: block; height: 8px; border-radius: 4px; background: var(--accent); margin-top: 5px; min-width: 2px; }

.recall-group { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.recall-group > summary { cursor: pointer; padding: 12px 16px; font-family: "Heebo", sans-serif; font-weight: 800; display: flex; justify-content: space-between; gap: 10px; }
.recall-group > summary .cnt { color: var(--text-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.recall-group[open] > summary { border-bottom: 1px solid var(--divider); }
.recall-item { padding: 12px 16px; border-bottom: 1px solid var(--divider); }
.recall-item:last-child { border-bottom: 0; }
.recall-item .meta { font-size: 13.5px; color: var(--text-2); margin: 0 0 4px; }
.recall-item .fault { font-weight: 700; margin: 0 0 4px; }
.recall-item .fix, .recall-item .who { font-size: 14.5px; margin: 0 0 3px; }
.pill { display: inline-block; }
.callout { background: var(--accent-soft); border: 1px solid #dbe7ff; border-radius: var(--radius); padding: 14px 18px; margin: 16px 0; }
.callout.warn { background: var(--warning-soft); border-color: #fde68a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.btn-row .btn { flex: 0 0 auto; }

.recent { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.recent li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.recent .meta { color: var(--text-2); font-size: 13.5px; }

@media (min-width: 900px) {
  .tool-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 34px; align-items: start; }
  .tool-layout .side { position: sticky; top: 84px; }
  .tool-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .result { scroll-behavior: auto; } }
.recall-item .model { font-family: "Heebo", sans-serif; font-weight: 800; margin: 0 0 2px; }
.recall-item:target { background: var(--warning-soft); }
.has-result-cta .tool-static-cta { display: none; }
.prose a.btn, .btn { text-decoration: none; color: #fff; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; background: var(--surface); border-radius: 12px; font-size: 15px; margin: 12px 0 16px; max-width: 100%; }
.prose th, .prose td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.prose th { background: var(--accent-soft); font-family: "Heebo", sans-serif; font-weight: 800; font-size: 14px; }
.prose td { white-space: normal; }
.r-head .plate .il { font-size: 11px; padding: 4px 6px; display: grid; place-items: center; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; margin: 12px 0 16px; }
.prose .table-wrap table { display: table; margin: 0; width: 100%; }
.prose td { white-space: nowrap; }
.prose th { white-space: normal; vertical-align: bottom; }
.prose td:first-child { white-space: normal; min-width: 4.5em; }
.scroll-hint { font-size: 13px; color: var(--text-2); margin: -8px 0 14px; }
bdi.num, .nowrap { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
@media (max-width: 520px) { .prose table { font-size: 13px; } .prose th, .prose td { padding: 6px 4px; } }
.nowrap-he { white-space: nowrap; }
