/* ApronTally M0 page: only what the kit leaves to page CSS (the app mock inside the hero window, the card
   panels' mini screens, the facts rows, the honeypot field and the consent bar). */

/* hero window: the app's estimate screen */
.app { background: #fffdf9; border-radius: 18px; box-shadow: 0 0 0 1px rgb(31 27 24 / .12), 0 30px 60px -30px rgb(31 27 24 / .35); overflow: hidden; color: var(--ink); font: 400 14px/1.4 var(--font-text); text-align: left; }
.app__bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid rgb(31 27 24 / .1); }
.app__bar span:last-child { margin-left: auto; color: var(--muted); font-size: 13px; }
.app__bar b { font-weight: 500; }
.app__dots { display: flex; gap: 6px; } .app__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(31 27 24 / .14); }
.app__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.app__shifts { padding: 16px; border-right: 1px solid rgb(31 27 24 / .1); display: grid; gap: 10px; align-content: start; }
.app__estimate { padding: 16px 20px; display: grid; gap: 8px; align-content: start; }
.app__label { margin: 0; color: var(--muted); font-size: 13px; }
.shift { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; background: var(--p-surface); }
.shift b { font-weight: 500; } .shift span { grid-row: 2; color: var(--muted); font-size: 13px; }
.shift em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font: 500 18px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.shift small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.app__big { margin: 0; font: var(--display-weight) 40px/1.05 var(--font-display); letter-spacing: var(--display-tracking); font-variant-numeric: tabular-nums; }
.cap { height: 8px; border-radius: 99px; background: rgb(31 27 24 / .1); overflow: hidden; }
.cap i { display: block; height: 100%; background: var(--p-accent); border-radius: 99px; }
.app__row { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid rgb(31 27 24 / .08); font-size: 13px; }
.app__row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.app__note { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 639px) {
  .app__body { grid-template-columns: 1fr; }
  .app__shifts { border-right: 0; border-bottom: 1px solid rgb(31 27 24 / .1); }
  .app__shifts .shift:nth-of-type(n+2) { display: none; }
  .app__estimate .app__row:nth-of-type(n+3), .app__note { display: none; }
}

