/* Aradiq marketing site — one stylesheet, mobile-first, system fonts (no web-font download). */
:root {
  --ink: #14142b;
  --ink-soft: #4b4b67;
  --muted: #6e6e8a;
  --line: #e6e4f0;
  --bg: #ffffff;
  --bg-soft: #f7f6fc;
  --brand: #4b2bd6;
  --brand-dark: #2d1a8c;
  --brand-ink: #ffffff;
  --accent: #0b7a5a;
  --hero-from: #0b1f5c;
  --hero-to: #3a0b52;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 43, .06), 0 8px 24px rgba(20, 20, 43, .06);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--brand); text-underline-offset: .15em; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: 3px solid #8c7cf0; outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-dark); color: var(--brand-ink); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #ece8ff; color: var(--brand-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.2rem; }
.logo svg { width: 32px; height: 32px; }
.nav { display: none; margin-left: auto; gap: 26px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav a:hover { color: var(--brand); }
.header-cta { margin-left: auto; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* Hero */
.hero {
  color: #fff;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(140, 124, 240, .35), transparent 60%),
              linear-gradient(160deg, var(--hero-from), var(--hero-to));
  padding: 64px 0 72px;
}
.hero .container { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #e3defc; font-size: .875rem; font-weight: 600;
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #d9d5f2; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-note { font-size: .9rem; color: #bdb6e6; margin: 0; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 104px; }
  .hero .container { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* Phone mock with sample texts */
.phone {
  justify-self: center; width: 100%; max-width: 340px;
  background: #fff; color: var(--ink); border-radius: 32px; padding: 18px 16px 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 8px solid #1d1b3a;
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #ece8ff; color: var(--brand-dark); display: grid; place-items: center; font-weight: 750; }
.phone-top strong { display: block; font-size: .95rem; }
.phone-top span { font-size: .8rem; color: var(--muted); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.45; margin: 0 0 10px; }
.bubble.in { background: #f1f0f7; border-bottom-left-radius: 6px; }
.bubble.out { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.bubble .link { color: var(--brand); text-decoration: underline; }
.bubble.out .link { color: #fff; }
.bubble small { display: block; margin-top: 4px; font-size: .75rem; color: var(--muted); }
.bubble.out small { color: #e3defc; }

/* Sections */
.section { padding: 72px 0; }
/* Below-the-fold sections skip style/layout work until they're near the viewport. */
main > .section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .section { padding: 96px 0; } }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #ece8ff; color: var(--brand); margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; }

.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 750; margin-bottom: 14px;
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.tags li {
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; color: var(--ink-soft);
}

/* Pricing */
.toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; background: #ece8ff; margin-bottom: 28px;
}
.toggle button {
  font: inherit; font-weight: 650; font-size: .95rem; border: 0; cursor: pointer;
  padding: 8px 18px; min-height: 40px; border-radius: 999px; background: transparent; color: var(--brand-dark);
}
.toggle button[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow); }

.pricing { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1.15fr 1fr; } }
.plan { border: 2px solid var(--brand); position: relative; }
.plan-badge {
  position: absolute; top: -14px; left: 26px; background: var(--accent); color: #fff;
  font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price .amount { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.price .per { color: var(--muted); font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 20px 0 24px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.addon { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.addon:last-of-type { border-bottom: 0; }
.addon strong { display: block; }
.addon span { color: var(--muted); font-size: .95rem; }
.addon .addon-price { font-weight: 750; color: var(--ink); white-space: nowrap; }
.fine { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--brand); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); padding-right: 24px; }

/* CTA band */
.cta-band {
  color: #fff; text-align: center; border-radius: 24px; padding: 48px 24px;
  background: linear-gradient(140deg, var(--brand), var(--hero-to));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3defc; max-width: 34em; margin: 0 auto 24px; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal li { margin-bottom: .4em; color: var(--ink-soft); }
.legal p { color: var(--ink-soft); }
.updated {
  display: inline-block; font-size: .9rem; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; margin-bottom: 24px;
}
.notice { background: var(--bg-soft); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0; font-size: .95rem; color: var(--muted); }
.site-footer .container { display: grid; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }
@media (min-width: 760px) {
  .site-footer .container { grid-template-columns: 1fr auto; align-items: center; }
}

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.not-found .code { font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }
