/* motodoc.in: what this site adds on top of site.css (the shared Moto365 look).
   Every page is an ink bar over full-bleed colour blocks. The bar carries the main pages and, once the
   hero is behind you, the lamps of the page you are on. */

/* ---------- the bar ---------- */
.dash-nav { display: flex; gap: 2px; }
.dash-nav a { padding: 10px 11px; border-radius: 999px; font: 600 13.5px/1 var(--body); color: rgba(255, 255, 255, .78); white-space: nowrap; }
.dash-nav a:hover { color: #fff; }
.dash-nav a[aria-current="page"] { color: #fff; background: #262626; }
.dash-go .short { display: none; }
.dash-menu { display: none; position: relative; }
.dash-menu summary { list-style: none; cursor: pointer; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #3d3d3d; font: 700 13px/1 var(--body); color: #fff; }
.dash-menu summary::-webkit-details-marker { display: none; }
.dash-menu[open] summary { background: #262626; }
.dash-menu nav { position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px; background: var(--ink); border: 1px solid #303030; border-radius: 18px; padding: 8px; display: grid; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.dash-menu nav a { padding: 13px 14px; border-radius: 12px; font: 600 16px/1 var(--body); color: #fff; }
.dash-menu nav a:hover, .dash-menu nav a[aria-current="page"] { background: #242424; }
@media (min-width: 861px) {
  .dash .lamp { padding: 0 5px; }
  .dash .lamp span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1120px) { .dash-nav { display: none; } .dash-menu { display: block; } }
@media (max-width: 860px) { .dash-go .long { display: none; } .dash-go .short { display: inline; } }
@media (max-width: 380px) { .dash-go svg { display: none; } }

/* ---------- a shorter hero, for pages that are mostly words ---------- */
.whero.slim { padding-block: clamp(24px, 4vh, 48px) clamp(78px, 10vh, 108px); }
.whero.slim .whero-main { grid-template-columns: minmax(0, 1fr); }
.whero.slim .hl { font-size: clamp(38px, 5.4vw, 88px); max-width: 16em; }
.whero.slim .sub { max-width: 36em; }

/* ---------- the answer paragraph: what a page is about, in one block ---------- */
.answer { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--fg); max-width: 36em; margin-top: clamp(18px, 2.6vh, 28px); }
.answer + .answer { margin-top: 14px; }
.stop h3.sh { font: 800 clamp(24px, 2.4vw, 36px)/1.08 var(--display); letter-spacing: -.035em; margin-top: clamp(30px, 4.4vh, 48px); }
.stop .prose { color: var(--mut); margin-top: clamp(18px, 2.6vh, 28px); max-width: 44em; }
.stop .prose strong { color: var(--fg); }
.stop .ms { margin-top: clamp(22px, 3.2vh, 34px); background: #fff; color: var(--ink); max-width: 980px; }
.stop .duo { margin-top: clamp(22px, 3.2vh, 34px); align-items: start; }
.stop table th { text-align: left; }
.st-cell { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font: 600 10.5px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.st-cell::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.st-cell.live::before { background: var(--ok); }
.stop .smap { margin-top: clamp(22px, 3.2vh, 34px); }

/* ---------- one card, four screens ---------- */
.screens { margin-top: clamp(26px, 4vh, 44px); }
.screens-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.screens-pane { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4.5vw, 76px); align-items: center; margin-top: clamp(26px, 4vh, 46px); }
.screens-pane > * { min-width: 0; }
.screens-pane .phone { width: min(100%, 286px); }
.screens-pane .who { font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--hi); }
.screens-pane h3 { font: 800 clamp(30px, 3.4vw, 54px)/1 var(--display); letter-spacing: -.045em; margin-top: 12px; }
.screens-pane .points { margin-top: 18px; }
@media (max-width: 860px) { .screens-pane { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the spine: a job's twelve statuses ----------
   Without script it is a plain numbered list. With script (.live) it becomes a rail you can step along. */
.spine { margin-top: clamp(28px, 4.4vh, 52px); display: grid; border-top: 2px solid var(--fg); }
.spine > li { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 6px 22px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spine button { appearance: none; border: 0; background: none; color: inherit; padding: 0; text-align: left; display: flex; gap: 12px; align-items: baseline; font: 700 clamp(17px, 1.5vw, 21px)/1.15 var(--display); letter-spacing: -.02em; }
.spine button i { font: 700 13px/1 var(--display); font-style: normal; color: var(--hi); font-variant-numeric: tabular-nums; }
.sp-d { display: grid; gap: 4px; color: var(--mut); font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.45; }
.sp-d b { display: none; }
.sp-d em { font-style: normal; font-weight: 700; color: var(--fg); }
.spine.live { grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 0; position: relative; --p: 0; }
.spine.live > li { display: contents; }
.spine.live::before, .spine.live::after { content: ""; position: absolute; top: 19px; left: calc(100% / 24); height: 3px; border-radius: 3px; }
.spine.live::before { right: calc(100% / 24); background: var(--line); }
.spine.live::after { width: calc((100% - 100% / 12) * var(--p)); background: var(--hi); transition: width .6s var(--ease); }
.spine.live button { grid-row: 1; cursor: pointer; flex-direction: column; align-items: center; gap: 10px; padding: 0 2px 20px; text-align: center; font: 600 10.5px/1.25 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); position: relative; z-index: 1; }
.spine.live button i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.spine.live li.done button i { background: var(--hi); color: #fff; box-shadow: none; }
.spine.live li.on button { color: var(--fg); }
.spine.live li.on button i { background: var(--fg); color: var(--bg); transform: scale(1.12); box-shadow: 0 0 0 5px color-mix(in srgb, var(--hi) 55%, transparent); }
.spine.live button:focus-visible i { outline: 2px solid var(--fg); outline-offset: 3px; }
.spine.live .sp-d { grid-column: 1 / -1; grid-row: 2; display: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px clamp(18px, 3vw, 48px); align-items: center; background: var(--card); border-radius: 26px; padding: clamp(20px, 2.6vw, 34px); min-height: 150px; }
.spine.live li.on .sp-d { display: grid; }
.spine.live .sp-d b { display: block; grid-row: 1 / span 2; font: 800 clamp(30px, 3.6vw, 58px)/1 var(--display); letter-spacing: -.045em; color: var(--fg); }
.spine.live .sp-d em { font: 600 12px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--hi); align-self: end; }
.spine.live .sp-d span { align-self: start; font-size: clamp(16px, 1.3vw, 19px); }
@media (max-width: 860px) {
  .spine > li { grid-template-columns: minmax(0, 1fr); }
  .spine.live button { padding-bottom: 16px; }
  .spine.live button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spine.live button i { width: 24px; height: 24px; font-size: 10px; }
  .spine.live::before, .spine.live::after { top: 11px; }
  .spine.live li.on button i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--hi) 55%, transparent); }
  .spine.live .sp-d { grid-template-columns: minmax(0, 1fr); min-height: 190px; align-content: start; }
  .spine.live .sp-d b { grid-row: auto; }
}

/* ---------- footer ---------- */
.foot-logo { display: inline-block; }
.foot-logo img { display: block; height: 46px; width: auto; }
.foot-grid .script { margin-top: 16px; }
a.giant { display: block; opacity: .9; }
a.giant:hover { opacity: 1; text-decoration: none; }

/* ---------- the partner band: the TecAlliance mark alone ---------- */
.partner img { height: 30px; }

/* ---------- five feature tiles: two wide, then three ---------- */
@media (min-width: 900px) {
  .tiles.f5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tiles.f5 > * { grid-column: span 2; }
  .tiles.f5 > :nth-child(-n+2) { grid-column: span 3; }
}

/* ---------- contact tile ---------- */
.tile p.eb { font: 600 11px/1.2 var(--label); letter-spacing: .16em; margin-bottom: 6px; }
.tile p.big-line { font: 500 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.tile p.big-line a { text-decoration: none; }
