/* eshdious.com — Jimoo Dev / RokMote
   Single stylesheet, no build step. */

:root {
  --purple: #8439bc;
  --purple-light: #9d4fd8;
  --purple-dark: #6b2a9c;
  --purple-grad: linear-gradient(135deg, #9d4fd8 0%, #6b2a9c 100%);

  --bg: #ffffff;
  --bg-alt: #f6f4f9;
  --surface: #ffffff;
  --surface-border: #e7e2ee;
  --text: #1c1424;
  --text-muted: #5a5266;
  --text-faint: #837c8d;
  --link: #6b2a9c;
  --link-hover: #8439bc;
  --focus-ring: #8439bc;
  --shadow: 0 10px 30px -12px rgba(88, 39, 132, 0.22);
  --shadow-sm: 0 2px 10px rgba(40, 20, 60, 0.06);
  --code-bg: #f1ecf7;
  --divider: #e7e2ee;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --max-width: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120c17;
    --bg-alt: #170f1e;
    --surface: #1b1322;
    --surface-border: #2d2337;
    --text: #f1ecf7;
    --text-muted: #c3b9d1;
    --text-faint: #93899f;
    --link: #c99cee;
    --link-hover: #dcb8fb;
    --focus-ring: #c99cee;
    --shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --code-bg: #241a2d;
    --divider: #2d2337;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--purple);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Layout */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  border-bottom: 1px solid var(--divider);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.brand .brand-name {
  white-space: nowrap;
}

.brand .brand-sub {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.85rem;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--purple);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(157, 79, 216, 0.16), transparent 70%),
    radial-gradient(50% 50% at 80% 10%, rgba(107, 42, 156, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--code-bg);
  border: 1px solid var(--surface-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 46ch;
}

.gradient-text {
  background: var(--purple-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--purple-grad);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--surface-border);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--purple);
}

/* Sections */

section {
  padding: 3rem 0;
}

section.alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 60ch;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin: 0 0 2.25rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 780px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--code-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

/* App showcase card */

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

@media (max-width: 560px) {
  .app-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.app-card img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.status-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--code-bg);
  border: 1px solid var(--surface-border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.app-card .app-links {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 780px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-grad);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Contact / CTA */

.cta {
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--purple-grad);
  color: #fff;
  padding: 3rem 1.5rem;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  opacity: 0.92;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.cta .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Feature list (remote page) */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.feature-list .dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-grad);
  margin-top: 0.55rem;
}

.feature-list strong {
  color: var(--text);
}

/* FAQ */

.faq-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.2rem 1.25rem;
  margin-bottom: 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--purple);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding-bottom: 1rem;
  margin: 0;
}

.faq-item ol,
.faq-item ul {
  color: var(--text-muted);
  padding-bottom: 1rem;
  margin: 0;
  padding-left: 1.2rem;
}

/* Requirements list */

.req-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.req-list li {
  margin-bottom: 0.5rem;
}

/* Legal / policy pages */

.legal {
  max-width: 74ch;
  margin: 0 auto;
}

.legal h2 {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--divider);
}

.legal h2:first-of-type {
  border-top: none;
  margin-top: 1rem;
}

.legal ul {
  color: var(--text-muted);
}

.legal .updated {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  vertical-align: top;
}

.legal th {
  color: var(--text);
  background: var(--bg-alt);
}

/* Disclaimer / trademark footer note */

.disclaimer {
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 74ch;
}

/* Site footer */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--purple);
}

.copyright {
  color: var(--text-faint);
  font-size: 0.88rem;
}

/* 404 page */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.error-page .code {
  font-size: 5rem;
  font-weight: 800;
  background: var(--purple-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  line-height: 1;
}

/* Utility */

.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
