/* Kopnota marketing site · invoice numbers demo */
/* ---------- Numbering ---------- */
.num-card, .rec-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-lg); display: grid; gap: 18px; justify-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-selected="true"], .seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 20, 82, .14); }
.seg-sm button { padding: 6px 11px; font-size: .8rem; }
.odometer { display: flex; align-items: baseline; font: 500 clamp(1.6rem, 5vw, 2.8rem)/1 var(--font-mono); letter-spacing: -.02em; padding: 20px 22px; border-radius: 16px; background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .06); max-width: 100%; }
.odometer .sep { color: #7D8BD6; }
.odometer #num-prefix { color: var(--mint); transition: opacity .25s; }
.odometer .count { display: inline-flex; }
.odometer .digit { display: inline-block; height: 1em; overflow: hidden; }
.odometer .digit > span { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.odometer .digit > span > span { height: 1em; }
.odometer .yr-flip { animation: yr .6s ease; }
@keyframes yr { 40% { opacity: 0; transform: translateY(-8px); } 60% { opacity: 0; transform: translateY(8px); } }
.num-list { width: 100%; display: grid; gap: 6px; }
.num-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; animation: line-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.num-row code { background: none; border: 0; padding: 0; font-weight: 500; }
.num-row span:nth-child(2) { color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
