/* Hallmark · shape: Minimal App Trio · genre: modern-minimal · theme: brand · brand: Woo Finance (spec 2026-11-27)
 * paper: oklch(98.6% 0.004 55) · accent: oklch(50% 0.195 36) · display: Rethink Sans · body: Onest · hero: Corridor · nav: minimal corner link · footer: quiet line · signature: centered app mark over three Woo-palette iPhone showcase cards and six clean feature rows · job: try · copy: verbatim
 * axes: light/grotesk-sans/chromatic-orange · posture: Committed · imagery: screenshots 3 (capture) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · weakest: R, stripped multi-section navigation, currencies wall, and dual pricing cards to match the minimal one-page clarity the owner asked for */
@import url("./tokens.css");
@import url("./base.css");

/* Skip link */
.skip {
  position: absolute;
  left: var(--space-md);
  top: calc(-1 * var(--space-3xl));
  z-index: var(--z-toast);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-ink);
  color: var(--color-paper);
  border-radius: var(--radius-inner);
  text-decoration: none;
}
.skip:focus-visible {
  top: var(--space-md);
}

/* Minimal top utility bar */
.top-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: var(--space-md);
}
.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-2);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.lang-link:hover {
  color: var(--color-ink);
  background: var(--color-paper-2);
}

/* Shared subpage header (Privacy & Support) */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  background: var(--color-paper);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 68px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-brand-mark);
}
.wordmark {
  font-family: var(--font-outlier);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-short) var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-ink);
}

/* Primary & quiet button recipes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 50px;
  padding: 0 var(--space-xl);
  border: var(--rule-hair) solid var(--color-ink);
  border-radius: var(--radius-inner);
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover {
  background: var(--color-ink-2);
  border-color: var(--color-ink-2);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn--quiet {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-rule);
}
.btn--quiet:hover {
  background: var(--color-paper-2);
  border-color: var(--color-muted);
}

/* Minimal centered hero (1Money-inspired hierarchy with Woo Finance identity) */
.hero-minimal {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-2xl);
}
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.app-badge {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-long) var(--ease-out);
}
.app-badge:hover {
  transform: translateY(-3px);
}
.hero-intro h1 {
  max-width: 16ch;
}
.hero-intro .lead {
  max-width: 44ch;
  color: var(--color-ink-2);
}

/* Three showcase cards */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  max-width: 960px;
  margin-inline: auto;
}
.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-lg) 0;
  border-radius: var(--radius-card);
  color: var(--color-card-ink);
  overflow: hidden;
  text-align: center;
  transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out);
}
.showcase-card--orange {
  background: linear-gradient(160deg, var(--color-card-orange-top), var(--color-card-orange-bottom));
}
.showcase-card--green {
  background: linear-gradient(160deg, var(--color-card-green-top), var(--color-card-green-bottom));
}
.showcase-card--graphite {
  background: linear-gradient(160deg, var(--color-card-graphite-top), var(--color-card-graphite-bottom));
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.showcase-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--space-xs);
}
.showcase-head h2 {
  font-size: var(--text-xl);
  line-height: 1.15;
  color: var(--color-card-ink);
  max-width: 16ch;
}
.showcase-phone {
  width: 214px;
  aspect-ratio: 644 / 1180;
  margin: 0;
  border-radius: var(--radius-screen) var(--radius-screen) 0 0;
  box-shadow: var(--shadow-phone);
  background: var(--color-paper);
  transform: translateY(6px);
  transition: transform var(--dur-long) var(--ease-out);
}
.showcase-phone[data-slot] > img {
  object-fit: cover;
  object-position: 50% 0%;
}
.showcase-card:hover .showcase-phone {
  transform: translateY(0);
}

/* Six clean two-column feature rows */
.features-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-2xl);
  max-width: 960px;
  margin-inline: auto;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.feature-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: var(--space-3xs);
  color: var(--color-accent);
}
.feature-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.feature-copy h2 {
  font-size: var(--text-title);
  line-height: 1.25;
  color: var(--color-ink);
}
.feature-copy p {
  font-size: var(--text-md);
  color: var(--color-ink-2);
  line-height: 1.5;
  max-width: 46ch;
}

/* Bottom CTA & minimal footer */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-2xl);
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 54px;
  padding: 0 var(--space-xl);
  border-radius: var(--radius-inner);
  background: var(--color-ink);
  color: var(--color-paper);
  text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.store-badge:hover {
  background: var(--color-ink-2);
}
.store-badge:active {
  transform: translateY(1px);
}
.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.store-badge-sub {
  font-size: var(--text-xs);
  opacity: 0.86;
}
.store-badge-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}
.cta-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.minimal-footer {
  padding-block: var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.minimal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.minimal-footer-links a {
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-short) var(--ease-out);
}
.minimal-footer-links a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

/* Prose pages (Privacy & Support) */
.doc-section {
  padding-block: var(--section-gap-s);
}
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: var(--space-2xl);
}
.doc-meta {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.doc-meta p {
  color: var(--color-muted);
}
.doc-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 65ch;
}
.doc-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.doc-block p {
  color: var(--color-ink-2);
  line-height: 1.65;
}
.site-footer {
  padding-block: var(--space-2xl);
  background: var(--color-paper-2);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.footer-links a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}
.footer-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Staggered reveal animations */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .app-badge,
  .showcase-card,
  .showcase-phone,
  .btn,
  .store-badge {
    transition: none;
  }
}

@media (max-width: 60rem) {
  .trio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
  }
  .showcase-phone {
    width: 170px;
  }
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .doc-meta {
    position: static;
  }
}

@media (max-width: 44rem) {
  .trio-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
  }
  .showcase-phone {
    width: 220px;
  }
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
}
