@import url('brand/tokens.css');

/* ══════════════════════════════════════════════════════════════════════
   Vendoline — site styles

   The logo is one unbroken stroke that draws a V, loops, and closes into an
   O without lifting. The copy's central argument is the same shape: you are
   juggling six things, here is one system. So the hero's ribbon echoes the
   mark, and the teal→coral gradient is reserved for those two places only —
   the logo and that ribbon. Everything else is flat colour, which is what
   keeps the gradient meaning something.

   Rhythm: cream (the promise) → night (the pain) → cream (the answer) →
   night (the close). Light and dark carry the argument, they are not
   decoration.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

body {
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  background: var(--vo-cream);
  color: var(--vo-ink);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}
::selection { background: var(--vo-coral); color: #fff; }
:focus-visible { outline: 3px solid var(--vo-coral); outline-offset: 3px; border-radius: 3px; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.vo-display { font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif; font-weight: 700; }
h1, h2, h3 { font-family: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif; line-height: 1.28; font-weight: 700; }
h1 { font-size: clamp(31px, 5.4vw, 58px); letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(25px, 3.8vw, 40px); letter-spacing: -.005em; text-wrap: balance; }
h3 { font-size: clamp(18px, 2.2vw, 21px); }
.vo-lede { font-size: clamp(16px, 2.1vw, 19px); line-height: 1.85; }
.vo-num { font-variant-numeric: tabular-nums; }

/* ── Shell ────────────────────────────────────────────────────────────── */
.vo-wrap { width: min(1140px, 100% - clamp(32px, 8vw, 96px)); margin-inline: auto; }
.vo-section { padding-block: clamp(64px, 9vw, 116px); }
.vo-night { background: var(--vo-night); color: var(--vo-on-night); }
.vo-night h1, .vo-night h2, .vo-night h3 { color: var(--vo-gold); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.vo-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Alexandria', sans-serif; font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.vo-btn:hover { transform: translateY(-2px); }
.vo-btn-primary { background: var(--vo-coral); color: #fff; }
.vo-btn-primary:hover { background: var(--vo-coral-soft); }
.vo-btn-ghost { border-color: var(--vo-rule); color: var(--vo-ink); }
.vo-btn-ghost:hover { border-color: var(--vo-ink); }
.vo-night .vo-btn-ghost { border-color: var(--vo-rule-night); color: var(--vo-on-night); }
.vo-night .vo-btn-ghost:hover { border-color: var(--vo-gold); color: var(--vo-gold); }
.vo-btn-teal { background: var(--vo-teal-deep); color: #fff; }
.vo-btn-teal:hover { background: var(--vo-teal); }

/* ── Header ───────────────────────────────────────────────────────────── */
.vo-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--vo-cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--vo-rule);
}
.vo-header-in { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); min-height: 74px; }
.vo-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.vo-logo img { height: 40px; width: auto; }
.vo-logo-mark { height: 40px; width: 40px; flex: none; }
.vo-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.vo-logo-name { font-family: 'Alexandria', sans-serif; font-weight: 700; font-size: 20px; color: var(--vo-ink); letter-spacing: -.01em; }
.vo-logo-tag { font-size: 10.5px; color: var(--vo-ink-soft); letter-spacing: .06em; }

.vo-nav { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 24px); margin-inline-start: auto; }
.vo-nav a { text-decoration: none; font-size: 15px; color: var(--vo-ink-soft); transition: color .15s ease; }
.vo-nav a:hover, .vo-nav a.is-on { color: var(--vo-ink); }
.vo-nav a.is-on { font-weight: 600; }
.vo-lang {
  font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 13px; font-weight: 600;
  border: 1px solid var(--vo-rule); border-radius: 999px; padding: 6px 13px;
  text-decoration: none; color: var(--vo-ink-soft);
}
.vo-lang:hover { border-color: var(--vo-ink); color: var(--vo-ink); }
.vo-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-inline-start: auto; }
.vo-burger span { display: block; width: 22px; height: 2px; background: var(--vo-ink); border-radius: 2px; }
.vo-burger span + span { margin-top: 5px; }

