:root {
  color-scheme: light;
  --ink: #17382f;
  --muted: #66736e;
  --paper: #f6f2e9;
  --card: rgba(255, 255, 255, 0.56);
  --line: rgba(23, 56, 47, 0.16);
  --accent: #d96f46;
  --green: #2d6656;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 111, 70, 0.15), transparent 28rem),
    radial-gradient(circle at 88% 72%, rgba(45, 102, 86, 0.12), transparent 32rem),
    var(--paper);
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(217, 111, 70, 0.13);
}

main { align-self: center; padding-block: 70px 80px; }

.hero { max-width: 850px; }

.eyebrow {
  color: var(--accent);
  font: 700 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
  direction: ltr;
  text-align: right;
  margin-bottom: 26px;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 850;
}

h1 em { color: var(--green); font-style: normal; }

.intro {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
}

.launch-note {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 38px;
  padding: 15px 20px;
  border-right: 3px solid var(--accent);
  background: var(--card);
}

.launch-note span { color: var(--muted); font-size: 0.78rem; }
.launch-note strong { font-size: 1rem; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 82px;
}

.features article {
  min-height: 205px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  backdrop-filter: blur(8px);
}

.number {
  color: var(--accent);
  font: 700 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

h2 { margin: 40px 0 10px; font-size: 1.22rem; }
.features p { margin: 0; color: var(--muted); line-height: 1.75; }

footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-en { letter-spacing: 0.04em; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 78px; }
  main { padding-block: 54px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .features { grid-template-columns: 1fr; margin-top: 56px; }
  .features article { min-height: auto; }
  h2 { margin-top: 24px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero, .features { animation: arrive 650ms ease-out both; }
  .features { animation-delay: 120ms; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
