/* =========================================================
   DÉFIWORD — light pastel landing
   ========================================================= */

:root{
  /* Pastels */
  --bg:        #FBF8F1;
  --bg-soft:   #F4F0E4;
  --surface:   #FFFFFF;
  --ink:       #2C3A2E;
  --ink-2:     #4B5A4D;
  --muted:     #7C857B;
  --line:      #E8E1D0;

  /* Brand sage greens */
  --sage:      #6FA86A;
  --sage-dk:   #4F8A4A;
  --sage-tint: #E2EEDC;
  --sage-mist: #F0F7EC;

  /* Accent pastels */
  --peach:        #F6C9A6;
  --peach-tint:   #FCEADB;
  --coral:        #EFA08A;
  --coral-tint:   #FBE0D6;
  --lavender:     #C9B8E0;
  --lavender-tint:#EFE9F7;
  --sky:          #AFCDEA;
  --sky-tint:     #E2EDF7;
  --yellow:       #F2D58F;
  --yellow-tint:  #FBF1D2;
  --mint:         #B8DBC2;
  --mint-tint:    #E5F2E9;

  /* Tile */
  --tile-bg:     #FAEFCF;
  --tile-bg-2:   #F2E3B4;
  --tile-border: #D8C480;
  --tile-ink:    #3D3017;

  --shadow-sm: 0 2px 6px rgba(60, 70, 50, 0.06);
  --shadow-md: 0 10px 28px rgba(60, 80, 50, 0.08);
  --shadow-lg: 0 24px 60px rgba(60, 80, 50, 0.10);

  --radius:    18px;
  --radius-sm: 10px;
}

*{ box-sizing: border-box; }

html, body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--sage-dk); }
a:hover{ color: var(--sage); }

h1,h2,h3,h4,h5{
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- NAV ---------- */
.dw-nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(232, 225, 208, 0.6);
}
.dw-brand{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dw-brand-text{ line-height: 1; }
.dw-dot{ color: var(--sage); font-weight: 500; }

.dw-menu{
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 6px;
}
.dw-menu a{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .15s ease;
}
.dw-menu a:hover{ background: var(--sage-tint); color: var(--sage-dk); }
.dw-menu a.active{ color: var(--sage-dk); background: var(--sage-mist); }

/* ---------- BUTTONS ---------- */
.dw-btn-primary{
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 0 var(--sage-dk), 0 8px 20px rgba(79, 138, 74, 0.25);
  transition: transform .12s ease, box-shadow .12s ease;
}
.dw-btn-primary:hover{
  background: var(--sage);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--sage-dk), 0 10px 26px rgba(79, 138, 74, 0.3);
}
.dw-btn-primary:active{
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--sage-dk), 0 3px 10px rgba(79, 138, 74, 0.2);
}

