/* ==========================================================================
   ABBOT GROUP LTD — Public site design system (Laravel edition)
   Elevated, dual-theme (light + dark). Standalone — does not touch the
   dashboard's Tailwind build. Loaded only by the public & auth layouts.
   ========================================================================== */

/* ----- 1. Design tokens --------------------------------------------------- */
:root {
  /* Brand palette */
  --navy-950: #060f1c;
  --navy-900: #0a1a2f;
  --navy-800: #0f2745;
  --navy-700: #14365e;
  --navy-600: #1c4a7e;
  --steel-500: #2b78c2;
  --steel-400: #4f97da;
  --steel-300: #8fc0ec;

  --amber-600: #d98a1f;
  --amber-500: #f0a830;
  --amber-400: #f7c163;

  --ink: #0c1722;
  --slate-700: #324155;
  --slate-500: #5b6b7e;
  --slate-400: #8595a6;

  /* Semantic (light) */
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --heading: var(--navy-900);
  --text: var(--ink);
  --text-muted: var(--slate-500);
  --text-soft: var(--slate-700);
  --line: #e3e9f1;
  --line-strong: #d4deea;
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-border: rgba(15, 39, 69, 0.08);
  --accent: var(--steel-500);
  --accent-2: var(--amber-500);
  --chip-bg: #ffffff;
  --glass: rgba(255, 255, 255, 0.95);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --fs-eyebrow: 0.78rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --fs-lead: clamp(1.12rem, 1.04rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.8vw, 2.7rem);
  --fs-h1: clamp(2.3rem, 1.6rem + 3.4vw, 4.2rem);

  /* Shape & motion */
  --container: 1200px;
  --container-wide: 1340px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --shadow-sm: 0 1px 2px rgba(12, 23, 34, 0.06), 0 2px 8px rgba(12, 23, 34, 0.05);
  --shadow: 0 14px 40px -16px rgba(12, 23, 34, 0.22);
  --shadow-lg: 0 36px 70px -24px rgba(10, 26, 47, 0.4);
  --ring: 0 0 0 4px rgba(43, 120, 194, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
}

/* Dark theme — echoes the dashboard (deep slate-navy + cyan/amber) */
:root.dark {
  --bg: #060d18;
  --bg-alt: #0a1626;
  --surface: #0e1c30;
  --surface-2: #112237;
  --heading: #f4f8fd;
  --text: #e6eef7;
  --text-muted: #9fb3c9;
  --text-soft: #c3d2e3;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(6, 13, 24, 0.72);
  --header-border: rgba(255, 255, 255, 0.08);
  --accent: var(--steel-400);
  --accent-2: var(--amber-400);
  --chip-bg: rgba(255, 255, 255, 0.04);
  --glass: rgba(14, 28, 48, 0.92);
}

/* ----- 2. Reset & base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body.abbot {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.abbot img, .abbot picture, .abbot svg, .abbot video { display: block; max-width: 100%; }
.abbot a { color: inherit; text-decoration: none; }
.abbot ul, .abbot ol { list-style: none; padding: 0; }
.abbot button, .abbot input, .abbot textarea, .abbot select { font: inherit; color: inherit; }
.abbot h1, .abbot h2, .abbot h3, .abbot h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--heading);
}
.abbot h1 { font-size: var(--fs-h1); }
.abbot h2 { font-size: var(--fs-h2); }
.abbot h3 { font-size: var(--fs-h3); }
.abbot p { color: var(--text-soft); }
.abbot ::selection { background: var(--amber-500); color: var(--navy-900); }
.abbot :focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ----- 3. Layout helpers -------------------------------------------------- */
.abbot .container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.abbot .container-wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }
.abbot .section { padding-block: var(--section-y); }
.abbot .section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.abbot .bg-alt { background: var(--bg-alt); }
.abbot .bg-navy { background: var(--navy-900); color: #d7e3f1; }
:root.dark .abbot .bg-navy { background: #081120; }
.abbot .bg-navy h2, .abbot .bg-navy h3 { color: #fff; }
.abbot .grid { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.abbot .cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbot .cols-3 { grid-template-columns: repeat(3, 1fr); }
.abbot .cols-4 { grid-template-columns: repeat(4, 1fr); }
.abbot .center { text-align: center; }
.abbot .mx-auto { margin-inline: auto; }

/* ----- 4. Typographic accents -------------------------------------------- */
.abbot .eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.abbot .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber-500); }
.abbot .eyebrow--center { justify-content: center; }
.abbot .bg-navy .eyebrow { color: var(--steel-300); }
.abbot .section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3.25rem); }
.abbot .section-head.center { margin-inline: auto; }
.abbot .section-head h2 { margin-top: 0.75rem; }
.abbot .section-head .lead { margin-top: 1rem; }
.abbot .lead { font-size: var(--fs-lead); color: var(--text-muted); }
.abbot .accent { color: var(--amber-400); }
.abbot .gradient-text {
  background: linear-gradient(110deg, var(--steel-400), var(--amber-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----- 5. Buttons --------------------------------------------------------- */
.abbot .btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.abbot .btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.abbot .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.abbot .btn:hover svg { transform: translateX(3px); }
.abbot .btn--primary { --btn-bg: linear-gradient(120deg, var(--amber-500), var(--amber-400)); --btn-fg: var(--navy-900); }
.abbot .btn--primary:hover { box-shadow: 0 14px 34px -12px rgba(240, 168, 48, 0.6); }
.abbot .btn--navy { --btn-bg: linear-gradient(120deg, var(--navy-800), var(--steel-500)); --btn-fg: #fff; }
.abbot .btn--ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.abbot .btn--ghost:hover { border-color: var(--accent); background: var(--surface); }
.abbot .btn--outline-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.abbot .btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.abbot .btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.abbot .btn--block { width: 100%; justify-content: center; }
.abbot .link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem; color: var(--accent);
}
.abbot .link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.abbot .link-arrow:hover svg { transform: translateX(4px); }

/* ----- 6. Header / nav ---------------------------------------------------- */
.abbot .site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.4s var(--ease);
}
.abbot .site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--header-border); }
.abbot .nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.abbot .brand { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.abbot .brand__mark { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy-800), var(--steel-500)); box-shadow: var(--shadow-sm); }
.abbot .brand__mark svg { width: 30px; height: 30px; }
.abbot .brand__logo { height: 72px; width: auto; display: block; }
.abbot .brand__logo--dark { display: none; }
:root.dark .abbot .brand__logo--light { display: none; }
:root.dark .abbot .brand__logo--dark { display: block; }
.abbot .brand__text { display: flex; flex-direction: column; line-height: 1; }
.abbot .brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--heading); }
.abbot .brand__sub { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.abbot .nav__menu { display: flex; align-items: center; gap: 0.35rem; }
.abbot .nav__link {
  position: relative; padding: 0.55rem 0.9rem; font-family: var(--font-display); font-weight: 500;
  font-size: 0.95rem; color: var(--text-soft); border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.abbot .nav__link::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem; height: 2px;
  background: var(--amber-500); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease);
}
.abbot .nav__link:hover { color: var(--heading); }
.abbot .nav__link:hover::after, .abbot .nav__link.is-active::after { transform: scaleX(1); }
.abbot .nav__link.is-active { color: var(--heading); }
.abbot .nav__actions { display: flex; align-items: center; gap: 0.75rem; }
/* Auth buttons inside the menu drawer only show on mobile */
.abbot .nav__menu .btn { display: none; }

