/* Dental Pharaoh: components added on top of main.css.
   1 sign-up / log-in window   2 legal and simple pages   3 small page-level fixes   4 print
   Colours, fonts and the size unit (--u) come from :root in main.css. */

/* ============ 1. SIGN-UP / LOG-IN WINDOW ============ */
html.auth-open { overflow: hidden; }
.auth {
  --a-line: rgba(255,255,255,.14); --a-field: #0E0F11; --a-text: #F3F4F6; --a-dim: #A3A8B0;
  width: min(440px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; border: 0; border-radius: 18px; background: transparent; color: var(--a-text);
  overflow: visible; font-family: var(--sans);
}
.auth::backdrop { background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.auth[open] { animation: authIn .42s cubic-bezier(.16,1,.3,1) both; }
.auth[open]::backdrop { animation: authFade .3s ease both; }
.auth.closing { animation: authOut .18s ease both; }
.auth.closing::backdrop { animation: authFade .18s ease reverse both; }
@keyframes authIn { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes authOut { to { opacity: 0; transform: translate3d(0, 10px, 0) scale(.99); } }
@keyframes authFade { from { opacity: 0; } to { opacity: 1; } }

.auth-card {
  position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  padding: 34px 32px 26px; border-radius: 18px; background: #070708; border: 1px solid var(--a-line);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent;
}
/* the same gold hairline as the header's progress line */
.auth-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8F5E09, #F0C865 55%, #8F5E09); }
/* no gold frames inside the window: the title takes focus without a ring, and fields, boxes and links
   show a quiet white focus edge instead of gold */
.auth-card::before { content: none; }
.auth-title:focus, .auth-title:focus-visible { outline: none; }
.auth :focus-visible { outline-color: rgba(255,255,255,.55); }
.auth-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--a-dim); transition: color .2s ease, background-color .2s ease, transform .22s cubic-bezier(.2,.8,.2,1); }
.auth-x:hover { color: #fff; background: rgba(255,255,255,.07); }
.auth-x:active { transform: scale(.94); }
.auth-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.auth-head { text-align: center; }
.auth-mark { width: 44px; height: auto; margin: 0 auto 14px; }
.auth-title { margin: 0; font: 600 27px/1.15 var(--display); letter-spacing: -.01em; color: #fff; }
.auth-title .gilt-w { background: linear-gradient(180deg, #F0C865 0%, #DBA426 48%, #B9811A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.auth-sub { margin: 10px auto 0; max-width: 32em; font-size: 14.5px; line-height: 1.55; color: var(--a-dim); }
.auth-note { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(219,164,38,.32); background: rgba(219,164,38,.07); font-size: 13px; line-height: 1.5; color: #E9D9B0; text-align: left; }
.auth-note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Log In | Sign Up: the pill slides, like the lesson tour's bar */
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 20px; padding: 4px; border-radius: 12px; background: #111214; border: 1px solid rgba(255,255,255,.08); }
.auth-tabs button { position: relative; z-index: 1; height: 38px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--a-dim); transition: color .25s ease; }
.auth-tabs button[aria-selected="true"] { color: #fff; }
.auth-tabs button:hover { color: #fff; }
.auth-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: #1E2024; border: 1px solid rgba(255,255,255,.1); transition: transform .42s cubic-bezier(.16,1,.3,1); }
.auth[data-view="signup"] .auth-pill { transform: translate3d(100%, 0, 0); }
.auth[data-view="reset"] .auth-tabs, .auth[data-view="done"] .auth-tabs { display: none; }

.auth-form { display: grid; gap: 14px; }
.auth[data-view="reset"] .auth-form, .auth[data-view="done"] .auth-form { margin-top: 22px; }
.auth-field { display: grid; gap: 6px; }
.auth [hidden] { display: none !important; }   /* the hidden attribute always wins over the layouts above and below */
.auth-field label, .auth-label-row { font-size: 13px; font-weight: 600; color: #D5D8DD; }
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.auth-link { font-size: 13px; font-weight: 600; color: #E7C36A; text-decoration: underline; text-decoration-color: rgba(231,195,106,.4); text-underline-offset: 3px; border-radius: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.auth-link:hover { color: #F5DB9A; text-decoration-color: currentColor; }
.auth-input { position: relative; }
.auth-input input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--a-line); background: var(--a-field);
  font: 500 16px var(--sans); color: #fff; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.auth-input input::placeholder { color: #6B7079; }
.auth-input input:hover { border-color: rgba(255,255,255,.28); }
.auth-input input:focus, .auth-input input:focus-visible { outline: none; border-color: rgba(255,255,255,.5); box-shadow: none; border-radius: 10px; }
.auth-input input[aria-invalid="true"] { border-color: #F28B82; }
.auth-input input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(242,139,130,.2); }
.auth-input input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #15171A inset; caret-color: #fff; }
.auth-input.has-eye input { padding-right: 50px; }
.auth-eye { position: absolute; top: 3px; right: 3px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--a-dim); transition: color .2s ease; }
.auth-eye:hover, .auth-eye[aria-pressed="true"] { color: #fff; }
.auth-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-eye .slash { transition: opacity .15s ease; }
.auth-eye[aria-pressed="true"] .slash { opacity: 0; }
.auth-hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: #8D929B; }
.auth-err { margin: 0; font-size: 12.5px; line-height: 1.45; color: #F5A39B; }
.auth-err:empty { display: none; }

.auth-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.5; color: #C9CDD3; cursor: pointer; }
.auth-check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1px solid rgba(255,255,255,.34); background: var(--a-field); cursor: pointer; display: grid; place-items: center; transition: background-color .18s ease, border-color .18s ease; }
.auth-check input::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2px solid #1A1305; border-bottom: 2px solid #1A1305; transform: rotate(-45deg) scale(0); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.auth-check input:checked { background: var(--gold); border-color: var(--gold); }
.auth-check input:checked::after { transform: rotate(-45deg) scale(1); }
.auth-check input:focus-visible { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; border-radius: 6px; }
.auth-check input[aria-invalid="true"] { border-color: #F28B82; }
.auth-check .auth-err:not(:empty) { grid-column: 2; display: block; }

.auth-msg { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(242,139,130,.4); background: rgba(242,139,130,.08); font-size: 13.5px; line-height: 1.5; color: #F7B7B0; }
.auth-msg:empty { display: none; }
.auth .auth-go { width: 100%; height: 48px; margin-top: 4px; border-radius: 10px; font-size: 15.5px; }
.auth .auth-go[disabled] { opacity: .7; cursor: progress; }
.auth .auth-go.is-busy::before { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: authSpin .7s linear infinite; }
@keyframes authSpin { to { transform: rotate(360deg); } }
.auth-foot { margin: 18px 0 0; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--a-dim); }
.auth-foot button, .auth-check a, .auth-done a { color: #E7C36A; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(231,195,106,.4); text-underline-offset: 3px; border-radius: 4px; }
.auth-foot button:hover, .auth-check a:hover, .auth-done a:hover { color: #F5DB9A; text-decoration-color: currentColor; }
.auth-done { text-align: center; }
.auth-done p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #C9CDD3; }
.auth-done .btn { width: 100%; height: 48px; border-radius: 10px; }

@media (max-width: 480px) {
  .auth-card { padding: 30px 20px 22px; }
  .auth-title { font-size: 24px; }
}
@media (max-height: 560px) {
  .auth-mark { display: none; }
  .auth-card { padding-top: 24px; }
  .auth-tabs { margin: 14px 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth[open], .auth.closing, .auth[open]::backdrop, .auth.closing::backdrop { animation: none; }
  .auth-pill, .auth-check input::after { transition: none; }
}
@media (forced-colors: active) {
  .auth-card, .auth-input input, .auth-check input { border: 1px solid CanvasText; }
  .auth-pill { border: 1px solid Highlight; }
}

/* ============ 2. LEGAL AND SIMPLE PAGES ============ */
body.page { color: #D5D8DD; }
.page main { display: block; }
.lg-hero { padding: clamp(44px, 6vw, 84px) var(--gutter) clamp(26px, 3vw, 40px); max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; }
.lg-hero .eyebrow { margin: 0 0 14px; font-size: 13px; }
.lg-hero h1 { margin: 0; font: 600 clamp(34px, 5vw, 58px)/1.06 var(--display); letter-spacing: -.02em; color: #fff; }
.lg-hero h1 .gilt-w { background: linear-gradient(180deg, #F0C865 0%, #DBA426 48%, #B9811A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lg-lede { margin: 18px 0 0; max-width: 46em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: #B8BDC6; }
.lg-meta { margin: 18px 0 0; font-size: 13.5px; color: #8D929B; }

/* the four documents, as one bar */
.lg-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 28px 0 0; padding: 4px; border-radius: 12px; background: #111214; border: 1px solid rgba(255,255,255,.08); overflow-x: auto; scrollbar-width: none; }
.lg-tabs::-webkit-scrollbar { display: none; }
.lg-tabs a { flex: none; padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #A3A8B0; border: 1px solid transparent; transition: color .2s ease, background-color .2s ease; }
.lg-tabs a:hover { color: #fff; }
.lg-tabs a[aria-current="page"] { color: #fff; background: #1E2024; border-color: rgba(255,255,255,.1); }

/* the document itself: an ivory sheet, like the lesson window on the homepage */
.lg-wrap { padding: 0 var(--gutter) clamp(56px, 7vw, 96px); max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; }
.lg-sheet { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; border-radius: 18px; background: #F7F5F1; color: #1B2230; overflow: clip; }
.lg-toc { padding: 34px 8px 34px 30px; border-right: 1px solid #E3DED4; }
.lg-toc-in { position: sticky; top: calc(var(--header-total) + 24px); max-height: calc(100vh - var(--header-total) - 48px); overflow-y: auto; scrollbar-width: thin; padding-right: 14px; }
.lg-toc p { margin: 0 0 12px; font: 600 12px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #7A4F0C; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: grid; grid-template-columns: 24px 1fr; gap: 4px; padding: 7px 8px; margin-left: -8px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: #4A5261; transition: color .2s ease, background-color .2s ease; }
.lg-toc a::before { content: counter(toc, decimal-leading-zero); font: 600 11.5px/1.6 var(--sans); color: #7D7667; font-variant-numeric: tabular-nums; }
.lg-toc a:hover { color: #0F172A; background: #EFEBE3; }
.lg-toc a.on { color: #0F172A; font-weight: 600; background: #EDE7DB; }
.lg-toc a.on::before { color: #7A4F0C; }
.lg-toc a:focus-visible, .lg-doc a:focus-visible { outline: 2px solid #9C6B17; outline-offset: 2px; border-radius: 6px; }

.lg-doc { padding: 38px clamp(22px, 4.4vw, 60px) 48px; font-size: 16.5px; line-height: 1.7; min-width: 0; }
.lg-doc > :first-child { margin-top: 0; }
.lg-short { margin: 0 0 34px; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid #E3DED4; }
.lg-doc .lg-short h2 { margin: 0 0 10px; padding: 0; border: 0; font: 600 12px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #7A4F0C; }
.lg-short ul { margin: 0; padding-left: 20px; }
.lg-short li { margin: 6px 0; }
.lg-doc section { scroll-margin-top: calc(var(--header-total) + 20px); }
.lg-doc h2 { margin: 44px 0 12px; padding-top: 30px; border-top: 1px solid #E3DED4; font: 600 clamp(21px, 2.2vw, 25px)/1.25 var(--display); letter-spacing: -.01em; color: #0F172A; scroll-margin-top: calc(var(--header-total) + 20px); }
.lg-doc section:first-of-type h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-doc h2 .n { display: block; margin-bottom: 8px; font: 600 12px/1 var(--sans); letter-spacing: .09em; color: #7A4F0C; }
.lg-doc h3 { margin: 26px 0 8px; font: 600 17px/1.35 var(--sans); color: #0F172A; }
.lg-doc p { margin: 0 0 14px; max-width: 70ch; }
.lg-doc ul, .lg-doc ol { margin: 0 0 16px; padding-left: 22px; max-width: 70ch; }
.lg-doc li { margin: 7px 0; padding-left: 2px; }
.lg-doc li::marker { color: #7A4F0C; }
.lg-doc strong { font-weight: 700; color: #0F172A; }
.lg-doc a { color: #7A4F0C; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(122,79,12,.35); text-underline-offset: 3px; -webkit-user-select: text; user-select: text; transition: text-decoration-color .2s ease; }
.lg-doc a:hover { text-decoration-color: currentColor; }
.lg-gist { margin: 0 0 16px !important; padding: 2px 0 2px 16px; border-left: 2px solid #DBA426; font-size: 15.5px; color: #4A5261; }
.lg-gist b { color: #0F172A; }
.lg-card { margin: 0 0 18px; padding: 16px 20px; border-radius: 12px; background: #fff; border: 1px solid #E3DED4; max-width: 70ch; }
.lg-card p:last-child, .lg-card address:last-child { margin-bottom: 0; }
.lg-card address { font-style: normal; }
.lg-table-wrap { margin: 0 0 18px; overflow-x: auto; border-radius: 12px; border: 1px solid #E3DED4; background: #fff; -webkit-overflow-scrolling: touch; }
.lg-table-wrap:focus-visible { outline: 2px solid #9C6B17; outline-offset: 2px; }
.lg-doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.lg-doc th, .lg-doc td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #ECE7DE; }
.lg-doc thead th { font: 600 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #6B5A33; background: #FBFAF7; }
.lg-doc tbody tr:last-child td, .lg-doc tbody tr:last-child th { border-bottom: 0; }
.lg-doc tbody th { font-weight: 600; color: #0F172A; white-space: nowrap; }
.lg-end { margin-top: 40px; padding-top: 22px; border-top: 1px solid #E3DED4; font-size: 14.5px; color: #5B6472; }

@media (max-width: 960px) {
  .lg-sheet { grid-template-columns: minmax(0, 1fr); }
  .lg-toc { padding: 0; border-right: 0; border-bottom: 1px solid #E3DED4; }
  .lg-toc-in { position: static; max-height: none; padding: 0; }
  .lg-toc details { padding: 0; }
  .lg-toc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; list-style: none; font: 600 12px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #7A4F0C; }
  .lg-toc summary::-webkit-details-marker { display: none; }
  .lg-toc summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
  .lg-toc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .lg-toc summary:focus-visible { outline: 2px solid #9C6B17; outline-offset: -4px; border-radius: 12px; }
  .lg-toc ol { padding: 0 22px 18px; }
  .lg-doc { padding-top: 28px; }
}
@media (min-width: 961px) {
  .lg-toc summary { display: block; margin: 0 0 12px; pointer-events: none; list-style: none; font: 600 12px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #7A4F0C; }
  .lg-toc summary::-webkit-details-marker { display: none; }
}
@media (max-width: 520px) {
  .lg-sheet { border-radius: 14px; margin: 0 calc(-1 * var(--gutter) + 8px); }
  .lg-doc { font-size: 16px; padding-bottom: 36px; }
}

/* simple centred pages: page not found, lesson in preparation */
.sp { min-height: calc(100svh - var(--header-total)); display: grid; place-items: center; padding: 56px var(--gutter); text-align: center; }
.sp-in { max-width: 560px; }
.sp .eyebrow { margin: 0 0 14px; font-size: 13px; }
.sp h1 { margin: 0; font: 600 clamp(32px, 5vw, 52px)/1.08 var(--display); letter-spacing: -.02em; color: #fff; }
.sp h1 .gilt-w { background: linear-gradient(180deg, #F0C865 0%, #DBA426 48%, #B9811A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sp p { margin: 18px auto 0; font-size: 17px; line-height: 1.6; color: #B8BDC6; }
.sp-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* pages without the homepage's opening sequence simply fade in */
.page main { animation: pageIn .6s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page main { animation: none; } .lg-toc a, .lg-tabs a { transition: none; } }

/* ============ 3. SMALL PAGE-LEVEL FIXES ============ */
/* without JavaScript the hero still shows its first frame */
html:not(.js) .hx-first { position: absolute; inset: 0 0 0 auto; width: 58%; height: 100%; object-fit: cover; object-position: 55% 100%; opacity: 1; }
@media (max-width: 900px) { html:not(.js) .hx-first { inset: auto 0 0 0; width: 100%; height: 52%; } }
html:not(.js) .hx-canvas { display: none; }
/* the highlighter's pulsing pointer holds still for visitors who ask for less motion */
@media (prefers-reduced-motion: reduce) { .hl-guide::before { animation: none !important; } }
/* the reading-size control in the homepage demo is for show: it is marked unavailable, not just unclickable */
.read .rp-size button[aria-disabled="true"] { cursor: default; }

/* ============ 4. PRINT (legal pages) ============ */
@media print {
  .site-header, .site-footer, .skip-link, .lg-tabs, .lg-toc, .sbar, .dp-tint, .auth { display: none !important; }
  html, body, body.page { background: #fff !important; color: #000 !important; padding: 0 !important; }
  .lg-hero { padding: 0 0 12pt; }
  .lg-hero h1, .lg-hero h1 .gilt-w { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; font-size: 24pt; }
  .lg-hero .eyebrow, .lg-lede, .lg-meta { color: #333 !important; }
  .lg-wrap { padding: 0; }
  .lg-sheet { display: block; background: none; border-radius: 0; }
  .lg-doc { padding: 0; font-size: 10.5pt; line-height: 1.5; }
  .lg-doc h2 { break-after: avoid; }
  .lg-doc a { color: #000; }
  .lg-doc a[href^="http"]::after { content: " (" attr(href) ")"; font-weight: 400; }
  .page main { animation: none; }
}

/* Policy tables keep their real columns on phones, with no sideways scrolling */
@media (max-width: 760px) {
  .lg-table-wrap { overflow: hidden; }
  .lg-table-wrap table { width: 100%; min-width: 0; table-layout: fixed; font-size: 12.5px; line-height: 1.45; }
  .lg-table-wrap th, .lg-table-wrap td { min-width: 0; padding: 9px 7px; font-size: 12.5px; white-space: normal; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .lg-doc .lg-table-wrap th, .lg-doc .lg-table-wrap td, .lg-doc .lg-table-wrap tbody th { min-width: 0; width: auto; white-space: normal; overflow-wrap: break-word; }
  .lg-doc .lg-table-wrap thead th { font-size: 10.5px; letter-spacing: .02em; -webkit-hyphens: none; hyphens: none; }
  .lg-table-wrap code { font-size: 10.5px; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .lg-table-wrap th, .lg-table-wrap td { padding: 8px 4px; font-size: 11px; }
  .lg-doc .lg-table-wrap thead th { font-size: 9.5px; letter-spacing: 0; }
}

.lg-table-wrap code { -webkit-hyphens: none; hyphens: none; }
@media (max-width: 340px) {
  .lg-hero .lg-tabs { display: flex; width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  .lg-hero .lg-tabs a { flex: 1 1 auto; min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 11.5px; text-align: center; }
}
