/* Moving, Managed: the shared rules of the site.
 *
 * The brand of 13 October 2026 (SKILL.md, Design tokens; SKILL-DESIGN for the
 * components). Every page but terms.html links this file before its own
 * <style>, which carries only what is that page's own. terms.html carries
 * these rules inline (SKILL-DESIGN, Where the styling lives). Change the ?v=
 * date on every page when this file changes: the CDN caches it for a week. */

:root {
  --navy: #1a2e4a;
  --teal: #2d7d6f;
  --teal-light: #3a9e8d;
  --gold: #C9A84C;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #2c2c2c;
  --muted: #6b7280;
  --settled-slate: #384550;
  --settled-sand: #B8A090;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --gutter: max(24px, calc((100% - 1120px) / 2));
  --shadow-card: 0 1px 2px rgba(26,46,74,0.06), 0 12px 32px -12px rgba(26,46,74,0.18);
  --shadow-photo: 0 30px 60px -20px rgba(26,46,74,0.35);
  --shadow-navy: 0 12px 32px -12px rgba(26,46,74,0.45);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--text); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }

/* Press feedback: anything tappable scales to 0.97 over 100ms. */
.btn-primary, .btn-outline, .nav-cta, .m-cta, .mobile-cta-bar-btn, .cta-card .btn-cta, .post-cta a, .hamburger {
  transition: transform 100ms ease-out, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn-primary:active, .btn-outline:active, .nav-cta:active, .m-cta:active, .mobile-cta-bar-btn:active, .cta-card .btn-cta:active, .post-cta a:active, .hamburger:active { transform: scale(0.97); }

/* ── NAV ── solid cream, the decision of 8 October 2026. */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 28px; min-height: 68px; padding: 12px var(--gutter); background: var(--cream); border-bottom: 1px solid rgba(26,46,74,0.08); }
.nav-brand { text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-icon { height: 44px; width: 44px; flex-shrink: 0; }
.nav-wordmark { display: flex; align-items: baseline; gap: 0.25em; white-space: nowrap; }
.nav-word-moving, .nav-word-managed { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.nav-word-moving { color: var(--navy); }
.nav-word-managed { color: var(--teal); }
.nav-links { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a.nav-settled { font-family: var(--serif); font-style: italic; font-size: 18px; font-weight: 400; color: var(--settled-sand); padding-left: 14px; border-left: 1px solid rgba(184,160,144,0.35); }
.nav-links a.nav-settled:hover { color: var(--settled-slate); }
.nav-cta, .nav-links a.nav-cta { position: relative; display: inline-flex; align-items: center; background: var(--teal); color: #ffffff; font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 980px; text-decoration: none; white-space: nowrap; }
.nav-cta::after { content: ''; position: absolute; inset: -6px -4px; }
.nav-cta:hover, .nav-links a.nav-cta:hover { background: var(--navy); color: #ffffff; }

/* The menu button and its panel: below the width the links fit in. */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; margin-right: -11px; cursor: pointer; background: none; border: none; border-radius: 980px; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 980px; transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 72px; right: max(16px, calc((100% - 1120px) / 2)); z-index: 99; width: min(280px, calc(100% - 32px)); padding: 8px; flex-direction: column; background: #ffffff; border-radius: 12px; box-shadow: 0 1px 2px rgba(26,46,74,0.08), 0 18px 40px -12px rgba(26,46,74,0.3); }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 16px; font-weight: 400; color: var(--navy); text-decoration: none; transition: color 0.2s, background 0.2s; }
.mobile-menu a:hover { color: var(--teal); background: rgba(45,125,111,0.06); }
.mobile-menu .m-settled { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--settled-sand); }
.mobile-menu .m-cta { display: none; }

@media (max-width: 1080px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hamburger { display: flex; }
  nav { gap: 12px; }
}

/* ── BUTTONS ── a pill; WhatsApp buttons are brand teal, not WhatsApp green. */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 13px 26px; background: var(--teal); color: #ffffff; font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; text-align: center; text-decoration: none; border: none; border-radius: 980px; cursor: pointer; }
.btn-primary:hover { background: var(--navy); color: #ffffff; }

/* ── CTA CARDS ── the one navy treatment, SKILL-DESIGN. */
.cta-card { background: var(--navy); border-radius: 12px; padding: 24px 20px; margin-bottom: 18px; position: relative; overflow: hidden; box-shadow: var(--shadow-navy); }
.cta-card::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: radial-gradient(ellipse at 90% 20%, rgba(45,125,111,0.28) 0%, transparent 70%); pointer-events: none; }
.cta-card:last-child { margin-bottom: 0; }
.cta-card-label { position: relative; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 10px; }
.cta-card p { position: relative; z-index: 1; font-size: 15px; font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.78); margin-bottom: 16px; }
.cta-card .btn-cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; background: var(--teal); color: #ffffff !important; font-family: var(--sans); font-size: 15px; font-weight: 500; text-align: center; text-decoration: none !important; border-radius: 980px; }
.cta-card .btn-cta:hover { background: var(--teal-light); }
.cta-card .btn-cta + .btn-cta { margin-top: 10px; }
.cta-card .btn-cta.outline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9) !important; }
.cta-card .btn-cta.outline:hover { border-color: var(--teal-light); color: #ffffff !important; }

/* ── PHONE WHATSAPP BAR ── */
.mobile-cta-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -8px 24px -8px rgba(26,46,74,0.4); }
.mobile-cta-bar-text { flex: 1; min-width: 0; line-height: 1.3; }
.mobile-cta-bar-text strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 2px; }
.mobile-cta-bar-text span { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.85); }
.mobile-cta-bar-btn { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 11px 20px; background: var(--teal); color: #ffffff !important; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none !important; border-radius: 980px; }

/* ── FOOTER ── */
footer { background: var(--navy); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 72px var(--gutter) 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-wordmark { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 10px; }
.w-moving { color: #ffffff; }
.w-managed { color: var(--teal-light); }
.footer-tagline-small { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-desc { font-size: 15px; font-weight: 400; line-height: 1.55; color: rgba(255,255,255,0.7); max-width: 34em; }
.footer-col-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 12px; }
.footer-col-links { display: flex; flex-direction: column; }
.footer-col-links a { display: flex; align-items: center; min-height: 40px; font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-col-links a:hover { color: #ffffff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 20px var(--gutter); }
.footer-bottom p { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.6); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom-links a:hover { color: #ffffff; }

/* ── BLOG POST ── */
.post-hero { position: relative; overflow: hidden; background: var(--navy); padding: 152px var(--gutter) 80px; }
.post-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(ellipse at 80% 50%, rgba(45,125,111,0.14) 0%, transparent 70%); pointer-events: none; }
.post-breadcrumb { position: relative; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.post-breadcrumb a { color: var(--teal-light); text-decoration: none; }
.post-breadcrumb a:hover { color: #ffffff; }
.post-tag { position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 14px; }
.post-hero h1 { position: relative; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 400; line-height: 1.03; letter-spacing: -0.025em; color: #ffffff; max-width: 820px; margin-bottom: 24px; }
.post-hero h1 em { font-style: italic; color: var(--teal-light); }
.post-meta { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.post-author { font-size: 15px; color: rgba(255,255,255,0.78); }
.post-author span { color: var(--teal-light); }
.post-date, .post-read-time { font-size: 15px; color: rgba(255,255,255,0.6); }
.post-divider { width: 48px; height: 2px; background: var(--teal-light); margin: 28px 0 0; border-radius: 980px; }

.post-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; max-width: 1168px; margin: 0 auto; padding: 88px 24px 112px; }
.post-body { max-width: 680px; }
.post-body h2 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); margin: 56px 0 18px; padding-top: 48px; border-top: 1px solid rgba(26,46,74,0.1); }
.post-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.post-body h2 em { font-style: italic; color: var(--teal); }
.post-body h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--navy); margin: 32px 0 10px; }
.post-body p { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body ul, .post-body ol { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.post-body ul { list-style: none; }
.post-body ol { padding-left: 1.4em; }
.post-body li { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--text); }
.post-body ul li { position: relative; padding-left: 24px; }
.post-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--teal); }
.post-body strong { font-weight: 600; color: var(--navy); }
.post-body a.inline-link, .post-body p a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(45,125,111,0.35); }
.post-body a.inline-link:hover, .post-body p a:hover { color: var(--navy); border-bottom-color: var(--navy); }

.post-toc { position: sticky; top: 100px; height: fit-content; }
.post-toc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.post-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.post-toc li a { position: relative; display: block; padding: 6px 0 6px 24px; font-size: 15px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.post-toc li a::before { content: '—'; position: absolute; left: 0; color: var(--teal); }
.post-toc li a:hover { color: var(--navy); }

.post-cta { position: relative; overflow: hidden; background: var(--navy); border-radius: 12px; padding: 40px; margin: 56px 0; box-shadow: var(--shadow-navy); }
.post-cta::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: radial-gradient(ellipse at 80% 50%, rgba(45,125,111,0.22) 0%, transparent 70%); pointer-events: none; }
.post-cta-label { position: relative; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 12px; }
.post-cta h3 { position: relative; z-index: 1; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff; margin: 0 0 12px; }
.post-cta h3 em { font-style: italic; color: var(--teal-light); }
.post-cta p { position: relative; z-index: 1; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.78); margin-bottom: 24px; }
.post-cta a { position: relative; z-index: 1; display: inline-flex; }

.back-link { margin-bottom: 40px; }
.back-link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--teal); text-decoration: none; }
.back-link a:hover { color: var(--navy); }
.back-link a::before { content: '← '; white-space: pre; }

