/* ==========================================================================
   Avant Solutions Group — site.css
   Palette drawn from the gold winged-A logo on deep navy.
   ========================================================================== */

:root {
	--navy-950: #060a16;
	--navy-900: #0a1224;
	--navy-850: #0e1830;
	--navy-800: #13203d;
	--navy-700: #1c2c52;
	--navy-600: #2a3d68;
	--gold-300: #f1dfbb;
	--gold-400: #e5cb9b;
	--gold-500: #d9b983;
	--gold-600: #c29f63;
	--gold-700: #9c7c45;
	--ink-100: #f4f6fb;
	--ink-200: #dfe5f1;
	--ink-300: #b4bfd6;
	--ink-400: #8d9abb;
	--cream-50: #fbf9f5;
	--cream-100: #f5f0e6;
	--cream-200: #ebe3d3;
	--text-dark: #141c2f;
	--text-dark-muted: #4d5872;
	--success: #3fbf8a;
	--danger: #ef6b6b;

	--font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 10px 25px -10px rgba(0, 0, 0, .35);
	--shadow-light: 0 20px 45px -25px rgba(20, 28, 47, .35);
	--ring: 0 0 0 3px rgba(217, 185, 131, .45);
	--container: 1200px;
	--header-h: 80px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink-200);
	background: var(--navy-950);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-400); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-300); }
h1, h2, h3, h4 { color: var(--ink-100); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--gold-500); color: var(--navy-950); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 18px; background: var(--gold-500); color: var(--navy-950); font-weight: 600; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--gold-500); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-300); line-height: 1.65; }
.text-gold { color: var(--gold-500); }
.gold-gradient {
	background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-600) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-style: italic;
}
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
	--bg: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
	font: 600 1rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold {
	background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
	color: var(--navy-950);
	box-shadow: 0 10px 30px -10px rgba(217, 185, 131, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold:hover { color: var(--navy-950); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(217, 185, 131, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { color: var(--ink-100); border-color: rgba(217, 185, 131, .45); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { color: var(--navy-950); background: var(--gold-500); border-color: var(--gold-500); }
.btn-dark { background: var(--navy-900); color: var(--ink-100); }
.btn-dark:hover { color: var(--gold-300); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(6, 10, 22, .72);
	backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid rgba(217, 185, 131, .12);
	transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(6, 10, 22, .92); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 50px; height: 50px; filter: drop-shadow(0 4px 12px rgba(217, 185, 131, .25)); transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); color: var(--gold-500); }
.brand-name { font-size: 1.65rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.brand-sub { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; color: var(--gold-400); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	position: relative; display: block; padding: 10px 14px; border-radius: 8px;
	color: var(--ink-200); text-decoration: none; font-size: .95rem; font-weight: 500;
	transition: color .2s;
}
.nav-list a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
	background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-300); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid rgba(217, 185, 131, .35); border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--gold-400); border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px;
		padding: 24px; background: rgba(6, 10, 22, .98); border-bottom: 1px solid rgba(217, 185, 131, .15);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; gap: 2px; }
	.nav-list a { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .05); }
	.nav-list a::after { display: none; }
	.brand-name { font-size: 1.35rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section-sm { padding: clamp(56px, 7vw, 84px) 0; }
.section-dark { background: var(--navy-950); }
.section-navy { background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.section-light { background: var(--cream-50); color: var(--text-dark-muted); }
.section-light h2, .section-light h3, .section-light h4 { color: var(--text-dark); }
.section-light .eyebrow { color: var(--gold-700); }
.section-light .lead { color: var(--text-dark-muted); }
.section-light a:not(.btn) { color: var(--gold-700); }
.divider-top::before {
	content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
	width: min(1100px, 90%); height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 185, 131, .35), transparent);
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(217, 185, 131, .14), transparent 60%),
		radial-gradient(700px 600px at 0% 100%, rgba(42, 61, 104, .55), transparent 60%),
		linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(rgba(217, 185, 131, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 185, 131, .06) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 580px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-300); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }

.page-hero { padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 90px); }
.page-hero .lead { max-width: 720px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero.center .btn-row { justify-content: center; }

.breadcrumbs { font-size: .85rem; color: var(--ink-400); margin-bottom: 26px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.page-hero.center .breadcrumbs ol { justify-content: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--navy-600); }
.breadcrumbs a { color: var(--ink-300); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-400); }

