/*
  List Total marketing site — Option 1B ("Paper light").
  Translated from design/2026-07-09__site-landing. Light theme is the
  shipped direction; the dark token set is kept as the :root default so the
  palette matches the app's design system and a dark variant stays cheap.
*/

:root {
  --sys: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --mono2: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wall-a: #2b2721;
  --wall-b: #100e0b;
  --wall-glow: rgba(255, 167, 46, 0.16);
  --win-bg: #1a1712;
  --win-top: #221e17;
  --win-line: rgba(255, 255, 255, 0.07);
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.028);
  --hair: rgba(255, 255, 255, 0.09);
  --hair-2: rgba(255, 255, 255, 0.05);
  --ink: #efece4;
  --ink-2: #a09a8c;
  --ink-3: #6b6455;
  --ink-4: #413b30;
  --brand: #ffa72e;
  --brand-ink: #231a05;
  --paper: #f6f1e4;
  --paper-2: #ece4d0;
  --paper-ink: #33302a;
  --paper-ink2: #8d8574;
  --paper-line: rgba(51, 48, 42, 0.16);
  --pos: #43b45f;
  --neg: #e5564b;
  --rem: #4a8dff;
  --shadow-win: 0 60px 120px -30px rgba(0, 0, 0, 0.7), 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  --shadow-paper: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
}

:root[data-theme='light'] {
  --wall-a: #ece7db;
  --wall-b: #cfc8b8;
  --wall-glow: rgba(200, 120, 0, 0.13);
  --win-bg: #f7f4ec;
  --win-top: #efebe0;
  --win-line: rgba(0, 0, 0, 0.08);
  --panel: rgba(255, 255, 255, 0.62);
  --panel-2: rgba(255, 255, 255, 0.4);
  --hair: rgba(0, 0, 0, 0.09);
  --hair-2: rgba(0, 0, 0, 0.05);
  --ink: #211d16;
  --ink-2: #6e675a;
  --ink-3: #a49d8d;
  --ink-4: #d1cabb;
  --brand: #1f8a42;
  --brand-ink: #fff;
  --pos: #1f8a42;
  --neg: #cc3a2f;
  --rem: #1d6ae5;
  --shadow-win: 0 60px 120px -35px rgba(0, 0, 0, 0.32), 0 18px 44px -22px rgba(0, 0, 0, 0.22);
  --shadow-paper: 0 16px 34px -14px rgba(60, 45, 20, 0.3);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sys);
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 70% -10%, var(--wall-glow), transparent 55%),
    linear-gradient(160deg, var(--wall-a), var(--wall-b) 90%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: var(--brand);
}
a:hover {
  opacity: 0.82;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.section {
  border-top: 1px solid var(--hair);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sys);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
}
.btn-primary {
  font-size: 15px;
  color: var(--brand-ink);
  background: var(--brand);
  padding: 13px 26px;
  box-shadow:
    0 10px 22px -8px color-mix(in srgb, var(--brand) 45%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--hair);
  padding: 13px 22px;
}
.btn-sm {
  font-size: 13px;
  color: var(--brand-ink);
  background: var(--brand);
  padding: 9px 18px;
  border-radius: 11px;
  box-shadow:
    0 8px 18px -8px color-mix(in srgb, var(--brand) 40%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand svg {
  border-radius: 6px;
  flex: none;
}
.brand-word {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--ink);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow-brand {
  letter-spacing: 0.26em;
  color: var(--brand);
}
h1 {
  font-family: var(--sys);
  font-weight: 800;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 18px 0 0;
}
h2 {
  font-family: var(--sys);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 0;
}
.lede {
  font-family: var(--sys);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 440px;
  margin: 20px 0 0;
}
.body {
  font-family: var(--sys);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 16px 0 0;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 40px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 80px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.platform-row {
  display: flex;
  /* Row gap only applies once the line wraps on narrow screens, where 36px
     would read as two unrelated lines rather than one caption. */
  gap: 8px 36px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.platform-row span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ---------- Receipt + printer illustration ---------- */
.illustration {
  justify-self: center;
  filter: drop-shadow(0 30px 54px rgba(60, 45, 20, 0.28));
  animation: floatY 6s ease-in-out infinite;
}
.printer {
  width: 250px;
  height: 13px;
  margin: 0 -3px -1px;
  background: linear-gradient(180deg, #4a4437, #2c281f);
  border-radius: 7px;
  box-shadow:
    0 8px 16px -6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  position: relative;
  z-index: 3;
}
.printer-slot {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 5px;
  height: 3.5px;
  background: #0d0b08;
  border-radius: 2px;
}
.printer-led {
  position: absolute;
  right: 12px;
  top: 4.5px;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--pos);
  animation: pulse 2.2s infinite;
}
.paper {
  width: 243px;
  background: var(--paper);
  padding: 22px 20px 6px;
  text-align: center;
  box-shadow: 0 18px 34px -12px rgba(60, 45, 20, 0.3);
}
.paper-stars {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--paper-ink2);
}
.paper-word {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.18em;
  color: var(--paper-ink);
  margin-top: 9px;
}
.paper-date {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--paper-ink2);
  margin-top: 5px;
}
.paper-dash {
  border-top: 1px dashed var(--paper-line);
  margin: 12px 0 3px;
}
.paper-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--paper-ink);
  padding: 6px 0;
  text-align: left;
}
.paper-row .paper-item {
  display: inline-flex;
  flex-direction: column;
}
.paper-row .qty {
  font-size: 10px;
  color: var(--paper-ink2);
  margin-top: 2px;
}
.paper-row-done {
  color: var(--paper-ink2);
}
.paper-row-done .strike {
  text-decoration: line-through;
}
.paper-rule {
  border-top: 1.5px solid var(--paper-ink);
  margin-top: 5px;
}
.paper-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--paper-ink);
  padding: 9px 0 4px;
}
.paper-barcode {
  margin-top: 10px;
  height: 16px;
  opacity: 0.85;
  background: repeating-linear-gradient(
    90deg,
    var(--paper-ink) 0 2px,
    transparent 2px 4px,
    var(--paper-ink) 4px 7px,
    transparent 7px 9px,
    var(--paper-ink) 9px 10px,
    transparent 10px 14px
  );
}
.paper-foot {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--paper-ink2);
  letter-spacing: 0.2em;
  margin: 7px 0 16px;
}
.paper-torn {
  display: block;
  width: 243px;
  height: 8px;
}

