/* ===========================================================
   CreatorFavs — Core Stylesheet
   Palette: cream / near-black / coral
   =========================================================== */

:root {
  --cream: #FAF7F2;
  --cream-line: #E6DFD4;
  --cream-line-2: #DCD4C7;
  --ink: #17130E;
  --ink-2: #221C16;
  --ink-3: #332C24;
  --text-body: #4A423A;
  --text-body-2: #3B342C;
  --text-muted: #5A5147;
  --text-faint: #6B6259;
  --text-faint-2: #8A8177;
  --text-faint-3: #A09788;
  --coral: #E6503A;
  --white: #FFFFFF;
  --footer-muted: #B8AFA3;
  --footer-label: #6E665C;
  --footer-line: #2C261F;
  --success: #1F7A55;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
input, button, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; }

@keyframes cfmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cffloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cffloat2 { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-22px) rotate(-1deg); } }
@keyframes cfdrift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.12); } 66% { transform: translate(-30px,20px) scale(0.94); } }
@keyframes cfin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

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

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-line);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 74px; display: flex; align-items: center; gap: 32px;
}
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 23px;
  letter-spacing: -0.03em; color: var(--ink);
}
.logo .dot { color: var(--coral); }
.nav-desktop { display: flex; gap: 26px; margin-left: 8px; flex-wrap: wrap; }
.nav-desktop a { font-size: 15px; font-weight: 500; color: var(--text-body); }
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a.active { color: var(--ink); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-login {
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
}
.btn-login:hover { background: var(--ink); color: var(--cream); }
.btn-signup {
  font-size: 15px; font-weight: 600; color: var(--cream);
  padding: 12px 20px; border-radius: 999px; background: var(--coral);
}
.btn-signup:hover { background: var(--ink); color: var(--cream); }

.nav-toggle {
  display: none; background: none; border: none;
  width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 24px; border-top: 1px solid var(--cream-line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; font-weight: 500; border-bottom: 1px solid var(--cream-line); color: var(--text-body); }
.mobile-menu .mobile-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu .btn-login, .mobile-menu .btn-signup { flex: 1; text-align: center; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-actions .btn-login { display: none; }
  .nav-toggle { display: flex; }
}

/* ===== Buttons (generic) ===== */
.btn-dark {
  display: inline-block; font-size: 17px; font-weight: 600; color: var(--cream);
  background: var(--ink); padding: 17px 30px; border-radius: 999px;
}
.btn-dark:hover { background: var(--coral); color: var(--cream); }
.btn-outline-lg {
  display: inline-block; font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 17px 28px; border-radius: 999px; border: 1.5px solid var(--cream-line-2);
}
.btn-outline-lg:hover { border-color: var(--ink); }
.btn-coral {
  display: inline-block; font-size: 17px; font-weight: 600; color: var(--cream);
  background: var(--coral); padding: 17px 30px; border-radius: 999px; border: none;
}
.btn-coral:hover { background: var(--ink); }
.btn-cream {
  display: inline-block; font-size: 17px; font-weight: 600; color: var(--ink);
  background: var(--cream); padding: 17px 34px; border-radius: 999px;
}
.btn-cream:hover { background: var(--coral); color: var(--cream); }

/* ===== data-anim scroll reveal ===== */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
[data-anim].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; }
}