.related-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid rgba(26,46,74,0.08); }
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.related-item a { font-size: 15px; line-height: 1.4; color: var(--navy); text-decoration: none; }
.related-item a:hover { color: var(--teal); }
.faq-q { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.faq-a { font-size: 17px; line-height: 1.6; color: var(--text); margin: 0; }
.disclaimer { font-size: 15px; font-style: italic; line-height: 1.6; color: var(--muted); border-top: 1px solid rgba(26,46,74,0.1); padding-top: 24px; margin-top: 40px; }
.disclaimer a { color: var(--teal); border-bottom: none; }

/* ── POST PARTS ── the answer box, a sourced table, the FAQ and the sources list, shared by every post from 14 October 2026. */
.post-body .post-answer { background: #ffffff; border-radius: 12px; padding: 24px 28px; margin: 0 0 40px; box-shadow: 0 1px 2px rgba(26,46,74,0.06), 0 12px 32px -12px rgba(26,46,74,0.18); }
.post-body .post-answer p { font-size: 19px; line-height: 1.5; color: var(--navy); margin: 0; }
.post-answer-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.post-table-wrap { overflow-x: auto; margin: 24px 0 12px; }
.post-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.post-table th { background: var(--navy); color: #ffffff; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; padding: 12px; }
.post-table th:first-child { border-radius: 10px 0 0 0; }
.post-table th:last-child { border-radius: 0 10px 0 0; }
.post-table td { padding: 12px; border-bottom: 1px solid rgba(26,46,74,0.08); color: var(--text); vertical-align: top; }
.post-table tr:nth-child(even) td { background: rgba(255,255,255,0.7); }
.post-table td:first-child { font-weight: 600; color: var(--navy); }
.post-body .post-table-note { font-size: 15px; color: var(--muted); margin: 0 0 32px; }
.post-faq { margin: 24px 0 40px; border-top: 1px solid rgba(26,46,74,0.1); }
.post-faq-item { padding: 20px 0; border-bottom: 1px solid rgba(26,46,74,0.1); }
.post-body .post-faq-item h3 { margin: 0 0 8px; }
.post-body .post-faq-item p { margin-bottom: 10px; }
.post-body .post-faq-item p:last-child { margin-bottom: 0; }
.post-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(26,46,74,0.1); }
.post-body .post-sources p, .post-body .post-sources li { font-size: 15px; color: var(--muted); }
.post-body .post-sources ul { gap: 6px; }

/* ── FOLDED RATES ── a rate table folded under its summary line. */
.rate-bands { margin: 16px 0 24px; border-top: 1px solid rgba(26,46,74,0.1); border-bottom: 1px solid rgba(26,46,74,0.1); }
.rate-bands summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--teal); list-style: none; }
.rate-bands summary::-webkit-details-marker { display: none; }
.rate-bands summary::after { content: '+'; margin-left: 8px; font-weight: 400; }
.rate-bands[open] summary::after { content: '\2212'; }
.rate-bands table { margin: 4px 0 16px; }

