/* Aneris Docsway product site. Everything is scoped to the landing page's own markup. */

:root {
	--ads-indigo: #4f46e5;
	--ads-indigo-2: #6366f1;
	--ads-deep: #1e1b4b;
	--ads-night: #312e81;
	--ads-pale: #e0e7ff;
	--ads-mist: #f5f6ff;
	--ads-ink: #111827;
	--ads-text: #374151;
	--ads-muted: #6b7280;
	--ads-line: #e5e7eb;
	--ads-glow: #a5b4fc;
	--ads-radius: 16px;
	--ads-shadow: 0 24px 60px -20px rgba(30, 27, 75, 0.45);
	--ads-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body.ads-body {
	margin: 0;
	background: #fff;
	color: var(--ads-text);
	font-family: var(--ads-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.ads-body img { max-width: 100%; height: auto; display: block; }
.ads-body a { color: var(--ads-indigo); }
.ads-body h1, .ads-body h2, .ads-body h3 { color: var(--ads-ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
.ads-body p { margin: 0; }
.ads-body .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.ads-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.ads-skip:focus { left: 8px; }

.ads-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ads-wrap--narrow { max-width: 860px; }

.ads-ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.ads-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 24px; border: 2px solid var(--ads-indigo); border-radius: 999px;
	background: var(--ads-indigo); color: #fff !important; font: 600 16px/1.2 var(--ads-font);
	text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ads-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .8); }
.ads-btn:focus-visible { outline: 3px solid var(--ads-glow); outline-offset: 2px; }
.ads-btn--light { background: #fff; border-color: #fff; color: var(--ads-night) !important; }
.ads-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); }
.ads-btn--ghost:hover { border-color: #fff; }
.ads-btn--outline { background: transparent; color: var(--ads-indigo) !important; }
.ads-btn--small { padding: 9px 16px; font-size: 15px; }

/* Header */
.ads-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(30, 27, 75, .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.admin-bar .ads-header { top: 32px; }
.ads-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.ads-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.ads-brand img { border-radius: 9px; }
.ads-brand__pre { font-weight: 500; opacity: .75; }
.ads-brand--dark { color: var(--ads-ink) !important; }
.ads-nav { display: flex; align-items: center; gap: 26px; }
.ads-nav a:not(.ads-btn) { color: #e0e7ff; text-decoration: none; font-weight: 500; font-size: 15px; }
.ads-nav a:not(.ads-btn):hover { color: #fff; }
.ads-nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.ads-burger, .ads-burger::before, .ads-burger::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s ease; }
.ads-burger::before, .ads-burger::after { content: ""; position: absolute; left: 0; }
.ads-burger::before { top: -7px; }
.ads-burger::after { top: 7px; }
.ads-nav-toggle[aria-expanded="true"] .ads-burger { background: transparent; }
.ads-nav-toggle[aria-expanded="true"] .ads-burger::before { transform: translateY(7px) rotate(45deg); }
.ads-nav-toggle[aria-expanded="true"] .ads-burger::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.ads-hero {
	position: relative; overflow: hidden; color: #e0e7ff;
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(99, 102, 241, .55), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(129, 140, 248, .25), transparent 60%),
		linear-gradient(160deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
	margin-top: -69px; padding: 150px 0 110px;
}
.ads-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.ads-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ads-hero__inner > *, .ads-feature > *, .ads-pro__inner > *, .ads-try__inner > * { min-width: 0; }
.ads-eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c7d2fe; margin-bottom: 22px !important; }
.ads-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; }
.ads-glow { background: linear-gradient(90deg, #a5b4fc, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ads-lead { margin-top: 22px !important; font-size: 19px; color: #c7d2fe; max-width: 560px; }
.ads-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ads-actions--center { justify-content: center; }
.ads-trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: #c7d2fe; }
.ads-trust li { display: inline-flex; align-items: center; gap: 8px; }
.ads-trust .ads-ico { color: #86efac; }

.ads-hero__art { position: relative; min-height: 440px; }
.ads-browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--ads-shadow); border: 1px solid rgba(17, 24, 39, .08); }
.ads-browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f3f4f6; border-bottom: 1px solid var(--ads-line); }
.ads-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.ads-browser__bar i:nth-child(1) { background: #f87171; }
.ads-browser__bar i:nth-child(2) { background: #fbbf24; }
.ads-browser__bar i:nth-child(3) { background: #34d399; }
.ads-browser__bar span { margin-left: 10px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--ads-muted); background: #fff; border-radius: 6px; padding: 3px 10px; }
.ads-hero__browser { position: relative; width: 112%; transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.ads-phone { position: absolute; width: 30%; aspect-ratio: 9 / 19; border-radius: 30px; padding: 8px; background: #0f172a; box-shadow: var(--ads-shadow); overflow: hidden; }
.ads-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }
.ads-hero__phone { right: -4%; bottom: -40px; transform: rotate(4deg); }
.ads-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ads-night); font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); animation: ads-float 6s ease-in-out infinite; }
.ads-chip .ads-ico { color: var(--ads-indigo); }
.ads-chip--answer { left: -18px; top: 58%; }
.ads-chip--kbd { right: 22%; top: -26px; animation-delay: -3s; }
.ads-chip kbd { font: 700 13px/1 var(--ads-font); padding: 5px 8px; border-radius: 6px; background: var(--ads-pale); color: var(--ads-night); }
@keyframes ads-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Try it */
.ads-try { position: relative; z-index: 2; margin-top: -48px; }
.ads-try__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 36px; align-items: center; background: #fff; border-radius: 22px; padding: 30px 34px; box-shadow: 0 30px 70px -30px rgba(30, 27, 75, .35); border: 1px solid var(--ads-line); }
.ads-try h2 { font-size: 24px; }
.ads-try p { color: var(--ads-muted); font-size: 15px; margin-top: 6px !important; }
.ads-try__form { display: flex; align-items: center; gap: 10px; background: var(--ads-mist); border: 2px solid var(--ads-pale); border-radius: 999px; padding: 6px 6px 6px 18px; }
.ads-try__form:focus-within { border-color: var(--ads-indigo-2); }
.ads-try__form .ads-ico { color: var(--ads-indigo); }
.ads-try__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 16px var(--ads-font); color: var(--ads-ink); padding: 10px 4px; outline: none; }
.ads-try__examples { grid-column: 2; font-size: 14px; margin-top: 0 !important; }
.ads-try__examples a { display: inline-block; margin: 4px 4px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--ads-mist); text-decoration: none; font-weight: 600; font-size: 13px; }
.ads-try__examples a:hover { background: var(--ads-pale); }

/* Sections */
.ads-section { padding: 110px 0; }
.ads-section--tint { background: linear-gradient(180deg, var(--ads-mist), #fff 70%); }
.ads-kicker { color: var(--ads-indigo); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin-bottom: 12px !important; }
.ads-kicker--light { color: #c7d2fe; text-align: left; }
.ads-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; text-align: center; max-width: 820px; margin: 0 auto !important; }
.ads-intro { text-align: center; color: var(--ads-muted); font-size: 18px; max-width: 640px; margin: 18px auto 0 !important; }

/* Steps */
.ads-steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.ads-steps li { position: relative; padding: 34px 28px 30px; border-radius: var(--ads-radius); background: #fff; border: 1px solid var(--ads-line); box-shadow: 0 10px 30px -18px rgba(30, 27, 75, .25); }
.ads-steps__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--ads-indigo-2), var(--ads-night)); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.ads-steps h3 { font-size: 21px; margin-bottom: 10px; }
.ads-steps p { color: var(--ads-muted); font-size: 16px; }

/* Feature rows */
.ads-feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; margin-top: 90px; }
.ads-feature--flip .ads-feature__copy { order: 2; }
.ads-feature h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.ads-feature__copy p { margin-top: 16px !important; font-size: 18px; color: var(--ads-text); }
.ads-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ads-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ads-ticks .ads-ico { color: var(--ads-indigo); margin-top: 3px; }
.ads-stack { position: relative; padding-bottom: 18%; }
.ads-stack .ads-browser:first-child { width: 82%; }
.ads-stack .ads-browser:last-child { position: absolute; width: 82%; right: 0; bottom: 0; }

/* Cards */
.ads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 100px; }
.ads-card { padding: 28px; border-radius: var(--ads-radius); background: #fff; border: 1px solid var(--ads-line); transition: transform .2s ease, box-shadow .2s ease; }
.ads-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(30, 27, 75, .35); }
.ads-card > .ads-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ads-pale); color: var(--ads-indigo); margin-bottom: 16px; }
.ads-card h3 { font-size: 19px; margin-bottom: 8px; }
.ads-card p { color: var(--ads-muted); font-size: 15px; }

