/* Storedeko landing — self-contained, system fonts only, no build step. */

:root {
  --canvas: #f7f6f3;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-faint: #a8a29e;
  --line: #e7e5e4;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #f0fdfa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-name {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* Buttons ---------------------------------------------------------------- */

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.6rem;
  transition: background-color 0.15s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
}

.button-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.button-ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--line);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--accent-soft);
}

.button-light {
  background: #fff;
  color: var(--accent-strong);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--accent-soft);
}

/* WhatsApp CTA — brand green, so it reads as "this opens WhatsApp". */
.button-whatsapp {
  background: #25d366;
  color: #06331a;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #1eb95a;
}

.button-whatsapp svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

/* Secondary contact line under a primary CTA. */
.cta-fallback {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-fallback a {
  color: inherit;
  text-decoration: underline;
}

.cta .cta-fallback {
  color: rgba(255, 255, 255, 0.85);
}

.cta .cta-fallback a {
  color: #fff;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 22ch;
  margin: 0 auto;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Hero chat card */

.hero-card {
  max-width: 24rem;
  margin: 3rem auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.07);
}

.chat-row {
  max-width: 85%;
  padding: 0.55rem 0.8rem;
  border-radius: 0.9rem;
  font-size: 0.85rem;
}

.chat-in {
  align-self: flex-start;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.3rem;
}

.chat-out {
  align-self: flex-end;
  background: var(--accent-soft);
  border-bottom-right-radius: 0.3rem;
}

.chat-doc {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: #fff;
}

.chat-doc strong {
  color: var(--ink);
}

.chat-doc-icon {
  font-size: 1.3rem;
}

.chat-verified {
  align-self: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}

/* Features ---------------------------------------------------------------- */

.features {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 4rem;
}

.features h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  letter-spacing: -0.015em;
  max-width: 30ch;
  margin: 0 auto 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.4rem;
  background: var(--canvas);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* CTA --------------------------------------------------------------------- */

.cta {
  background: var(--accent-strong);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}

.cta h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  letter-spacing: -0.015em;
  max-width: 28ch;
  margin: 0 auto;
}

.cta p {
  max-width: 34rem;
  margin: 1rem auto 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-inner strong {
  color: var(--ink-soft);
}

/* Motion ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