/* ── CALLOUTS ── after the post rules, which they sit inside: equal specificity, so the later rule wins
   (SKILL-DESIGN, CSS cascade order). On terms.html a callout is how a clause is brought to notice. */
.callout, .callout-warning, .callout-gold { background: #ffffff; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 32px 0; box-shadow: var(--shadow-card); }
.callout-warning, .callout-gold { border-left-color: var(--gold); }
.callout p, .callout-warning p, .callout-gold p { font-size: 17px; font-weight: 400; line-height: 1.55; color: var(--navy); margin: 0; }
.callout-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.callout-warning .callout-label, .callout-gold .callout-label { color: #8a6d1f; }

@media (max-width: 768px) {
  nav { min-height: 60px; padding: 8px 16px; }
  .nav-icon { height: 36px; width: 36px; }
  .nav-brand { gap: 8px; }
  .nav-word-moving, .nav-word-managed { font-size: 19px; }
  .nav-links { gap: 0; }
  .mobile-menu { top: 64px; right: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; }
  .post-hero { padding: 112px 24px 56px; }
  .post-wrap { grid-template-columns: 1fr; gap: 0; padding: 48px 24px 72px; }
  .post-toc { position: static; margin-bottom: 40px; }
  .post-toc ul { flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
  .post-cta { padding: 28px 24px; }
  .post-cta h3 { font-size: 28px; }
  .cta-whatsapp-desktop { display: none; }
  .mobile-cta-bar { display: flex; }
  body:has(.mobile-cta-bar) { padding-bottom: 76px; }
  .read-next-grid { grid-template-columns: 1fr !important; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:active, .btn-outline:active, .nav-cta:active, .m-cta:active, .mobile-cta-bar-btn:active, .cta-card .btn-cta:active, .post-cta a:active, .hamburger:active { transform: none; }
}
