/* ==========================================================================
   GatoShirts — Design tokens
   ========================================================================== */
:root {
  /* Color */
  --ink: #111827;
  --ink-soft: #3f4759;
  --ink-mute: #6b7280;
  --paper: #ffffff;
  --paper-warm: #faf9f6;
  --mist: #f3f2ef;
  --line: #e7e5e1;
  --accent: #f97316;
  --accent-deep: #ea580c;
  --accent-soft: #fff1e3;
  --accent-ring: rgba(249, 115, 22, 0.35);
  --receipt: #fffdf8;
  --ok: #16a34a;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06), 0 1px 1px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 12px 24px -8px rgba(17, 24, 39, 0.14), 0 4px 8px -4px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(17, 24, 39, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
.gs * { box-sizing: border-box; }
.gs {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.gs img { max-width: 100%; display: block; }
.gs a { color: inherit; text-decoration: none; }
.gs ul { list-style: none; margin: 0; padding: 0; }
.gs h1, .gs h2, .gs h3, .gs h4, .gs p { margin: 0; }
.gs button { font: inherit; cursor: pointer; }

.gs :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.gs .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gs .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.gs .section-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.gs .section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.gs h2.headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.gs .lede {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

section.gs-section {
  padding: 64px 0;
}
section.gs-section.tight { padding: 48px 0; }
section.gs-section.alt { background: var(--paper-warm); }

@media (max-width: 720px) {
  section.gs-section { padding: 48px 0; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.gs .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
    white-space: nowrap;
}

.gs .btn-dark-gs {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow-sm);
}

    .gs .btn-dark-gs:hover {
        background: #1f2937;
        border-color: #1f2937;
        color: var(--paper);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.gs .btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
    box-shadow: 0 8px 20px -6px var(--accent-ring);
}

    .gs .btn-accent:hover {
        background: var(--accent-deep);
        border-color: var(--accent-deep);
        color: var(--paper);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -8px var(--accent-ring);
    }

.gs .btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

    .gs .btn-ghost:hover {
        background: var(--mist);
        border-color: var(--ink);
        color: var(--ink);
    }

.gs .btn-link-gs {
    padding: 13px 4px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    color: var(--ink);
    font-weight: 600;
}

    .gs .btn-link-gs:hover {
        background: transparent;
        border-bottom-color: var(--accent-deep);
        color: var(--accent-deep);
    }

.gs .btn-sm-gs {
    padding: 9px 16px;
    font-size: 0.85rem;
}

.gs .btn-primary {
    color: #fff;
}

    .gs .btn-primary:hover {
        color: #fff;
    }

.gs .btn-success {
    color: #fff;
}

    .gs .btn-success:hover {
        color: #fff;
    }

/* ==========================================================================
   Hero
   ========================================================================== */
.gs-hero {
    padding: 48px 0 56px;
    overflow: hidden;
}
.gs-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.gs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.7rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 20px;
}
.gs-hero h1 .accent-word { color: var(--accent); }
.gs-hero .lede { max-width: 480px; font-size: 1.125rem; }
.gs-hero .cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.gs-hero .trust-line {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
.gs-hero .trust-line .dot { color: var(--line); margin: 0 8px; }

/* Hero visual */
.gs-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gs-hero-visual .glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255,241,227,0) 70%);
  z-index: 0;
}
.tee {
  position: absolute;
  filter: drop-shadow(0 20px 30px rgba(17,24,39,0.14));
}
.tee-center { width: 260px; z-index: 3; animation: float-a 6.5s ease-in-out infinite; }
.tee-back-left { width: 170px; top: 8%; left: -4%; z-index: 1; opacity: 0.92; animation: float-b 7.5s ease-in-out infinite; }
.tee-back-right { width: 165px; bottom: 4%; right: -6%; z-index: 1; opacity: 0.92; animation: float-c 8s ease-in-out infinite; }

