/* Hallmark: 2.0.0 | theme: rinse-sorting-board (kept-brand) | genre: modern-minimal | shape: dense-tiles | hero: two-by-two-board | signature: live-laundry-ticket-and-wa-nota */
/* critique: mineral linen #f4f6f3 ground, sage sorting board #e6ebe4, botanical forest #172b28, emerald #275e4a accent; Space Grotesk + DM Sans self-hosted; zero gradients, zero resting shadows */

:root {
  --bg: #f4f6f3;
  --surface: #e6ebe4;
  --surface-2: #dce3da;
  --forest: #172b28;
    --ink: #172b28;
  --muted: #465c56;
  --accent: #275e4a;
  --accent-ink: #ffffff;
  --ui-bg: #111d1a;
  --ui-raised: #192925;
  --ui-chip: #223530;
  --ui-ink: #f2f5f2;
  --ui-muted: #a6bab3;
  --ui-gold: #e7b556;
  --ui-ok: #5dd39e;
  --ui-ok-bg: #163327;
  --radius: 8px;
  --gutter: clamp(16px, 3vw, 32px);
  --container: 1280px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

input, select, textarea {
  font-size: max(16px, 1rem);
}

button, a, [role="button"] {
  touch-action: manipulation;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  transition: none;
}

.num {
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Top tile bar */
.topbar {
  padding-block: 16px;
}

.topbar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-tile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  background-color: var(--forest);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-tile {
  display: none;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius);
  background-color: var(--surface);
  font-size: 16px;
  color: var(--ink);
}

@media (min-width: 760px) {
  .nav-tile {
    display: inline-flex;
  }
}

.nav-tile a {
  white-space: nowrap;
  transition: opacity 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-tile a:hover {
    opacity: 0.65;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), opacity 150ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-dark {
  background-color: var(--forest);
  color: var(--bg);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-quiet {
  background-color: var(--surface);
  color: var(--ink);
}

/* Headings: strictly 5 sizes across the whole page (14 / 16 / 24 / 36 / 52) */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  text-wrap: balance;
  min-width: 0;
}

/* Hero: Two-by-two board */
.hero {
  padding-top: 8px;
  padding-bottom: clamp(56px, 8vw, 108px);
}

.board-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

@media (min-width: 960px) {
  .board-hero {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

.board-col {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tile {
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 28px);
  min-width: 0;
}

.tile-paper {
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2.125rem, 3.8vw, 3.25rem);
  line-height: 1.02;
  color: var(--ink);
  max-width: 15ch;
}

.hero-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 44ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pair-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tile-forest {
  background-color: var(--forest);
  color: var(--bg);
}

.tile-accent {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.tile-stat {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.tile-desc {
  margin: 8px 0 0;
  font-size: 16px;
  opacity: 0.88;
}

.tile-photo {
  padding: 0;
  overflow: hidden;
  background-color: var(--surface);
}

.tile-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

/* Live Interactive POS Ticket & WhatsApp Nota Simulator (data-ui) */
.tile-ui {
  background-color: var(--ui-bg);
  color: var(--ui-ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ui-title {
  font-size: 16px;
  font-weight: 600;
}

.ui-tag {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: var(--ui-ok-bg);
  color: var(--ui-ok);
}

.ui-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ui-seg button {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--ui-raised);
  color: var(--ui-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out), transform 140ms var(--ease-out);
}

.ui-seg button:active {
  transform: scale(0.97);
}

.ui-seg button[aria-pressed="true"] {
  background-color: var(--ui-ink);
  color: var(--ui-bg);
}

.ui-box {
  background-color: var(--ui-raised);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.ui-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--ui-muted);
}

.ui-row strong {
  color: var(--ui-ink);
  font-weight: 600;
}

.ui-range {
  width: 100%;
  accent-color: var(--ui-gold);
  cursor: pointer;
}

.ui-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 8px;
}

.ui-total-val {
  font-size: 24px;
  font-weight: 600;
  color: var(--ui-gold);
}

.ui-wa {
  background-color: var(--ui-chip);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ui-ink);
}

/* Sections */
.band {
  padding-block: clamp(64px, 8vw, 120px);
}

.band-surface {
  background-color: var(--surface);
}

.section-head {
  font-size: clamp(2rem, 3.2vw, 2.25rem);
  line-height: 1.06;
  color: var(--ink);
  max-width: 20ch;
}

/* Section 1: Showcase Departure Board + Real Screenshots */
.board-showcase {
  margin-top: 32px;
  display: grid;
  gap: 4px;
}

.board-row {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--ui-bg);
  color: var(--ui-ink);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  transition: background-color 150ms var(--ease-out), transform 140ms var(--ease-out);
}

.board-row:active {
  transform: scale(0.99);
}

@media (min-width: 760px) {
  .board-row {
    grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) 130px auto;
  }
}

.board-row[aria-expanded="true"] {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.board-row span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.row-meta {
  font-size: 16px;
  opacity: 0.86;
}

.row-hide-sm {
  display: none;
}

@media (min-width: 760px) {
  .row-hide-sm {
    display: block;
  }
}

.row-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--ui-chip);
  color: var(--ui-ok);
  white-space: nowrap;
}