/* Theme toggle */
.abbot .theme-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; color: var(--heading);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.abbot .theme-toggle:hover { transform: translateY(-2px); border-color: var(--accent); }
.abbot .theme-toggle svg { width: 20px; height: 20px; }
.abbot .theme-toggle .icon-sun { display: none; }
:root.dark .abbot .theme-toggle .icon-sun { display: block; }
:root.dark .abbot .theme-toggle .icon-moon { display: none; }

.abbot .nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.abbot .nav__toggle span, .abbot .nav__toggle span::before, .abbot .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.abbot .nav__toggle span { position: relative; }
.abbot .nav__toggle span::before { position: absolute; top: -6px; }
.abbot .nav__toggle span::after { position: absolute; top: 6px; }
.abbot .nav__toggle[aria-expanded="true"] span { background: transparent; }
.abbot .nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.abbot .nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----- 7. Hero ------------------------------------------------------------ */
.abbot .hero { position: relative; color: #fff; background: var(--navy-900); isolation: isolate; overflow: hidden; }
.abbot .hero__media { position: absolute; inset: 0; z-index: -2; }
.abbot .hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.abbot .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 80% 15%, rgba(43, 120, 194, 0.28), transparent 60%),
    linear-gradient(110deg, rgba(6, 15, 28, 0.94) 0%, rgba(10, 26, 47, 0.82) 42%, rgba(10, 26, 47, 0.4) 100%),
    linear-gradient(0deg, rgba(6, 15, 28, 0.7), rgba(6, 15, 28, 0) 55%);
}
.abbot .hero__inner { padding-block: clamp(5rem, 4rem + 8vw, 9.5rem); max-width: 780px; }
.abbot .hero h1 { color: #fff; }
.abbot .hero h1 .accent { color: var(--amber-400); }
.abbot .hero__lead { margin-top: 1.4rem; font-size: var(--fs-lead); color: #cdd9e8; max-width: 58ch; }
.abbot .hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.abbot .hero__eyebrow { color: var(--amber-400) !important; }
.abbot .hero__eyebrow::before { background: var(--amber-400); }

.abbot .hero-stats { position: relative; z-index: 2; margin-top: -1px; }
.abbot .hero-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-800); border-top: 1px solid rgba(255,255,255,0.08); }
:root.dark .abbot .hero-stats__grid { background: #0b1a30; }
.abbot .hero-stats .stat { padding: 1.8rem 1.5rem; border-right: 1px solid rgba(255,255,255,0.08); }
.abbot .hero-stats .stat:last-child { border-right: 0; }
.abbot .hero-stats .stat__num { color: #fff; }
.abbot .hero-stats .stat__label { color: #9fb3c9; }

.abbot .page-hero { position: relative; color: #fff; background: var(--navy-900); isolation: isolate; overflow: hidden; }
.abbot .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.abbot .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.abbot .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 400px at 85% 10%, rgba(43,120,194,0.26), transparent 60%),
    linear-gradient(100deg, rgba(6,15,28,0.94) 10%, rgba(10,26,47,0.8) 55%, rgba(20,54,94,0.55) 100%);
}
.abbot .page-hero__inner { padding-block: clamp(4rem, 3rem + 5vw, 7rem); max-width: 740px; }
.abbot .page-hero h1 { color: #fff; }
.abbot .page-hero p { color: #cdd9e8; margin-top: 1rem; font-size: var(--fs-lead); }
.abbot .crumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: #9fb3c9; margin-bottom: 1.2rem; }
.abbot .crumbs a:hover { color: #fff; }
.abbot .crumbs span { color: var(--amber-400); }

/* ----- 8. Stats ----------------------------------------------------------- */
.abbot .stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem); letter-spacing: -0.03em; color: var(--heading); line-height: 1; }
.abbot .stat__num .suffix { color: var(--amber-500); }
.abbot .stat__label { margin-top: 0.6rem; font-size: 0.92rem; color: var(--text-muted); }

/* ----- 9. Cards ----------------------------------------------------------- */
.abbot .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); box-shadow: var(--shadow-sm); height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.abbot .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.abbot .card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(150deg, var(--navy-700), var(--steel-500)); color: #fff; margin-bottom: 1.25rem; }
.abbot .card__icon svg { width: 26px; height: 26px; }
.abbot .card h3 { margin-bottom: 0.6rem; }
.abbot .card p { font-size: 0.96rem; }

.abbot .service-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm); isolation: isolate; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.abbot .service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.abbot .service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,15,28,0.94) 8%, rgba(10,26,47,0.45) 55%, rgba(10,26,47,0.1) 100%); transition: background 0.4s var(--ease); }
.abbot .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.abbot .service-card:hover img { transform: scale(1.08); }
.abbot .service-card__body { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); width: 100%; }
.abbot .service-card__tag { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-400); }
.abbot .service-card h3 { color: #fff; margin: 0.5rem 0 0.6rem; }
.abbot .service-card p { color: #d2dded; font-size: 0.95rem; margin-bottom: 1rem; }
.abbot .service-card .link-arrow { color: #fff; }

/* ----- 10. Split + media -------------------------------------------------- */
.abbot .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
.abbot .split--reverse .split__media { order: 2; }
.abbot .split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.abbot .split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.abbot .media-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; background: var(--glass); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.9rem; border: 1px solid var(--line); }
.abbot .media-badge .stat__num { font-size: 1.8rem; }
.abbot .media-badge .stat__label { margin-top: 0.1rem; }
.abbot .checklist { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.abbot .checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text-soft); }
.abbot .checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.abbot .bg-navy .checklist li { color: #c6d4e5; }
.abbot .bg-navy .checklist svg { color: var(--amber-400); }

/* ----- 11. Values / steps ------------------------------------------------- */
.abbot .value { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.abbot .value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.abbot .value__num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--amber-500); letter-spacing: 0.1em; }
.abbot .value h3 { font-size: 1.2rem; margin: 0.75rem 0 0.5rem; }
.abbot .value p { font-size: 0.95rem; }
.abbot .steps { counter-reset: step; display: grid; gap: 1.5rem; }
.abbot .step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.abbot .step__marker { counter-increment: step; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; background: linear-gradient(150deg, var(--navy-700), var(--steel-500)); }
.abbot .step__marker::before { content: counter(step, decimal-leading-zero); }
.abbot .step h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }

/* ----- 12. Regions -------------------------------------------------------- */
.abbot .regions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.abbot .region-chip { padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--text-soft); background: var(--chip-bg); }
.abbot .bg-navy .region-chip { border-color: rgba(255,255,255,0.16); color: #cdd9e8; background: rgba(255,255,255,0.04); }

/* ----- 13. CTA band ------------------------------------------------------- */
.abbot .cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.abbot .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 85% 20%, rgba(240,168,48,0.2), transparent 60%), radial-gradient(600px 400px at 10% 90%, rgba(43,120,194,0.3), transparent 60%); }
.abbot .cta-band h2 { color: #fff; max-width: 18ch; }
.abbot .cta-band p { color: #c6d4e5; max-width: 52ch; margin-top: 1rem; }
.abbot .cta-band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.abbot .cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ----- 14. Accordion ------------------------------------------------------ */
.abbot .accordion { display: grid; gap: 0.85rem; }
.abbot .acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.abbot .acc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--heading); background: none; border: 0; cursor: pointer; list-style: none; }
.abbot .acc__head::-webkit-details-marker { display: none; }
.abbot .acc__icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.abbot .acc__icon::before, .abbot .acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.abbot .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.abbot .acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.abbot .acc__body { padding: 0 1.5rem 1.4rem; color: var(--text-soft); }
.abbot .acc[open] .acc__head { color: var(--accent); }

