/* ─────────────────────────────────────────────────────────────────────
   Editallied Limited — mobile product studio
   Hand-written stylesheet. No framework, no build step.
   ───────────────────────────────────────────────────────────────────── */

:root {
  --ink:        #0b1020;
  --ink-2:      #141b36;
  --paper:      #ffffff;
  --paper-2:    #f5f6fb;
  --line:       #e5e7f0;
  --text:       #131829;
  --muted:      #5c6478;
  --brand:      #4f46e5;
  --brand-2:    #7c3aed;
  --brand-soft: #eef0ff;
  --accent:     #ff6b4a;
  --accent-soft:#fff0ec;
  --focus:      #4f46e5;

  --radius:     16px;
  --radius-sm:  11px;
  --shadow-sm:  0 1px 2px rgba(19, 24, 41, .06), 0 1px 3px rgba(19, 24, 41, .04);
  --shadow-md:  0 12px 32px rgba(19, 24, 41, .09);
  --shadow-lg:  0 26px 70px rgba(11, 16, 32, .18);
  --wrap:       1140px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 800px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  background-image: linear-gradient(96deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .30);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(79, 70, 229, .38); }

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: #c9cee0; background: #fbfbff; }

.btn-block { width: 100%; }

/* ── header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(19, 24, 41, .06);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, .28);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.06rem; letter-spacing: -.02em; }
.brand-text small {
  color: var(--muted); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a { color: #3b4257; font-size: .94rem; font-weight: 500; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { color: #fff; }
.nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero (light, with a device) ──────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 78px);
  background:
    radial-gradient(760px 420px at 88% -6%, rgba(124, 58, 237, .16), transparent 62%),
    radial-gradient(700px 400px at 4% 104%, rgba(255, 107, 74, .13), transparent 60%),
    linear-gradient(180deg, #f8f9ff 0%, #ffffff 78%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(19, 24, 41, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(680px 380px at 78% 12%, #000 10%, transparent 76%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #464e63;
  font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--brand), var(--brand-2) 62%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .88rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

/* device mockup */
.device-wrap { position: relative; display: grid; place-items: center; }
.device {
  position: relative;
  width: 268px; height: 540px;
  border-radius: 42px;
  border: 8px solid #171d33;
  background: linear-gradient(180deg, #ffffff, #f7f8ff);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px 0;
  font-size: .62rem; font-weight: 700; color: #6a7288;
  letter-spacing: .04em;
}
.device-bar i { display: block; width: 44px; height: 5px; border-radius: 5px; background: #d7dbeb; }
.device-head { padding: 22px 20px 0; }
.device-head small {
  display: block; font-size: .58rem; letter-spacing: .16em;
  text-transform: uppercase; color: #8b93a8; margin-bottom: 6px;
}
.device-head b { font-size: 1.32rem; letter-spacing: -.03em; display: block; }
.device-chart {
  margin: 20px 18px 0;
  height: 108px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--brand), var(--brand-2));
  display: flex; align-items: flex-end; gap: 7px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(79, 70, 229, .28);
}
.device-chart i {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: rgba(255, 255, 255, .55);
  display: block;
}
.device-chart i:nth-child(1) { height: 34%; }
.device-chart i:nth-child(2) { height: 58%; }
.device-chart i:nth-child(3) { height: 44%; }
.device-chart i:nth-child(4) { height: 78%; }
.device-chart i:nth-child(5) { height: 62%; }
.device-chart i:nth-child(6) { height: 92%; background: #fff; }
.device-list { padding: 18px 18px 0; display: grid; gap: 9px; }
.device-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.device-row u {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: .8rem; text-decoration: none;
}
.device-row div { flex: 1; min-width: 0; }
.device-row b { display: block; font-size: .74rem; }
.device-row small { font-size: .62rem; color: #8b93a8; }
.device-home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 4px; border-radius: 4px; background: #c8cddf;
}

.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--shadow-md);
  font-size: .74rem; color: var(--muted); line-height: 1.35;
}
.float-chip b { color: var(--text); font-size: .8rem; }
.float-chip u {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; text-decoration: none;
  background: var(--accent-soft); color: var(--accent);
}
.float-a { top: 8%; left: -8%; }
.float-b { bottom: 12%; right: -10%; }