.board-row[aria-expanded="true"] .row-badge {
  background-color: var(--forest);
  color: var(--bg);
}

.row-detail {
  display: none;
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.row-detail.open {
  display: grid;
}

@media (min-width: 760px) {
  .row-detail {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.row-detail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: var(--radius);
}

/* Gallery strip of 4 real Rinse POS screens */
.screens-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 760px) {
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.screen-card {
  margin: 0;
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
}

.screen-card figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* Section 2: How It Works - Proportional Stage Bar */
.stage-bar {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 760px) {
  .stage-bar {
    flex-direction: row;
  }
}

.stage-seg {
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  min-width: 0;
}

.seg-1 {
  background-color: var(--forest);
  color: var(--bg);
  flex: 1 1 20%;
}

.seg-2 {
  background-color: var(--surface-2);
  color: var(--ink);
  flex: 2 1 55%;
}

.seg-3 {
  background-color: var(--accent);
  color: var(--accent-ink);
  flex: 1 1 25%;
}

.seg-time {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.seg-copy {
  margin: 12px 0 0;
  font-size: 16px;
  max-width: 28ch;
}

/* Section 3: Pricing as Large Comparison Table */
.price-table-wrap {
  margin-top: 32px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  font-size: 16px;
  vertical-align: top;
}

.price-table thead th {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.price-val {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 759px) {
  .price-table thead tr,
  .price-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding-block: 12px;
  }
  .price-table th,
  .price-table td {
    padding: 8px 16px;
  }
}

.price-table tbody tr:nth-child(odd) {
  background-color: var(--surface);
}

.col-pro {
  background-color: var(--accent);
  color: var(--accent-ink);
}

/* Section 4: FAQ Full-Bleed Alternating Bands */
.faq-head-band {
  background-color: var(--accent);
  color: var(--accent-ink);
  padding-block: clamp(48px, 6vw, 84px);
}

.faq-head-band .section-head {
  color: var(--accent-ink);
}

.faq-band {
  padding-block: 40px;
  background-color: var(--bg);
}

.faq-band.alt {
  background-color: var(--surface);
}

.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (min-width: 820px) {
  .faq-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
  }
}

.faq-q {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.faq-a {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}

/* Section 5: CTA Action Tile */
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 860px) {
  .cta-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.cta-tile {
  background-color: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.cta-tile h2 {
  font-size: clamp(2rem, 3.2vw, 2.25rem);
  line-height: 1.08;
  max-width: 18ch;
}

.cta-side {
  background-color: var(--forest);
  color: var(--bg);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 16px;
  align-content: center;
}

.cta-side dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.cta-side dt {
  font-size: 16px;
  font-weight: 600;
}

.cta-side dd {
  margin: 2px 0 0;
  font-size: 16px;
  opacity: 0.85;
}

/* Footer: Large constructed wordmark + links */
.site-footer {
  background-color: var(--forest);
  color: var(--bg);
  padding-block: clamp(44px, 6vw, 72px);
}

.footer-mark {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  min-height: 96px;
  margin-bottom: 40px;
}

.mark-block {
  background-color: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.mark-block:nth-child(1) { height: 96px; }
.mark-block:nth-child(2) { height: 72px; background-color: var(--surface); color: var(--ink); }
.mark-block:nth-child(3) { height: 84px; }
.mark-block:nth-child(4) { height: 64px; background-color: var(--surface); color: var(--ink); }
.mark-block:nth-child(5) { height: 92px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Scroll reveal: visible by default when no-js or reduced-motion */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