/* ---------- Anatomy ---------- */
.anatomy {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.receipt-card {
  background: var(--paper);
  padding: 22px 22px 4px;
  box-shadow: var(--shadow-paper);
}
.rc-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-line);
}
.rc-item.baseline {
  align-items: baseline;
}
.rc-item:last-of-type {
  border-bottom: 0;
}
.rc-ring {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
}
.rc-check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pos);
  display: grid;
  place-items: center;
}
.rc-body {
  flex: 1;
}
.rc-title {
  font-family: var(--sys);
  font-size: 17px;
  font-weight: 500;
  color: var(--paper-ink);
}
.rc-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--paper-ink2);
  margin-top: 2px;
}
.rc-amt {
  font-family: var(--mono2);
  font-size: 16px;
  color: var(--paper-ink);
}
.rc-done .rc-title,
.rc-done .rc-amt {
  color: var(--paper-ink2);
}
.rc-done .rc-title {
  text-decoration: line-through;
}
.rc-rule {
  border-top: 1.5px solid var(--paper-ink);
  margin-top: 4px;
}
.rc-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--paper-ink);
  padding: 10px 0 18px;
}
.legend {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.legend-item span:first-child {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 2px;
}
.legend-open span:first-child {
  border: 1.6px solid var(--brand);
}
.legend-done span:first-child {
  background: var(--pos);
}
.legend-item span:last-child {
  font-family: var(--sys);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 180px;
}

/* ---------- Platforms ---------- */
.platforms {
  padding-top: 60px;
  padding-bottom: 60px;
}
.platforms-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.platforms-head p {
  font-family: var(--sys);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 340px;
  margin: 0;
}
.devices {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  margin-top: 40px;
  flex-wrap: wrap;
}
.device-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--wall-a), var(--wall-b));
  position: relative;
  overflow: hidden;
}
.device-paper {
  background: var(--paper);
}
.device-iphone {
  width: 110px;
  height: 212px;
  border-radius: 20px;
  background: #100e0b;
  padding: 5px;
  box-shadow: var(--shadow-win);
}
.device-iphone .device-screen {
  border-radius: 16px;
}
.device-iphone .device-paper {
  width: 80px;
  margin: 24px auto 0;
  height: 56px;
}
.device-ipad {
  width: 210px;
  height: 158px;
  border-radius: 13px;
  background: #100e0b;
  padding: 6px;
  box-shadow: var(--shadow-win);
}
.device-ipad .device-screen {
  border-radius: 8px;
}
.device-ipad .device-paper {
  width: 64px;
  height: 100px;
  margin: 18px auto 0;
}
.device-mac {
  width: 280px;
  height: 170px;
  border-radius: 12px;
  background: var(--win-bg);
  border: 1px solid var(--win-line);
  box-shadow: var(--shadow-win);
  display: flex;
  overflow: hidden;
}
.device-mac .mac-side {
  width: 70px;
  background: var(--win-top);
  border-right: 1px solid var(--hair-2);
}
.device-mac .mac-main {
  flex: 1;
  background: linear-gradient(160deg, var(--wall-a), var(--wall-b));
  position: relative;
}
.device-mac .device-paper {
  width: 86px;
  height: 104px;
  margin: 26px auto 0;
}

/* ---------- Privacy ---------- */
.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 100px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding: 6px 14px;
  border-radius: 9px;
  font-family: var(--sys);
  font-size: 13px;
  font-weight: 600;
  background: color-mix(in srgb, var(--rem) 16%, transparent);
  color: var(--rem);
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rem);
}
.checklist {
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--panel-2);
}
.check-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pos);
  flex: none;
}
.check-row span:last-child {
  font-family: var(--sys);
  font-size: 13.5px;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer .wrap {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.footer-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  margin-left: auto;
  margin-right: 20px;
}
.footer-link:hover {
  color: var(--brand);
}

/* ---------- Keyframes ---------- */
@keyframes tlFeed {
  0% {
    transform: translateY(-14px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes tlPrint {
  0% {
    opacity: 0;
    transform: translateY(-4px);
    clip-path: inset(0 0 100% 0);
  }
  60% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }
}
@keyframes tlRoll {
  0% {
    transform: translateY(0.6em);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--pos) 55%, transparent);
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/*
  Motion: default (no-JS, reduced-motion) is fully visible and static. When
  main.js confirms motion is allowed it sets html.motion, which arms the
  hero print-in sequence and the pre-reveal hidden state for scroll sections.
*/
.motion .anim-b1 {
  animation: tlRoll 0.5s ease-out 0.05s both;
}
.motion .anim-b2 {
  animation: tlRoll 0.55s ease-out 0.15s both;
}
.motion .anim-b3 {
  animation: tlRoll 0.55s ease-out 0.25s both;
}
.motion .anim-b4 {
  animation: tlRoll 0.55s ease-out 0.35s both;
}
.motion .anim-feed {
  animation: tlFeed 0.5s cubic-bezier(0.2, 0.8, 0.3, 1) 0.15s both;
}
.motion .anim-row1 {
  animation: tlPrint 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) 0.55s both;
}
.motion .anim-row2 {
  animation: tlPrint 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) 0.78s both;
}
.motion .anim-row3 {
  animation: tlPrint 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) 1s both;
}
.motion .anim-total {
  animation: tlRoll 0.45s cubic-bezier(0.2, 0.8, 0.3, 1) 1.3s both;
}

.motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.motion .reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .illustration,
  .printer-led {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
  .illustration {
    justify-self: start;
    margin-top: 8px;
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 28px;
  }
  .anatomy {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .privacy {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .checklist {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
  }
  h1 {
    font-size: 38px;
  }
}

/* ---------- New-design (flat receipt) mockups in the Platforms section ---------- */
.nu-gallery {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
}
/* Each 334px handoff device is scaled down to fit a 250px phone; the wrapper
   clips to the scaled bezel and carries the drop shadow. */
.nu-phone {
  width: 250px;
  height: 540px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-win);
}
.nu-phone > div {
  transform: scale(0.7485);
  transform-origin: top left;
}

/* ---------- Flat hero card (new design) ---------- */
.flatcard {
  width: 300px;
  background: var(--paper);
  border-radius: 22px;
  padding: 26px 24px 14px;
  box-shadow: var(--shadow-paper);
}
.fc-count {
  text-align: center;
  font: 400 14px var(--sys);
  color: var(--paper-ink2);
}
.fc-total {
  text-align: center;
  font: 700 52px/1 var(--mono2);
  letter-spacing: -0.02em;
  color: var(--paper-ink);
  margin-top: 4px;
}
.fc-progress {
  margin: 20px 0 4px;
}
.fc-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--paper-2);
  overflow: hidden;
}
.fc-bar span {
  display: block;
  height: 100%;
  background: var(--pos);
  border-radius: 3px;
}
.fc-prog-cap {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font: 400 12px var(--sys);
  color: var(--paper-ink2);
}
.fc-prog-cap span:last-child {
  font-family: var(--mono2);
}
.fc-rows {
  margin-top: 14px;
}
.fc-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--paper-line);
}
.fc-row:last-child {
  border-bottom: 0;
}
.fc-disc {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
}
.fc-check {
  border: 0;
  background: var(--pos);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.fc-body {
  flex: 1;
}
.fc-name {
  font: 500 17px var(--sys);
  color: var(--paper-ink);
}
.fc-sub {
  font: 400 12px var(--mono2);
  color: var(--paper-ink2);
  margin-top: 2px;
}
.fc-amt {
  font: 400 16px var(--mono2);
  color: var(--paper-ink);
}
.fc-done .fc-name,
.fc-done .fc-amt {
  color: var(--paper-ink2);
  text-decoration: line-through;
}