/* the three card panels: a small screen of the app each */
#features .panel { --p-h: 220px; display: grid; place-items: center; }
.mini { width: min(260px, calc(100% - 48px)); background: #fffdf9; border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px rgb(31 27 24 / .1), 0 16px 32px -20px rgb(31 27 24 / .4); font: 400 14px/1.4 var(--font-text); color: var(--ink); display: grid; gap: 8px; }
.mini p { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini--form p:not(.mini__save) { padding-bottom: 6px; border-bottom: 1px solid rgb(31 27 24 / .08); }
.mini b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mini__save { justify-content: center !important; height: 36px; border-radius: 99px; background: var(--p-accent); color: var(--p-accent-ink); font-weight: 500; }
.mini__big { font: var(--display-weight) 32px/1.1 var(--font-display) !important; letter-spacing: var(--display-tracking); justify-content: flex-start !important; }
.mini--cap p:last-child { color: var(--muted); font-size: 13px; }
.mini--files p { justify-content: flex-start; padding: 6px 0; }
.chip { font-style: normal; font: 500 12px/1 var(--font-mono); padding: 6px 8px; border-radius: 6px; background: var(--p-surface); }
.mini--files p:first-child .chip { background: #f3d9d2; color: #8a2a17; }

/* the deduction facts: two columns of label and line, a hairline closing each row */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: var(--t-label); font-weight: 500; padding-top: 3px; }
.facts dd { margin: 0; font-size: var(--t-lead); line-height: 1.45; }
.facts__link { margin: var(--s-6) 0 0; }
@media (max-width: 899px) { .facts { grid-template-columns: 1fr; } .facts > div { grid-template-columns: 7rem 1fr; padding: var(--s-4) 0; } }

/* the waitlist form: selects take the inputs' look; the honeypot never shows */
.form select { width: 100%; height: 48px; padding: 0 14px; font: 400 16px/1 var(--font-text); color: var(--ink); background: var(--bg, #fff); border: 1px solid var(--line-strong, rgb(31 27 24 / .3)); border-radius: var(--r-sm); }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the analytics choice: decline and accept with equal weight, nothing loads before a choice */
.consent { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 20px; background: var(--p-inv-bg); color: var(--p-inv-ink); border-radius: 16px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .5); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; font-size: 15px; line-height: 1.45; }
.consent__btns { display: flex; gap: 8px; }
.consent .btn--secondary { color: var(--p-inv-ink); border-color: rgb(248 245 239 / .5); background: transparent; }
.consent-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* round 2: ink lead, top-aligned app columns, the export and job-check panels, two selects side by side */
.hero--centred .hero__lead { color: var(--ink); }
.app__body { align-items: start; }
.app__big { font-size: 34px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 639px) { .form__pair { grid-template-columns: 1fr; } }
.panel--export { display: grid; place-items: center; padding: var(--s-6); background: var(--p-surface); border-radius: var(--r-lg); min-height: 420px; }
.panel--export .app { width: min(420px, 100%); }
.report { padding: 16px 20px 20px; display: grid; gap: 10px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 6px; height: 120px; }
.bars i { display: block; height: calc(var(--v) * 100%); border-radius: 4px 4px 2px 2px; background: var(--p-accent); opacity: .85; }
.report__btns { display: flex; gap: 8px; margin-top: 4px; }
.panel--check { display: grid; place-items: center; padding: var(--s-6); background: var(--p-surface); border-radius: var(--r-lg); min-height: 240px; }
.mini--check .ok { color: #1e6b3a; font-weight: 500; justify-content: flex-start !important; }
.mini--check .ok::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #1e6b3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 639px) { #features .panel { --p-h: 300px; } }
.form > .field, .form > .form__pair, .form > .btn-row, .form > p { grid-column: 1 / -1; }
.form__pair .field { min-width: 0; }
/* the consent buttons on the dark bar: the pill look's light secondary ground would hide the light label */
html[data-buttons] .consent .btn.btn--secondary { background: rgb(248 245 239 / .12); color: #f8f5ef; border-color: rgb(248 245 239 / .45); }
html[data-buttons] .consent .btn.btn--secondary:hover { background: rgb(248 245 239 / .2); border-color: rgb(248 245 239 / .7); }

/* Store draft: uncropped real iPhone captures, independent store status and pricing. */
.hero--centred .hero__window.store-captures { display: flex; justify-content: center; gap: 24px; padding: 16px; }
.store-captures img { height: 280px; max-height: 100%; width: auto; object-fit: contain; border-radius: 16px; }
.pricing-grid { margin-bottom: 40px; }
.price { font-size: 32px; font-variant-numeric: tabular-nums; }
.store-status { margin-top: 32px; }
.store-status a { display: inline-flex; min-height: 48px; align-items: center; }
.store-status a[hidden], [data-store-tm][hidden] { display: none; }
.footer__tm { max-width: 80ch; line-height: 1.6; }
@media(max-width: 639px) { .store-captures img { max-height: 230px; } .store-captures img:not(:first-child) { display: none; } }

.hero--centred .hero__window.store-captures { mask-image: none; -webkit-mask-image: none; align-items: center; }

.pricing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.plan-list { display: grid; gap: 20px; margin-bottom: 24px; }
.plan h3 { font: 500 18px/1.35 var(--font-text); margin: 0 0 8px; }
.plan p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.plan .price { font-size: 28px; }
.pricing-visual { display: flex; justify-content: center; align-items: flex-start; background: var(--p-surface); border-radius: var(--r-lg); padding: 20px; }
.pricing-visual img { height: 520px; width: auto; max-width: 100%; object-fit: contain; border-radius: 16px; }
.consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; justify-content: center; }
.consent p { flex: 0 1 560px; }
footer.closing { padding-bottom: 220px; }
@media(max-width: 639px) { .pricing-layout { grid-template-columns: 1fr; gap: 24px; } .pricing-visual img { height: 400px; } }

.pricing-layout { gap: 24px; }
html[data-buttons] .consent .btn.btn--secondary { background: #e4e1db; color: #1f1b18; border-color: transparent; }
html[data-buttons] .consent .btn.btn--secondary:hover { background: #d8d5cf; color: #1f1b18; }
.nav__actions .btn { min-height: 44px; height: 44px; }
.pricing-layout > div:first-child > p { font-size: 16px; line-height: 1.5; }
.store-status { margin-top: 20px; }
.store-status p { font-size: 16px; line-height: 1.5; margin-block: 8px; }

.pricing-visual img { height: 460px; }
@media(max-width: 639px) { #faq .panel--check { display: none; } .pricing-visual img { height: 400px; } }

/* Review fixes: status belongs in the first screen; support has a normal action. */
.hero-store-status { margin: 12px 0; }
.hero-store-status p { font-size: 15px; margin: 3px 0; }
.hero-store-status a { margin-inline: 6px; }
.hero--centred .hero__window.store-captures { min-height: 160px; margin-top: 20px; }
.hero--centred .store-captures img { height: 100%; max-height: 250px; }
.closing__cta .support-button { width: fit-content; min-height: 48px; padding: 14px 24px; align-self: start; }
#pricing { min-height: 900px; height: auto; }
@media(max-width: 639px) {
  #features, #pricing { height: auto; min-height: 0; padding-block: 56px; }
  .hero-store-status p { font-size: 14px; line-height: 1.35; }
  .hero-store-status a { margin-inline: 0; }
  .hero--centred .hero__window.store-captures { min-height: 100px; padding: 8px; margin-top: 12px; }
  .hero--centred .store-captures img { max-height: 200px; }
  .closing__cta .support-button { width: 100%; }
}

#pricing { min-height: 100svh; }
.hero-store-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.hero-store-status [data-store-status="ios"] { grid-column: 1; grid-row: 1; }
.hero-store-status [data-store-status="android"] { grid-column: 2; grid-row: 1; }
.hero-store-status [data-store-badge="ios"] { grid-column: 1; grid-row: 2; }
.hero-store-status [data-store-badge="android"] { grid-column: 2; grid-row: 2; }
.hero-store-status a { justify-content: center; }
.hero-store-status img { max-width: 140px; object-fit: contain; }
@media(max-width: 639px) {
  #features, #pricing { padding-bottom: 112px; }
  #pricing { min-height: 100svh; }
}

.hero-store-status { display: block; }
.hero-store-status [data-store-status] { display: block; font-size: 15px; line-height: 1.4; margin-block: 4px; }
.hero--centred .store-captures img { max-height: 220px; }
footer.closing { height: auto; min-height: 100svh; }
footer.closing > .wrap { height: auto; display: grid; grid-template-rows: auto auto; gap: 64px; }
.closing__cta .support-button { flex-shrink: 0; }
@media(max-width: 639px) {
 .hero-store-status [data-store-status] { font-size: 14px; line-height: 1.35; }
 .hero-store-status a { display: inline-flex; width: auto; }
 .hero-store-status a[hidden] { display: none; }
 .hero--centred .store-captures img { max-height: 180px; }
}

@media(min-width: 640px) {
 .hero--centred .hero__window.store-captures { padding-bottom: 52px; }
 footer.closing { padding-bottom: 100px; }
}

@media(max-width: 639px) {
 #features, #pricing { padding-block: 56px; }
 #rules, #faq { padding-top: 56px; }
}