/* ----- 15. Team ----------------------------------------------------------- */
.abbot .person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.abbot .person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.abbot .person__photo { aspect-ratio: 4 / 4.2; overflow: hidden; position: relative; }
.abbot .person__avatar { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: #fff; background: linear-gradient(150deg, var(--navy-700), var(--steel-500)); }
.abbot .person__body { padding: 1.25rem 1.4rem 1.5rem; }
.abbot .person__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--heading); }
.abbot .person__role { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-top: 0.2rem; }
.abbot .person__bio { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.7rem; }

/* ----- 16. Forms ---------------------------------------------------------- */
.abbot .form { display: grid; gap: 1.1rem; }
.abbot .field { display: grid; gap: 0.4rem; }
.abbot .field label { font-size: 0.85rem; font-weight: 600; color: var(--text-soft); font-family: var(--font-display); }
.abbot .field .req { color: var(--amber-600); }
.abbot .field input, .abbot .field textarea, .abbot .field select {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.abbot .field textarea { resize: vertical; min-height: 130px; }
.abbot .field input:focus, .abbot .field textarea:focus, .abbot .field select:focus { outline: none; border-color: var(--steel-400); box-shadow: var(--ring); }
.abbot .field .error { font-size: 0.78rem; color: #d9534f; }
.abbot .form-note { font-size: 0.82rem; color: var(--text-muted); }
.abbot .form-status { padding: 0.9rem 1.1rem; border-radius: 12px; background: rgba(30, 122, 61, 0.12); color: #1e7a3d; border: 1px solid rgba(30, 122, 61, 0.3); font-size: 0.92rem; font-weight: 500; }
:root.dark .abbot .form-status { color: #6ee7a0; }
.abbot .field .pw-toggle { position: relative; }
.abbot .field .pw-toggle button { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-muted); cursor: pointer; padding: 0; display: grid; place-items: center; }
.abbot .field .pw-toggle button svg { width: 20px; height: 20px; }
.abbot .field .pw-toggle input { padding-right: 2.75rem; }

.abbot .info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.abbot .info-row:last-child { border-bottom: 0; }
.abbot .info-row__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--navy-700), var(--steel-500)); }
.abbot .info-row__icon svg { width: 22px; height: 22px; }
.abbot .info-row h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--heading); margin-bottom: 0.15rem; }
.abbot .info-row p, .abbot .info-row a { font-size: 0.95rem; color: var(--text-muted); }
.abbot .info-row a:hover { color: var(--accent); }

