/* Baba Budan marketing site — tokens from app redesign (BAB-31) */

:root {
  --screen: #fcfbf7;
  --card: #f3f0e9;
  --warm: #f6f1e7;
  --canvas: #e8e2d6;

  --ink: #3e3a35;
  --ink-secondary: #6b6560;
  --ink-tertiary: #9a938a;
  --ink-faint: #b3a99b;
  --chevron: #c4bdb2;

  --brown: #8b7355;
  --brown-hover: #6f5c44;
  --gold-on-dark: #c4a882;
  --dark: #3e3a35;

  --hairline: #ede7db;
  --input-border: #dcd4c4;
  --stamp-ring: #b99b6e;

  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;

  --radius-card: 18px;
  --radius-input: 12px;
  --radius-tile: 10px;
  --radius-pill: 999px;

  --gutter: 20px;
  --section: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--screen);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brown);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

a:hover {
  color: var(--brown-hover);
}

/* Atmosphere — soft canvas wash, not a flat fill */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(232, 226, 214, 0.85) 0%, transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--screen) 42%, var(--screen) 100%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 40px);
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-tertiary);
}

.nav-links a {
  color: var(--ink-tertiary);
}

.nav-links a:hover {
  color: var(--brown);
}

/* Hero — own the first viewport; secondary band stays below */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px var(--gutter) 48px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  min-height: calc(100dvh - 76px);
}

.hero-visual {
  width: min(72vw, 280px);
  aspect-ratio: 1;
  margin-bottom: 28px;
  position: relative;
  animation: rise 700ms var(--ease) both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 130, 0.28) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

.hero-brand {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 9vw, 64px);
  font-weight: 400;
  letter-spacing: -0.4px;
  color: var(--ink);
  line-height: 1.05;
  animation: rise 700ms var(--ease) 80ms both;
}

.hero-line {
  margin: 0 0 16px;
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--brown);
  animation: rise 700ms var(--ease) 140ms both;
}

.hero-support {
  margin: 0 auto 32px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
  animation: rise 700ms var(--ease) 200ms both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: rise 700ms var(--ease) 260ms both;
}

.store-badge {
  display: block;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge:active {
  transform: translateY(0) scale(0.98);
}

.store-badge img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .store-badge img {
    height: 52px;
  }
}

/* Quiet secondary band */
.quiet-band {
  border-top: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--warm) 55%, var(--screen));
  padding: 48px var(--gutter) 56px;
}

.quiet-inner {
  max-width: 720px;
  margin: 0 auto;
}

.quiet-heading {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-align: center;
}

.quiet-sub {
  margin: 0 auto 28px;
  max-width: 32em;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-tertiary);
}

.list-rows {
  border-top: 1px solid var(--hairline);
}

.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--hairline);
}

.list-row-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-tile);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--brown);
  flex-shrink: 0;
}

.list-row-icon svg {
  width: 18px;
  height: 18px;
}

.list-row-copy {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.list-row-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.list-row-copy span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-tertiary);
}

/* Footer */
.site-footer {
  padding: 28px var(--gutter) 36px;
  text-align: center;
  color: var(--ink-tertiary);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.site-footer nav a {
  color: var(--ink-secondary);
  font-weight: 500;
}

.site-footer nav a:hover {
  color: var(--brown);
}

.site-footer p {
  margin: 0;
  color: var(--ink-faint);
}

.site-footer p a {
  color: var(--ink-tertiary);
}

/* Inner pages */
.inner {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px var(--gutter) 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-tertiary);
}

.back-link:hover {
  color: var(--brown);
}

.page-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 42px);
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.1;
}

.page-lede {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.page-meta {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--ink-tertiary);
}

.panel {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 28px;
}

/* Forms — match app field pattern */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-tertiary);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--screen);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 22px;
  margin-top: 6px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.pill-button:hover {
  background: var(--brown-hover);
  color: #fff;
}

.pill-button:active {
  transform: scale(0.985);
}

.alt-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* Legal prose */
.prose section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}

.prose section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.prose h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.prose p,
.prose li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.prose ul {
  margin: 0 0 12px;
  padding-left: 1.15em;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  font-weight: 500;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
