/*
 * Company License Verification page (/verify-company-license/).
 * Loaded only by that page, after rgab.css and rgab-geo.css, with their brand tokens (navy, charcoal, gold, Playfair Display and Manrope).
 * Mobile first (320 px and up). No inline styles anywhere (the site policy forbids them). No library, no image: icons are inline SVG outlines.
 *
 * MOTION RULES. Every rule that animates or transitions lives inside @media (prefers-reduced-motion: no-preference), and the BASE styles are always the FINAL,
 * fully visible state. Animations start from a hidden state with "backwards" fill, so with reduced motion (or without CSS animation support) the content simply
 * appears. Only opacity and transform are animated (plus the stroke offset that draws the gold icon lines). Nothing loops except two very slow decorations:
 * the drifting gold light of the page background and the soft glow of the form border. Nothing may delay the visitor from reaching the license.
 * The viewer part (.lv-stage and below) is protected: no selection, no touch callout, and the print sheet hides the whole page.
 */

.lv-root {
  --lv-navy: var(--navy, #1B2A4A);
  --lv-gold: var(--gold, #D7B85D);
  --lv-gold-dark: #9A7B22;
  --lv-char: var(--charcoal, #545454);
  --lv-ok: #1D6F4E;
  --lv-ok-soft: #E6F3EC;
  --lv-bad: #A3312C;
  --lv-bad-soft: #FBEDEC;
  --lv-line: rgba(27, 42, 74, 0.16);
  --lv-ivory: #FBF8F1;
  --lv-soft: #F7F5F0;
  overflow-x: clip;
}
.lv-root [hidden] { display: none !important; }
/* the site style sheet gives every <section> generous padding; the parts of this page set their own */
.lv-panel, .lv-ntext, .lv-why { padding: 0; }
.lv-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ----------------------------------------------------------------- hero */
.lv-hero { padding: 32px 0 36px; color: var(--soft-white, #FFFDF8); background: var(--lv-navy); text-align: center; }
.lv-hero-in { display: flex; flex-direction: column; align-items: center; }
.lv-hero .eyebrow { color: var(--lv-gold); }
.lv-hero h1 { color: var(--soft-white, #FFFDF8); font-size: clamp(1.55rem, 6.4vw, 2.7rem); line-height: 1.15; letter-spacing: 0.04em; margin: 0 0 0.35em; }
.lv-sub { margin: 0 0 10px; color: var(--lv-gold); font-weight: 700; font-size: clamp(1rem, 3.6vw, 1.2rem); }
.lv-lede { max-width: 620px; font-size: 1rem; opacity: 0.95; margin: 0; }
.lv-shield { display: block; margin: 0 auto 12px; overflow: visible; }
.lv-shield-line { fill: rgba(215, 184, 93, 0.1); stroke: var(--lv-gold); stroke-width: 2.4; stroke-linejoin: round; }
.lv-shield-check { fill: none; stroke: var(--lv-gold); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------------------------------------------- desk (ivory, soft texture, drifting gold light, small security outlines) */
.lv-desk {
  position: relative;
  /* the decorative layers are larger than the section: they are clipped, never scrolled (a focus change must not slide the page sideways) */
  overflow: hidden;
  overflow: clip;
  contain: paint;
  padding: 24px 0 48px;
  background-color: var(--lv-ivory);
  background-image: repeating-linear-gradient(135deg, rgba(27, 42, 74, 0.018) 0, rgba(27, 42, 74, 0.018) 1px, transparent 1px, transparent 14px);
}
.lv-desk::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  pointer-events: none;
  background:
    radial-gradient(38% 26% at 28% 22%, rgba(215, 184, 93, 0.2), transparent 70%),
    radial-gradient(34% 28% at 78% 68%, rgba(215, 184, 93, 0.14), transparent 70%);
}
.lv-desk::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%20viewBox%3D%220%200%20180%20180%22%20fill%3D%22none%22%20stroke%3D%22%231B2A4A%22%20stroke-width%3D%221.2%22%20opacity%3D%220.07%22%3E%3Cpath%20d%3D%22M30%2022%20L46%2028%20V42%20C46%2052%2038%2058%2030%2062%20C22%2058%2014%2052%2014%2042%20V28%20Z%22/%3E%3Crect%20x%3D%22120%22%20y%3D%22108%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%223%22/%3E%3Cpath%20d%3D%22M124%20108%20V102%20a6%206%200%200%201%2012%200%20V108%22/%3E%3Ccircle%20cx%3D%22140%22%20cy%3D%2230%22%20r%3D%2210%22/%3E%3Cpath%20d%3D%22M150%2030%20H172%20M164%2030%20V38%22/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.lv-wrap { position: relative; z-index: 1; max-width: 880px; }

.lv-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(215, 184, 93, 0.55);
  border-top: 4px solid var(--lv-gold);
  border-radius: 12px;
  padding: 20px 16px 24px;
  box-shadow: 0 0 0 1px rgba(215, 184, 93, 0.18), 0 10px 34px rgba(27, 42, 74, 0.09);
}
.lv-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 0 22px rgba(215, 184, 93, 0.35);
  opacity: 0.7;
}
.lv-notice {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-left: 4px solid var(--lv-gold);
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 20px;
}
.lv-notice h2 { margin: 0 0 6px; font-size: 1.25rem; color: var(--lv-navy); }
.lv-notice p { margin: 0; color: var(--lv-char); }

/* ----------------------------------------------------------------- progress */
.lv-stepper { list-style: none; margin: 0 0 10px; padding: 0; display: flex; gap: 8px; }
.lv-st { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.78rem; line-height: 1.25; color: var(--lv-char); }
.lv-st-dot { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--lv-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: #fff; }
.lv-st-tick { display: none; width: 18px; height: 18px; fill: none; stroke: var(--lv-navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lv-st.is-active { color: var(--lv-navy); font-weight: 700; }
.lv-st.is-active .lv-st-dot { background: var(--lv-navy); border-color: var(--lv-navy); color: #fff; }
.lv-st.is-done .lv-st-dot { background: var(--lv-gold); border-color: var(--lv-gold); color: var(--lv-navy); }
.lv-st.is-done .lv-st-num { display: none; }
.lv-st.is-done .lv-st-tick { display: block; }
.lv-track { height: 4px; margin: 0 0 22px; border-radius: 4px; background: rgba(27, 42, 74, 0.1); overflow: hidden; }
.lv-track-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lv-gold), #E9D28A); transform-origin: left center; transform: scaleX(0.34); }
.lv-root[data-step="2"] .lv-track-fill { transform: scaleX(0.67); }
.lv-root[data-step="3"] .lv-track-fill { transform: scaleX(1); }

/* ----------------------------------------------------------------- panels and fields */
.lv-panel h3 { font-size: 1.4rem; margin: 0 0 10px; color: var(--lv-navy); }
.lv-panel h3:focus { outline: none; }
.lv-before { background: #FFF6E0; border: 1px solid #EBCB7C; border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; color: #4A3500; }
.lv-before p { margin: 4px 0 0; }
.lv-field { margin-bottom: 16px; }
.lv-label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--lv-navy); }
.lv-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: #181B20;
  background: #fff;
  border: 1.5px solid #7C849A;
  border-radius: 8px;
}
.lv-input:focus, .lv-digit:focus {
  outline: 2px solid transparent;
  border-color: var(--lv-gold-dark);
  box-shadow: 0 0 0 3px rgba(215, 184, 93, 0.45);
}
.lv-input[aria-invalid="true"], .lv-digit[aria-invalid="true"] { border-color: var(--lv-bad); }
.lv-phone { width: 100%; }
.lv-err { margin: 6px 0 0; color: var(--lv-bad); font-size: 0.92rem; }
.lv-err-box { background: var(--lv-bad-soft); border: 1px solid #E5B7B4; border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; }
.lv-fine { margin: 12px 0 0; font-size: 0.88rem; color: var(--lv-char); }

/* floating labels */
.lv-float { position: relative; }
.lv-float .lv-input { min-height: 54px; padding: 22px 40px 7px 12px; }
.lv-float .lv-label {
  position: absolute;
  left: 13px;
  top: 16px;
  max-width: calc(100% - 56px);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #596071;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transform-origin: left top;
}
.lv-float .lv-input:focus + .lv-label,
.lv-float .lv-input:not(:placeholder-shown) + .lv-label { transform: translateY(-10px) scale(0.8); color: var(--lv-navy); max-width: calc((100% - 56px) / 0.8); }
.lv-float .lv-ind { position: absolute; right: 13px; top: 27px; width: 14px; height: 14px; margin-top: -7px; pointer-events: none; }
.lv-float.is-valid .lv-ind::after { content: ""; position: absolute; left: 3px; top: 0; width: 5px; height: 10px; border: solid var(--lv-ok); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.lv-float.is-invalid .lv-ind::after { content: "!"; position: absolute; left: 3px; top: -1px; font-weight: 800; font-size: 15px; line-height: 14px; color: var(--lv-bad); }
.lv-float.is-valid .lv-input { border-color: #6FAE92; }
.lv-float-short { max-width: 380px; }
.lv-label-static { font-size: 0.95rem; }

/* consent */
.lv-consent { display: grid; grid-template-columns: 26px 1fr; gap: 0 10px; align-items: start; }
.lv-consent input { width: 24px; height: 24px; margin: 10px 0 0; accent-color: var(--lv-navy); }
.lv-consent label { display: block; font-size: 0.93rem; font-weight: 400; color: var(--lv-char); padding: 8px 0; min-height: 44px; margin: 0; }
.lv-consent label a { display: inline-block; padding: 2px 0; }
.lv-consent .lv-err { grid-column: 1 / -1; }
.lv-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* buttons */
.lv-btn { width: 100%; min-height: 48px; }
.lv-btn[disabled] { opacity: 0.7; cursor: wait; }
.lv-btn[aria-busy="true"] .lv-btn-label::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 9px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
}
.lv-linkbtn { background: none; border: 0; padding: 10px 4px; font: inherit; font-weight: 700; color: var(--lv-navy); text-decoration: underline; cursor: pointer; min-height: 44px; min-width: 44px; }
.lv-linkbtn[disabled] { color: var(--lv-char); text-decoration: none; cursor: default; }
.lv-row { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; justify-content: space-between; }
.lv-noscript { color: var(--lv-bad); }

/* picture code */
.lv-chal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.lv-chal-img { min-width: 200px; min-height: 64px; max-width: 100%; }
.lv-chal-img svg { max-width: 100%; height: auto; display: block; }

/* one-time code */
.lv-sent { font-weight: 700; color: var(--lv-navy); margin: 0 0 8px; }
.lv-reminder { color: var(--lv-char); margin: 0 0 16px; }
.lv-code-set { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.lv-code-set legend { padding: 0; }
.lv-code { display: flex; gap: 6px; }
.lv-digit {
  flex: 1 1 0;
  min-width: 0;
  max-width: 56px;
  height: 56px;
  padding: 0;
  text-align: center;
  font: 800 1.5rem/1 var(--font-body, sans-serif);
  color: var(--lv-navy);
  background: #fff;
  border: 1.5px solid #7C849A;
  border-radius: 8px;
}
.lv-code.is-loading .lv-digit { background: #F4F6F9; }
.lv-code.is-success .lv-digit { border-color: var(--lv-gold-dark); background: #FFF9E6; box-shadow: 0 0 0 2px rgba(215, 184, 93, 0.5); }
.lv-code.is-error .lv-digit { border-color: var(--lv-bad); background: #FFF7F6; }
.lv-timer { margin: 4px 0 14px; color: var(--lv-char); font-size: 0.93rem; }

/* ----------------------------------------------------------------- step 3: reveal, viewer, security information, notice */
.lv-verified { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 14px; background: linear-gradient(180deg, #FFFDF6, #FBF4DC); border: 1px solid rgba(215, 184, 93, 0.7); border-radius: 10px; }
.lv-vicon { flex: 0 0 auto; overflow: visible; }
.lv-vshield { fill: none; stroke: var(--lv-gold-dark); stroke-width: 2.4; stroke-linejoin: round; opacity: 0.35; }
.lv-vcircle { fill: var(--lv-gold); }
.lv-vcheck { fill: none; stroke: var(--lv-navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lv-vtitle { display: block; color: var(--lv-navy); letter-spacing: 0.06em; font-size: 1.05rem; }
.lv-vtext { margin: 2px 0 0; color: var(--lv-char); }
.lv-session { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 8px 12px; margin-bottom: 12px; background: var(--lv-soft); border-radius: 8px; color: var(--lv-navy); }
.lv-session strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.lv-loading { color: var(--lv-char); }

.lv-doc {
  position: relative;
  margin-bottom: 18px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(215, 184, 93, 0.85);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.14), 0 0 0 3px rgba(215, 184, 93, 0.12);
}
.lv-doc.is-pre { visibility: hidden; }
.lv-sweep { position: absolute; top: -1px; left: 6px; right: 6px; height: 3px; overflow: hidden; pointer-events: none; z-index: 3; border-radius: 3px; }
.lv-sweep::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--lv-gold), transparent); transform: translateX(-110%); }
.lv-tools { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; }
.lv-tool { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; font: 700 0.92rem/1 var(--font-body, sans-serif); color: var(--lv-navy); background: #fff; border: 1.5px solid #7C849A; border-radius: 8px; cursor: pointer; }
.lv-tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.lv-tool:hover { border-color: var(--lv-gold-dark); background: #FFFBEF; }
.lv-tool:focus-visible, .lv-info:focus-visible, .lv-linkbtn:focus-visible, .lv-scroll:focus-visible { outline: 3px solid var(--lv-navy); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(215, 184, 93, 0.6); }
.lv-tool[disabled] { opacity: 0.45; cursor: default; }
.lv-zoom-level { margin-left: auto; font-weight: 700; color: var(--lv-char); font-variant-numeric: tabular-nums; }
.lv-scroll { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; border-radius: 6px; }
.lv-stage {
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
.lv-view { position: relative; overflow: hidden; min-width: 100%; background: #E9ECF1; border-radius: 6px; padding: 8px; }
.lv-pages { display: flex; flex-direction: column; gap: 10px; }
.lv-page { background: #fff; box-shadow: 0 2px 10px rgba(27, 42, 74, 0.18); line-height: 0; }
.lv-canvas { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* the faint on-screen layer: the short view code, tiled, over the pages */
.lv-mark {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  transform: rotate(-24deg);
  pointer-events: none;
  z-index: 2;
  font: 700 1.1rem/1 var(--font-body, sans-serif);
  letter-spacing: 0.12em;
  color: rgba(27, 42, 74, 0.1);
}
.lv-mark span { flex: 0 0 33%; text-align: center; padding: 22px 0; }

/* the document verification reference */
.lv-secinfo { margin: 0 0 18px; padding: 14px 14px 10px; background: #fff; border: 1px solid var(--lv-line); border-left: 4px solid var(--lv-gold); border-radius: 10px; }
.lv-sec-label { margin: 0 0 6px; font: 800 0.78rem/1.3 var(--font-body, sans-serif); letter-spacing: 0.12em; color: var(--lv-char); }
.lv-codeline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.lv-viewcode { font: 800 1.05rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em; color: var(--lv-navy); word-break: break-all; background: #FBF6E4; padding: 6px 10px; border-radius: 6px; }
.lv-info { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--lv-navy); cursor: pointer; }
.lv-info svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.lv-info[aria-expanded="true"] { background: #FBF4DC; }
.lv-tip { position: relative; max-width: 440px; margin: 8px 0 4px; padding: 12px 14px; color: #fff; background: var(--lv-navy); border-radius: 8px; border-top: 3px solid var(--lv-gold); }
.lv-tip strong { display: block; margin-bottom: 4px; }
.lv-tip p { margin: 0; font-size: 0.93rem; }
.lv-facts { margin: 12px 0 0; display: grid; gap: 6px; }
.lv-fact { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.lv-fact dt { color: var(--lv-char); font-size: 0.9rem; min-width: 150px; }
.lv-fact dd { margin: 0; font-weight: 700; color: var(--lv-navy); display: inline-flex; align-items: center; gap: 6px; }
.lv-fact-tick { width: 16px; height: 16px; fill: none; stroke: var(--lv-ok); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* the text version of the notice printed at the bottom of the document */
.lv-ntext { margin: 0 0 18px; }
.lv-ntext-cap { margin: 0 0 6px; font-size: 0.82rem; color: #5B6272; font-style: italic; }
.lv-ntext-box { position: relative; padding: 16px 16px 14px; background: var(--lv-ivory); border: 1px solid rgba(27, 42, 74, 0.1); border-top: 2px solid var(--lv-gold); border-radius: 8px; }
.lv-ntext-icon { float: left; margin: 2px 10px 4px 0; fill: none; stroke: var(--lv-gold-dark); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.lv-ntext-h { margin: 0; color: var(--lv-navy); font-size: 1.05rem; line-height: 1.3; }
.lv-ntext-rule { display: block; clear: both; height: 1px; margin: 10px 0 12px; background: var(--lv-gold); transform-origin: left center; }
.lv-ntext-box p { margin: 0 0 10px; color: var(--lv-char); font-size: 0.93rem; line-height: 1.6; }
.lv-ntext-box .lv-ntext-foot { margin: 14px 0 0; padding: 8px 0; border-top: 1px solid rgba(215, 184, 93, 0.8); border-bottom: 1px solid rgba(215, 184, 93, 0.8); text-align: center; font: 800 0.7rem/1.5 var(--font-body, sans-serif); letter-spacing: 0.08em; color: var(--lv-navy); }

.lv-expired { text-align: center; padding: 24px 12px; background: var(--lv-soft); border-radius: 8px; }
.lv-expired:focus { outline: none; }
.lv-expired h4 { margin: 0 0 8px; color: var(--lv-navy); font-size: 1.2rem; }
.lv-expired p { margin: 0 0 16px; color: var(--lv-char); }
.lv-expired .lv-btn { max-width: 280px; }

/* ----------------------------------------------------------------- why verify */
.lv-why { margin-top: 34px; }
.lv-why h2 { margin: 0 0 16px; text-align: center; font-size: clamp(1.1rem, 4.4vw, 1.5rem); letter-spacing: 0.04em; line-height: 1.3; color: var(--lv-navy); }
.lv-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lv-cardx { position: relative; padding: 20px 18px 18px; background: #fff; border: 1px solid var(--lv-line); border-radius: 12px; }
.lv-cardx::before { content: ""; position: absolute; top: -1px; left: 18px; right: 18px; height: 2px; background: var(--lv-gold); border-radius: 2px; }
.lv-cardx::after { content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; box-shadow: 0 12px 28px rgba(27, 42, 74, 0.16); opacity: 0; }
.lv-cardx:hover::after, .lv-cardx:focus-within::after { opacity: 1; }
.lv-cardx-icon { display: block; width: 38px; height: 38px; margin-bottom: 10px; fill: none; stroke: var(--lv-navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lv-cardx h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--lv-navy); }
.lv-cardx p { margin: 0; color: var(--lv-char); font-size: 0.96rem; }

.lv-help { margin: 26px 0 6px; color: var(--lv-char); }
.lv-help a { display: inline-block; padding: 8px 0; }
.lv-disclaimer { margin: 0; font-size: 0.88rem; color: var(--lv-char); }

/* ----------------------------------------------------------------- sizes */
@media (max-width: 359px) {
  .lv-wrap.container { padding-left: 8px; padding-right: 8px; }
  .lv-card { padding: 16px 8px 20px; }
  .lv-code { gap: 3px; }
  .lv-st { font-size: 0.72rem; }
}
@media (min-width: 600px) {
  .lv-hero { padding: 48px 0 52px; }
  .lv-desk { padding-top: 32px; }
  .lv-card { padding: 28px 28px 32px; }
  .lv-btn { width: auto; min-width: 220px; }
  .lv-code { gap: 10px; }
  .lv-mark { font-size: 1.4rem; }
  .lv-doc { padding: 14px; }
}
@media (min-width: 760px) {
  .lv-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ----------------------------------------------------------------- motion (everything animated is here) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes lv-rise { from { opacity: 0; transform: translateY(12px); } }
  @keyframes lv-fade { from { opacity: 0; } }
  @keyframes lv-lift { from { opacity: 0; transform: translateY(10px); } }
  @keyframes lv-draw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
  @keyframes lv-draw-short { from { stroke-dashoffset: 42; } to { stroke-dashoffset: 0; } }
  @keyframes lv-pop { from { opacity: 0; transform: scale(0.6); } }
  @keyframes lv-sweep { from { transform: translateX(-110%); } to { transform: translateX(270%); } }
  @keyframes lv-spin { to { transform: rotate(360deg); } }
  @keyframes lv-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
  @keyframes lv-drift { from { transform: translate3d(-3%, -2%, 0); } to { transform: translate3d(3%, 3%, 0); } }
  @keyframes lv-glow { from { opacity: 0.45; } to { opacity: 0.9; } }
  @keyframes lv-rule { from { transform: scaleX(0); } }

  /* opening: icon, heading, subline, lede and the form arrive one after the other (about 1.2 s in all) */
  .lv-rise { animation: lv-rise 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; }
  .lv-d0 { animation-delay: 0s; }
  .lv-d1 { animation-delay: 0.14s; }
  .lv-d2 { animation-delay: 0.28s; }
  .lv-d3 { animation-delay: 0.42s; }
  .lv-d4 { animation-delay: 0.58s; }
  .lv-shield-line { stroke-dasharray: 220; animation: lv-draw 1s ease-out 0.1s backwards; }
  .lv-shield-check { stroke-dasharray: 42; animation: lv-draw-short 0.5s ease-out 0.75s backwards; }

  /* background and form border: very slow, transform / opacity only */
  .lv-desk::before { will-change: transform; animation: lv-drift 26s ease-in-out infinite alternate; }
  .lv-card::before { animation: lv-glow 5s ease-in-out infinite alternate; }

  /* progress and fields */
  .lv-track-fill { transition: transform 0.5s ease; }
  .lv-st-dot { transition: background-color 0.3s ease, border-color 0.3s ease; }
  .lv-float .lv-label { transition: transform 0.18s ease, color 0.18s ease; }
  .lv-input, .lv-digit { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
  .lv-btn[aria-busy="true"] .lv-btn-label::after { animation: lv-spin 0.8s linear infinite; }
  .lv-panel:not([hidden]) { animation: lv-fade 0.35s ease backwards; }
  .lv-code.is-error .lv-digit { animation: lv-shake 0.4s ease; }
  .lv-code.is-success .lv-digit { animation: lv-pop 0.3s ease; }

  /* the reveal after a correct code */
  .lv-verified { animation: lv-fade 0.4s ease backwards; }
  .lv-vshield { animation: lv-draw 0.7s ease-out backwards; stroke-dasharray: 220; }
  .lv-vcircle { transform-origin: 32px 37px; animation: lv-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.35s backwards; }
  .lv-vcheck { stroke-dasharray: 42; animation: lv-draw-short 0.45s ease-out 0.6s backwards; }
  .lv-doc.is-revealed { animation: lv-lift 0.55s ease backwards; }
  .lv-doc.is-revealed .lv-sweep::after { animation: lv-sweep 1.4s ease-in-out 0.4s 1 forwards; }
  .lv-secinfo.is-in { animation: lv-lift 0.5s ease 0.35s backwards; }
  .lv-secinfo.is-in .lv-fact-tick { stroke-dasharray: 24; animation: lv-draw-short 0.6s ease-out 0.7s backwards; }
  .lv-tip:not([hidden]) { animation: lv-fade 0.18s ease backwards; }

  /* the notice: container rises about 10 px and fades in, the shield fades, the gold divider draws once */
  .lv-ntext:not(.is-in) .lv-ntext-box { opacity: 0; transform: translateY(10px); }
  .lv-ntext-box { transition: opacity 0.6s ease, transform 0.6s ease; }
  .lv-ntext:not(.is-in) .lv-ntext-icon { opacity: 0; }
  .lv-ntext-icon { transition: opacity 0.5s ease 0.2s; }
  .lv-ntext:not(.is-in) .lv-ntext-rule { transform: scaleX(0); }
  .lv-ntext-rule { transition: transform 0.7s ease 0.3s; }
  .lv-ntext:not(.is-in) .lv-ntext-box p, .lv-ntext:not(.is-in) .lv-ntext-h { opacity: 0; }
  .lv-ntext-box p, .lv-ntext-h { transition: opacity 0.6s ease 0.45s; }

  /* viewer tools and cards */
  .lv-tool { transition: background-color 0.15s ease, border-color 0.15s ease; }
  .lv-cardx { transition: transform 0.2s ease; }
  .lv-cardx:hover, .lv-cardx:focus-within { transform: translateY(-3px); }
  .lv-cardx::after { transition: opacity 0.2s ease; }
}

/* reduced motion: nothing moves, nothing fades, the content is simply there */
@media (prefers-reduced-motion: reduce) {
  .lv-root *, .lv-root *::before, .lv-root *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* nothing of this page is printed: not the form, not the license */
@media print {
  html, body, .lv-root, .lv-stage, .lv-view, .lv-canvas, .lv-mark { display: none !important; visibility: hidden !important; }
}
.lv-stage.is-printing { visibility: hidden; }