/* Pro */
.ads-pro { background: radial-gradient(800px 400px at 100% 0%, rgba(99, 102, 241, .45), transparent 60%), linear-gradient(150deg, #1e1b4b, #312e81); color: #c7d2fe; }
.ads-pro__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.ads-pro .ads-title { color: #fff; text-align: left; margin: 0 !important; }
.ads-pro__list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 20px; }
.ads-pro__list li { display: flex; gap: 16px; }
.ads-pro__list .ads-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; }
.ads-pro__list strong { color: #fff; }

/* Compare */
.ads-table-wrap { overflow-x: auto; margin-top: 44px; border: 1px solid var(--ads-line); border-radius: var(--ads-radius); }
.ads-compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.ads-compare th, .ads-compare td { padding: 15px 20px; border-bottom: 1px solid var(--ads-line); text-align: center; }
.ads-compare tbody tr:last-child th, .ads-compare tbody tr:last-child td { border-bottom: 0; }
.ads-compare thead th { background: var(--ads-mist); color: var(--ads-ink); font-weight: 800; }
.ads-compare tbody th { text-align: left; font-weight: 500; color: var(--ads-text); }
.ads-compare thead th:first-child { text-align: left; }
.ads-yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.ads-yes .ads-ico { width: 16px; height: 16px; stroke-width: 3; }
.ads-no { color: #9ca3af; }

/* Pricing */
.ads-offer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; width: fit-content; max-width: 100%; margin: 28px auto 0 !important; padding: 10px 20px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 15px; text-align: center; }
.ads-offer code { font: 700 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; padding: 2px 8px; border-radius: 6px; }
.ads-cycle { display: flex; width: fit-content; margin: 30px auto 0; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--ads-line); }
.ads-cycle__btn { border: 0; background: transparent; padding: 10px 24px; border-radius: 999px; font: 600 15px var(--ads-font); color: var(--ads-muted); cursor: pointer; }
.ads-cycle__btn.is-on { background: var(--ads-indigo); color: #fff; }
.ads-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.ads-price { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--ads-line); }
.ads-price h3 { font-size: 19px; }
.ads-price__amount { margin-top: 14px !important; font-size: 44px; font-weight: 800; color: var(--ads-ink); letter-spacing: -0.03em; line-height: 1; }
.ads-price__note { color: var(--ads-muted); font-size: 14px; margin-top: 6px !important; min-height: 2.8em; }
.ads-price .ads-ticks { margin: 18px 0 26px; font-size: 15px; flex: 1; align-content: start; }
.ads-price--popular { border: 2px solid var(--ads-indigo); box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .6); transform: translateY(-8px); }
.ads-price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--ads-indigo); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ads-price--free { background: var(--ads-mist); }
.ads-guarantee { display: flex; gap: 10px; align-items: flex-start; justify-content: center; max-width: 760px; margin: 36px auto 0 !important; color: var(--ads-muted); font-size: 15px; text-align: left; }
.ads-guarantee .ads-ico { color: #15803d; margin-top: 2px; }

/* FAQ */
.ads-faq { border-bottom: 1px solid var(--ads-line); }
.ads-faq:first-of-type { margin-top: 40px; border-top: 1px solid var(--ads-line); }
.ads-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: 18px; color: var(--ads-ink); }
.ads-faq summary::-webkit-details-marker { display: none; }
.ads-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ads-mist); color: var(--ads-indigo); font-size: 20px; font-weight: 600; transition: transform .2s ease; }
.ads-faq[open] summary::after { transform: rotate(45deg); }
.ads-faq p { padding: 0 4px 22px; color: var(--ads-text); }