/* ----- 17. Callout / pills / plans --------------------------------------- */
.abbot .callout { border-left: 4px solid var(--amber-500); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.6rem; }
.abbot .callout h4 { font-family: var(--font-display); color: var(--heading); margin-bottom: 0.4rem; }
.abbot .callout p { font-size: 0.9rem; color: var(--text-muted); }
.abbot .pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; font-family: var(--font-display); background: rgba(43,120,194,0.12); color: var(--accent); }
.abbot .pill--amber { background: rgba(240,168,48,0.16); color: var(--amber-600); }
:root.dark .abbot .pill--amber { color: var(--amber-400); }
.abbot .plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; height: 100%; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.abbot .plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.abbot .plan--featured { border-color: var(--amber-500); box-shadow: var(--shadow); position: relative; }
.abbot .plan--featured::before { content: "Most popular"; position: absolute; top: -13px; left: 2rem; background: var(--amber-500); color: var(--navy-900); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; padding: 0.3rem 0.8rem; border-radius: 999px; }
.abbot .plan__name { font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.2rem; }
.abbot .plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--heading); margin: 0.5rem 0; letter-spacing: -0.03em; }
.abbot .plan__price span { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.abbot .plan__features { display: grid; gap: 0.7rem; margin: 1.25rem 0 1.75rem; }
.abbot .plan__features li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--text-soft); }
.abbot .plan__features svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.abbot .plan .btn { margin-top: auto; }

