/* Landing page — layout built on the Organic design-system tokens in design-system.css. */

body { margin: 0; background: var(--color-bg); font-family: var(--font-body); color: var(--color-text); }
a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent-800); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* — header — */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 0 0;
}
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark span {
  font-family: var(--font-heading); font-size: 25px; letter-spacing: -0.01em; line-height: 1;
}
.site-nav { display: flex; align-items: center; gap: 28px; flex: none; }
.site-nav a.nav-link { font-size: 15px; font-weight: 600; color: var(--color-neutral-800); }
.site-nav a.btn { font-size: 15px; white-space: nowrap; }

.btn { white-space: nowrap; }

/* — hero — */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 84px 0 96px;
}
.hero h1 {
  font-family: var(--font-heading); font-size: 66px; line-height: 1.03;
  letter-spacing: -0.02em; margin: 0 0 22px;
}
.hero p.lede {
  font-size: 19px; line-height: 1.55; color: var(--color-neutral-800);
  max-width: 29em; margin: 0 0 32px; text-wrap: pretty;
}
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero .actions .btn-primary { font-size: 17px; padding: 0 28px; height: 54px; }
.hero .actions .btn-ghost { font-size: 17px; }

.phone-frame {
  justify-self: center; width: 300px; aspect-ratio: 9 / 19; border-radius: 44px;
  background: var(--color-neutral-200); padding: 10px; box-shadow: var(--shadow-lg);
}
.phone-frame .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--color-surface);
}

/* — problem statement banner — */
.problem-banner {
  background: var(--color-accent-2-200); border-radius: var(--radius-lg);
  padding: 56px 60px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin: 0 0 96px;
}
.problem-banner h2 {
  font-size: 38px; line-height: 1.12; margin: 0; color: var(--color-accent-2-900);
}
.problem-banner p {
  margin: 0; font-size: 18px; line-height: 1.6; color: var(--color-accent-2-900); text-wrap: pretty;
}

/* — section intros — */
.section-intro { padding: 0 0 40px; }
.section-intro h2 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.section-intro p { font-size: 18px; line-height: 1.55; color: var(--color-neutral-700); margin: 0; max-width: 34em; }

/* — steps — */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0 0 100px;
}
.step { display: flex; flex-direction: column; gap: 22px; }
.step-frame {
  width: 100%; aspect-ratio: 9 / 17; border-radius: 34px; background: var(--color-neutral-200);
  padding: 8px; box-shadow: var(--shadow-md);
}
.step-frame .screen {
  width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: var(--color-surface);
}
.step-body { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--color-accent);
  color: var(--color-bg); font-family: var(--font-heading); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 23px; line-height: 1.15; margin: 5px 0 8px; }
.step-body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--color-neutral-700); text-wrap: pretty; }

/* — verdicts — */
.verdicts-section { padding: 0 0 100px; }
.verdicts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.verdict-card { border-radius: var(--radius-lg); padding: 30px 32px 34px; }
.verdict-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.verdict-title { font-family: var(--font-heading); font-size: 30px; line-height: 1; margin-bottom: 10px; }
.verdict-card p { margin: 0; font-size: 16px; line-height: 1.55; }

.verdict-halal { background: var(--color-accent-2-200); border: 1px solid var(--color-accent-2-300); }
.verdict-halal .verdict-icon { border-radius: 50%; background: var(--color-accent-2-700); }
.verdict-halal .verdict-title { color: var(--color-accent-2-800); }
.verdict-halal p { color: var(--color-accent-2-900); }

.verdict-uncertain { background: #f7e9c6; border: 1px solid #e9d49c; }
.verdict-uncertain .verdict-icon {
  width: 46px; height: 46px; margin: 3px 3px 23px; border-radius: 11px; background: #8a6414; transform: rotate(45deg);
}
.verdict-uncertain .verdict-icon span { transform: rotate(-45deg); color: #faf3dd; font-weight: 800; font-size: 23px; line-height: 1; }
.verdict-uncertain .verdict-title { color: #6b4d0e; }
.verdict-uncertain p { color: #5c4310; }

.verdict-haram { background: #f8ded2; border: 1px solid #eec0a9; }
.verdict-haram .verdict-icon {
  background: #8c3a24; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.verdict-haram .verdict-title { color: #7e3220; }
.verdict-haram p { color: #6d2c1c; }

.verdict-notchecked { background: var(--color-neutral-100); border: 1px dashed var(--color-neutral-400); }
.verdict-notchecked .verdict-icon { border-radius: var(--radius-sm); background: var(--color-neutral-200); border: 1px dashed var(--color-neutral-400); }
.verdict-notchecked .verdict-title { color: var(--color-neutral-800); }
.verdict-notchecked p { color: var(--color-neutral-700); }

/* — shelf photo — */
.shelf-section { padding: 0 0 100px; }
.shelf-photo {
  border-radius: var(--radius-lg); overflow: hidden; height: 420px;
  display: flex; align-items: center; justify-content: center;
}

/* — CTA — */
.cta-section { padding: 0 0 110px; }
.cta-panel {
  background: var(--color-accent); border-radius: var(--radius-lg); padding: 64px 60px;
  display: grid; grid-template-columns: 1.1fr auto; gap: 48px; align-items: center;
}
.cta-panel h2 { font-size: 42px; line-height: 1.1; margin: 0 0 16px; color: #fff8ec; }
.cta-panel p { margin: 0; font-size: 18px; line-height: 1.6; color: #fdeddb; max-width: 30em; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 230px; }
.cta-actions a {
  border-radius: 999px; height: 56px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; font-family: var(--font-body);
}
.cta-actions a.cta-primary { background: var(--color-bg); color: var(--color-text); }
.cta-actions a.cta-primary:hover { background: #fff8ec; }
.cta-actions a.cta-secondary { background: transparent; border: 2px solid rgba(255, 248, 236, .6); color: #fff8ec; }
.cta-actions a.cta-secondary:hover { border-color: #fff8ec; }

/* — footer — */
.site-footer {
  border-top: 1px solid var(--color-neutral-300); padding: 32px 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand span { font-family: var(--font-heading); font-size: 18px; line-height: 1; }
.footer-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--color-neutral-700); }
.footer-links a { color: var(--color-neutral-700); }

/* — placeholder mocks (swap for real screenshots / photography) — */
.mock {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center; padding: 16px;
  background: linear-gradient(160deg, var(--color-surface), var(--color-neutral-200));
  color: var(--color-neutral-600);
}
.mock svg { opacity: .55; }
.mock span {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-neutral-600); max-width: 14em;
}
.shelf-photo .mock { background: linear-gradient(160deg, var(--color-neutral-300), var(--color-neutral-200)); }

@media (max-width: 1080px) {
  .verdicts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 64px; }
  .hero h1 { font-size: 44px; }
  .phone-frame { width: 240px; justify-self: start; }
  .problem-banner, .cta-panel { grid-template-columns: 1fr; padding: 40px 32px; }
  .steps, .verdicts-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
  .site-nav .nav-link { display: none; }
  .site-footer { flex-direction: column; gap: 18px; }
}

@media (max-width: 420px) {
  .brand-mark span { font-size: 19px; }
  .site-header { flex-wrap: wrap; gap: 12px; }
}
