/* === Move Your Data – Unified Stylesheet === */

html { scroll-behavior: smooth; }

:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --ink: #0f1a14;
  --muted: #5a6e65;
  --brand: #00997a;
  --brand-2: #00b39f;
  --accent-dark: #004c3f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 100, 80, .08);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f5f8f7 0%, #f8fbfa 60%);
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--brand); color: #fff; padding: 8px 16px;
  border-radius: 0 0 8px 0; font-weight: 700; z-index: 200;
  text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.stack { display: grid; gap: 24px; }
.cluster { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid #e0ede9;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-logo { height: 20px; width: auto; display: block; }
.site-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); }

nav ul { list-style: none; display: flex; gap: 18px; align-items: center; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; opacity: .86; font-size: .95rem; }
nav a:hover { opacity: 1; color: var(--brand); }
.icon-link { display: inline-flex; align-items: center; gap: 6px; }
.icon-link img { width: 18px; height: 18px; display: block; }

.nav-toggle { position: absolute; left: -9999px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border-radius: 10px; transition: background .2s ease;
}
.menu-toggle:hover { background: rgba(0, 153, 122, 0.1); }
.menu-toggle span {
  width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}

.mobile-nav {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid #e7eeea;
}
.mobile-nav a {
  padding: 14px 20px; border-bottom: 1px solid #e7eeea;
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.nav-toggle:checked ~ .mobile-nav { display: flex; }
.nav-toggle:checked + .nav .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* CTA buttons */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--brand); color: #fff;
  border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow); font-weight: 700; transition: 0.2s ease;
  border: none; cursor: pointer; font-size: 1rem;
}
.cta:hover { background: var(--accent-dark); }
.cta.secondary { background: #e3f4f0; color: var(--brand); box-shadow: none; }
.cta.secondary:hover { background: #d6f0ea; }

/* Hero */
.hero { padding: 80px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 8px 0 16px; color: var(--accent-dark); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--accent-dark); }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.hero-visual {
  background: var(--surface); border-radius: var(--radius);
  min-height: 320px; padding: 10px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}

/* Sections */
section { padding: 60px 0; }
section + section { border-top: 1px solid #e8f0ec; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.step {
  background: var(--surface); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  border: 1px solid #e1f0ec; transition: transform .2s ease;
}
.step:hover { transform: translateY(-4px); }
.step h3 { color: var(--accent-dark); }
.step p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.step a { color: var(--brand); }

ul { margin: 10px 0 0 20px; }
li { margin-bottom: 6px; }

/* Replaced items (strikethrough Big Tech names) */
.replaced { text-decoration: line-through; color: var(--muted); }

/* Sovereignty washing warning */
.warning-box {
  background: #fffbea; border: 1px solid #f5d060;
  border-left: 4px solid #d4a017; border-radius: var(--radius);
  padding: 20px 24px; margin-top: 8px;
}
.warning-box h3 { color: #7c5200; margin-bottom: 6px; font-size: 1rem; }
.warning-box p { color: #5a3a00; font-size: .95rem; line-height: 1.6; }

/* Legal section accent */
section#legal { background: linear-gradient(135deg, #f0fbf8, #e8f7f3); }
section#legal .step { border-color: #b8e4d8; }

/* Services section */
.service-number {
  display: inline-block; width: 32px; height: 32px; background: var(--brand);
  color: #fff; border-radius: 50%; font-weight: 700; font-size: .9rem;
  text-align: center; line-height: 32px; margin-bottom: 10px;
}

/* Readmodel banner */
.readmodel-banner {
  background: linear-gradient(135deg, var(--accent-dark), #006a58);
  border-radius: var(--radius); padding: 40px 36px;
  box-shadow: var(--shadow); color: #fff;
}
.readmodel-banner h2 { color: #fff; margin-bottom: 12px; }
.readmodel-banner h2 sup { font-size: .5em; vertical-align: super; }
.readmodel-banner p { color: #c0e8df; font-size: 1.05rem; line-height: 1.6; max-width: 65ch; }
.readmodel-banner ul { margin: 16px 0 24px 20px; }
.readmodel-banner li { color: #d0f0e6; margin-bottom: 6px; }
.readmodel-banner .cta { background: #fff; color: var(--accent-dark); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.readmodel-banner .cta:hover { background: #e6f7f3; }

/* CTA panel */
section#contact .cta-panel {
  background: linear-gradient(135deg, #e6f7f3, #f0fbf8);
  border-radius: 20px; padding: 40px; text-align: center; box-shadow: var(--shadow);
}
section#contact .cta-panel h2 { margin-bottom: 10px; }
section#contact .cta-panel p { color: var(--muted); margin-bottom: 20px; }

/* Contact form page */
.form-page { max-width: 640px; }
.form-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--accent-dark); margin-bottom: 12px; }
.contact-section { padding: 60px 0; }
.contact-section .lead { margin-bottom: 28px; }

.form-stack { display: grid; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: .95rem; }
.form-optional { font-weight: 400; opacity: .6; font-size: .85rem; }
.form-group input,
.form-group textarea {
  padding: 10px 14px; border: 1.5px solid #cdddd8; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,153,122,.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.captcha-group {
  background: #f0faf7; border: 1px solid #c0e8df;
  border-radius: 12px; padding: 16px 20px;
}
.captcha-group label { display: block; margin-bottom: 8px; font-weight: 600; }

.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; line-height: 1.6; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }
.alert-error ul { margin: 8px 0 0 20px; }
.alert-success { background: #f0faf7; border: 1px solid #6ee7b7; color: #064e3b; font-size: 1.05rem; }

.direct-email { margin-top: 32px; color: var(--muted); font-size: .9rem; }
.direct-email a { color: var(--brand); }

/* Footer */
footer.site-footer { background: var(--accent-dark); color: #d8e6df; padding: 28px 0; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
footer a { color: #c9e8df; text-decoration: none; }
footer a:hover { color: #ffffff; }

/* ── Responsive ─────────────────────────────────────────────────────────── */

/* Tablet: collapse nav early — 8 items need more room */
@media (max-width: 960px) {
  nav ul { display: none; }
  .menu-toggle { display: flex; }
}

/* Tablet & mobile */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero { padding: 48px 0 32px; }
  .hero-visual { min-height: 220px; }
  .brand-logo { height: 32px; }
  .site-title { font-size: .95rem; }
  section { padding: 40px 0; }
  .readmodel-banner { padding: 28px 20px; }
  section#contact .cta-panel { padding: 28px 20px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 24px; }
  .hero-visual { min-height: 180px; padding: 8px; }
  .step { padding: 20px; }
  .warning-box { padding: 16px 18px; }
  .readmodel-banner { padding: 24px 18px; }
  section#contact .cta-panel { padding: 24px 18px; }
  .hero-cta { justify-content: center; }
  .foot { gap: 8px; }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  header.site-header, .mobile-nav, .hero-visual, .hero-cta,
  section#contact, footer.site-footer, .skip-link { display: none !important; }
  body { background: #fff !important; color: #000; font-size: 12pt; }
  .container { max-width: 100%; padding: 0; }
  section { padding: 16px 0 !important; border-top: 1px solid #ccc !important; }
  section#legal { background: none !important; }
  h1, h2, h3 { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
  .step { box-shadow: none !important; border: 1px solid #ddd; break-inside: avoid; transform: none !important; }
  .warning-box { background: #f5f5f5 !important; border-color: #999 !important; }
  .warning-box h3, .warning-box p { color: #333 !important; }
  .replaced { color: #666; }
}

/* ── Dark mode ──────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1712;
    --surface: #162019;
    --ink: #dce8e2;
    --muted: #8fa89b;
    --brand: #2ec4a5;
    --brand-2: #40d4b5;
    --accent-dark: #8ce0c8;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
  body { background: var(--bg); }

  header.site-header { background: rgba(13, 23, 18, .92); border-bottom-color: #1e3328; }
  nav a { color: var(--ink); }
  .site-title { color: var(--ink); }
  .mobile-nav { background: var(--surface); border-top-color: #1e3328; }
  .mobile-nav a { border-bottom-color: #1e3328; color: var(--ink); }

  .step { border-color: #1e3328; }
  .cta { box-shadow: 0 4px 16px rgba(0,0,0,.3); }
  .cta.secondary { background: #0e2a20; color: var(--brand); }
  .cta.secondary:hover { background: #143828; }

  .hero-visual { border: 1px solid #1e3328; }
  section + section { border-top-color: #1e3328; }
  section#legal { background: linear-gradient(135deg, #0a1f18, #0f2a20); }
  section#legal .step { border-color: #1e3328; }
  section#contact .cta-panel { background: linear-gradient(135deg, #0e2a20, #0a1f18); }

  .warning-box { background: #1e1a05; border-color: #4a3a00; border-left-color: #8a6500; }
  .warning-box h3 { color: #f5d060; }
  .warning-box p { color: #c8a830; }

  .replaced { color: var(--muted); }

  .form-group input, .form-group textarea { background: var(--surface); border-color: #2a3e34; color: var(--ink); }
  .form-group input:focus, .form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,196,165,.15); }
  .captcha-group { background: #0e2a20; border-color: #1e3328; }
  .alert-error { background: #2a0f0f; border-color: #7f2d2d; color: #fca5a5; }
  .alert-success { background: #0e2a20; border-color: #1e5a40; color: #6ee7b7; }

  .readmodel-banner { background: linear-gradient(135deg, #0a2a20, #0e3828); border: 1px solid #1e5a40; }
  .readmodel-banner .cta { background: var(--brand); color: #fff; }
  .readmodel-banner .cta:hover { background: var(--brand-2); }

  footer.site-footer { background: #060e0a; }
}
