/* ljaliya — solid colors only, one brand green, red as tiny accents */
:root {
  --ink: #0C1210;
  --ink-2: #3A4240;
  --muted: #6A726E;
  --faint: #8B928E;
  --line: #E6E4DF;
  --line-strong: #D8D5CF;
  --bg: #F7F6F3;
  --paper: #FFFFFF;
  --green: #0B5D45;
  --green-hover: #094C38;
  --green-soft: #E7F1ED;
  --green-mid: #C5DDD4;
  --red: #9C2B23;
  --shadow-sm: 0 1px 2px rgba(12, 18, 16, 0.05);
  --shadow-md: 0 8px 24px rgba(12, 18, 16, 0.08);
  --shadow-device: 0 4px 8px rgba(12, 18, 16, 0.04), 0 24px 48px rgba(12, 18, 16, 0.12), 0 40px 80px rgba(12, 18, 16, 0.08);
  --radius: 20px;
  --radius-sm: 16px;
  --nav-h: 64px;
  --wrap: 1120px;
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, a, input { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: var(--green); color: #fff; }

.skip {
  position: absolute;
  inset-inline-start: -999px;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
}
.skip:focus { inset-inline-start: 16px; top: 16px; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 246, 243, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { width: 28px; height: 28px; }
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-word .ar {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.logo-word .la {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
  font-weight: 500;
}
.nav-links {
  display: none;
  gap: 4px;
  margin-inline-start: 8px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
}
.nav-links a:hover { color: var(--ink); background: rgba(12, 18, 16, 0.04); }
.nav-spacer { flex: 1; }
.nav-end { display: flex; align-items: center; gap: 8px; }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.lang button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
}
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang button:hover { background: rgba(12, 18, 16, 0.04); }
.lang .sep { color: var(--line-strong); user-select: none; }

.lang-banner {
  display: none;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px;
}
.lang-banner.is-on { display: block; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--bg); }
.btn-invert { background: #fff; color: var(--green); }
.btn-invert:hover { background: var(--green-soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ----- Hero ----- */
.hero {
  padding: 40px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-accent {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid var(--green-mid);
  border-radius: 50%;
  inset-inline-end: -160px;
  top: 40px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-inline-end: 8px;
  vertical-align: middle;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6.4vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 14ch;
}
.hero .lead {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 36rem;
  font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Device */
.device-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.device {
  width: 280px;
  background: #161A19;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-device);
  animation: float 7s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.device-screen {
  background: #F4F3EF;
  border-radius: 30px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.device-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  background: #161A19;
  border-radius: 20px;
  z-index: 2;
}
.device-status {
  padding: 14px 22px 8px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.device-app {
  padding: 4px 16px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.device-app span { width: 18px; height: 18px; }
.device-chat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.d-bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.d-opts { display: flex; flex-direction: column; gap: 8px; }
.d-opt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.d-opt.is-on { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.device-home {
  width: 108px;
  height: 4px;
  background: var(--ink);
  opacity: 0.18;
  border-radius: 4px;
  margin: 8px auto 10px;
}

/* ----- Trust strip ----- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 20px 0;
}
.trust-strip p {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.7;
}
.trust-strip .src { color: var(--ink-2); font-weight: 500; }

/* ----- Sections ----- */
section { padding: 80px 0; scroll-margin-top: 80px; }
.section-head { margin-bottom: 40px; max-width: 36rem; }
.section-head .label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.section-head p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ----- Bento ----- */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: start;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 148px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.tile:hover, .tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-mid);
  outline: none;
}
.tile.featured {
  grid-column: 1 / -1;
  min-height: 180px;
  padding: 28px;
  background: #F3F7F5;
}
.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--bg);
}
.tile strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.tile em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 400; }
.tile .soon {
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  margin-top: auto;
}
.tile.featured strong { font-size: 20px; }
.tile.featured p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 36rem; }
.tile-cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

/* ----- Steps ----- */
.steps {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.step {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-n {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ----- Features ----- */
.feat-grid {
  display: grid;
  gap: 12px;
}
.feat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.feat h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.feat p { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.feat-preview {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-height: 120px;
}
.wave {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 48px;
  padding: 8px 0;
}
.wave i {
  display: block;
  width: 4px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.85;
}
.win {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  align-self: stretch;
}
.win-bar {
  height: 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.win-bar b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  display: block;
}
.win-bar b:first-child { background: var(--red); opacity: 0.7; } /* tiny red accent only */
.win-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.win-line {
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
}
.win-line.hl { background: var(--green-soft); width: 60%; border: 1px solid var(--green-mid); }

/* ----- Stats ----- */
.stats-sec { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats {
  display: grid;
  gap: 32px;
}
.stat b {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat span { color: var(--ink-2); font-size: 14px; }
.stats-note { margin: 32px 0 0; font-size: 12px; color: var(--muted); max-width: 44rem; }

/* ----- Trust ----- */
.points { display: grid; gap: 12px; }
.point {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.point h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.point p { margin: 0; color: var(--ink-2); font-size: 14px; }
.legal {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.legal h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}
.legal ul { margin: 0; padding: 0; list-style: none; }
.legal li {
  position: relative;
  padding-inline-start: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.legal li:last-child { margin-bottom: 0; }
.legal li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

/* ----- FAQ ----- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: start;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q:hover { background: rgba(12, 18, 16, 0.02); }
.faq-q .plus {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 12px; height: 1px; }
.faq-q .plus::after { width: 1px; height: 12px; transition: transform 0.2s var(--ease); }
.faq-q[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ----- CTA band ----- */
.cta-band {
  background: var(--green);
  color: #fff;
  padding: 80px 0;
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 16ch;
}
.cta-band p { margin: 0 0 28px; color: rgba(255,255,255,0.8); max-width: 32rem; }
.cta-band .btn-invert { height: 48px; }

/* ----- Footer ----- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 32px;
  font-size: 13px;
}
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; gap: 32px; }
.footer strong { color: #fff; font-size: 16px; font-weight: 600; display: block; margin-bottom: 8px; }
.footer .la { color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 0.06em; font-size: 11px; }
.footer-meta { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); font-size: 12px; }

/* ----- Toast ----- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 80;
  max-width: min(92vw, 400px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ----- Modal ----- */
.modal { position: fixed; inset: 0; z-index: 70; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12, 18, 16, 0.48); }
.modal-panel {
  position: absolute;
  inset: 0;
  height: 100%;
  height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rise 0.32s var(--ease);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.modal-top, .modal-foot { flex-shrink: 0; position: relative; z-index: 2; }
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.modal-top h2 { margin: 0; font-size: 15px; font-weight: 600; }
.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 18px;
}
.modal-chat {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-foot {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.msg { display: flex; gap: 10px; align-items: flex-start; animation: fadein 0.3s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--green);
  display: grid;
  place-items: center;
}
.msg-body { flex: 1; min-width: 0; }
.msg-bubble {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 18px 18px 18px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}
.msg-actions { display: flex; gap: 8px; margin-top: 8px; }
.speak-btn, .mic-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.speak-btn:hover { border-color: var(--green-mid); color: var(--green); }
.mic-btn { color: var(--muted); }
.options { display: flex; flex-direction: column; gap: 8px; }
.opt {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  border-radius: 16px;
  padding: 14px 16px;
  text-align: start;
  min-height: 56px;
  width: 100%;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.opt:hover, .opt:focus-visible { border-color: var(--green); background: var(--green-soft); outline: none; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.checklist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}
.checklist input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--green); }
.fee-table, .summary-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px;
  margin-top: 12px;
}
.fee-row, .sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.fee-row:last-child, .sum-row:last-child { border-bottom: 0; font-weight: 600; }
.amt, .ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.note-verify {
  background: #F4F1E8;
  border: 1px solid #E4DDC8;
  color: #5A5240;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 12px;
}
.link-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.human-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.human-form input {
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

/* ----- Reveal ----- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile.featured { grid-column: 1 / 3; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .step:last-child { border-inline-end: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .points { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 0 88px; }
  section { padding: 96px 0; }
  .device { width: 300px; }
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile.featured { grid-column: 1 / 3; grid-row: span 2; min-height: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .modal-panel {
    inset: 32px auto 32px 50%;
    transform: translateX(-50%);
    width: min(560px, calc(100vw - 48px));
    height: min(800px, calc(100vh - 64px));
    max-height: calc(100vh - 64px);
    border-radius: 24px;
    box-shadow: var(--shadow-device);
    border: 1px solid var(--line);
  }
  @keyframes rise {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to { opacity: 1; transform: translateX(-50%); }
  }
  .hero h1 { max-width: 12ch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.tile.span-3 {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 148px;
  pointer-events: none;
  box-shadow: none;
}
.tile.span-3:hover { transform: none; box-shadow: none; border-color: var(--line); }
@media (min-width: 720px) {
  .tile.span-3 { grid-column: span 2; }
}
@media (min-width: 980px) {
  .tile.span-3 { grid-column: span 3; }
}
.feat-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wave { justify-content: flex-start; width: 100%; }