/* ===== Hero ===== */
.hero {
  max-width: var(--container); margin: 0 auto; padding: 72px 24px 40px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--cream-line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-faint);
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 5.4vw, 76px); line-height: .95; letter-spacing: -.035em;
  margin: 0 0 22px; text-wrap: balance;
}
.hero h1 .coral { color: var(--coral); }
.hero .lead { font-size: 19px; line-height: 1.55; color: var(--text-body); max-width: 520px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint-2); margin: 0; }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 999px;
  background: var(--coral); opacity: .16; filter: blur(60px);
  animation: cfdrift 16s ease-in-out infinite; pointer-events: none;
}
.hero-phone {
  width: 296px; height: 600px; border-radius: 44px; background: var(--ink);
  padding: 11px; box-shadow: 0 30px 70px -20px rgba(23,19,14,.45);
  position: relative; animation: cffloat 7s ease-in-out infinite;
}
.hero-phone .screen {
  position: absolute; inset: 11px; border-radius: 34px; overflow: hidden;
  background: var(--ink-2); color: var(--cream);
}
.hero-phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-product {
  position: absolute; left: -92px; bottom: 74px; width: 150px; height: 180px;
  border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(23,19,14,.4);
  animation: cffloat2 9s ease-in-out infinite;
}
.hero-float-product img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat-card {
  position: absolute; right: -4px; top: 64px; background: var(--white);
  border: 1px solid var(--cream-line); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 14px 34px -12px rgba(23,19,14,.28);
  animation: cffloat 6s ease-in-out infinite .8s;
}
.hero-stat-card .lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint-2); letter-spacing: .08em; }
.hero-stat-card .val { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin-top: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .hero-phone { width: 220px; height: 440px; }
  .hero-float-product, .hero-stat-card { display: none; }
}

/* ===== Stats strip ===== */
.stats-strip { max-width: var(--container); margin: 0 auto; padding: 24px 24px 76px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--cream-line); border: 1px solid var(--cream-line);
  border-radius: 20px; overflow: hidden;
}
.stats-grid > div { background: var(--cream); padding: 30px 26px; }
.stats-grid .num { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.stats-grid .lbl { font-size: 14.5px; color: var(--text-faint); margin-top: 8px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== Brand marquee ===== */
.marquee-section { background: var(--ink); color: var(--cream); padding: 56px 0; overflow: hidden; }
.marquee-title {
  text-align: center; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .12em; color: var(--text-faint-2); margin: 0 0 34px;
}
.marquee-track { display: flex; width: max-content; animation: cfmarquee 34s linear infinite; }
.marquee-track div {
  width: 200px; height: 92px; margin: 0 10px; border-radius: 14px; flex-shrink: 0;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: -.02em; color: #E4DACC;
}

/* ===== Section headings ===== */
.bg-soft { background: var(--white); border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.section-pad { max-width: var(--container); margin: 0 auto; padding: 96px 24px; }
.section-pad h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4vw, 54px); letter-spacing: -.03em; line-height: 1.02;
  margin: 0 0 14px;
}
.section-pad > p.section-lead { font-size: 18px; color: var(--text-body); margin: 0 0 48px; max-width: 540px; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step-card {
  background: var(--white); border: 1px solid var(--cream-line); border-radius: 22px;
  padding: 32px 28px 28px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -18px rgba(23,19,14,.25); }
.step-card .step-num { font-family: var(--font-mono); font-size: 13px; color: var(--coral); margin-bottom: 46px; }
.step-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; margin: 0 0 10px; }
.step-card p { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }

/* ===== Feature grid ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--cream-line); border: 1px solid var(--cream-line);
  border-radius: 22px; overflow: hidden;
}
.feature-grid > div { background: var(--cream); padding: 34px 30px 36px; }
.feature-grid h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; margin: 0 0 9px; }
.feature-grid p { font-size: 15.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== Icon badge (feature icons across pages) ===== */
.icon-badge {
  width: 44px; height: 44px; border-radius: 12px; background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--cream); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge.dark { background: var(--ink); }
.icon-badge.outline { background: var(--white); border: 1.5px solid var(--cream-line); }
.icon-badge.outline svg { stroke: var(--coral); }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 96px; }
.gallery-grid figure {
  margin: 0; border-radius: 20px; overflow: hidden; height: 300px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.gallery-grid figure:hover { transform: scale(1.02); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== Categories ===== */
.cat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.cat-card {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--cream-line);
  background: var(--white); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px -16px rgba(23,19,14,.28); }
.cat-card .thumb { height: 132px; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 16px 18px 18px; }
.cat-card .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.cat-card .count { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint-2); margin-top: 5px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== Testimonials ===== */
.testimonial-section { background: var(--white); border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); padding: 90px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.t-card {
  border: 1px solid var(--cream-line); border-radius: 22px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 20px; background: var(--cream);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.t-card:hover { transform: translateY(-5px); }
.t-card p { font-size: 17px; line-height: 1.6; color: #2B2520; margin: 0; flex: 1; }
.t-person { display: flex; align-items: center; gap: 13px; }
.t-avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-person .name { font-weight: 600; font-size: 15.5px; }
.t-person .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint-2); margin-top: 3px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-wrap { max-width: 860px; margin: 0 auto; padding: 96px 24px; }
.faq-wrap h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.4vw,44px); letter-spacing: -.03em; margin: 0 0 34px; }
.faq-list { border-top: 1px solid var(--cream-line); }
.faq-item { border-bottom: 1px solid var(--cream-line); }
.faq-q {
  width: 100%; background: none; border: none; padding: 22px 4px;
  display: flex; align-items: center; gap: 20px; cursor: pointer; text-align: left; color: var(--ink);
}
.faq-q .q-text { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.015em; flex: 1; }
.faq-q .sign { font-size: 22px; color: var(--coral); line-height: 1; width: 22px; text-align: center; }
.faq-a { font-size: 16.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; padding-right: 60px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ===== CTA band ===== */
.cta-wrap { max-width: var(--container); margin: 0 auto 96px; padding: 0 24px; }
.cta-band { background: var(--ink); border-radius: 30px; padding: 76px 56px; text-align: center; color: var(--cream); }
.cta-band h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4.4vw,58px);
  letter-spacing: -.035em; line-height: 1; margin: 0 0 18px; text-wrap: balance;
}
.cta-band p { font-size: 18px; color: var(--footer-muted); margin: 0 auto 32px; max-width: 520px; }
@media (max-width: 700px) { .cta-band { padding: 56px 28px; } }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--footer-muted); padding: 64px 0 34px; }
.footer-grid { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--cream); margin-bottom: 16px; }
.footer-company-name { font-size: 14.5px; line-height: 1.6; margin-bottom: 8px; color: var(--cream); font-weight: 600; }
.footer-addr { font-size: 14px; line-height: 1.65; max-width: 340px; }
.footer-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--footer-label); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14.5px; color: var(--footer-muted); }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--container); margin: 44px auto 0; padding: 22px 24px 0;
  border-top: 1px solid var(--footer-line); font-size: 13px; color: var(--footer-label);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Inner page heros ===== */