.dw-btn-soft{
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.dw-btn-soft:hover{ background: var(--sage-mist); color: var(--sage-dk); }

.dw-btn-ghost{
  background: transparent;
  color: var(--ink-2);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.dw-btn-ghost:hover{ background: var(--bg-soft); color: var(--ink); }

.dw-btn-lg{ padding: 14px 26px; font-size: 1.05rem; }
.dw-btn-xl{ padding: 18px 32px; font-size: 1.15rem; }

/* ---------- HERO ---------- */
.dw-hero{
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}
.dw-hero-blob{
  position: absolute; border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.dw-hero-blob--1{ width: 360px; height: 360px; background: var(--sage-tint); top: -80px; left: -120px; }
.dw-hero-blob--2{ width: 320px; height: 320px; background: var(--peach-tint); top: 200px; right: -100px; }
.dw-hero-blob--3{ width: 260px; height: 260px; background: var(--lavender-tint); bottom: -100px; left: 35%; }
.dw-hero .container{ position: relative; z-index: 1; }

.dw-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.dw-eyebrow .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-mist);
}

.dw-h1{
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  margin: 22px 0 0;
  letter-spacing: -0.025em;
}
.dw-h1-accent{
  color: var(--sage-dk);
  position: relative;
  display: inline-block;
}
.dw-h1-accent::after{
  content:'';
  position: absolute; left: -2%; right: -2%; bottom: 6px;
  height: 14px;
  background: var(--yellow);
  border-radius: 12px;
  z-index: -1;
  opacity: .55;
}
.dw-lede{
  margin-top: 22px;
  font-size: 1.18rem;
  color: var(--ink-2);
  max-width: 480px;
  line-height: 1.55;
}

.dw-hero-meta{
  display: flex; gap: 36px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.dw-hero-meta > div{ display: flex; flex-direction: column; }
.dw-hero-meta strong{
  font-family: 'Fredoka', sans-serif;
  font-size: 1.7rem;
  color: var(--sage-dk);
  line-height: 1;
}
.dw-hero-meta span{
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- DEMO CARD ---------- */
.dw-demo{
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: rotate(-0.6deg);
}
.dw-demo-head{
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--sage-mist);
  border-bottom: 1px solid var(--sage-tint);
}
.dw-demo-dot{ width: 10px; height: 10px; border-radius: 50%; }
.dw-demo-dot--c{ background: #EFA08A; }
.dw-demo-dot--y{ background: #F2D58F; }
.dw-demo-dot--g{ background: #93C99B; }
.dw-demo-title{
  margin-left: 8px;
  font-weight: 700;
  color: var(--sage-dk);
  font-size: 0.9rem;
}
.dw-demo-timer{
  margin-left: auto;
  font-family: 'Fredoka', monospace;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--sage-tint);
  font-size: 0.9rem;
}
.dw-demo-body{ padding: 24px 26px 26px; }
.dw-demo-label{
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 10px;
}

.dw-rack{
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px dashed var(--line);
}

.dw-words{ display: flex; flex-direction: column; gap: 10px; }
.dw-word-row{
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
}
.dw-word-row label{
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}
.dw-word-input{
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.dw-word-input:focus{
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 4px var(--sage-mist);
}
.dw-word-input.is-valid{
  background: var(--sage-mist);
  border-color: var(--sage);
  color: var(--sage-dk);
}
.dw-word-input.is-invalid{
  background: var(--coral-tint);
  border-color: var(--coral);
  color: #B25A45;
}
.dw-word-score{
  min-width: 38px;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  background: var(--sage-mist);
  color: var(--sage-dk);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.dw-demo-actions{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
}

.dw-demo-caption{
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}
.dw-demo-pill{
  background: var(--coral-tint);
  color: #B25A45;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-right: 6px;
}
.dw-demo-letters{
  color: var(--sage-dk);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ---------- TILES ---------- */
.tile{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--tile-ink);
  background: linear-gradient(180deg, var(--tile-bg) 0%, var(--tile-bg-2) 100%);
  border: 1px solid var(--tile-border);
  border-bottom-width: 2px;
  border-radius: 7px;
  text-transform: uppercase;
  user-select: none;
  position: relative;
  box-shadow: 0 1px 0 #C6B070, 0 2px 4px rgba(0,0,0,0.06);
}
.tile-xs{ width: 26px; height: 26px; font-size: 0.85rem; border-radius: 5px; }
.tile-sm{ width: 32px; height: 36px; font-size: 1rem; }
.tile-md{ width: 44px; height: 50px; font-size: 1.4rem; border-radius: 9px; }
.tile-lg{ width: 56px; height: 64px; font-size: 1.9rem; border-radius: 11px; }
.tile-empty{
  background: transparent;
  border: 1.5px dashed var(--line);
  box-shadow: none;
}

/* ---------- SECTIONS ---------- */
.dw-section{
  padding: 80px 0;
  position: relative;
}
.dw-section--alt{
  background: linear-gradient(180deg, var(--bg) 0%, #F6F2E6 100%);
}

.dw-h2{
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  margin-top: 16px;
  line-height: 1.15;
}

/* ---------- PILLARS ---------- */
.dw-pillar{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.dw-pillar:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.dw-pillar h3{
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.2;
}
.dw-pillar p{
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
.dw-pillar-art{
  height: 96px;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
}
.dw-pillar--mint{ background: linear-gradient(160deg, var(--sage-mist) 0%, #fff 70%); border-color: var(--sage-tint); }
.dw-pillar--peach{ background: linear-gradient(160deg, var(--peach-tint) 0%, #fff 70%); border-color: #F4D6BC; }
.dw-pillar--lavender{ background: linear-gradient(160deg, var(--lavender-tint) 0%, #fff 70%); border-color: #DCCEEC; }

.dw-mini-slot{
  display: flex; gap: 4px;
  padding: 8px 10px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.dw-pillar-art--flags{ font-size: 2.1rem; gap: 10px; padding-left: 6px; }
.dw-pillar-art--flags .flag{ filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08)); }

/* ---------- HOW IT WORKS STEPS ---------- */
.dw-step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.dw-step-num{
  position: absolute;
  top: -16px; left: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 var(--sage-dk), 0 6px 14px rgba(79,138,74,.25);
}
.dw-step h4{
  margin: 10px 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}
.dw-step p{
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0 0 18px;
  line-height: 1.5;
}
.dw-step-tiles{
  display: flex; gap: 4px;
  padding: 10px;
  background: var(--bg-soft);
  border-radius: 10px;
  justify-content: center;
}
.dw-step-list{
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 0.92rem;
}
.dw-step-list span{ display: flex; justify-content: space-between; }
.dw-step-list em{
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
}
.dw-step-rank{
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 0.92rem;
}
.dw-step-rank span{ display: flex; align-items: center; gap: 8px; }
.dw-step-rank b{
  color: var(--sage-dk);
  width: 16px;
}
.dw-step-rank i{
  margin-left: auto;
  font-style: normal;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.dw-trophy{
  font-size: 4rem;
  text-align: center;
  padding: 4px 0;
}

/* ---------- FEATURE CARDS ---------- */
.dw-feat{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.dw-feat:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.dw-feat-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dw-feat-icon svg{ width: 26px; height: 26px; }
.dw-feat h5{
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.dw-feat p{
  color: var(--ink-2);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.dw-feat--mint     .dw-feat-icon{ background: var(--sage-mist);    color: var(--sage-dk); }
.dw-feat--peach    .dw-feat-icon{ background: var(--peach-tint);   color: #C46E45; }
.dw-feat--yellow   .dw-feat-icon{ background: var(--yellow-tint);  color: #9A7A1F; }
.dw-feat--sky      .dw-feat-icon{ background: var(--sky-tint);     color: #4E7CA8; }
.dw-feat--lavender .dw-feat-icon{ background: var(--lavender-tint);color: #6E55A4; }
.dw-feat--coral    .dw-feat-icon{ background: var(--coral-tint);   color: #B25A45; }

/* ---------- TRUST STRIP ---------- */
.dw-trust{
  padding: 30px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dw-trust-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 22px 36px;
  justify-content: space-around;
  align-items: center;
}
.dw-trust-list li{
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.dw-trust-list svg{
  width: 24px; height: 24px;
  color: var(--sage-dk);
  background: var(--sage-mist);
  padding: 5px;
  border-radius: 8px;
  flex-shrink: 0;
}
.dw-trust-list b{ color: var(--ink); }

/* ---------- FINAL CTA ---------- */
.dw-cta{ padding: 70px 0; }
.dw-cta-card{
  background: linear-gradient(135deg, var(--sage-mist) 0%, var(--peach-tint) 100%);
  border: 1px solid var(--sage-tint);
  border-radius: 28px;
  padding: 50px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}
.dw-cta-card h2{
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 8px;
  max-width: 560px;
  line-height: 1.2;
}
.dw-cta-card p{
  color: var(--ink-2);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
.dw-footer{
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.dw-footer-links{
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 22px;
}
.dw-footer-links a{
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
}
.dw-footer-links a:hover{ color: var(--sage-dk); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px){
  .dw-hero{ padding: 50px 0 60px; }
  .dw-demo{ margin-top: 30px; transform: none; }
  .dw-hero-meta{ gap: 24px; }
}
@media (max-width: 575px){
  .dw-hero-meta{ flex-wrap: wrap; gap: 18px; }
  .dw-cta-card{ padding: 32px 26px; text-align: left; }
  .dw-trust-list{ justify-content: flex-start; gap: 16px 24px; }
}