/* Final call to action */
.ads-cta { padding: 0 0 110px; }
.ads-cta__inner { text-align: center; padding: 70px 30px; border-radius: 28px; color: #c7d2fe; background: radial-gradient(600px 300px at 50% 0%, rgba(165, 180, 252, .35), transparent 70%), linear-gradient(150deg, #312e81, #4338ca); }
.ads-cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; max-width: 720px; margin: 0 auto !important; }
.ads-cta p { margin-top: 14px !important; font-size: 18px; }

/* Footer */
.ads-footer { border-top: 1px solid var(--ads-line); padding: 44px 0; font-size: 15px; color: var(--ads-muted); }
.ads-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: center; }
.ads-footer__brand p { margin-top: 10px !important; }
.ads-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ads-footer__links a { color: var(--ads-text); text-decoration: none; font-weight: 500; }
.ads-footer__links a:hover { color: var(--ads-indigo); }

/* Tablet */
@media (max-width: 1080px) {
	.ads-prices { grid-template-columns: repeat(2, 1fr); }
	.ads-price--popular { transform: none; }
}

@media (max-width: 960px) {
	.ads-nav-toggle { display: block; }
	.ads-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; background: #1e1b4b; border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; }
	.ads-nav.is-open { display: flex; }
	.ads-nav a:not(.ads-btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
	.ads-nav .ads-btn { margin-top: 16px; }
	.ads-hero { padding: 130px 0 90px; }
	.ads-hero__inner, .ads-feature, .ads-pro__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.ads-feature--flip .ads-feature__copy { order: 0; }
	.ads-hero__art { min-height: 0; margin: 0 18px 30px 0; }
	.ads-hero__browser { width: 100%; transform: none; }
	.ads-try__inner { grid-template-columns: 1fr; }
	.ads-try__examples { grid-column: 1; }
	.ads-steps, .ads-grid { grid-template-columns: 1fr; }
	.ads-feature { margin-top: 70px; }
	.ads-footer__inner { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 600px) {
	body.ads-body { font-size: 16px; }
	.ads-wrap { padding: 0 16px; }
	.admin-bar .ads-header { top: 0; }
	.ads-section { padding: 76px 0; }
	.ads-hero { padding: 116px 0 80px; }
	.ads-lead { font-size: 17px; }
	.ads-actions .ads-btn { flex: 1 1 100%; }
	.ads-chip--answer { left: 6px; top: auto; bottom: -18px; }
	.ads-chip--kbd { display: none; }
	.ads-hero__phone { width: 34%; right: -10px; bottom: -30px; }
	.ads-try__inner { padding: 22px 18px; border-radius: 18px; }
	.ads-try__form { flex-wrap: wrap; border-radius: 18px; padding: 8px 8px 8px 16px; }
	.ads-try__form .ads-btn { flex: 1 1 100%; }
	.ads-prices { grid-template-columns: 1fr; }
	.ads-feature__copy p { font-size: 17px; }
	.ads-compare th, .ads-compare td { padding: 12px 10px; font-size: 14px; }
	.ads-cta__inner { padding: 50px 20px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ads-chip { animation: none; }
	.ads-btn, .ads-card { transition: none; }
}