/* AI chat mock-up */
.chat-demo { position: relative; }
.chat-card {
	position: relative; border-radius: var(--radius-lg); padding: 22px;
	background: linear-gradient(160deg, rgba(28, 44, 82, .9), rgba(10, 18, 36, .95));
	border: 1px solid rgba(217, 185, 131, .22);
	box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.chat-card::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: linear-gradient(140deg, rgba(241, 223, 187, .7), transparent 35%, transparent 65%, rgba(217, 185, 131, .5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .85rem; color: var(--ink-300); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(63, 191, 138, .15); }
.chat-top strong { color: var(--ink-100); font-weight: 600; }
.chat-msg { max-width: 88%; padding: 13px 16px; border-radius: 16px; font-size: .93rem; line-height: 1.55; margin-bottom: 12px; }
.chat-user { margin-left: auto; background: var(--gold-500); color: var(--navy-950); border-bottom-right-radius: 4px; }
.chat-ai { background: rgba(255, 255, 255, .06); color: var(--ink-200); border: 1px solid rgba(255, 255, 255, .06); border-bottom-left-radius: 4px; }
.chat-ai ul { margin: 6px 0 0; padding-left: 18px; }
.chat-ai li { margin: 2px 0; }
.chat-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); animation: typing 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-float {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
	background: rgba(10, 18, 36, .92); border: 1px solid rgba(217, 185, 131, .25); box-shadow: var(--shadow-lg);
	font-size: .82rem; color: var(--ink-300); backdrop-filter: blur(8px);
	animation: float 6s ease-in-out infinite;
}
.chat-float strong { display: block; color: var(--ink-100); font-size: .95rem; }
.chat-float svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(217, 185, 131, .14); color: var(--gold-400); flex: none; }
.chat-float-1 { top: -26px; right: -18px; }
.chat-float-2 { bottom: -46px; left: -26px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	position: relative; padding: 32px; border-radius: var(--radius);
	background: linear-gradient(170deg, rgba(28, 44, 82, .55), rgba(14, 24, 48, .55));
	border: 1px solid rgba(217, 185, 131, .12);
	transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 185, 131, .38); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-300); font-size: .98rem; margin-bottom: 0; }
.card p + p { margin-top: 12px; }
.section-light .card { background: #fff; border-color: var(--cream-200); box-shadow: var(--shadow-light); }
.section-light .card:hover { border-color: var(--gold-500); }
.section-light .card p { color: var(--text-dark-muted); }

.icon {
	display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 14px;
	color: var(--gold-400); background: linear-gradient(140deg, rgba(217, 185, 131, .2), rgba(217, 185, 131, .04));
	border: 1px solid rgba(217, 185, 131, .25);
}
.icon svg { width: 26px; height: 26px; }
.section-light .icon { color: var(--gold-700); background: var(--cream-100); border-color: var(--cream-200); }

.service-card { display: flex; flex-direction: column; padding: 40px 34px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; }
.service-card ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.service-card li { position: relative; padding-left: 28px; margin: 9px 0; color: var(--ink-200); font-size: .97rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); transform: rotate(-45deg); }
.service-card .card-link { margin-top: auto; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--gold-400); }
.card-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }
.card-featured { border-color: rgba(217, 185, 131, .45); background: linear-gradient(170deg, rgba(42, 61, 104, .7), rgba(14, 24, 48, .7)); }

