/* FRIPOS: menu paper and receipt details. Original artwork stays untouched. */
:root {
  --detail-line: rgba(74, 67, 43, .15);
  --paper-shadow: 0 2px 3px rgba(83, 66, 22, .035), 0 9px 24px rgba(83, 66, 22, .055);
}
html { scroll-padding-top: 76px; }
section { padding: 60px 0; }
.site-header { background: #fffef9; }
.site-header .wrap { height: 60px; }
.site-header .btn-sm { border: 1px solid rgba(109, 81, 0, .15); box-shadow: 0 2px 0 rgba(109, 81, 0, .13); }
.hero { position: relative; isolation: isolate; padding: 40px 0 0; background: #F3B506; }
.hero-proof { background: rgba(47, 138, 128, .16); border-radius: 20px; padding: 7px 15px; }
.hero-free { margin-top: 27px; text-shadow: 0 3px 0 rgba(120, 90, 0, .2); }
.hero-free-note { line-height: 1.75; }
.hero-chips { gap: 7px; }
.hero-chips .chip { background: #fffdf3; border-radius: 20px; padding: 6px 12px; }
.hero-tag { font-size: 12px; letter-spacing: .15px; padding-bottom: 30px; }
.section-head { margin-bottom: 18px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; margin-bottom: 12px; }
h2 { line-height: 1.4; text-wrap: balance; }
.section-sub { margin-top: 8px; line-height: 1.65; }
.cmp-table { border-radius: 16px; border-color: #ded5bd; box-shadow: var(--paper-shadow); margin-top: 20px; }
.cmp-row { padding: 14px 17px; border-color: #eee6d6; }
.cmp-row.total { background: #ffda59; }
.cmp-note { font-size: 12px; margin-top: 12px; }
.cmp-checks { gap: 12px; margin-top: 24px; }
.how-steps { margin-top: 30px; gap: 32px; }
.how-step { position: relative; }
.hs-n { width: 32px; height: 32px; background: var(--gold); color: #4a3a00; font-size: 14px; }
.rescue .hs-n { background: var(--teal-deep); color: #fff; }
.hs-t { margin-top: 12px; }
.hs-s { margin-top: 5px; line-height: 1.65; }
.rescue-chips .chip { border-radius: 20px; background: #f8fffc; font-size: 11.5px; padding: 6px 10px; }
.rescue-final { margin-top: 22px; }
.rescue-vs { border-radius: 16px; margin-top: 26px; border-color: #c8dfd6; box-shadow: 0 6px 20px rgba(35, 83, 66, .045); }
.rv-head { padding: 20px 20px 18px; }
.rv-also { border-radius: 6px; }
.rv-col { padding: 15px 10px; }
.rv-go { padding: 13px 17px; }
.switch-line { border-radius: 8px; padding: 22px 20px; margin-top: 30px; background: #fffdf6; box-shadow: var(--paper-shadow); }
.switch-line p { line-height: 1.75; }
.switch-line .en { margin: 5px 0 15px; }
.btn { border-radius: 14px; }
.btn-primary { border: 1px solid rgba(109, 81, 0, .16); box-shadow: 0 3px 0 rgba(109, 81, 0, .15), 0 5px 12px rgba(109, 81, 0, .06); }
.btn-teal { border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 3px 0 rgba(15, 61, 56, .2), 0 5px 12px rgba(15, 61, 56, .06); }
a:focus-visible { outline: 3px solid #287c70; outline-offset: 4px; }
.ai a:focus-visible { outline-color: #FFD54F; }
.proof-stats { margin-top: 25px; gap: 14px; }
.ps-cell { border-radius: 16px; padding: 23px 14px; border-color: #c8dfd6; box-shadow: 0 4px 12px rgba(35, 83, 66, .035); }
.ps-num { font-variant-numeric: tabular-nums; }
.ps-lbl { margin-top: 10px; line-height: 1.65; }
.ps-more { margin-top: 21px; }
.ladder { gap: 14px; margin-top: 22px; }
.rung { border-radius: 14px; padding: 20px; border-color: #e5dcc9; }
.rung-top { gap: 10px; }
.rung-price { font-variant-numeric: tabular-nums; }
.rung-for { margin-top: 12px; }
.rung-h { margin-top: 9px; line-height: 1.55; }
.rung-s { margin-top: 7px; line-height: 1.7; }
.rung.free { border: 3px solid var(--gold); border-radius: 16px; background: #fffdf4; padding: 24px 22px 22px; box-shadow: 0 5px 18px rgba(180, 140, 0, .12); }
.rung.free .rung-top { padding-bottom: 14px; border-bottom: 1px dashed #d7c8a0; }
.free-list { margin-top: 14px; }
.free-list li { padding: 7px 0; border-color: #eee5d0; }
.free-line { margin-top: 15px; border-radius: 6px; padding: 12px; }
.free-forever { background: var(--gold); color: #4a3a00; margin-top: 13px; padding: 8px 10px; font-size: 13px; }
.rung.pop { border: 2px solid var(--teal); }
.rung .pop-badge { background: var(--teal-deep); color: #fff; border-radius: 20px; padding: 3px 8px; }
.ai-bubble { border: 1px solid rgba(158, 200, 191, .22); border-radius: 10px 10px 10px 2px; padding: 21px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); margin-top: 24px; }
.ai-bubble .lbl { margin-bottom: 10px; }
.ai-bubble p { line-height: 1.85; }
.ai-sub { margin-top: 20px; }
.wf-card { position: relative; background: var(--cream) url('assets/paper-fibers.svg'); border-radius: 3px; padding: 34px 28px 29px; border-color: #dfd5bc; box-shadow: 4px 4px 0 #fffaf0, 4px 4px 0 1px #e5dcc8, 0 8px 25px rgba(83, 66, 22, .04); }
.wf-card::before { content: ''; position: absolute; left: 28px; top: 0; width: 34px; height: 3px; background: #d4ab37; }
.wf-card .eyebrow { color: #997722; }
.wf-card h2 { margin-bottom: 22px; }
.wf-card p { line-height: 1.9; margin-bottom: 16px; }
.wf-close { margin-top: 22px; padding-top: 20px; border-top-style: solid; line-height: 1.9; }
.cta { padding: 53px 0; }
.dl-wrap { margin-top: 24px; }
.dl-wrap .btn { border-radius: 18px; box-shadow: 0 4px 0 #195e53, 0 8px 18px rgba(15, 61, 56, .16); }
.cta-chips { gap: 0; margin-top: 24px; }
.cta-chips .chip { background: transparent; font-weight: 600; font-size: 11.5px; padding: 0 9px; border-radius: 0; }
.cta-chips .chip + .chip { border-left: 1px solid rgba(99, 78, 13, .25); }
.rm-list { margin-top: 24px; }
.rm-item { position: relative; border-radius: 14px; padding: 20px 43px 20px 20px; border-color: #c8dfd6; }
.rm-item::after { content: ''; position: absolute; top: 23px; right: 19px; width: 16px; height: 16px; background: currentColor; color: var(--teal-deep); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.rm-item > span { margin-top: 7px; line-height: 1.7; }
@media (min-width: 560px) {
  .how-steps { gap: 14px; }
  .how-step:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: calc(50% + 25px); width: calc(100% - 26px); border-top: 1px dashed rgba(15, 61, 56, .18); pointer-events: none; }
}
@media (max-width: 559px) {
  section { padding: 48px 0; }
  .site-header .wrap { height: 56px; }
  .hero { padding: 33px 0 0; }
  .hero-proof { font-size: 12px; padding: 7px 12px; }
  .hero-chips .chip { font-size: 11.5px; padding: 6px 10px; }
  .rung { padding: 18px 16px; }
  .rung.free { padding: 21px 17px 19px; }
  .rung-t { font-size: 14px; }
  .rung.free .rung-t { font-size: 16px; }
  .wf-card { padding: 29px 22px 25px; }
  .wf-card::before { left: 22px; }
}
@media (max-width: 359px) {
  .site-header .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 9px; }
  .nav a.lnk, .site-header .btn-sm { font-size: 12px; }
  .site-header .btn-sm { padding: 8px 12px; }
  .rung.free .rung-t { font-size: 14px; }
}
/* Interactive links keep their content visible; touch and keyboard get the same cues. */
.lp-progress { position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--teal-deep); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:active { transform: translateY(1px); }
.nav .lnk { position: relative; padding: 8px 0; }
.nav .lnk::after { content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 2px; border-radius: 2px; background: #d6a400; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav .lnk:focus-visible::after { transform: scaleX(1); }
.rm-item, .rescue-vs { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.rm-item::after { transition: transform .24s ease; }
.rm-item:focus-visible, .rescue-vs:focus-visible { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,61,56,.13); }
.rm-item:focus-visible::after { transform: translateX(4px); }
.btn:focus-visible { transform: translateY(-3px); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-3px); }
  .btn-primary:hover { background: #f3c721; box-shadow: 0 5px 0 rgba(109,81,0,.16), 0 9px 18px rgba(109,81,0,.13); }
  .btn-teal:hover { background: #236f65; box-shadow: 0 5px 0 #195e53, 0 10px 22px rgba(15,61,56,.21); }
  .btn-line:hover { box-shadow: 0 7px 16px rgba(6,199,85,.2); }
  .nav .lnk:hover::after { transform: scaleX(1); }
  .rm-item:hover, .rescue-vs:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,61,56,.13); border-color: var(--teal-deep); }
  .rm-item:hover::after { transform: translateX(4px); }
}
.ps-num { font-variant-numeric: tabular-nums; }
/* Proof counters: one fixed-width cell per digit (--lp-digit, measured from the font), the same
   before, during and after the roll. Rows match .ps-num's 1.1 line-height. Screen readers and
   copy get .lp-count-sr, the plain number. */
.lp-count { position: relative; white-space: nowrap; }
.lp-count-reels { display: inline-flex; vertical-align: top; height: 1.1em; line-height: 1.1; user-select: none; }
.lp-count-cell { display: block; height: 1.1em; }
.lp-count-reel { width: var(--lp-digit, .65em); text-align: center; -webkit-clip-path: inset(0 -.2em); clip-path: inset(0 -.2em); }
.lp-count-strip { display: block; will-change: transform; }
.lp-count-strip > span { display: block; height: 1.1em; }
.lp-count-reels [data-d]::before { content: attr(data-d); }
.lp-count-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media print {
  .lp-count-reels { display: none; }
  .lp-count-sr { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .rm-item, .rescue-vs, .rm-item::after, .nav .lnk::after { transition: none; }
  .btn:hover, .btn:focus-visible, .rm-item:hover, .rm-item:focus-visible, .rescue-vs:hover, .rescue-vs:focus-visible, .rm-item:hover::after, .rm-item:focus-visible::after { transform: none; }
}
