/* DriveGuru - mobile-first design system. No framework, no web fonts (fast on 3G/4G). */
:root {
  /* DriveGuru theme: off-white paper, logo red, asphalt ink */
  --brand: #B71E1E;           /* logo red: hero, primary buttons, selected states (white text on it: 6.7:1) */
  --brand-hover: #961818;
  --brand-ink: #B71E1E;       /* links and red text on white */
  --brand-50: #FBEAEA;        /* soft tint for icons and info panels */
  --asphalt: #24211E;         /* headings, footer, dark buttons */
  --asphalt-2: #3A3530;
  --navy: var(--asphalt);
  --navy-2: var(--asphalt-2);
  --blue: var(--brand-ink);
  --blue-50: var(--brand-50);
  --green: #1F7A55;
  --green-50: #E5F3EC;
  --amber: #9A5A00;
  --amber-50: #FDF3E1;
  --red: #C0352B;
  --red-50: #FDECEA;
  --bg: #FBF8F3;              /* off-white */
  --surface: #ffffff;
  --text: #24211E;
  --muted: #6A625A;
  --line: #ECE4D9;
  --field: #D9CFC3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06);
  --tap: 48px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5rem; color: var(--asphalt); letter-spacing: -.015em; }
h1, h2 { font-weight: 800; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.08rem; } h4 { font-size: 1rem; }
@media (min-width: 900px) { h1 { font-size: 2.1rem; } h2 { font-size: 1.5rem; } }
p { margin: 0 0 .75rem; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; } .icon-lg { width: 28px; height: 28px; }

/* layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; } .narrower { max-width: 460px; }
main { min-height: 60vh; }
.section { padding: 28px 0; } @media (min-width: 900px) { .section { padding: 48px 0; } }
.stack > * + * { margin-top: 12px; } .stack-lg > * + * { margin-top: 20px; }
.row { display: flex; gap: 12px; align-items: center; } .row-wrap { flex-wrap: wrap; } .between { justify-content: space-between; }
.grid { display: grid; gap: 12px; } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .md-grid-2 { grid-template-columns: repeat(2, 1fr); } .md-grid-3 { grid-template-columns: repeat(3, 1fr); } .md-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .lg-split { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; } .lg-split-r { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; } }

/* header */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 24px; width: auto; }
@media (min-width: 900px) { .brand img { height: 30px; } }
.site-footer .brand img { height: 30px; }
.top-actions .login-link { display: none; } @media (min-width: 900px) { .top-actions .login-link { display: inline-flex; } }
.top-actions .btn { white-space: nowrap; }
.desktop-nav { display: none; } @media (min-width: 900px) { .desktop-nav { display: flex; gap: 4px; align-items: center; } }
.desktop-nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--blue-50); color: var(--navy); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.bell { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--navy); }
.bell:hover { background: var(--blue-50); }
.dot { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* bottom nav (mobile) */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 900px) { .bottom-nav { display: none; } }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
.bottom-nav a[aria-current="page"] { color: var(--brand-ink); box-shadow: inset 0 3px 0 var(--brand); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; background: var(--surface); color: var(--navy); border-color: var(--line); transition: background .15s; }
.btn:hover { background: #F7F1EA; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); } .btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); } .btn-navy:hover { background: var(--navy-2); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); } .btn-green:hover { background: #17604A; }
.btn-danger { background: var(--surface); color: var(--red); border-color: #f1c5c1; } .btn-danger:hover { background: var(--red-50); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--blue); }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1 1 auto; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.card-link { display: block; text-decoration: none; color: inherit; } .card-link:hover { border-color: #E7B9B9; }
.card h3 { margin-bottom: 4px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.kv { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 6px 12px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #F3EDE5; color: var(--muted); white-space: nowrap; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-amber { background: var(--amber-50); color: var(--amber); }
.badge-red { background: var(--red-50); color: var(--red); }
.badge-navy { background: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .95rem; }
.alert-info { background: var(--blue-50); border-color: #F2C4C4; color: #7E1414; }
.alert-success { background: var(--green-50); border-color: #BFE0CF; color: #145A3E; }
.alert-warn { background: var(--amber-50); border-color: #f1d9ad; color: #7a4600; }
.alert-error { background: var(--red-50); border-color: #f3c6c2; color: #8f2219; }
.alert p:last-child { margin: 0; }
.dev-note { border-style: dashed; }

/* forms */
.field { display: block; margin-bottom: 14px; }
.field > label, .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.error-text { display: block; color: var(--red); font-size: .875rem; margin-top: 4px; font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px; font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1px solid var(--field); border-radius: 12px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(183, 30, 30, .28); }
.invalid { border-color: var(--red) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border: 2px solid var(--line); border-radius: 12px; text-align: center; font-weight: 600; background: #fff; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--asphalt); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.toggle input { appearance: none; width: 46px; height: 28px; border-radius: 14px; background: var(--field); position: relative; flex: none; cursor: pointer; transition: background .15s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked { background: var(--brand); } .toggle input:checked::after { transform: translateX(18px); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
input[type=time], input[type=date] { min-width: 0; } legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; padding: 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* hero: logo red, ending in a strip of road whose lane markings roll in once on load */
.hero { background: var(--brand); color: #fff; padding: 28px 0 0; }
.hero::after { content: ""; display: block; height: 30px; margin-top: 28px; background-color: var(--asphalt);
  background-image: repeating-linear-gradient(90deg, #FBF8F3 0 30px, transparent 30px 56px); background-size: 100% 4px;
  background-position: 0 50%; background-repeat: no-repeat; animation: lane 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes lane { from { background-position: -280px 50%; } to { background-position: 0 50%; } }
.hero h1 { color: #fff; font-size: 2rem; font-weight: 850; letter-spacing: -.025em; line-height: 1.12; }
.hero p { color: #FCE4E4; font-size: 1.05rem; }
@media (min-width: 900px) { .hero { padding-top: 64px; } .hero::after { margin-top: 56px; height: 38px; } .hero h1 { font-size: 3rem; max-width: 760px; } .hero p { max-width: 600px; } }
.hero .btn { min-height: 52px; }
.hero .btn-primary { background: var(--asphalt); color: #fff; border-color: var(--asphalt); } .hero .btn-primary:hover { background: var(--asphalt-2); }
.hero .btn:not(.btn-primary):not(.btn-navy) { background: #fff; border-color: #fff; color: var(--asphalt); }
.hero-search { background: #fff; border-radius: var(--radius); padding: 12px; margin-top: 18px; color: var(--text); max-width: 560px; box-shadow: 0 6px 20px rgba(80, 10, 10, .22); }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; color: #FCE4E4; font-size: .9rem; font-weight: 600; }
.trust-row span { display: inline-flex; gap: 6px; align-items: center; }

/* category + feature tiles */
.tile { display: flex; gap: 14px; align-items: center; }
.tile-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.tile-icon.green { background: var(--green-50); color: var(--green); }
.steps { counter-reset: s; display: grid; gap: 12px; }
.step { position: relative; padding-left: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.safety-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue); }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); }

/* tutor card */
.tutor-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.tutor-card .row { flex-wrap: wrap; gap: 6px 12px; }
.avatar { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.avatar-lg { width: 96px; height: 96px; border-radius: 22px; font-size: 2rem; }
.avatar-sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .88rem; }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.price { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.stars { color: #c98a00; display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.stars .icon { fill: #f2b01e; stroke: #c98a00; width: 16px; height: 16px; }
.tutor-card .btn-row { grid-column: 1 / -1; }

/* filters (mobile sheet via <details>) */
.filters summary { list-style: none; cursor: pointer; }
.filters summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) { .filters > summary { display: none; } .filters { display: block; } .filters[open] > summary ~ *, .filters > .filter-body { display: block; } }
.filter-body { margin-top: 12px; }

/* slots */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 500px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--field); border-radius: 10px; font-weight: 600; font-size: .92rem; background: #fff; cursor: pointer; }
.slot input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand-hover); }
.slot input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.date-strip a { flex: none; scroll-snap-align: start; width: 62px; padding: 8px 0; border: 1px solid var(--line); border-radius: 12px; text-align: center; text-decoration: none; color: var(--text); background: #fff; font-size: .8rem; }
.date-strip a strong { display: block; font-size: 1.15rem; color: var(--navy); }
.date-strip a[aria-current="date"] { background: var(--navy); border-color: var(--navy); color: #fff; } .date-strip a[aria-current="date"] strong { color: #fff; }
.date-strip a.off { opacity: .45; }

/* tabs & lists */
.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
.tabs a { flex: none; padding: 10px 12px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--asphalt); border-bottom-color: var(--brand); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line); } .list > li:last-child { border-bottom: 0; }
.list-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; color: inherit; padding: 12px 0; min-height: var(--tap); }
.progress { height: 10px; background: #F0E8DE; border-radius: 6px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .done { color: var(--green); } .checklist .todo { color: #BDB2A6; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .tile-icon { margin: 0 auto 10px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 6px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; }
.stat { padding: 14px; } .stat b { display: block; font-size: 1.5rem; color: var(--navy); } .stat span { color: var(--muted); font-size: .85rem; }
.notice-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); display: inline-block; flex: none; }

/* tables: stack into cards on phones */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; background: #FCFAF7; }
@media (max-width: 699px) {
  table.table.stack-sm thead { display: none; }
  table.table.stack-sm, .table.stack-sm tbody, .table.stack-sm tr, .table.stack-sm td { display: block; width: 100%; }
  .table.stack-sm tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 6px 0; background: #fff; }
  .table.stack-sm td { border: 0; padding: 6px 12px; display: grid; grid-template-columns: 40% 1fr; gap: 8px; }
  .table.stack-sm td::before { content: attr(data-label); color: var(--muted); font-size: .82rem; font-weight: 600; }
}

/* admin */
.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; -webkit-overflow-scrolling: touch; }
.admin-nav a { flex: none; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 600; }
.admin-nav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (min-width: 1000px) {
  .admin-shell { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
  .admin-nav { flex-direction: column; position: sticky; top: 74px; overflow: visible; }
  .admin-nav a { border-radius: 10px; }
}
.doc-frame { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* footer */
.site-footer { background: var(--asphalt); color: #D9CFC3; border-top: 6px solid var(--brand); padding: 32px 0 24px; margin-top: 40px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; list-style: none; padding: 0; margin: 16px 0; }
@media (min-width: 700px) { .footer-links { grid-template-columns: repeat(4, auto); justify-content: start; } }
.prose { max-width: 70ch; } .prose p { white-space: pre-line; }
.page-head { padding-top: 20px; padding-bottom: 8px; } .page-head p { color: var(--muted); }
.offline-banner { position: fixed; top: 0; left: 0; right: 0; background: var(--asphalt); color: #fff; text-align: center; padding: 6px; font-size: .9rem; z-index: 60; }
.loc-results { list-style: none; padding: 0; margin: 6px 0 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.loc-results li button { width: 100%; text-align: left; background: none; border: 0; padding: 12px; font: inherit; cursor: pointer; border-bottom: 1px solid var(--line); }
.loc-results li:last-child button { border-bottom: 0; } .loc-results li button:hover, .loc-results li button:focus { background: var(--blue-50); }
.skeleton { background: linear-gradient(90deg, #F3EDE5 25%, #FAF6F0 37%, #F3EDE5 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 8px; min-height: 16px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.hide-sm { display: none; } @media (min-width: 900px) { .hide-sm { display: block; } }
.inline-form { display: inline; }
.inline-form .field { margin-bottom: 8px; }
@media (max-width: 899px) { .lg-split > * + *, .lg-split-r > * + * { margin-top: 16px; } }
.price-line { white-space: nowrap; }

/* Learner "L" plate: the sign every learner's vehicle carries. Desktop only. */
.hero-inner { position: relative; }
.l-plate { display: none; }
@media (min-width: 900px) {
  .l-plate { display: grid; place-items: center; position: absolute; right: 48px; top: 50%; width: 250px; height: 250px;
    transform: translateY(-50%) rotate(-6deg); background: #FBF8F3; border: 8px solid var(--asphalt); border-radius: 26px;
    color: #C0352B; font-size: 210px; font-weight: 900; line-height: 1; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 14px 30px rgba(60, 8, 8, .30); }
}
@media (min-width: 900px) and (max-width: 1099px) { .l-plate { width: 180px; height: 180px; font-size: 150px; right: 16px; } }
