/* ═══════════════════════════════════════════════════════
   AWAAB'S LAW — page-specific components (al-*)
   Extends the shared design system in /styles.css
   ═══════════════════════════════════════════════════════ */

/* Anchor targets clear the fixed nav when jumped to from the hero CTAs. */
#trial, #download { scroll-margin-top: 88px; }

/* ── HERO EXTRAS ── */
.al-hero-flag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(232,184,106,0.38);
  background: rgba(196,132,31,0.14);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ember-light);
  margin-bottom: 22px;
}
.al-hero-flag .al-flag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember-light);
  box-shadow: 0 0 0 4px rgba(232,184,106,0.18);
}
.al-hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(247,246,243,0.14);
}
.al-hero-meta > div { min-width: 130px; }
.al-hero-meta-num {
  font-family: var(--font-accent);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--white); line-height: 1.1;
}
.al-hero-meta-label {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(247,246,243,0.6); margin-top: 6px;
  font-family: var(--font-accent); font-weight: 500;
}

/* ── PHASE TIMELINE ── */
.al-phases { padding: 110px 0 100px; background: var(--light); position: relative; overflow: hidden; }
.al-phases-head { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.al-phases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 2px solid var(--border-strong);
}
.al-phase {
  position: relative;
  padding: 34px 26px 30px 0;
  border-right: 1px solid var(--border);
}
.al-phase:last-child { border-right: none; }
.al-phase:nth-child(n+2) { padding-left: 26px; }
.al-phase::before {
  content: ''; position: absolute; top: -2px; left: 0; right: 0;
  height: 2px; background: var(--border-strong);
}
.al-phase--done::before { background: var(--sage); }
.al-phase--now::before { background: var(--ember); }
.al-phase-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-full);
  margin-bottom: 14px;
  background: var(--light-3); color: var(--text-muted);
}
.al-phase--done .al-phase-tag { background: rgba(13,150,104,0.12); color: var(--sage); }
.al-phase--now  .al-phase-tag { background: rgba(196,132,31,0.14); color: #9A6413; }
.al-phase-date {
  font-family: var(--font-display);
  font-size: 27px; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--text-primary); margin-bottom: 10px;
}
.al-phase--now .al-phase-date { color: #9A6413; }
.al-phase h3 {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text-primary); margin-bottom: 8px;
}
.al-phase p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); margin: 0; }

/* ── STORY / BACKGROUND ── */
.al-story { padding: 110px 0; background: var(--light-2); position: relative; overflow: hidden; }
.al-story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.al-story p { font-size: 15.5px; line-height: 1.75; color: var(--text-secondary); margin: 0 0 18px; }
.al-story p:last-child { margin-bottom: 0; }
.al-story-aside {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.al-story-aside h3 {
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.02em; color: var(--text-primary); margin-bottom: 18px;
}
.al-story-aside dl { margin: 0; }
.al-story-aside dt {
  font-family: var(--font-accent);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sage); margin-top: 18px;
}
.al-story-aside dt:first-of-type { margin-top: 0; }
.al-story-aside dd {
  margin: 5px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary);
}

/* ── STATUTORY CLOCKS ── */
.al-clocks { padding: 120px 0; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.al-clocks::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 480px at 78% 8%, rgba(13,150,104,0.16), transparent 60%);
  pointer-events: none;
}
.al-clocks-head { max-width: 720px; margin: 0 auto 60px; text-align: center; position: relative; z-index: 1; }
.al-clocks-head .eyebrow { color: var(--sage-light); }
.al-clocks-head .section-title { color: #fff; }
.al-clocks-head .section-body { color: rgba(255,255,255,0.7); margin: 20px auto 0; }
.al-clock-list { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.al-clock {
  display: grid; grid-template-columns: 132px 1fr; gap: 30px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.al-clock:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.al-clock-time {
  font-family: var(--font-accent);
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--sage-light); line-height: 1.2;
}
.al-clock-unit {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 4px;
}
.al-clock-body h3 {
  font-family: var(--font-body);
  font-size: 15.5px; font-weight: 700; color: #fff; margin-bottom: 7px;
}
.al-clock-body p { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.72); margin: 0; }
.al-clocks-note {
  position: relative; z-index: 1;
  max-width: 900px; margin: 34px auto 0;
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55);
}
.al-clocks-note a { color: var(--sage-light); }

/* ── HAZARD GRID ── */
.al-hazards { padding: 120px 0; background: var(--light); position: relative; overflow: hidden; }
.al-hazards-head { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.al-hazard-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.al-hazard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.al-hazard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,132,31,0.35);
}
.al-hazard-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(196,132,31,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.al-hazard-icon svg { width: 19px; height: 19px; color: #9A6413; }
.al-hazard h3 {
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text-primary); margin-bottom: 8px;
}
.al-hazard p { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.al-hazard--live { background: rgba(13,150,104,0.055); border-color: rgba(13,150,104,0.22); }
.al-hazard--live .al-hazard-icon { background: rgba(13,150,104,0.12); }
.al-hazard--live .al-hazard-icon svg { color: var(--sage); }
.al-hazard-flag {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-accent);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sage);
}