.page-main { max-width: var(--container); margin: 0 auto; padding: 80px 24px 96px; }
.page-main.narrow { max-width: 820px; }
.page-main.narrower { max-width: 780px; }
.page-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--coral); margin-bottom: 20px; }
.page-h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px,4.6vw,62px); line-height: 1; letter-spacing: -.035em; margin: 0 0 22px; }
.page-lead { font-size: 19px; line-height: 1.55; color: var(--text-body); margin: 0 0 34px; }
.page-lead-2 { font-size: 19px; line-height: 1.65; color: var(--text-body-2); margin: 0 0 20px; }

/* ===== Brands page ===== */
.brands-hero-content { max-width: 760px; }
.brands-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--cream-line); border: 1px solid var(--cream-line); border-radius: 22px; overflow: hidden; margin-top: 64px; }
.brands-features > div { background: var(--cream); padding: 34px 30px 36px; }
.brands-features h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; margin: 0 0 9px; }
.brands-features p { font-size: 15.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .brands-features { grid-template-columns: 1fr; } }

/* ===== About page ===== */
.about-card { border: 1px solid var(--cream-line); border-radius: 22px; padding: 32px; background: var(--white); }
.about-card .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-faint-2); margin-bottom: 16px; }
.about-card .name { font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.about-card .addr { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }
.about-card .info-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--cream-line); }
.about-card .info-links a { font-weight: 600; font-size: 14.5px; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-detail { margin-bottom: 24px; }
.contact-detail .label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--text-faint-2); margin-bottom: 7px; }
.contact-detail .val { font-size: 17px; font-weight: 600; }
.contact-detail .addr { font-size: 15.5px; line-height: 1.6; color: var(--text-body-2); }
.form-card {
  background: var(--white); border: 1px solid var(--cream-line); border-radius: 24px;
  padding: 32px; display: flex; flex-direction: column; gap: 16px; align-self: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Forms ===== */
.field-label { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 7px; }
.field-label input, .field-label textarea, .field-label select {
  font-size: 16px; padding: 14px 15px; border-radius: 12px; border: 1px solid var(--cream-line-2);
  background: var(--cream); font-weight: 400; color: var(--ink);
}
.field-label textarea { resize: vertical; }
.field-label input:focus, .field-label textarea:focus, .field-label select:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.check-label { font-size: 13.5px; color: var(--text-muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.check-label input { margin-top: 3px; }
.form-submit {
  font-size: 16px; font-weight: 600; color: var(--cream); background: var(--ink);
  border: none; padding: 16px; border-radius: 999px; cursor: pointer;
}
.form-submit:hover { background: var(--coral); }
.form-note { font-size: 14px; color: var(--success); margin: 0; text-align: center; display: none; }
.form-note.show { display: block; }
.form-hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint-3); margin: 0; text-align: center; line-height: 1.5; }

/* ===== Auth page ===== */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.auth-perks { display: flex; flex-direction: column; gap: 14px; }
.auth-perk { display: flex; gap: 12px; align-items: flex-start; }
.auth-perk .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--coral); margin-top: 8px; flex-shrink: 0; }
.auth-perk .text { font-size: 16.5px; color: var(--text-body-2); }
.auth-form { background: var(--white); border: 1px solid var(--cream-line); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.auth-submit {
  font-size: 16.5px; font-weight: 600; color: var(--cream); background: var(--coral);
  border: none; padding: 16px; border-radius: 999px; cursor: pointer;
}
.auth-submit:hover { background: var(--ink); }
.auth-switch { text-align: center; font-size: 15px; color: var(--text-muted); }
.auth-switch a { font-weight: 600; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; } }