/* Empathy / split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-wide { grid-template-columns: .9fr 1.1fr; }
.check-list { list-style: none; padding: 0; margin: 26px 0; }
.check-list li { position: relative; padding-left: 36px; margin: 14px 0; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
	background: rgba(217, 185, 131, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b983' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section-light .check-list li::before { background-color: var(--cream-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7c45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.check-list strong { color: var(--ink-100); }
.section-light .check-list strong { color: var(--text-dark); }

.quote-panel {
	position: relative; padding: 44px; border-radius: var(--radius-lg);
	background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); color: var(--ink-200);
	box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote-panel::after { content: "\201C"; position: absolute; right: 24px; top: -30px; font: 700 12rem/1 var(--font-display); color: rgba(217, 185, 131, .12); }
.quote-panel h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink-100) !important; }
.quote-panel p { color: var(--ink-300); }
.myth { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.myth:last-child { border-bottom: 0; }
.myth-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; margin-bottom: 8px; }
.myth-label.is-myth { background: rgba(239, 107, 107, .15); color: #ff9c9c; }
.myth-label.is-fact { background: rgba(63, 191, 138, .15); color: #79e0b4; }
.myth p { margin: 0; }

/* Tabs (use-case explorer) */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(217, 185, 131, .2); margin: 0 auto 44px; }
.tabs-wrap { text-align: center; }
.tab-btn { padding: 12px 24px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-300); font: 600 .95rem var(--font-body); cursor: pointer; transition: background .25s, color .25s; }
.tab-btn[aria-selected="true"] { background: var(--gold-500); color: var(--navy-950); }
.tab-panel[hidden] { display: none; }
.usecase { padding: 28px; }
.usecase h3 { font-size: 1.12rem; }
.usecase .tag { display: inline-block; margin-top: 16px; font-size: .78rem; font-weight: 600; color: var(--gold-400); letter-spacing: .04em; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--cream-200); box-shadow: var(--shadow-light); }
.step::before {
	counter-increment: step; content: "0" counter(step);
	display: block; font: 600 2.6rem/1 var(--font-display); color: var(--gold-600); margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; font-size: .96rem; }
.section-navy .step, .section-dark .step { background: rgba(255, 255, 255, .03); border-color: rgba(217, 185, 131, .15); box-shadow: none; }
.section-navy .step p, .section-dark .step p { color: var(--ink-300); }

/* Stats / values strip */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); border: 1px solid rgba(217, 185, 131, .18); overflow: hidden; background: rgba(255, 255, 255, .02); }
.value { padding: 32px 28px; border-right: 1px solid rgba(217, 185, 131, .12); }
.value:last-child { border-right: 0; }
.value strong { display: block; font: 600 2.1rem/1.1 var(--font-display); color: var(--gold-400); margin-bottom: 8px; }
.value span { font-size: .93rem; color: var(--ink-300); }

/* Hosting teaser band */
.photo-band { position: relative; overflow: hidden; isolation: isolate; }
.photo-band::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: url("../img/server-room.jpg") center/cover no-repeat;
}
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 10, 22, .97) 30%, rgba(6, 10, 22, .78) 65%, rgba(6, 10, 22, .55)); }
.photo-band .container { max-width: var(--container); }
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; padding: 0; list-style: none; }
.feature-chips li { padding: 8px 14px; border-radius: 999px; font-size: .88rem; color: var(--ink-200); background: rgba(255, 255, 255, .05); border: 1px solid rgba(217, 185, 131, .2); }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -20px 0 50px; font-weight: 500; color: var(--ink-300); }
.billing-toggle .save { font-size: .8rem; font-weight: 700; color: var(--navy-950); background: var(--gold-500); padding: 3px 10px; border-radius: 999px; }
.switch { position: relative; width: 58px; height: 32px; border-radius: 999px; border: 1px solid rgba(217, 185, 131, .4); background: var(--navy-800); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-500); transition: transform .3s var(--ease); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }
.billing-label.is-active { color: var(--ink-100); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
	position: relative; display: flex; flex-direction: column; padding: 40px 34px 36px; border-radius: var(--radius-lg);
	background: linear-gradient(175deg, rgba(28, 44, 82, .6), rgba(10, 18, 36, .8));
	border: 1px solid rgba(217, 185, 131, .16);
	transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(217, 185, 131, .4); }
