/* Radwan DS website: light only. */
:root {
  --bg: #ffffff;
  --tint: #f6f7fb;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #4f46e5;
  --brand-ink: #3730a3;
  --brand-soft: #eef2ff;
  --ok: #047857;
  --ok-soft: #ecfdf5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
svg { display: block; }
:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 46rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; gap: 20px; margin-right: auto; }
.main-nav a { color: var(--body); font-weight: 500; }
.main-nav a[aria-current="page"] { color: var(--brand); }
.actions { display: flex; align-items: center; gap: 16px; }
.actions .link { color: var(--ink); font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 600; border: 1px solid var(--brand); transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-ink); text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: .95rem; }
.btn-ghost { background: #fff; color: var(--brand); border-color: #c7d2fe; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-ink); border-color: #fff; }
.btn-light:hover { background: var(--brand-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.hero { padding: 72px 0 64px; background: radial-gradient(60rem 30rem at 85% -10%, #e0e7ff 0, rgba(224, 231, 255, 0) 60%), var(--bg); }
.hero-grid { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.lead { font-size: 1.15rem; color: var(--body); margin-top: 18px; max-width: 38rem; }
.fine { font-size: .9rem; color: var(--muted); margin-top: 14px; }

.flow { margin: 0; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.node { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.node-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--ink); }
.node strong { color: var(--ink); }
.node span:last-child { color: var(--muted); font-size: .9rem; }
.node-accent { border-color: #c7d2fe; background: var(--brand-soft); }
.node-accent .node-icon { background: #fff; }
.pipe { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--brand-ink); padding: 0 8px;
  border-left: 2px dashed #c7d2fe; margin-left: 37px; padding-left: 20px; min-height: 30px; align-items: center; flex-wrap: wrap; }

/* sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-h { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 32px; }
.page-head { padding: 64px 0 8px; background: radial-gradient(50rem 20rem at 80% -20%, #e0e7ff 0, rgba(224, 231, 255, 0) 60%); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }

.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--body); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; flex: none; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.timeline li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline h3 { font-size: 1.1rem; margin-bottom: 4px; }

.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 500; color: var(--ink); background: #fff; }
.chip small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.chip-live { border-color: #a7f3d0; background: var(--ok-soft); color: var(--ok); }

.faq { display: grid; gap: 12px; max-width: 50rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin-top: 10px; }

.band { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 40px;
  border-radius: 20px; background: linear-gradient(120deg, #4338ca, #6366f1); color: #e0e7ff; }
.band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.plan h2 { font-size: 1.2rem; }
.plan-featured { border: 2px solid var(--brand); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-orders { font-weight: 600; color: var(--ink); }
.ticks { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 8px; flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { color: var(--ok); flex: none; margin-top: 2px; width: 20px; height: 20px; }
.note { color: var(--muted); font-size: .92rem; margin-top: 24px; }

/* demo videos */
.video-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.video-card h2 { font-size: 1.2rem; margin-bottom: 6px; }
.video-card p { margin-bottom: 14px; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #0f1218; }

/* legal pages */
.legal-text h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; }
.legal-text h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal-text p, .legal-text ul { margin: 0 0 12px; }
.legal-text ul { padding-left: 1.2rem; }
.legal-text li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 0 0 12px; }
.legal-text table { min-width: 32rem; }
.legal-text th, .legal-text td { vertical-align: top; font-size: .95rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr repeat(3, 1fr); }
.footer-grid p { margin-top: 10px; max-width: 22rem; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--body); }
.langs a[aria-current="true"] { color: var(--brand); font-weight: 600; }
.legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { order: 3; width: 100%; margin: 0 0 12px; }
  .actions { margin-left: auto; }
  .section { padding: 56px 0; }
  .band { padding: 28px; }
}
@media (max-width: 420px) {
  .actions .link { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