/* ----- 18. Footer --------------------------------------------------------- */
.abbot .site-footer { background: var(--navy-950); color: #9fb3c9; padding-top: clamp(3.5rem, 3rem + 2vw, 5rem); }
:root.dark .abbot .site-footer { background: #04080f; border-top: 1px solid rgba(255,255,255,0.05); }
.abbot .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.abbot .footer-brand .brand__name { color: #fff; }
.abbot .footer-brand p { color: #8ea4bb; font-size: 0.92rem; margin-top: 1.1rem; max-width: 34ch; }
.abbot .footer-mark { display: flex; align-items: center; gap: 0.6rem; }
.abbot .footer-mark .brand__mark { width: 44px; height: 44px; }
.abbot .footer-col h4 { font-family: var(--font-display); color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 1.1rem; }
.abbot .footer-col ul { display: grid; gap: 0.7rem; }
.abbot .footer-col a { color: #9fb3c9; font-size: 0.92rem; transition: color 0.2s var(--ease); }
.abbot .footer-col a:hover { color: var(--amber-400); }
.abbot .footer-contact li { display: flex; gap: 0.6rem; font-size: 0.92rem; margin-bottom: 0.7rem; }
.abbot .footer-contact svg { width: 18px; height: 18px; color: var(--steel-400); flex-shrink: 0; margin-top: 3px; }
.abbot .social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.abbot .social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: #cdd9e8; transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.abbot .social a:hover { background: var(--amber-500); color: var(--navy-900); transform: translateY(-3px); }
.abbot .social svg { width: 18px; height: 18px; }
.abbot .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: 0.85rem; color: #738aa3; }
.abbot .footer-bottom__links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.abbot .footer-bottom a:hover { color: var(--amber-400); }

/* ----- 19. Auth ----------------------------------------------------------- */
.abbot .auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.abbot .auth__aside { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy-900); padding: clamp(2.5rem, 2rem + 3vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; }
.abbot .auth__aside img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.abbot .auth__aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(6,15,28,0.92), rgba(10,26,47,0.78) 60%, rgba(20,54,94,0.6)); }
.abbot .auth__aside h2 { color: #fff; max-width: 16ch; margin-top: 1rem; }
.abbot .auth__aside p { color: #cdd9e8; max-width: 42ch; margin-top: 1rem; }
.abbot .auth__points { display: grid; gap: 0.9rem; margin-top: 2rem; }
.abbot .auth__points li { display: flex; gap: 0.7rem; align-items: flex-start; color: #d2dded; font-size: 0.95rem; }
.abbot .auth__points svg { width: 22px; height: 22px; color: var(--amber-400); flex-shrink: 0; }
.abbot .auth__main { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1.5rem; background: var(--bg); }
.abbot .auth__card { width: 100%; max-width: 460px; }
.abbot .auth__card h1 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.abbot .auth__badges { display: flex; gap: 1.25rem; align-items: center; justify-content: center; margin-top: 2rem; opacity: 0.6; }
.abbot .auth__badges span { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.abbot .auth__badges svg { width: 16px; height: 16px; }
.abbot .auth__alert { padding: 0.9rem 1.1rem; border-radius: 12px; font-size: 0.9rem; }
.abbot .auth__alert--error { background: rgba(217, 83, 79, 0.12); border: 1px solid rgba(217, 83, 79, 0.35); color: #d9534f; }
.abbot .auth__alert--ok { background: rgba(30, 122, 61, 0.12); border: 1px solid rgba(30, 122, 61, 0.3); color: #1e7a3d; }
:root.dark .abbot .auth__alert--ok { color: #6ee7a0; }
.abbot .auth__alert ul { display: grid; gap: 0.25rem; }
.abbot .checkbox-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.abbot .checkbox-row input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--steel-500); }

/* ----- 20. Scroll reveal & utilities ------------------------------------- */
.abbot .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.abbot .reveal.is-in { opacity: 1; transform: none; }
.abbot .reveal[data-delay="1"] { transition-delay: 0.08s; }
.abbot .reveal[data-delay="2"] { transition-delay: 0.16s; }
.abbot .reveal[data-delay="3"] { transition-delay: 0.24s; }
.abbot .nav__backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(6, 15, 28, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease); }
.abbot .nav__backdrop.show { opacity: 1; visibility: visible; }
.abbot .mt-0 { margin-top: 0; } .abbot .mt-2 { margin-top: 1rem; } .abbot .mt-3 { margin-top: 1.5rem; } .abbot .mt-4 { margin-top: 2rem; }
.abbot .mb-0 { margin-bottom: 0; }

/* ----- 21. Responsive ----------------------------------------------------- */
@media (max-width: 980px) {
  .abbot .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .abbot .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .abbot .auth { grid-template-columns: 1fr; }
  .abbot .auth__aside { display: none; }
}
@media (max-width: 860px) {
  .abbot .nav__toggle { display: inline-flex; }
  .abbot .nav__menu {
    position: fixed; top: 0; right: 0; z-index: 95; height: 100dvh; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; background: var(--surface);
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.4s var(--ease); overflow-y: auto;
  }
  .abbot .nav__menu.open { transform: translateX(0); }
  .abbot .nav__link { padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .abbot .nav__link::after { display: none; }
  .abbot .nav__link:hover, .abbot .nav__link.is-active { background: var(--bg-alt); }
  .abbot .nav__menu .btn { display: inline-flex; margin-top: 0.75rem; justify-content: center; }
  .abbot .nav__actions .nav__link, .abbot .nav__actions .btn--primary { display: none; }
  .abbot .split { grid-template-columns: 1fr; }
  .abbot .split--reverse .split__media { order: 0; }
  .abbot .cols-3 { grid-template-columns: 1fr; }
  .abbot .hero-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .abbot .cta-band__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .abbot .cols-2, .abbot .cols-4 { grid-template-columns: 1fr; }
  .abbot .footer-top { grid-template-columns: 1fr; }
  .abbot .hero-stats__grid { grid-template-columns: 1fr; }
  .abbot .hero-stats .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .abbot .brand__sub { display: none; }
  .abbot .btn { width: 100%; justify-content: center; }
  .abbot .hero__cta .btn, .abbot .cta-band__actions .btn { width: auto; }
}