.form-alert { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; }
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 6px; }
.form-alert a { text-decoration: underline; font-weight: 600; }
.form-alert-error { background: #FBEAE7; border: 1px solid #F0C4BC; color: #A3341F; }
.form-alert-success { background: #E8F3ED; border: 1px solid #BFE0CE; color: #1F7A55; }

/* ===== Legal page ===== */
.legal-updated { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint-2); margin: 0 0 40px; }
.legal-block { margin-bottom: 32px; }
.legal-block h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; margin: 0 0 10px; }
.legal-block p { font-size: 16.5px; line-height: 1.65; color: var(--text-body-2); margin: 0; }
.legal-contact { border: 1px solid var(--cream-line); border-radius: 18px; padding: 24px; background: var(--white); font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.legal-contact .tmpl-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint-3); margin: 14px 0 0; }

/* ===== Blog page ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card {
  border: 1px solid var(--cream-line); border-radius: 20px; overflow: hidden; background: var(--white);
  color: var(--ink); display: block; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px -18px rgba(23,19,14,.3); color: var(--ink); }
.blog-card .cover { height: 168px; overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .content { padding: 22px 22px 26px; }
.blog-card .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--coral); margin-bottom: 11px; }
.blog-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.015em; margin: 0 0 8px; line-height: 1.2; }
.blog-card p { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===== Breadcrumb-free page tweaks ===== */
@media (max-width: 900px) {
  .hero, .stats-strip, .section-pad, .page-main, .faq-wrap { padding-left: 20px; padding-right: 20px; }
}