/* ── sections ─────────────────────────────────────────────────────── */
.section { padding: clamp(60px, 8.5vw, 100px) 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.section-sub { color: var(--muted); margin: 0; }

/* ── cards ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3d8e8; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

.icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 18px;
}
.icon svg { width: 23px; height: 23px; }

/* ── steps ────────────────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.steps li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0; transition: opacity .22s var(--ease);
}
.steps li:hover::before { opacity: 1; }
.step-num {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; color: var(--brand); margin-bottom: 12px;
}
.steps h3 { font-size: 1.04rem; margin-bottom: .35em; }
.steps p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ── tech chips ───────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  color: #3b4257;
}
.chips li.hot { border-color: #d9d5ff; background: var(--brand-soft); color: var(--brand); }

/* ── split ────────────────────────────────────────────────────────── */
.split {
  display: grid; gap: clamp(34px, 5vw, 62px);
  grid-template-columns: 1.1fr .9fr; align-items: start;
}
.split-contact { grid-template-columns: 1fr 1fr; }

.checks { list-style: none; margin: 0 0 28px; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.panel {
  background: linear-gradient(170deg, #141b36, #1d2650);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-lg);
}
.panel h3 {
  color: rgba(255, 255, 255, .68);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 6px;
}
.facts { margin: 0 0 22px; }
.facts > div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.facts dt { color: rgba(255, 255, 255, .58); font-size: .88rem; }
.facts dd { margin: 0; text-align: right; font-weight: 600; font-size: .92rem; }
.facts a { color: #a9b4ff; }
.panel-note {
  margin: 0; color: rgba(255, 255, 255, .62); font-size: .88rem;
  border-left: 2px solid var(--brand); padding-left: 14px;
}

/* ── faq ──────────────────────────────────────────────────────────── */
.sec {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sec summary {
  cursor: pointer; list-style: none;
  padding: 20px 54px 20px 22px;
  position: relative;
  font-weight: 600; font-size: 1rem;
  transition: background .18s var(--ease);
}
.sec summary::-webkit-details-marker { display: none; }
.sec summary:hover { background: #fafbff; }
.sec summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .22s var(--ease);
}
.sec[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.sec-body { padding: 0 22px 20px; color: var(--muted); }
.sec-body > :last-child { margin-bottom: 0; }

/* ── contact ──────────────────────────────────────────────────────── */
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.contact-list small {
  display: block; font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.icon-sm {
  flex: none;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-soft); color: var(--brand);
}
.icon-sm svg { width: 19px; height: 19px; }

.form { padding: 28px 26px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .84rem; font-weight: 600;
  margin-bottom: 7px; color: #2c3644;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .96rem; color: var(--text);
  background: #fcfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #cbd2e6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .14);
}
.field textarea { resize: vertical; min-height: 116px; }
.field .invalid { border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.status { margin: 14px 0 0; font-size: .92rem; min-height: 1.2em; }
.status.ok { color: #0a7d5a; font-weight: 600; }
.status.err { color: #b42318; font-weight: 600; }

.fineprint { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

/* ── footer ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 52px 0 34px;
  font-size: .92rem;
}
.footer-inner { display: grid; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.footer-brand strong { display: block; font-size: 1rem; }
.footer-brand small { color: rgba(255, 255, 255, .55); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { color: rgba(255, 255, 255, .72); }
.footer-nav a:hover { color: #fff; }
.copyright {
  margin: 0; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5); font-size: .84rem;
}

/* ── legal pages ──────────────────────────────────────────────────── */
.legal-head {
  background: linear-gradient(178deg, var(--ink), #1b2447);
  color: #fff;
  padding: clamp(52px, 7vw, 84px) 0 clamp(38px, 5vw, 58px);
}
.legal-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .3em; }
.legal-head p { color: rgba(255, 255, 255, .7); margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .66); }
.crumbs span { color: rgba(255, 255, 255, .35); margin: 0 8px; }

.legal { padding: clamp(46px, 6vw, 72px) 0; }
.legal article { max-width: 800px; }
.legal h2 { font-size: 1.24rem; margin: 2.1em 0 .6em; padding-top: .2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #35404f; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: .5em; }
.legal .updated {
  display: inline-block; font-size: .84rem; color: var(--muted);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 28px;
}
.legal-actions {
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* ── reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .device-wrap { order: 2; }
  .float-a { left: 0; }
  .float-b { right: 0; }
  .split, .split-contact { grid-template-columns: 1fr; }
  .panel { order: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav a:hover { background: var(--paper-2); }
  .nav-cta { margin-top: 6px; justify-content: center; }
  .nav-cta:hover { color: #fff; }

  .hero-actions .btn { width: 100%; }
  .device { width: 236px; height: 480px; }
  .device-chart { height: 92px; }
  .float-chip { display: none; }
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}

/* ── print ────────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .hero-actions, .form, .device-wrap { display: none; }
  .hero, .legal-head { background: none; color: #000; }
  .hero h1 em { color: #000; -webkit-text-fill-color: #000; }
  body { font-size: 12pt; }
}