.chip {
  position: absolute;
  z-index: 4;
  background: var(--receipt);
  border: 1px dashed rgba(17,24,39,0.28);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chip .dot-ok { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.chip-order { top: 4%; right: 8%; animation: float-b 6s ease-in-out infinite; }
.chip-price { top: 34%; left: -2%; color: var(--accent-deep); font-weight: 700; animation: float-c 6.5s ease-in-out infinite; }
.chip-printed { bottom: 18%; left: 8%; animation: float-a 7s ease-in-out infinite; }
.chip-shipped { bottom: 2%; right: 14%; animation: float-b 7.2s ease-in-out infinite; }

@keyframes float-a { 0%,100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes float-b { 0%,100% { transform: translateY(0px) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes float-c { 0%,100% { transform: translateY(0px) rotate(3deg); } 50% { transform: translateY(-12px) rotate(5deg); } }

@media (max-width: 980px) {
  .gs-hero .container { grid-template-columns: 1fr; }
  .gs-hero-visual { height: 380px; order: -1; }
  .tee-center { width: 210px; }
  .tee-back-left { width: 140px; }
  .tee-back-right { width: 135px; }
}
@media (max-width: 480px) {
  .gs-hero-visual { height: 340px; }
  .chip { font-size: 0.68rem; padding: 6px 9px; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.step-card .step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-deep);
  background: var(--accent-soft);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-card p { color: var(--ink-soft); font-size: 0.925rem; }

@media (max-width: 980px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   For Creators
   ========================================================================== */
.creators-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.creators-copy .lede { max-width: 420px; }
.creators-copy .btn { margin-top: 28px; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--line);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card .icon-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card .icon-badge svg { width: 20px; height: 20px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.875rem; color: var(--ink-soft); }

@media (max-width: 980px) {
  .creators-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product showcase
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .art {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-card .art svg { width: 96px; height: 96px; }
.product-card .meta { padding: 16px 18px 20px; }
.product-card .meta .name { font-family: var(--font-display); font-weight: 600; font-size: 0.975rem; }
.product-card .meta .from { font-size: 0.8rem; color: var(--ink-mute); margin-top: 2px; font-family: var(--font-mono); }

.art.bg-1 { background: linear-gradient(150deg, #ffe9d3, #fff5eb); }
.art.bg-2 { background: linear-gradient(150deg, #e7ecff, #f4f6ff); }
.art.bg-3 { background: linear-gradient(150deg, #e9f7ee, #f4fbf6); }
.art.bg-4 { background: linear-gradient(150deg, #fdeaf1, #fef4f8); }
.art.bg-5 { background: linear-gradient(150deg, #eef0e3, #f8f8f2); }
.art.bg-6 { background: linear-gradient(150deg, #eee3fb, #f8f3fd); }

.showcase-footer { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Explore stores
   ========================================================================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.store-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-card .store-top { display: flex; align-items: center; gap: 12px; }
.store-avatar {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.store-card .store-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.store-card .store-count { font-size: 0.75rem; color: var(--ink-mute); font-family: var(--font-mono); margin-top: 2px; }
.store-card .store-desc { font-size: 0.875rem; color: var(--ink-soft); margin: 14px 0 18px; }
.store-card .demo-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--mist);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.stores-footer { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 980px) { .store-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .store-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Creator economy flow
   ========================================================================== */
.flow-wrap {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: var(--paper);
}
.flow-wrap .section-head h2.headline { color: var(--paper); }
.flow-wrap .section-head .lede { color: #c7cbd6; }
.flow-wrap .eyebrow { background: rgba(249,115,22,0.16); color: #fdb87e; }

.flow-track {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 44px 0 40px;
  flex-wrap: wrap;
}
.flow-step {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.28);
  border-radius: 10px;
  padding: 12px 16px;
  white-space: nowrap;
}
.flow-arrow { color: var(--accent); padding: 0 12px; font-size: 1.1rem; }

.no-list {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 12px 28px;
}
.no-list li {
  font-size: 0.875rem;
  color: #d6d9e2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.no-list li svg { width: 15px; height: 15px; color: #6b7280; flex-shrink: 0; }

@media (max-width: 980px) {
  .flow-wrap { padding: 40px 24px; }
  .no-list { grid-template-columns: repeat(2, auto); }
  .flow-track { gap: 10px 0; }
}
@media (max-width: 560px) {
  .no-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Costa Rica section
   ========================================================================== */
.cr-section .container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.cr-map {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  height: 340px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cr-map svg { width: 62%; height: auto; }
.cr-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 5px rgba(234,88,12,0.18);
}
.cr-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
}
.cr-stats .stat .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.cr-stats .stat .label { font-size: 0.8rem; color: var(--ink-mute); margin-top: 2px; }

@media (max-width: 900px) {
  .cr-section .container { grid-template-columns: 1fr; }
  .cr-map { order: -1; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #1f2937 100%);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.25), transparent 70%);
  top: -220px; right: -140px;
}
.final-cta h2 {
  position: relative;
  font-family: var(--font-display);
  color: var(--paper);
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.6rem);
  letter-spacing: -0.02em;
}
.final-cta p {
  position: relative;
  color: #cfd3dd;
  margin-top: 14px;
  font-size: 1.05rem;
}
.final-cta .cta-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.final-cta .btn-link { color: var(--paper); border-color: rgba(255,255,255,0.4); }
.final-cta .btn-link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 620px) {
  .final-cta { padding: 56px 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gs-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 64px 0 32px;
}
.gs .footer-col a {
    font-size: 0.9rem;
    color: var(--ink-soft) !important;
    text-decoration: none;
}

    .gs .footer-col a:hover {
        color: var(--accent-deep) !important;
    }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.footer-brand .cat-mark { width: 26px; height: 26px; }
.footer-brand p { margin-top: 14px; color: var(--ink-mute); font-size: 0.875rem; max-width: 260px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom .copy { font-size: 0.8rem; color: var(--ink-mute); }
.footer-bottom .made-in { font-size: 0.8rem; color: var(--ink-mute); }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.social-icons a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.social-icons svg { width: 15px; height: 15px; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Product Card
   ========================================================================== */
.product-card .art {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    background: #FFF7ED;
}

    .product-card .art img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }


/* ==========================================================================
   Store Card
   ========================================================================== */
.store-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.store-banner {
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
}

    .store-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.store-content {
    padding: 1.25rem;
}

.store-name {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.store-desc {
    margin: 0 0 1.25rem;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}