/* Export Apps professional theme: corporate navy and blue, calmer shapes.
   Loaded after the inline base styles on every page, so it only overrides. */
:root, :root[data-theme="light"] {
  --paper: #ffffff;
  --paper-2: #f3f6fb;
  --card: #ffffff;
  --ink: #0b1733;
  --ink-2: #26344f;
  --muted: #5a6780;
  --line: #e2e8f1;
  --accent: #1557e5;
  --accent-2: #0b84d8;
  --accent-3: #0f9f75;
  --accent-4: #e58a00;
  --accent-soft: #e8f0ff;
  --navy: #0b1733;
  --navy-2: #102552;
  --grad: linear-gradient(135deg, #1557e5 0%, #0d47c4 100%);
  --grad-soft: #f3f6fb;
  --tint-1: #eef3fb; --tint-2: #eef3fb; --tint-3: #e9f7f2; --tint-4: #fff6e6; --tint-5: #eef3fb; --tint-6: #eef3fb;
  --head-bg: rgba(255,255,255,.97);
  --foot-bg: #0a1530;
  --foot-text: #c9d3e6;
  --foot-muted: #8d9bb8;
  --foot-line: #1f2d4f;
  --shadow: 0 10px 30px rgba(11, 23, 51, .08);
  --radius: 12px;
}
:root[data-theme="dark"] {
  --paper: #0a1224;
  --paper-2: #0f1a32;
  --card: #121f3b;
  --ink: #f1f5fc;
  --ink-2: #d4dcec;
  --muted: #9aa8c4;
  --line: #22314f;
  --accent: #4d8bff;
  --accent-2: #38b2f5;
  --accent-soft: #172a52;
  --grad: linear-gradient(135deg, #2f6df0 0%, #1a4fc9 100%);
  --grad-soft: #0f1a32;
  --tint-1: #15233f; --tint-2: #15233f; --tint-3: #12302a; --tint-4: #2d2412; --tint-5: #15233f; --tint-6: #15233f;
  --head-bg: rgba(10,18,36,.96);
  --foot-bg: #060c1a;
  --foot-line: #1a2643;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

body { font-size: 16.5px; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.025em; }
.it { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }

/* Eyebrow labels */
.kicker { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); gap: 10px; }
.kicker::before { width: 24px; height: 2px; border-radius: 0; background: var(--accent); }

/* Buttons */
.btn { border-radius: 8px; padding: 13px 24px; font-size: .95rem; }
.btn:hover { transform: none; }
.btn-accent, .btn-ink { background: var(--accent); box-shadow: none; }
.btn-accent:hover, .btn-ink:hover { background: #0d47c4; box-shadow: 0 8px 18px rgba(21, 87, 229, .22); filter: none; }
.btn-line { border: 1.5px solid var(--line); }

/* Top contact bar */
.topbar { background: var(--navy); color: #c9d3e6; font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: #e6ecf7; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar .tb-left a, .topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .85; }
.topbar .tb-tag { color: #8d9bb8; }
@media (max-width: 860px) { .topbar .tb-tag, .topbar .tb-hide { display: none; } }
@media (max-width: 520px) { .topbar .wrap { justify-content: center; } .topbar .tb-right { display: none; } }

/* Header */
.site-head { background: var(--head-bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11,23,51,.02); }
.site-head::before { display: none; }
.nav { height: 74px; }
.brand { font-size: 1.32rem; letter-spacing: -0.02em; }
.brand::before { border-radius: 8px; background: var(--accent); width: 34px; height: 34px; }
.brand b { color: var(--accent); }
.menu { gap: 28px; }
.menu a { font-weight: 600; font-size: .93rem; }
.menu a::after { background: var(--accent); height: 2px; bottom: -4px; }
.menu .btn { border-radius: 8px; padding: 10px 18px; }
.theme-toggle, .burger { border-radius: 8px; }

/* Home hero */
.hero.hero-img::before {
  background: linear-gradient(90deg, rgba(6, 14, 36, .96) 0%, rgba(6, 14, 36, .88) 40%, rgba(6, 14, 36, .55) 70%, rgba(6, 14, 36, .35) 100%),
              linear-gradient(180deg, rgba(6, 14, 36, .2) 0%, rgba(6, 14, 36, .6) 100%);
}
.hero.hero-img .it { background: none; color: #6ea8ff; }
.hero.hero-img .kicker { color: #8fb8ff; }
.hero.hero-img .kicker::before { background: #8fb8ff; }
.hero.hero-img .hero-note { border-radius: 12px; background: rgba(10, 22, 52, .7); }
.hero-note strong { border-radius: 8px; background: var(--accent) !important; }
.hero.hero-img .btn-line:hover { color: var(--navy); }

/* Inner page heroes become navy bands */
.page-hero { background: linear-gradient(135deg, #0b1733 0%, #102a5e 100%); color: #fff; }
.page-hero::before { background: #1f5be8; opacity: .35; }
.page-hero h1, .page-hero h2 { color: #fff; }
.page-hero p, .page-hero .lede { color: rgba(225, 233, 248, .9); }
.page-hero .kicker { color: #8fb8ff; }
.page-hero .kicker::before { background: #8fb8ff; }
.page-hero .crumb { color: #c9d3e6; font-family: var(--sans); font-size: .9rem; font-weight: 500; }
.page-hero .crumb a { color: #8fb8ff; }
.page-hero .it { color: #6ea8ff; }
.page-hero .btn-line { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.page-hero .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.page-hero .chip { background: rgba(255,255,255,.1); color: #e6ecf7; }

/* Service strip */
.strip { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06); }
.strip-track { padding: 15px 0; gap: 40px; }
.strip-track span { font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: #dbe5f7; gap: 40px; }
.strip-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4d8bff; }

/* Figures */
.stats { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.stats div, .stats div:nth-child(n) { background: transparent; border-radius: 0; padding: 30px 28px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats strong { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); font-size: clamp(2.2rem, 4vw, 3rem); }
.stats strong::after { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-top: 14px; }
@media (max-width: 1000px) { .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .stats div:nth-child(n) { border-left: 0; } .stats div:nth-child(n+2) { border-top: 1px solid var(--line); } }

/* Section backgrounds */
.section.alt, .section.dark { background: var(--paper-2); }

/* Cards and lists: one accent colour instead of a rainbow */
.card::before, .grid > .card:nth-child(n)::before { height: 3px; background: var(--accent); }
.card .tag { border-radius: 6px; }
.rows .row:nth-child(n) .n, .row .n { background: var(--accent-soft); color: var(--accent); border-radius: 10px; }
a.row:hover .go { background: var(--accent); }
.steps li { border-radius: var(--radius); position: relative; }
.steps li::before, .steps li:nth-child(n)::before { background: var(--accent); border-radius: 10px; width: 46px; height: 46px; font-size: 1rem; }
.steps li:hover { border-color: var(--accent); }
.chip, .chips .chip:nth-child(n) { background: var(--tint-1); border-radius: 6px; }
.ticks li { border-radius: 10px; }
.ticks li::before { background: var(--accent-soft); color: var(--accent); }
.svc-card, .proj, .work, .faq details, .info li, .form, .side-photo { border-radius: var(--radius); }
.svc-n { border-radius: 8px; }
.svc-img::after { background: linear-gradient(180deg, rgba(11,23,51,0) 55%, rgba(11,23,51,.4)); }
.svc-cta { background: linear-gradient(135deg, #0b1733 0%, #143a8a 100%); }
.proj-shot { border-radius: 10px; box-shadow: 0 14px 34px rgba(11, 23, 51, .12); }
.proj-body small, .work .body small { color: var(--accent); }
.faq details[open] { box-shadow: 0 0 0 3px var(--accent-soft); }
.faq summary::after { border-radius: 6px; }
.form::before { height: 3px; background: var(--accent); }
.field input, .field select, .field textarea { border-radius: 8px; }

/* Call to action */
.cta { background: linear-gradient(135deg, #0b1733 0%, #143a8a 100%); border-radius: 16px; box-shadow: none; }
.cta::after { background: rgba(77, 139, 255, .18); }
.cta .btn-ink { background: #fff; color: var(--navy); }
.cta .btn-ink:hover { background: #e8f0ff; }
.cta-links a { border-radius: 8px; background: rgba(255,255,255,.08); }

/* Footer */
.site-foot::before { height: 3px; background: var(--accent); }
.foot-big a { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #6ea8ff; }
.site-foot a:hover { color: #8fb8ff; }

/* Chat and announcement */
.chat-launch { background: var(--accent); box-shadow: 0 10px 24px rgba(21, 87, 229, .3); }
.chat-panel header { background: var(--navy); }
.announce { background: var(--navy); }
.post-body blockquote { border-radius: 0 8px 8px 0; }
@media (max-width: 860px) { .menu { top: 74px; } }

/* Logo mark */
.brand::before { content: "E"; }

/* Footer headline (was being shrunk by the footer paragraph rule) */
.site-foot .foot-big { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: none; color: #fff; line-height: 1.05; letter-spacing: -0.03em; }

/* Solution tiles: navy and blue instead of rainbow */
.work .art { background: linear-gradient(135deg, #0b1733 0%, #153c8f 100%); }
.work .art i { background: #2f6df0; opacity: .35; }
.a2 { background: linear-gradient(135deg, #102552 0%, #1557e5 100%); }
.a3 { background: linear-gradient(135deg, #0b1733 0%, #0b6fb0 100%); }
.a4 { background: linear-gradient(135deg, #13254d 0%, #2a5fd6 100%); }
.a5 { background: linear-gradient(135deg, #0e1f45 0%, #1d4fb8 100%); }
.a6 { background: linear-gradient(135deg, #0b1733 0%, #135ea8 100%); }
.work .art i, .a1 i, .a2 i, .a3 i, .a4 i, .a5 i, .a6 i { background: #4d8bff; opacity: .22; }

/* Top bar on small screens: email and phone only, on one line */
.topbar a, .topbar span { white-space: nowrap; }
@media (max-width: 860px) { .topbar .tb-left .tb-tag, .topbar .tb-right .tb-hide { display: none; } }
@media (max-width: 600px) {
  .topbar { font-size: .78rem; }
  .topbar .wrap { justify-content: center; min-height: 36px; }
  .topbar .tb-left { gap: 16px; }
  .topbar .tb-right { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(n) { padding: 22px 18px; border-left: 0; border-top: 0; }
  .stats div:nth-child(even) { border-left: 1px solid var(--line); }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