/* ── THE GAP ── */
.al-gap { padding: 120px 0; background: var(--light-2); position: relative; overflow: hidden; }
.al-gap-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.al-gap-rows { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--border-strong); }
.al-gap-row {
  display: grid; grid-template-columns: 54px 1fr 200px; gap: 26px;
  padding: 28px 0 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding-left var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.al-gap-row:hover { padding-left: 18px; background: linear-gradient(90deg, rgba(196,132,31,0.05), transparent 65%); }
.al-gap-num {
  font-family: var(--font-accent);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-muted); padding-top: 3px;
}
.al-gap-body h3 {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text-primary); margin-bottom: 7px;
}
.al-gap-body p { font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.al-gap-fix {
  font-size: 13.5px; line-height: 1.6; color: var(--sage);
  font-weight: 600; padding-top: 2px;
}
.al-gap-fix span {
  display: block; font-family: var(--font-accent);
  font-size: 10px; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px;
}

/* ── COVERAGE TABLE ── */
.al-cover { padding: 120px 0; background: var(--light); position: relative; overflow: hidden; }
.al-cover-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.al-cover-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.al-cover-table {
  width: 100%; min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.al-cover-table thead th {
  text-align: left;
  font-family: var(--font-accent);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 18px 22px;
  background: var(--light-2);
  border-bottom: 1px solid var(--border-strong);
}
.al-cover-table tbody td {
  padding: 18px 22px;
  font-size: 14px; line-height: 1.6;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.al-cover-table tbody tr:last-child td { border-bottom: none; }
.al-cover-table tbody tr:hover td { background: rgba(13,150,104,0.03); }
.al-cover-table td:first-child {
  font-weight: 700; color: var(--text-primary); white-space: nowrap;
}
.al-cover-phase {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--radius-full);
}
.al-cover-phase--1 { background: rgba(13,150,104,0.12); color: var(--sage); }
.al-cover-phase--2 { background: rgba(196,132,31,0.14); color: #9A6413; }

/* ── TRIAL OFFER ── */
.al-trial { padding: 120px 0; background: var(--dark-2); color: #fff; position: relative; overflow: hidden; }
.al-trial::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 15% 12%, rgba(196,132,31,0.20), transparent 62%);
  pointer-events: none;
}
.al-trial-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  align-items: center;
  background: rgba(247,246,243,0.045);
  border: 1px solid rgba(232,184,106,0.24);
  border-radius: var(--radius-xl);
  padding: 54px 52px;
}
.al-trial-card .eyebrow { color: var(--ember-light); }
.al-trial-card h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12; letter-spacing: -0.02em;
  color: #fff; margin: 16px 0 18px;
}
.al-trial-card h2 em { font-style: italic; color: var(--ember-light); }
.al-trial-card > div > p {
  font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,0.75); margin: 0 0 26px; max-width: 480px;
}
.al-trial-points { list-style: none; padding: 0; margin: 0 0 30px; }
.al-trial-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.11);
  font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.8);
}
.al-trial-points li:last-child { border-bottom: 1px solid rgba(255,255,255,0.11); }
.al-trial-points svg { width: 15px; height: 15px; color: var(--ember-light); margin-top: 4px; flex-shrink: 0; }
.al-trial-figure {
  background: rgba(10,15,28,0.34);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
}
.al-trial-big {
  font-family: var(--font-accent);
  font-size: 68px; font-weight: 700; letter-spacing: -0.04em;
  line-height: 1; color: var(--ember-light);
}
.al-trial-big-sub {
  font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 10px;
  font-family: var(--font-accent); font-weight: 600;
}
.al-trial-rule { height: 1px; background: rgba(255,255,255,0.13); margin: 26px 0; }
.al-trial-terms { font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,0.5); margin: 22px 0 0; }

