/* OffloadDesk. No web fonts, scripts or inline styles: the server's CSP allows only same-origin CSS. */

:root {
  --bg: #f7f8fb;
  --bg-alt: #eef2f8;
  --surface: #ffffff;
  --ink: #0b1324;
  --text: #2a3447;
  --muted: #5d687c;
  --line: #e2e7f0;
  --line-strong: #cfd7e4;
  --brand: #2952e3;
  --brand-hover: #1f43c7;
  --brand-soft: #e9efff;
  --accent: #0ea896;
  --accent-soft: #e2f6f2;
  --amber: #b76e00;
  --amber-soft: #fff3de;
  --green: #148a4c;
  --green-soft: #e3f5ea;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 8%);
  --shadow-md: 0 4px 10px -2px rgb(16 24 40 / 8%), 0 2px 4px -2px rgb(16 24 40 / 5%);
  --shadow-lg: 0 24px 48px -16px rgb(16 24 40 / 22%), 0 8px 16px -8px rgb(16 24 40 / 10%);
  --radius: 14px;
  --radius-lg: 20px;
  --header-bg: rgb(247 248 251 / 97%);
  --grid-line: rgb(41 82 227 / 7%);
  --todo: #b3261e;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1c;
    --bg-alt: #0e1526;
    --surface: #121a2d;
    --ink: #f3f6fc;
    --text: #cfd6e4;
    --muted: #93a0b8;
    --line: #222d45;
    --line-strong: #2e3b58;
    --brand: #6f8fff;
    --brand-hover: #8aa4ff;
    --brand-soft: #18234a;
    --accent: #2fd1bd;
    --accent-soft: #0f2c2d;
    --amber: #f2b24c;
    --amber-soft: #33260f;
    --green: #4cd18a;
    --green-soft: #10301f;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-md: 0 6px 14px -4px rgb(0 0 0 / 50%);
    --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 70%);
    --header-bg: rgb(10 15 28 / 97%);
    --grid-line: rgb(111 143 255 / 8%);
    --todo: #ff8a80;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.65 "Inter", "InterVariable", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 780; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 740; }
h3 { font-size: 1.12rem; font-weight: 680; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
svg { flex: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.todo { color: var(--todo); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 620; font-size: 0.97rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; border-radius: 12px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgb(41 82 227 / 60%); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: #10204f; }
.btn-light:hover { background: #eef2ff; color: #10204f; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark { font-weight: 760; font-size: 1.16rem; letter-spacing: -0.02em; color: var(--ink); }
.wordmark span { color: var(--brand); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 540; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav .lang { border: 1px solid var(--line-strong); border-radius: 7px; padding: 0 7px; font-size: 0.8rem; font-weight: 650; line-height: 1.7; align-self: center; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px));
  display: flex; flex-direction: column; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.menu-panel a:not(.btn) { padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 560; }
.menu-panel a:not(.btn):hover { background: var(--bg-alt); }
.menu-panel .btn { margin-top: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 480px at 88% -10%, var(--brand-soft), transparent 65%),
    radial-gradient(700px 420px at -10% 110%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--muted); font-size: 0.86rem; font-weight: 560;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.grad {
  background: linear-gradient(95deg, var(--brand) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.14rem; color: var(--muted); margin: 22px 0 30px; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.assurances { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.92rem; color: var(--muted); }
.assurances li { display: inline-flex; align-items: center; gap: 7px; }
.assurances svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; padding: 26px 8px 40px; }
.window {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { margin-left: 10px; font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.flow { list-style: none; margin: 0; padding: 10px 14px 14px; position: relative; }
.flow li { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 13px 8px; }
.flow li + li { border-top: 1px dashed var(--line); }
.flow strong { display: block; color: var(--ink); font-size: 0.95rem; font-weight: 640; line-height: 1.3; }
.flow small { display: block; color: var(--muted); font-size: 0.83rem; margin-top: 2px; }
.flow-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); }
.flow-icon svg, .icon svg, .chip svg { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-icon svg { width: 21px; height: 21px; }
.flow-exception .flow-icon { background: var(--amber-soft); }
.flow-exception .flow-icon svg { stroke: var(--amber); }
.tag { font-size: 0.74rem; font-weight: 650; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.01em; }
.tag-blue { background: var(--brand-soft); color: var(--brand); }
.tag-teal { background: var(--accent-soft); color: var(--accent); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.chip svg { width: 18px; height: 18px; stroke: var(--accent); }
.chip-a { top: 0; right: -6px; }
.chip-b { bottom: 4px; left: -14px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { margin-bottom: 14px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.06rem; margin: 0; }
.kicker { display: inline-block; margin: 0 0 12px; color: var(--brand); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }

.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.card.plain:hover { transform: none; }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); }
.icon svg { width: 25px; height: 25px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 21px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--brand-soft), var(--line-strong), var(--brand-soft));
}
.steps li { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  font-weight: 750; font-size: 1.02rem; box-shadow: 0 0 0 6px var(--bg-alt);
}
.steps h3 { margin-bottom: 6px; font-size: 1.04rem; }
.steps p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* pricing */
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; }
.price-card h3 { margin: 0 0 14px; font-size: 1.05rem; color: var(--muted); font-weight: 650; }
.card .price { display: flex; align-items: baseline; gap: 7px; margin: 0; color: var(--ink); }
.price .amount { font-size: 2.6rem; font-weight: 780; letter-spacing: -0.035em; line-height: 1; }
.price .from, .price .per { color: var(--muted); font-size: 0.92rem; font-weight: 550; }
.price-note { color: var(--muted); font-size: 0.93rem; margin: 10px 0 22px !important; }
.checks { list-style: none; padding: 20px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); flex: 1; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 0.95rem; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 7.5px; width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.price-card .btn { width: 100%; }
.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); padding-top: 34px; }
.featured h3 { color: var(--brand); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--brand); color: #fff; font-size: 0.76rem; font-weight: 680; letter-spacing: 0.02em;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgb(41 82 227 / 70%);
}
.fineprint { max-width: 760px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 0.86rem; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 18px 56px 18px 22px;
  font-weight: 640; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: 0.96rem; }

