/* ---------- Theme ---------- */
:root{
  --bg: #F7F8FA;            /* page background */
  --panel: #FFFFFF;          /* cards/panels */
  --ink: #1F2328;            /* primary text */
  --ink-70:#5E6673;
  --ink-55:#7A8391;
  --rule:#E7EAF0;            /* hairlines */
  --btn:#1F2328;             /* dark button */
  --btn-hover:#0F1114;

  /* subtle blue-ish card gradient (like demo) */
  --card-1:#FCFDFF;
  --card-2:#dfe6f6;

  --shadow-1: 0 18px 40px rgba(23, 28, 38, .08),
              0 4px 14px rgba(23, 28, 38, .06);
}

/* ---------- Base ---------- */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{
  margin:0; padding:0;
  color:var(--ink);
  background:var(--bg);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color:inherit; text-decoration:none; }

/* ---------- Header (same layout as AÏSHA, neutral colors) ---------- */
.site-header{
  position: sticky; top:0; z-index:1000;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.logo{
  font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; letter-spacing:.4px; font-size: 26px;
}

.site-header nav ul{
  display:flex; gap:24px; list-style:none; margin:0; padding:0;
}
.site-header nav a{ font-weight:500; color:var(--ink); }
.site-header nav a:hover{ opacity:.75; }

.signup{
  background:var(--btn); color:#fff; border:none;
  padding:10px 16px; border-radius:10px; font-weight:600; cursor:pointer;
}
.signup:hover{ background:var(--btn-hover); }

/* ---------- Utilities ---------- */
.container{ width:min(1180px, 92%); margin:0 auto; }

/* Thin elegant headings (Fraunces) */
.display{
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; line-height:1.04;
  letter-spacing:.2px;
  font-size: clamp(44px, 7vw, 96px);
  margin:0 0 14px;
}
.section-title{
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height:1.08;
  text-align:center;
  margin:0 0 8px;
}
.section-sub{
  text-align:center; color:var(--ink-70);
  margin: 0 auto 28px; max-width: 940px;
  font-size: clamp(15px, 1.35vw, 18px);
}

/* ---------- HERO ---------- */
.hero{
  background: var(--bg);
  padding: clamp(96px, 14svh, 140px) 0 clamp(64px, 10svh, 92px);
  border-bottom: 1px solid var(--rule);
}
.hero .hero-inner{ width:min(980px, 92%); margin:0 auto; text-align:center; }
.hero .lede{
  color:var(--ink-70);
  font-size: clamp(16px, 1.45vw, 21px);
  margin: 6px 0 22px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 190px; height: 48px; padding:0 20px;
  border-radius: 12px; font-weight:600; cursor:pointer;
  transition: background .2s ease, transform .06s ease, box-shadow .2s ease;
}
.btn-dark{ background:var(--btn); color:#fff; }
.btn-dark:hover{ background:var(--btn-hover); }
.btn:active{ transform: translateY(1px); }

.cta-row{ display:flex; gap:14px; justify-content:center; }

/* Small visual breathing gap after hero (per feedback) */
.hero + .how-it-works{ margin-top: clamp(10px, 2svh, 18px); }

/* ---------- HOW IT WORKS ---------- */
.how-it-works{
  background: #FFF;                 /* clean white section */
  padding: clamp(56px, 8svh, 76px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.hiw-grid{
  width:min(1180px, 92%); margin: 18px auto 0;
  display:grid;
  grid-template-columns: 1.08fr 0.92fr;   /* text left, cards right */
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
}

/* Left rail (numbers + titles) */
.hiw-steps{
  position:relative; padding-left:30px;
}
.hiw-steps::before{
  content:""; position:absolute; left:0; top:6px; bottom:6px;
  width:2px; background:var(--rule);
}

.step{ margin: 0 0 clamp(26px, 6svh, 44px); }
.step-number{
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; color:var(--ink-55);
  font-size: clamp(26px, 3.6vw, 40px); line-height:1; margin-bottom: 6px;
}
.step-title{
  display:flex; align-items:center; gap:12px;
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; font-size: clamp(28px, 4vw, 44px); line-height:1.08;
}
.step-copy{
  margin: 10px 0 0; color:var(--ink-70);
  font-size: clamp(15px, 1.35vw, 18px);
  max-width: 640px;
}

/* Monochrome “emoji” icons via mask (no color) */
.step-ico{
  inline-size: 26px; block-size: 26px; display:inline-block;
  background-color: currentColor; opacity:.55; transform: translateY(2px);
  -webkit-mask: var(--ico) center/contain no-repeat;
          mask: var(--ico) center/contain no-repeat;
}
.ico-eye { --ico: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z'/><circle cx='12' cy='12' r='3'/></svg>"); }
.ico-tap { --ico: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v6'/><path d='M9 5h6'/><path d='M7 11l2 10 3-4 3 4 2-10'/></svg>"); }
.ico-bag { --ico: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 7h12l1 13H5L6 7Z'/><path d='M9 7a3 3 0 0 1 6 0'/></svg>"); }

/* Right: stacked sample cards — FIXED to the right on desktop */
.hiw-cards{
  position:relative;
  min-height: clamp(360px, 46svh, 520px);
}
.card{
  width: clamp(240px, 30vw, 340px);
  height: clamp(220px, 34svh, 300px);
  border-radius: 20px;
  border:1px solid #EEF1F7;
  background: linear-gradient(180deg, var(--card-1), var(--card-2));
  box-shadow: var(--shadow-1);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#7D8AA3; text-align:center;
}
.card .play{ font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.card .card-label{ font-size: 14px; }

.c1{ position:absolute; left:0;  top:0;                                  z-index:2; }
.c2{ position:absolute; left: clamp(70px, 8vw, 120px); top: clamp(130px, 18svh, 200px); z-index:1; }
.c3{ position:absolute; right: clamp(0px, 1.4vw, 24px); top: clamp(40px, 10svh, 120px); z-index:3; }

/* Keep cards on the RIGHT (grid) — collapse to vertical on smaller viewports */
@media (max-width: 1100px){
  .hiw-grid{ grid-template-columns: 1fr; }
  .hiw-cards{
    margin-top: 16px;
    min-height: clamp(360px, 52svh, 560px);
  }
  .c1{ left:0; top:0; }
  .c2{ left: clamp(40px, 8vw, 80px); top: clamp(130px, 22svh, 220px); }
  .c3{ right: 0; top: clamp(80px, 14svh, 140px); }
}

/* ---------- INTELLIGENT STYLING ---------- */
.intelligent{
  background: var(--bg);
  padding: clamp(62px, 9svh, 90px) 0;
}

.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:#fff; border:1px solid var(--rule);
  color:var(--ink-70); font-size:13px;
  margin: 0 auto 14px; display:block; width:max-content;
}

/* 3 info cards */
.intelligent .container{ text-align:center; }
.intel-cards{
  margin: clamp(18px, 3svh, 28px) auto 0;
  display:grid; gap: clamp(14px, 2.4vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width:min(1180px, 92%);
}

/* monochrome icons via mask (no colored emoji) */
.intel-ico{
  inline-size: 26px; block-size: 26px; display:inline-block;
  background-color: var(--ink); opacity:.6; margin-bottom: 10px;
  -webkit-mask: var(--intel-ico) center/contain no-repeat;
          mask: var(--intel-ico) center/contain no-repeat;
}
.intel-card.star   .intel-ico{ --intel-ico: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 15 9 22 9 17 14 19 22 12 18 5 22 7 14 2 9 9 9 12 2'/></svg>"); }
.intel-card.hat    .intel-ico{ --intel-ico: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 7L12 12 2 7 12 2 22 7Z'/><path d='M6 10v4c0 2 6 4 6 4s6-2 6-4v-4'/></svg>"); }
.intel-card.bag    .intel-ico{ --intel-ico: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 7h12l1 13H5L6 7Z'/><path d='M9 7a3 3 0 0 1 6 0'/></svg>"); }

.intel-card{
  text-align:left;
  background:#fff; border:1px solid var(--rule);
  border-radius:18px; padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 12px 28px rgba(23, 28, 38, .06);
}
.intel-card h3{
  margin:6px 0 8px;
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600;
  font-size: clamp(18px, 1.6vw, 22px);
}
.intel-card p{
  margin:0; color:var(--ink-70);
  font-size: clamp(14px, 1.2vw, 16px);
}

.footnote{
  color:var(--ink-55); margin: 18px 0 16px; font-size:14px;
}
.btn.center{ display:inline-flex; margin: 6px auto 0; }

/* ---------- Footer (unchanged layout, neutral colors) ---------- */
.site-footer{
  background:#0E1114; color:#cfd6df;
  padding: 46px 0 18px;
}
.site-footer .foot-inner{
  display:flex; gap: clamp(24px, 6vw, 80px);
  align-items:flex-start; justify-content:space-between;
  width:min(1180px, 92%); margin:0 auto;
}
.site-footer .brand .logo{
  font-family:"Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  font-weight:600; font-size:26px; margin-bottom:6px;
}
.site-footer .brand p{ color:#aeb6c0; max-width: 360px; }
.site-footer .cols{ display:flex; gap: clamp(24px, 6vw, 80px); }
.site-footer h4{ margin:0 0 10px; color:#e6ebf1; }
.site-footer a{ display:block; color:#cfd6df; opacity:.85; margin:6px 0; }
.site-footer a:hover{ opacity:1; text-decoration:underline; }
.copy{ text-align:center; opacity:.7; font-size:14px; margin-top: 16px; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 1100px){
  .intel-cards{ grid-template-columns: 1fr; }
}

@supports (height: 1svh){
  .hero, .how-it-works, .intelligent{ min-height: auto; }
}