/* ── DOWNLOAD ── */
.al-download { padding: 120px 0; background: var(--light-2); position: relative; overflow: hidden; }
.al-download-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 62px; align-items: center;
}
.al-download-grid > div:first-child p {
  font-size: 15.5px; line-height: 1.75; color: var(--text-secondary); margin: 18px 0 0; max-width: 520px;
}
.al-dl-contents { list-style: none; padding: 0; margin: 26px 0 0; }
.al-dl-contents li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-top: 1px solid var(--border);
  font-size: 14.5px; line-height: 1.6; color: var(--text-secondary);
}
.al-dl-contents li:last-child { border-bottom: 1px solid var(--border); }
.al-dl-contents svg { width: 15px; height: 15px; color: var(--sage); margin-top: 4px; flex-shrink: 0; }
.al-dl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 42px 40px;
  box-shadow: var(--shadow-lg);
}
.al-dl-card h3 {
  font-family: var(--font-display);
  font-size: 25px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--text-primary); margin-bottom: 8px;
}
.al-dl-card > p {
  font-size: 14px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 26px;
}
.al-dl-form { display: flex; flex-direction: column; gap: 17px; }
.al-dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.al-dl-field { display: flex; flex-direction: column; gap: 6px; }
.al-dl-field label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text-muted);
  font-family: var(--font-accent);
}
.al-dl-field input,
.al-dl-field select {
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px; color: var(--text-primary);
  outline: none;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.al-dl-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 10px 6px;
  padding-right: 40px;
}
.al-dl-field input:focus,
.al-dl-field select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(13,150,104,0.15);
}
.al-dl-field input::placeholder { color: var(--text-muted); opacity: 1; }
.al-dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.al-dl-check {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.6; color: var(--text-secondary);
  cursor: pointer;
}
.al-dl-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--sage); flex-shrink: 0; cursor: pointer; }
.al-dl-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--sage); color: var(--white);
  border: none; border-radius: var(--radius-full);
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  margin-top: 4px;
}
.al-dl-submit:hover:not(:disabled) {
  background: var(--sage-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(13,150,104,0.34);
}
.al-dl-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.al-dl-submit svg { width: 16px; height: 16px; }
.al-dl-legal { font-size: 12px; line-height: 1.6; color: var(--text-muted); margin: 2px 0 0; }
.al-dl-legal a { color: var(--sage); }
.al-dl-status { font-size: 13.5px; line-height: 1.6; margin: 0; display: none; }
.al-dl-status.is-visible { display: block; }
.al-dl-status.is-error { color: #B42318; }
.al-dl-done { display: none; text-align: center; padding: 12px 0; }
.al-dl-done.is-visible { display: block; }
.al-dl-done-mark {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(13,150,104,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.al-dl-done-mark svg { width: 25px; height: 25px; color: var(--sage); }
.al-dl-done h4 {
  font-family: var(--font-display); font-size: 23px; line-height: 1.25;
  color: var(--text-primary); margin-bottom: 8px; font-weight: 400;
}
.al-dl-done p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 24px; }

/* ── FAQ ── */
.al-faq { padding: 120px 0; background: var(--light); position: relative; overflow: hidden; }
.al-faq-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.al-faq-list { max-width: 860px; margin: 0 auto; }
.al-faq-item { border-bottom: 1px solid var(--border); }
.al-faq-item:first-child { border-top: 1px solid var(--border-strong); }
.al-faq-item summary {
  list-style: none; cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-primary);
  transition: color var(--dur-fast) ease;
}
.al-faq-item summary::-webkit-details-marker { display: none; }
.al-faq-item summary:hover { color: var(--sage); }
.al-faq-item summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.al-faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.al-faq-item .al-faq-body { padding: 0 40px 26px 0; }
.al-faq-item .al-faq-body p {
  font-size: 14.5px; line-height: 1.75; color: var(--text-secondary); margin: 0 0 14px;
}
.al-faq-item .al-faq-body p:last-child { margin-bottom: 0; }
.al-faq-item .al-faq-body a { color: var(--sage); }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .al-hazard-grid { grid-template-columns: repeat(2, 1fr); }
  .al-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .al-trial-card { grid-template-columns: 1fr; gap: 38px; padding: 42px 34px; }
  .al-download-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 760px) {
  .al-phases, .al-story, .al-clocks, .al-hazards, .al-gap,
  .al-cover, .al-trial, .al-download, .al-faq { padding: 76px 0; }
  .al-phases-grid { grid-template-columns: 1fr; border-top: none; }
  .al-phase { border-right: none; padding: 26px 0 26px 0 !important; border-top: 2px solid var(--border-strong); }
  .al-phase::before { display: none; }
  .al-phase--done { border-top-color: var(--sage); }
  .al-phase--now { border-top-color: var(--ember); }
  .al-hero-meta { gap: 20px 30px; }
  .al-clock { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .al-clock-unit { display: inline; margin-top: 0; margin-left: 8px; }
  .al-gap-row { grid-template-columns: 34px 1fr; gap: 16px; }
  .al-gap-fix { grid-column: 2; padding-top: 10px; }
  .al-hazard-grid { grid-template-columns: 1fr; }
  .al-dl-row { grid-template-columns: 1fr; }
  .al-dl-card { padding: 32px 26px; }
  .al-trial-big { font-size: 54px; }
}

/* ── MOTION / A11Y ── */
@media (prefers-reduced-motion: reduce) {
  .al-hazard, .al-gap-row, .al-dl-submit, .al-faq-item summary::after { transition: none; }
  .al-hazard:hover { transform: none; }
  .al-dl-submit:hover:not(:disabled) { transform: none; }
}
.al-dl-submit:focus-visible,
.al-faq-item summary:focus-visible,
.al-dl-field input:focus-visible,
.al-dl-field select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