.plan-featured { border-color: var(--gold-500); background: linear-gradient(175deg, rgba(42, 61, 104, .85), rgba(14, 24, 48, .95)); box-shadow: 0 40px 80px -30px rgba(217, 185, 131, .35); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.plan-name { font: 600 1.9rem/1.1 var(--font-display); color: var(--ink-100); margin-bottom: 6px; }
.plan-for { font-size: .93rem; color: var(--ink-300); min-height: 3em; margin-bottom: 22px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; color: var(--ink-100); margin-bottom: 4px; }
.plan-price .currency { font-size: 1.5rem; font-weight: 600; color: var(--gold-400); align-self: flex-start; margin-top: 8px; }
.plan-price .amount { font: 600 3.8rem/1 var(--font-display); letter-spacing: -.02em; }
.plan-price .per { font-size: .95rem; color: var(--ink-300); }
.plan-billing { font-size: .85rem; color: var(--ink-400); min-height: 1.5em; margin-bottom: 26px; }
.plan-specs { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.plan-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .94rem; color: var(--ink-300); }
.plan-specs li strong { color: var(--ink-100); font-weight: 600; text-align: right; }
.plan-features { list-style: none; padding: 0; margin: 0 0 30px; font-size: .93rem; }
.plan-features li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--ink-200); }
.plan-features li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--ink-400); font-size: .88rem; margin-top: 34px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(217, 185, 131, .18); background: rgba(10, 18, 36, .6); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-200); }
.compare thead th { position: sticky; top: 0; background: var(--navy-800); color: var(--ink-100); font: 600 1.25rem var(--font-display); z-index: 1; }
.compare thead th.is-featured { color: var(--gold-400); }
.compare tbody td { color: var(--ink-300); }
.compare .group th { background: rgba(217, 185, 131, .08); color: var(--gold-400); font: 700 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-align: left; }
.compare tbody tr:not(.group):hover td { background: rgba(255, 255, 255, .02); }
.yes { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; background: rgba(217, 185, 131, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b983' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }

.feature-group { padding: 30px; }
.feature-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 16px; }
.feature-group h3 .icon { width: 42px; height: 42px; margin: 0; border-radius: 11px; }
.feature-group h3 .icon svg { width: 21px; height: 21px; }
.feature-group ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.feature-group li { position: relative; padding-left: 22px; margin: 8px 0; font-size: .94rem; color: var(--ink-300); break-inside: avoid; }
.feature-group li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(217, 185, 131, .18); }
.section-light .faq details { border-color: var(--cream-200); }
.faq summary {
	position: relative; list-style: none; cursor: pointer; padding: 24px 50px 24px 0;
	font-weight: 600; font-size: 1.08rem; color: var(--ink-100);
}
.section-light .faq summary { color: var(--text-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
	border-right: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 40px 24px 0; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(70px, 9vw, 110px) 0; overflow: hidden; isolation: isolate; text-align: center;
	background: radial-gradient(700px 300px at 50% 0%, rgba(217, 185, 131, .2), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 620px; transform: translate(-50%, -50%); z-index: -1; opacity: .05;
	background: url("../img/avant-solutions-group-logo.png") center/contain no-repeat; }
.cta-band h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-band .lead { max-width: 640px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; color: var(--text-dark); box-shadow: var(--shadow-lg); }
.form-card h2 { color: var(--text-dark); font-size: 2.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .88rem; font-weight: 600; color: var(--text-dark); }
.field .opt { font-weight: 400; color: var(--text-dark-muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--cream-200); background: var(--cream-50);
	font: 400 1rem/1.4 var(--font-body); color: var(--text-dark); transition: border-color .2s, box-shadow .2s, background .2s;
	appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7c45' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-600); background: #fff; box-shadow: 0 0 0 4px rgba(217, 185, 131, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: .82rem; color: #c43d3d; min-height: 0; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-dark-muted); cursor: pointer; }
/* Custom checkbox. The generic .field input rule (appearance:none + padding) would otherwise hide the tick. */
.checkbox input[type="checkbox"] {
	flex: none; width: 22px; height: 22px; margin: 2px 0 0; padding: 0;
	appearance: none; -webkit-appearance: none; cursor: pointer;
	border: 1.5px solid #c9bda4; border-radius: 6px; background: #fff;
	transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.checkbox input[type="checkbox"]:hover { border-color: var(--gold-600); }
.checkbox input[type="checkbox"]:checked {
	border-color: var(--gold-600);
	background: var(--gold-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat;
}
.checkbox input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(217, 185, 131, .35); }
.checkbox input[type="checkbox"][aria-invalid="true"] { border-color: var(--danger); }
.checkbox a { color: var(--gold-700); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-footer small { color: var(--text-dark-muted); }
.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; margin-bottom: 24px; font-size: .96rem; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.alert-success { background: #e8f8f0; color: #1d6b4a; border: 1px solid #b8e8d1; }
.alert-error { background: #fdeeee; color: #9b2c2c; border: 1px solid #f6c9c9; }
.alert[hidden] { display: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; filter: saturate(.6); }
.btn[disabled]:hover { transform: none; }
.is-loading .btn[disabled] { opacity: .75; cursor: progress; filter: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(6, 10, 22, .3); border-top-color: var(--navy-950); animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-aside .info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-aside .info-item .icon { margin: 0; flex: none; width: 48px; height: 48px; }
.contact-aside .info-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-aside .info-item p { margin: 0; color: var(--ink-300); font-size: .95rem; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--cream-200); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.legal-toc h2 { font: 700 .75rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 1.3em; }
.legal-toc li { margin: 6px 0; }
.legal-toc a { color: var(--text-dark-muted) !important; text-decoration: none; }
.legal-toc a:hover { color: var(--gold-700) !important; }
.prose { color: var(--text-dark-muted); font-size: 1.02rem; max-width: 780px; }
.prose h2 { font-size: 1.85rem; margin-top: 2.2em; padding-top: .3em; color: var(--text-dark); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; color: var(--text-dark); }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text-dark); }
.prose .caps { text-transform: uppercase; font-size: .95rem; letter-spacing: .01em; color: var(--text-dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--cream-200); vertical-align: top; }
.prose th { background: var(--cream-100); color: var(--text-dark); }
.legal-meta { display: inline-flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-300); }
.notice-box { padding: 20px 22px; border-radius: 12px; background: var(--cream-100); border-left: 4px solid var(--gold-600); margin: 1.4em 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid rgba(217, 185, 131, .14); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-logo img { width: 104px; height: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--ink-400); max-width: 340px; }
.footer-title { font: 700 .76rem var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 10px 0; }
.footer-col a:not(.btn) { color: var(--ink-300); text-decoration: none; }
.footer-col a:not(.btn):hover { color: var(--gold-300); }
.footer-cta p { color: var(--ink-400); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 24px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .86rem; color: var(--ink-400); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-300); text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* ---------- Error pages ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font: 600 clamp(6rem, 18vw, 11rem)/1 var(--font-display); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.value-strip { grid-template-columns: repeat(2, 1fr); }
	.value:nth-child(2) { border-right: 0; }
	.value:nth-child(-n+2) { border-bottom: 1px solid rgba(217, 185, 131, .12); }
}
@media (max-width: 980px) {
	.hero-grid, .split, .split-wide, .contact-grid { grid-template-columns: 1fr; }
	.chat-demo { max-width: 560px; margin: 20px auto 0; width: 100%; }
	.grid-3, .pricing { grid-template-columns: 1fr; }
	.pricing { max-width: 520px; margin: 0 auto; gap: 34px; }
	.legal-layout { grid-template-columns: 1fr; gap: 30px; }
	.legal-toc { position: static; max-height: none; }
}
@media (max-width: 680px) {
	body { font-size: 1rem; }
	.container { padding: 0 16px; }
	.grid-2, .grid-4, .steps, .form-grid, .value-strip, .footer-grid { grid-template-columns: 1fr; }
	.value { border-right: 0; border-bottom: 1px solid rgba(217, 185, 131, .12); }
	.value:last-child { border-bottom: 0; }
	.card, .service-card { padding: 26px 22px; }
	.chat-float { display: none; }
	.btn-row .btn { width: 100%; }
	.tabs { display: flex; width: 100%; }
	.tab-btn { flex: 1; padding: 12px 10px; font-size: .88rem; }
	.quote-panel { padding: 30px 24px; }
	.brand-sub { letter-spacing: .2em; }
	.faq .answer { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .cta-band, .legal-toc, .nav-toggle { display: none !important; }
	body, .section-light { background: #fff; color: #000; }
	.prose { max-width: none; color: #000; }
}

/* ---------- Utilities ---------- */
.band-copy { max-width: 640px; }
.fine-print { margin-top: 36px; font-size: .9rem; }
.error-page .icon { margin: 0 auto 22px; }
.error-page .btn-row { justify-content: center; }
.error-page .eyebrow { justify-content: center; }
.error-page .lead { margin-left: auto; margin-right: auto; max-width: 560px; }
.compare tbody th { font-weight: 500; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
	position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto;
	display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: var(--radius);
	background: rgba(10, 18, 36, .97); border: 1px solid rgba(217, 185, 131, .3); box-shadow: var(--shadow-lg);
	font-size: .92rem; color: var(--ink-300); animation: slideUp .5s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 680px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* ---------- Back to top ---------- */
.to-top {
	--lift: 0px;
	position: fixed; right: 24px; bottom: calc(24px + var(--lift)); z-index: 150;
	display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
	border: 1px solid rgba(241, 223, 187, .5); cursor: pointer; color: var(--navy-950);
	background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
	box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6), 0 0 0 6px rgba(217, 185, 131, .12);
	opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
	transition: opacity .3s var(--ease), transform .3s var(--ease), bottom .3s var(--ease), box-shadow .3s;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(0, 0, 0, .65), 0 0 0 8px rgba(217, 185, 131, .18); }
.to-top svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
@media (max-width: 680px) { .to-top { right: 16px; bottom: calc(16px + var(--lift)); width: 46px; height: 46px; } }
@media print { .to-top { display: none !important; } }

/* ---------- Contact form: send animation + confirmation ---------- */
.form-card { position: relative; overflow: hidden; }
.form-body { transition: opacity .4s var(--ease), transform .4s var(--ease), filter .4s; }
.form-card.is-sending .form-body { opacity: 0; transform: translateY(10px) scale(.97); filter: blur(2px); pointer-events: none; }
.form-body[hidden], .send-stage[hidden], .sent-panel[hidden] { display: none; }

.send-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; pointer-events: none; }
.send-plane { position: relative; width: 92px; height: 92px; color: var(--gold-600); animation: planeIn .55s var(--ease) both; }
.send-plane svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 18px rgba(156, 124, 69, .35)); }
.plane-body { fill: var(--gold-400); stroke: var(--gold-700); stroke-width: 2.2; }
.plane-fold { fill: var(--gold-600); stroke: var(--gold-700); stroke-width: 2.2; }
.send-stage.is-waiting .send-plane { animation: planeIn .55s var(--ease) both, planeBob 1.6s ease-in-out .55s infinite; }
.send-stage.is-flying .send-plane { animation: planeFly .95s cubic-bezier(.55, 0, .35, 1) forwards; }
.send-label { margin: 0; font-weight: 600; font-size: .95rem; color: var(--text-dark-muted); animation: fadeUp .5s .15s var(--ease) both; }
.send-stage.is-flying .send-label { animation: fadeOut .3s var(--ease) forwards; }

.send-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.send-trail path { fill: none; stroke: var(--gold-500); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; opacity: 0; }
.send-stage.is-flying .send-trail path { animation: trailDraw .95s cubic-bezier(.55, 0, .35, 1) forwards; }

@keyframes planeIn { from { opacity: 0; transform: translateY(40px) scale(.4) rotate(12deg); } to { opacity: 1; transform: none; } }
@keyframes planeBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes planeFly {
	0%   { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
	22%  { transform: translate(-18px, 10px) rotate(8deg) scale(1.04); }
	100% { transform: translate(min(46vw, 340px), -300px) rotate(-24deg) scale(.35); opacity: 0; }
}
@keyframes trailDraw { 0% { opacity: 0; stroke-dashoffset: 120; } 25% { opacity: .9; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeOut { to { opacity: 0; } }

.sent-panel { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 8px 16px; outline: none; }
.sent-panel.is-in { animation: panelIn .55s cubic-bezier(.2, .9, .3, 1.2) both; }
.sent-panel h2 { margin: 18px 0 8px; }
.sent-msg { font-size: 1.08rem; color: var(--text-dark); max-width: 440px; margin-bottom: 8px; }
.sent-note { font-size: .9rem; color: var(--text-dark-muted); max-width: 420px; margin-bottom: 26px; }
.sent-check { width: 88px; height: 88px; }
.sent-check-ring { fill: rgba(217, 185, 131, .14); stroke: var(--gold-600); stroke-width: 3; stroke-dasharray: 227; stroke-dashoffset: 227; transform: rotate(-90deg); transform-origin: center; }
.sent-check-mark { fill: none; stroke: var(--gold-700); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; }
.sent-panel.is-in .sent-check-ring { animation: drawStroke .6s .15s var(--ease) forwards; }
.sent-panel.is-in .sent-check-mark { animation: drawStroke .4s .65s var(--ease) forwards; }
.sent-panel.is-in .sent-check { animation: checkPop .45s .95s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes checkPop { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

.btn-ghost-dark { color: var(--text-dark); border-color: var(--gold-600); background: transparent; }
.btn-ghost-dark:hover { color: var(--navy-950); background: var(--gold-500); border-color: var(--gold-500); }

@media (prefers-reduced-motion: reduce) {
	.sent-check-ring, .sent-check-mark { stroke-dashoffset: 0; }
}