@media (max-width: 940px) {
  .vo-burger { display: block; }
  .vo-nav {
    position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--vo-cream); border-bottom: 1px solid var(--vo-rule);
    padding: 14px clamp(16px, 5vw, 48px) 22px; gap: 4px; margin: 0;
    display: none;
  }
  .vo-nav.is-open { display: flex; }
  .vo-nav a { padding: 11px 0; font-size: 16.5px; border-bottom: 1px solid var(--vo-rule); }
  .vo-nav .vo-btn, .vo-nav .vo-lang { align-self: flex-start; margin-top: 10px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.vo-hero { padding-block: clamp(44px, 7vw, 84px) clamp(20px, 4vw, 40px); }
.vo-hero-grid { display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
@media (min-width: 1000px) { .vo-hero-grid { grid-template-columns: 1.02fr .98fr; } }
.vo-hero h1 { margin-bottom: 18px; }
.vo-hero .vo-lede { color: var(--vo-ink-soft); max-width: 52ch; margin-bottom: 30px; }
.vo-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.vo-trust { font-size: 13.5px; color: var(--vo-ink-soft); }

/* ── The ribbon: the one signature ────────────────────────────────────── */
.vo-hero-art { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.vo-ribbon { width: 100%; height: auto; overflow: visible; }
/* Heavy enough to read as the mark rather than a diagram of it. */
.vo-ribbon-path { fill: none; stroke: url(#voStroke); stroke-width: 32; stroke-linecap: round; stroke-linejoin: round; }
.vo-ribbon-dot { fill: var(--vo-cream); stroke: var(--vo-teal-deep); stroke-width: 6; }
.vo-ribbon-dot.is-coral { stroke: var(--vo-coral); }

/* The six things being juggled. A row underneath, not labels beside the dots:
   on the line they fought the stroke and had nowhere to go on a phone. The
   connection is made by the reveal order instead of by proximity. */
.vo-juggle {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px;
  justify-content: center;
}
.vo-juggle li {
  font-size: 13.5px; color: var(--vo-ink-soft);
  border: 1px solid var(--vo-rule); border-radius: 999px; padding: 5px 13px;
  background: color-mix(in srgb, #fff 55%, transparent);
}

/* One orchestrated moment: the line draws itself, then the six things it
   gathers arrive in order. pathLength normalises the dash maths, so the
   timing survives any future change to the path. */
@media (prefers-reduced-motion: no-preference) {
  .vo-ribbon-path {
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: vo-draw 2s cubic-bezier(.65,.02,.3,1) .25s forwards;
  }
  .vo-ribbon-dot, .vo-juggle li {
    opacity: 0;
    animation: vo-pop .5s ease forwards;
    animation-delay: calc(.85s + var(--i) * .17s);
  }
}
@keyframes vo-draw { to { stroke-dashoffset: 0; } }
@keyframes vo-pop  { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* ── Problem ──────────────────────────────────────────────────────────── */
.vo-problem h2 { max-width: 20ch; margin-bottom: 26px; }
.vo-problem .vo-lede { color: var(--vo-on-night); max-width: 62ch; }
.vo-problem-closing {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--vo-rule-night);
  font-family: 'Alexandria', sans-serif; font-weight: 600;
  font-size: clamp(18px, 2.6vw, 24px); color: var(--vo-gold);
}

/* ── Pillars ──────────────────────────────────────────────────────────── */
.vo-pillars { display: grid; gap: clamp(18px, 2.4vw, 26px); }
@media (min-width: 700px)  { .vo-pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .vo-pillars { grid-template-columns: repeat(4, 1fr); } }
.vo-pillar {
  background: #fff; border: 1px solid var(--vo-rule); border-radius: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.vo-pillar:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -22px rgba(27,42,74,.5); }
.vo-pillar-icon {
  width: 50px; height: 50px; margin-bottom: 16px; color: var(--vo-teal-deep);
}
.vo-pillar:nth-child(4) .vo-pillar-icon { color: var(--vo-coral); }
.vo-pillar h3 { margin-bottom: 9px; }
.vo-pillar p { font-size: 15px; color: var(--vo-ink-soft); }

/* ── Comparison ───────────────────────────────────────────────────────── */
.vo-compare {
  background: #fff; border: 1px solid var(--vo-rule); border-radius: 22px;
  padding: clamp(28px, 4.4vw, 52px);
  display: grid; gap: clamp(20px, 3vw, 40px);
}
@media (min-width: 860px) { .vo-compare { grid-template-columns: .85fr 1.15fr; align-items: center; } }
.vo-compare h2 { color: var(--vo-ink); align-self: start; }
.vo-compare p { color: var(--vo-ink-soft); }

/* ── Proof ────────────────────────────────────────────────────────────── */
.vo-proof-head { max-width: 60ch; margin-bottom: 26px; }
.vo-proof-head p { color: var(--vo-ink-soft); margin-top: 12px; }
.vo-sectors { display: flex; flex-wrap: wrap; gap: 9px; }
.vo-sector {
  border: 1px solid var(--vo-rule); border-radius: 999px; padding: 8px 17px;
  font-size: 14.5px; color: var(--vo-ink-soft); background: #fff;
}
.vo-proof-link {
  display: inline-block; margin-top: 24px; font-weight: 600; color: var(--vo-coral);
  text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .15s ease;
}
.vo-proof-link:hover { border-bottom-color: var(--vo-coral); }

/* ── Closing CTA ──────────────────────────────────────────────────────── */
.vo-cta-in { text-align: center; max-width: 60ch; margin-inline: auto; }
.vo-cta-in h2 { margin-bottom: 16px; }
.vo-cta-in p { color: var(--vo-on-night-soft); margin-bottom: 28px; }
.vo-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.vo-footer { background: var(--vo-night); color: var(--vo-on-night-soft); padding-block: clamp(44px, 6vw, 70px) 30px; border-top: 1px solid var(--vo-rule-night); }
.vo-footer-grid { display: grid; gap: 30px; }
@media (min-width: 800px) { .vo-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.vo-footer p { font-size: 14.5px; max-width: 46ch; }
.vo-footer h4 { font-family: 'Alexandria', sans-serif; font-size: 13px; color: var(--vo-gold); margin-bottom: 12px; letter-spacing: .05em; }
.vo-footer-links { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.vo-footer-links a { text-decoration: none; }
.vo-footer-links a:hover { color: var(--vo-gold); }
.vo-footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--vo-rule-night); font-size: 13px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ── WhatsApp sticky ──────────────────────────────────────────────────── */
.vo-wa {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  border-radius: 999px; padding: 13px 18px 13px 15px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
  font-weight: 600; font-size: 14.5px;
  transition: transform .18s ease;
}
.vo-wa:hover { transform: translateY(-3px); }
.vo-wa svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.vo-wa-text { white-space: nowrap; }
@media (max-width: 620px) {
  .vo-wa { padding: 14px; inset-block-end: 16px; inset-inline-end: 16px; }
  .vo-wa-text { display: none; }
}

/* ── Motion ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   Inner pages
   ══════════════════════════════════════════════════════════════════════ */

/* ── Page head ────────────────────────────────────────────────────────── */
.vo-pagehead { padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 44px); }
.vo-pagehead h1 { max-width: 22ch; margin-bottom: 16px; }
.vo-pagehead .vo-lede { color: var(--vo-ink-soft); max-width: 56ch; }

/* ── Features ─────────────────────────────────────────────────────────── */
.vo-parthead { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(20px, 3vw, 30px); }
.vo-parthead h2 { font-size: clamp(19px, 2.4vw, 24px); white-space: nowrap; }
.vo-parthead::after { content: ""; flex: 1; height: 1px; background: var(--vo-rule); }
.vo-features { display: grid; gap: clamp(16px, 2.2vw, 24px); }
@media (min-width: 760px)  { .vo-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .vo-features { grid-template-columns: repeat(3, 1fr); } }
.vo-feature { background: #fff; border: 1px solid var(--vo-rule); border-radius: 18px; padding: clamp(22px, 2.6vw, 28px); }
.vo-feature .vo-pillar-icon { width: 42px; height: 42px; margin-bottom: 14px; color: var(--vo-teal-deep); }
.vo-feature h3 { margin-bottom: 9px; }
.vo-feature p { font-size: 14.8px; color: var(--vo-ink-soft); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.vo-plans { display: grid; gap: clamp(18px, 2.4vw, 26px); align-items: start; }
@media (min-width: 820px) { .vo-plans { grid-template-columns: repeat(3, 1fr); } }
.vo-plan { background: #fff; border: 1px solid var(--vo-rule); border-radius: 20px;
  padding: clamp(24px, 3vw, 32px); position: relative; display: flex; flex-direction: column; gap: 12px; }
/* The recommended plan is lifted by a real border rather than a shout. */
.vo-plan.is-popular { border-color: var(--vo-teal-deep); border-width: 2px; }
.vo-badge { position: absolute; top: -12px; inset-inline-start: clamp(24px, 3vw, 32px);
  font-family: 'Alexandria', sans-serif; font-size: 11.5px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.vo-badge.is-popular { background: var(--vo-teal-deep); color: #fff; }
.vo-badge.is-beta { background: var(--vo-cream-2); color: var(--vo-ink-soft); border: 1px solid var(--vo-rule); }
.vo-plan h3 { font-size: clamp(20px, 2.4vw, 23px); }
.vo-plan-price { font-family: 'Alexandria', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.8vw, 27px); color: var(--vo-coral); font-variant-numeric: tabular-nums; }
.vo-plan p { font-size: 14.8px; color: var(--vo-ink-soft); flex: 1; }
.vo-plan .vo-btn { justify-content: center; margin-top: 6px; }

.vo-services { display: grid; gap: 12px; margin-top: clamp(30px, 4vw, 44px); }
@media (min-width: 760px) { .vo-services { grid-template-columns: 1fr 1fr; } }
.vo-service { border: 1px solid var(--vo-rule); border-radius: 16px; padding: 20px 24px;
  background: #fff; display: flex; flex-direction: column; gap: 5px; }
.vo-service-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.vo-service h3 { font-size: 17px; }
.vo-service-price { font-weight: 600; color: var(--vo-teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vo-service p { font-size: 14.5px; color: var(--vo-ink-soft); }

.vo-banner { margin-top: clamp(30px, 4vw, 44px); background: var(--vo-night); color: var(--vo-on-night);
  border-radius: 20px; padding: clamp(26px, 3.4vw, 38px);
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.vo-banner p { max-width: 54ch; }

/* ── About ────────────────────────────────────────────────────────────── */
.vo-prose { max-width: 66ch; display: grid; gap: 20px; }
.vo-prose p { font-size: clamp(16px, 2vw, 18px); color: var(--vo-ink-soft); }
.vo-values { list-style: none; display: grid; gap: 2px; margin-top: clamp(26px, 3.4vw, 38px); max-width: 74ch; }
.vo-values li { display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--vo-rule); font-size: 16px; }
.vo-values li:last-child { border-bottom: 0; }
/* A short stroke, not a bullet or a number: these are beliefs, not a sequence. */
.vo-values li::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 2px;
  background: var(--vo-stroke); margin-top: .72em; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.vo-faq { max-width: 76ch; border-top: 1px solid var(--vo-rule); }
.vo-faq details { border-bottom: 1px solid var(--vo-rule); }
.vo-faq summary { cursor: pointer; list-style: none; padding: 20px 0;
  font-family: 'Alexandria', sans-serif; font-weight: 600; font-size: clamp(16px, 2vw, 18px);
  display: flex; align-items: flex-start; gap: 14px; }
.vo-faq summary::-webkit-details-marker { display: none; }
.vo-faq summary::after { content: "+"; margin-inline-start: auto; flex: none;
  font-size: 22px; line-height: 1; color: var(--vo-coral); font-weight: 400; transition: transform .2s ease; }
.vo-faq details[open] summary::after { transform: rotate(45deg); }
.vo-faq .vo-answer { padding: 0 0 22px; color: var(--vo-ink-soft); font-size: 15.5px; max-width: 68ch; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.vo-form-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 940px) { .vo-form-grid { grid-template-columns: .9fr 1.1fr; } }
.vo-form { background: #fff; border: 1px solid var(--vo-rule); border-radius: 20px;
  padding: clamp(24px, 3.2vw, 36px); display: grid; gap: 18px; }
.vo-field { display: grid; gap: 7px; }
.vo-field label { font-size: 13.5px; font-weight: 600; color: var(--vo-ink); }
.vo-field input, .vo-field select, .vo-field textarea { font-family: inherit; font-size: 16px;
  color: var(--vo-ink); background: var(--vo-cream); border: 1px solid var(--vo-rule);
  border-radius: 11px; padding: 12px 14px; width: 100%; }
.vo-field input:focus, .vo-field select:focus, .vo-field textarea:focus {
  outline: none; border-color: var(--vo-teal-deep); box-shadow: 0 0 0 3px rgba(15,76,85,.12); }
.vo-field .vo-hint { font-size: 12.5px; color: var(--vo-ink-soft); }
.vo-field input.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; direction: ltr; text-align: left; }
.vo-field-2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .vo-field-2 { grid-template-columns: 1fr 1fr; } }
.vo-form .vo-btn { justify-content: center; }
.vo-form-note { font-size: 13px; color: var(--vo-ink-soft); text-align: center; }
.vo-alert { padding: 13px 16px; border-radius: 12px; font-size: 14.5px; }
.vo-alert-bad { background: #FDECE8; border: 1px solid #F3C4B8; color: #8C2F19; }
.vo-alert-ok { background: #E6F2EC; border: 1px solid #B6DAC8; color: #1B5E43; }

/* The address preview: what their trial URL will actually be. */
.vo-addr { display: flex; align-items: center; gap: 9px; background: var(--vo-cream-2);
  border: 1px solid var(--vo-rule); border-radius: 10px; padding: 10px 13px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; }
.vo-addr-url { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; min-width: 0; }
.vo-addr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vo-ink-soft); flex: none; }
.vo-addr.is-live { background: #FFF3EE; border-color: rgba(242,106,80,.45); }
.vo-addr.is-live .vo-addr-dot { background: var(--vo-coral); }

/* Success state after the form is sent. */
.vo-sent { text-align: center; display: grid; gap: 16px; justify-items: center; }
.vo-sent .vo-tick { width: 62px; height: 62px; border-radius: 50%; background: var(--vo-teal-deep);
  display: grid; place-items: center; color: #fff; font-size: 30px; }
