/* =========================================================
   DesignYetu AI — Landing Page
   Token system
   Ink   #12141C  – primary text, dark bands
   Paper #FCFBF7  – base background
   Stone #E9E5DA  – alt section bg / card fill
   Amber #E2A33B  – primary accent (signal / CTA)
   Teal  #1D8F73  – success / online / checkmarks
   Clay  #B5502F  – rare warning accent (problem section icon only)
========================================================= */

:root{
  --ink: #12141C;
  --ink-soft: #565B6B;
  --ink-faint: #8A8F9E;
  --paper: #FCFBF7;
  --paper-raised: #FFFFFF;
  --stone: #E9E5DA;
  --stone-line: #D8D3C4;
  --amber: #E2A33B;
  --amber-deep: #C6871E;
  --amber-ink: #241804;
  --teal: #1D8F73;
  --teal-soft: #E4F3EE;
  --clay: #B5502F;

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-card: 0 1px 2px rgba(18,20,28,0.04), 0 8px 24px rgba(18,20,28,0.06);
  --shadow-lift: 0 4px 8px rgba(18,20,28,0.06), 0 20px 48px rgba(18,20,28,0.12);
  --wrap: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3{ font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p{ margin: 0; }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 2.5px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow{ max-width: 760px; }

.eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 16px;
  display: inline-block;
}
.eyebrow-light{ color: var(--amber); }

/* =========================================================
   Buttons
========================================================= */
.btn{
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg{ transition: transform .18s ease; }
.btn:hover svg{ transform: translateX(2px); }
.btn-primary{ background: var(--amber); color: var(--amber-ink); box-shadow: var(--shadow-card); }
.btn-primary:hover{ background: var(--amber-deep); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--stone-line); }
.btn-ghost:hover{ border-color: var(--ink); }
.band-ink .btn-ghost{ color: var(--paper); border-color: rgba(252,251,247,0.28); }
.band-ink .btn-ghost:hover{ border-color: var(--paper); }
.btn-large{ padding: 16px 28px; font-size: 16px; }
.btn-small{ padding: 9px 18px; font-size: 13.5px; }

.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions.center{ justify-content: center; }

/* =========================================================
   Header
========================================================= */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,251,247,0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--stone-line);
}
.header-row{ display: flex; align-items: center; gap: 24px; height: 74px; }
.brand{ display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark{ color: var(--ink); width: 32px; height: 32px; flex: none; }
.brand-mark svg{ width: 100%; height: 100%; }
.brand-mark img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-word{ font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand-word em{ font-style: normal; color: var(--amber-deep); }

.main-nav{ display: flex; gap: 30px; }
.main-nav a{ font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
.main-nav a:hover{ color: var(--ink); }

.nav-toggle{ display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav{ display: none; }

/* =========================================================
   Hero
========================================================= */
.hero{ padding: 76px 0 90px; overflow: hidden; }
.hero-grid{ display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-headline{
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero-sub{ font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }

.stamp{
  display: inline-flex; flex-direction: column; align-items: center; text-align: center;
  border: 1.5px dashed var(--clay);
  color: var(--clay);
  padding: 12px 26px;
  border-radius: 10px;
  transform: rotate(-3deg);
  font-family: var(--mono);
}
.stamp-top{ font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.stamp-mid{ font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.02em; line-height: 1.2; }
.stamp-bottom{ font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.85; }

/* Desk mockup */
.desk-frame{
  background: var(--paper-raised);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--stone-line);
  overflow: hidden;
}
.desk-frame-bar{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--stone); border-bottom: 1px solid var(--stone-line);
}
.desk-frame-bar .dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--stone-line); }
.desk-url{
  margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint);
  background: var(--paper); padding: 4px 10px; border-radius: 6px; flex: 1;
}
.desk-frame-body{ padding: 24px; position: relative; min-height: 380px; }
.desk-page-line{ height: 10px; border-radius: 4px; background: var(--stone); margin-bottom: 10px; width: 92%; }
.desk-page-line.short{ width: 40%; height: 14px; }
.desk-page-line.med{ width: 65%; margin-bottom: 22px; }

.widget-card{
  position: relative; margin-top: 8px;
  background: var(--paper-raised);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.widget-head{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--stone-line);
}
.pulse-dot{
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none;
  box-shadow: 0 0 0 0 rgba(29,143,115,0.5); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(29,143,115,0.45); }
  70%{ box-shadow: 0 0 0 7px rgba(29,143,115,0); }
  100%{ box-shadow: 0 0 0 0 rgba(29,143,115,0); }
}
.widget-title{ font-weight: 700; font-size: 13.5px; }
.widget-time{ margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.widget-body{ padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; }

.bubble{ padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; max-width: 88%; }
.bubble-customer{ align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble-ai{ align-self: flex-start; background: var(--stone); color: var(--ink); border-bottom-left-radius: 4px; }

.typing-indicator{ align-self: flex-start; display: flex; gap: 4px; padding: 10px 14px; background: var(--stone); border-radius: 14px; border-bottom-left-radius: 4px; width: fit-content; }
.typing-indicator span{ width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: bounce 1.3s infinite ease-in-out; }
.typing-indicator span:nth-child(2){ animation-delay: .18s; }
.typing-indicator span:nth-child(3){ animation-delay: .36s; }
@keyframes bounce{ 0%,60%,100%{ transform: translateY(0); opacity: .5; } 30%{ transform: translateY(-4px); opacity: 1; } }

.widget-foot{ text-align: center; font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); padding: 8px; border-top: 1px solid var(--stone-line); }
.visual-caption{ text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 14px; }

/* =========================================================
   Bands (dark, full bleed)
========================================================= */
.band{ padding: 88px 0; }
.band-ink{ background: var(--ink); color: var(--paper); }
.band-headline{ font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; max-width: 18ch; color: var(--paper); }
.band-lead{ font-size: 17px; color: rgba(252,251,247,0.72); max-width: 62ch; margin-top: 20px; }

.clock-strip{ display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 36px; }
.clock-chip{
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid rgba(252,251,247,0.18);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  background: rgba(252,251,247,0.04);
}
.chip-time{ font-family: var(--mono); font-size: 12.5px; color: var(--amber); }
.chip-label{ font-size: 13.5px; color: rgba(252,251,247,0.82); }

/* =========================================================
   Section defaults
========================================================= */
.section{ padding: 96px 0; }
.stone-bg{ background: var(--stone); }
.section-headline{ font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14; max-width: 20ch; }
.section-headline.center{ margin: 0 auto; text-align: center; }
.section-lead{ font-size: 17px; color: var(--ink-soft); max-width: 62ch; margin-top: 18px; }
.section-lead.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* Solution list */
.solution-list{
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px;
}
.solution-list li{ display: flex; align-items: flex-start; gap: 14px; font-size: 16px; }
.li-icon{ width: 24px; height: 24px; flex: none; color: var(--teal); margin-top: 1px; }

/* Feature cards */
.feature-grid{ margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card{
  background: var(--paper-raised);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-m);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.feature-tag{ font-family: var(--mono); font-size: 12px; color: var(--amber-deep); letter-spacing: 0.08em; }
.feature-card h3{ font-size: 19px; margin: 14px 0 8px; }
.feature-card p{ color: var(--ink-soft); font-size: 14.5px; }

/* Why not whatsapp */
.compare-ledger{
  margin-top: 44px; display: grid; grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--stone-line); border-radius: var(--radius-m); overflow: hidden;
}
.compare-col{ padding: 34px 32px; }
.compare-whatsapp{ background: var(--stone); border-right: 1px solid var(--stone-line); }
.compare-whatsapp h3{ font-size: 18px; margin-bottom: 10px; }
.compare-note{ color: var(--ink-soft); font-size: 14.5px; }
.compare-designyetu{ background: var(--paper-raised); }
.compare-designyetu h3{ font-size: 18px; margin-bottom: 16px; }
.check-list li{ position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; }
.check-list li::before{
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-soft); border: 1.5px solid var(--teal);
}
.check-list li::after{
  content: ""; position: absolute; left: 4.5px; top: 7px; width: 7px; height: 4px;
  border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal); transform: rotate(-45deg);
}
.compare-footnote{ margin-top: 22px; font-size: 14.5px; color: var(--ink-faint); font-style: italic; }

/* How it works */
.steps{ margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step{ position: relative; padding: 0 28px 0 0; }
.step:not(:last-child)::after{
  content: ""; position: absolute; top: 20px; left: calc(100% - 14px); width: calc(100% - 0px);
  border-top: 1.5px dashed var(--stone-line); z-index: 0;
}
.step-num{ font-family: var(--mono); font-size: 15px; color: var(--amber-deep); display: block; margin-bottom: 14px; }
.step h3{ font-size: 19px; margin-bottom: 10px; }
.step p{ color: var(--ink-soft); font-size: 14.5px; }

/* Demo */
.demo-stage{ margin-top: 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.demo-thread{
  background: var(--paper-raised); border: 1px solid var(--stone-line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-card); padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.demo-stage.armed .demo-bubble{ opacity: 0; transform: translateY(10px); }
.demo-stage.armed.in-view .demo-bubble{
  animation: fadeUp .5s ease forwards;
  animation-delay: calc(var(--d) * 0.28s);
}
@keyframes fadeUp{ to{ opacity: 1; transform: translateY(0); } }

.handoff-chip{
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  background: var(--stone); padding: 8px 14px; border-radius: 999px; margin-top: 4px;
}
.handoff-chip svg{ color: var(--amber-deep); }

.lead-toast{
  background: var(--ink); color: var(--paper); border-radius: var(--radius-m);
  padding: 22px 24px; box-shadow: var(--shadow-lift);
}
.lead-toast-head{ display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 16px; }
.lead-dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(29,143,115,0.25); }
.lead-fields{ margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.lead-fields div{ display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(252,251,247,0.16); padding-bottom: 8px; }
.lead-fields dt{ font-family: var(--mono); font-size: 11.5px; color: rgba(252,251,247,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.lead-fields dd{ margin: 0; font-size: 14px; text-align: right; }
.lead-link{ font-family: var(--mono); font-size: 12.5px; color: var(--amber); font-weight: 600; }

/* Offer */
.offer-grid{ display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.offer-login{ margin-top: 18px; font-size: 14.5px; color: rgba(252,251,247,0.68); }
.offer-login a{ color: var(--amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.offer-checklist{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.offer-checklist li{
  font-family: var(--mono); font-size: 13.5px; color: var(--paper);
  border: 1px solid rgba(252,251,247,0.22); border-radius: var(--radius-s);
  padding: 12px 14px; background: rgba(252,251,247,0.04);
}
.offer-checklist li::before{ content: "✓ "; color: var(--amber); font-weight: 700; }

/* Who is it for */
.industry-grid{ margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-tile{
  display: block; text-align: center; font-weight: 700; font-size: 14.5px;
  padding: 22px 12px; border-radius: var(--radius-s);
  background: var(--stone); border: 1px solid var(--stone-line);
  transition: background .15s ease, transform .15s ease;
}
.industry-tile:hover{ background: var(--teal-soft); transform: translateY(-2px); }

/* AI & Search visibility */
.visibility-grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.visibility-list{ margin: 22px 0; display: flex; flex-direction: column; gap: 10px; }
.visibility-list li{ font-size: 15px; padding-left: 22px; position: relative; }
.visibility-list li::before{ content: "—"; position: absolute; left: 0; color: var(--amber-deep); }
.visibility-disclaimer{ font-size: 13.5px; color: var(--ink-faint); border-top: 1px solid var(--stone-line); padding-top: 16px; margin-top: 8px; }

.info-card{
  background: var(--paper-raised); border: 1px solid var(--stone-line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-card); padding: 8px 24px;
}
.info-card-row{ display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--stone-line); }
.info-card-row:last-child{ border-bottom: none; }
.info-label{ font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.info-value{ font-size: 14px; font-weight: 600; text-align: right; }

/* FAQ */
.faq-list{ margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item{
  background: var(--paper-raised); border: 1px solid var(--stone-line); border-radius: var(--radius-m);
  padding: 6px 6px;
}
.faq-item summary{
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 15.5px; padding: 16px 18px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-num{ font-family: var(--mono); font-size: 12.5px; color: var(--amber-deep); font-weight: 600; }
.faq-caret{ margin-left: auto; width: 10px; height: 10px; border-right: 1.6px solid var(--ink-faint); border-bottom: 1.6px solid var(--ink-faint); transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] .faq-caret{ transform: rotate(-135deg); }
.faq-item p{ padding: 0 18px 20px 46px; color: var(--ink-soft); font-size: 14.5px; max-width: 60ch; }

/* Final CTA */
.final-cta{ text-align: center; padding-bottom: 120px; }

/* =========================================================
   Footer
========================================================= */
.site-footer{ background: var(--ink); color: rgba(252,251,247,0.72); padding: 56px 0 36px; }
.footer-grid{ display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-word{ color: var(--paper); }
.footer-brand p{ margin-top: 8px; font-size: 14px; }
.footer-tagline{ color: var(--amber); font-style: italic; }
.footer-links{ display: flex; flex-direction: column; gap: 10px; }
.footer-links a{ font-size: 14px; transition: color .15s ease; }
.footer-links a:hover{ color: var(--paper); }
.footer-note{ font-size: 13px; color: rgba(252,251,247,0.45); text-align: right; align-self: end; }

/* =========================================================
   Reveal on scroll
   Default state is fully visible so content never depends on
   JS running. main.js arms elements (.reveal-armed) only after
   it has an IntersectionObserver ready to reveal them again.
========================================================= */
.reveal{ opacity: 1; transform: none; }
.reveal.reveal-armed{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-armed.in{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .solution-list{ grid-template-columns: 1fr; }
  .compare-ledger{ grid-template-columns: 1fr; }
  .compare-whatsapp{ border-right: none; border-bottom: 1px solid var(--stone-line); }
  .steps{ grid-template-columns: 1fr; gap: 32px; }
  .step:not(:last-child)::after{ display: none; }
  .demo-stage{ grid-template-columns: 1fr; }
  .offer-grid{ grid-template-columns: 1fr; }
  .visibility-grid{ grid-template-columns: 1fr; }
  .industry-grid{ grid-template-columns: repeat(3, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; text-align: left; }
  .footer-note{ text-align: left; }
}

@media (max-width: 720px){
  .main-nav, .header-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .hero-copy{ order: -1; }
  .mobile-nav.open{ display: flex; }
  .mobile-nav{
    flex-direction: column; gap: 4px; padding: 14px 28px 22px; border-top: 1px solid var(--stone-line);
    background: var(--paper);
  }
  .mobile-nav a{ padding: 12px 0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--stone-line); }
  .mobile-nav .btn{ margin-top: 12px; }

  .hero{ padding: 48px 0 64px; }
  .band{ padding: 64px 0; }
  .section{ padding: 64px 0; }
  .feature-grid{ grid-template-columns: 1fr; }
  .offer-checklist{ grid-template-columns: 1fr 1fr; }
  .industry-grid{ grid-template-columns: repeat(2, 1fr); }
  .stamp{ transform: rotate(-2deg); }
  .final-cta{ padding-bottom: 72px; }
}