/* call to action */
.cta-section { padding-top: 24px; padding-bottom: 88px; }
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 52px 56px; border-radius: 26px; color: #dfe7ff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgb(14 168 150 / 45%), transparent 60%),
    linear-gradient(135deg, #1b3bb3 0%, #2952e3 55%, #3a64f0 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.06rem; max-width: 34em; }

/* ---------- legal documents ---------- */
.doc-hero {
  padding: 64px 0 40px; border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 300px at 85% -20%, var(--brand-soft), transparent 70%), var(--bg);
}
.doc-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin-bottom: 14px; }
.doc-meta { color: var(--muted); margin: 0; font-size: 0.97rem; }
.doc { padding-top: 40px; padding-bottom: 80px; }
.doc h2 {
  font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em;
  margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--line);
}
.doc > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 1.2rem; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--brand); }
dl.req {
  display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 12px 0 20px;
  padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
dl.req dt { color: var(--muted); font-size: 0.93rem; }
dl.req dd { margin: 0; color: var(--ink); font-weight: 560; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid > div > span { color: var(--muted); overflow-wrap: anywhere; }
.footer-brand .logo { align-self: flex-start; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; max-width: 24em; }
.footer-title { font-size: 0.78rem; font-weight: 720; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin: 0 0 4px; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; color: var(--muted); font-size: 0.84rem; }
.footer-legal p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: var(--line-strong); }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
  .steps li:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .steps h3 { align-self: center; margin: 10px 0 4px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
  .cards-3 { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .pricing .featured { order: -1; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .cards-4 { grid-template-columns: 1fr; }
  .card, .price-card { padding: 22px; }
  .cta-row .btn { width: 100%; }
  .hero-visual { padding: 18px 0 30px; }
  .chip-a { right: 4px; }
  .chip-b { left: 4px; }
  .flow li { grid-template-columns: 36px 1fr; }
  .flow .tag { display: none; }
  .cta-band { padding: 32px 22px; border-radius: 20px; }
  .cta-band .btn { width: 100%; }
  dl.req { grid-template-columns: 1fr; gap: 2px; padding: 18px; }
  dl.req dd { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
