/* DocsInOrder website. One stylesheet, no framework. */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
	--teal: #0F766E;
	--teal-dark: #0B5A54;
	--teal-mid: #5FB3A7;
	--teal-soft: #B7E1DA;
	--teal-wash: #E6F4F2;
	--teal-bg: #F4FBFA;
	--ink: #13203B;
	--text: #3C4350;
	--muted: #556070;
	--faint: #8A93A3;
	--line: #E3E6EC;
	--line-soft: #EEF0F3;
	--bg-alt: #F5F6F8;
	--red: #9B1C1C;
	--red-bg: #FFF8F8;
	--red-line: #F5DADA;
	--amber: #8A4B05;
	--amber-bg: #FEF3E2;
	--radius: 16px;
	--wrap: 1200px;
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--teal-mid); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #FFFFFF; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }

.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.h2 { font-size: 40px; font-weight: 800; margin: 10px 0 14px; }
.lead { font-size: 19px; line-height: 1.6; color: #4A5568; }
.center { text-align: center; }
.head { max-width: 760px; margin: 0 auto 48px; }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; margin: 0 0 40px; }
.head--split > div { max-width: 660px; }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--teal); color: #FFFFFF; }
.btn--primary:hover { background: var(--teal-dark); color: #FFFFFF; }
.btn--ghost { background: #FFFFFF; color: var(--ink); border-color: #CBD2DC; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn--white { background: #FFFFFF; color: var(--teal-dark); }
.btn--white:hover { background: var(--teal-wash); color: var(--teal-dark); }
.btn--outline-light { color: #FFFFFF; border-color: var(--teal-mid); }
.btn--outline-light:hover { color: #FFFFFF; background: rgba(255,255,255,.08); }
.btn--small { min-height: 42px; font-size: 15px; padding: 0 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--teal-wash); color: var(--teal-dark); }
.chip--amber { background: var(--amber-bg); color: var(--amber); }
.chip--indigo { background: #EEF2FF; color: #3730A3; }
.chip--red { background: #FDECEC; color: var(--red); }

.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
a.card { display: block; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--teal-soft); box-shadow: 0 16px 32px -24px rgba(19,32,59,.35); }
.card h3 { font-size: 18px; margin: 14px 0 6px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.card .go { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--teal); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-wash); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 22px; height: 22px; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand span span { color: var(--teal); }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-end .link { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 64px; background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; display: flex; flex-direction: column; box-shadow: 0 20px 30px -20px rgba(19,32,59,.25); }
.menu-panel a { padding: 12px 4px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.menu-panel .btn { margin-top: 14px; border-bottom: 0; color: #FFFFFF; }

/* Launch note */
.launch { background: var(--ink); color: #E3E8F0; font-size: 14px; text-align: center; padding: 9px 16px; }
.launch a { color: #FFFFFF; font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--teal-bg) 0%, #FFFFFF 100%); padding: 80px 0 72px; }
.hero .wrap { display: flex; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 540px; }
.hero h1 { font-size: 58px; line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; margin: 18px 0; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { font-size: 20px; max-width: 560px; }
.hero .btns { margin-top: 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ticks li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.hero-visual { flex: 1 1 560px; position: relative; padding-bottom: 60px; }
.browser { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(19,32,59,.25); overflow: hidden; }
.browser-bar { height: 34px; background: var(--bg-alt); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6DAE1; }
.phone { position: absolute; right: -12px; bottom: 0; width: 200px; background: var(--ink); border-radius: 30px; padding: 8px; box-shadow: 0 30px 60px -18px rgba(19,32,59,.45); }
.phone img { border-radius: 23px; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; }

/* Trust strip */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust ul { list-style: none; margin: 0 auto; padding: 22px 40px; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; font-weight: 600; color: var(--text); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Before / after */
.compare-card ul { margin: 14px 0 0; padding-left: 20px; line-height: 2; }
.compare-card--bad { background: var(--red-bg); border-color: var(--red-line); }
.compare-card--bad strong { color: var(--red); }
.compare-card--good { background: var(--teal-bg); border-color: var(--teal-soft); }
.compare-card--good strong { color: var(--teal-dark); }
.compare-card strong { font-size: 18px; }

/* Steps */
.steps { counter-reset: step; }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-wash); color: var(--teal); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 19px; margin: 16px 0 8px; }

/* Screens */
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #FFFFFF; box-shadow: 0 24px 48px -28px rgba(19,32,59,.35); }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); }
figure { margin: 0; }
.split { display: flex; gap: 56px; align-items: center; }
.split > * { flex: 1 1 0; min-width: 0; }
.split--reverse { flex-direction: row-reverse; }
.split + .split { margin-top: 88px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230F766E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Pro band */
.pro-band { background: var(--teal); color: #FFFFFF; position: relative; overflow: hidden; }
.pro-band::before { content: ""; position: absolute; right: -160px; top: -200px; width: 620px; height: 620px; border-radius: 50%; background: var(--teal-dark); opacity: .6; }
.pro-band .wrap { position: relative; display: flex; gap: 56px; align-items: center; }
.pro-band h2, .pro-band .h2 { color: #FFFFFF; }
.pro-band .eyebrow { color: var(--teal-soft); }
.pro-band .lead { color: var(--teal-wash); }
.pro-band .small { margin-top: 14px; font-size: 14px; color: var(--teal-soft); }
.pro-band .btns { margin-top: 28px; }
.pro-copy { flex: 1 1 460px; }
.pro-grid { flex: 1 1 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pro-tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 18px; }
.pro-tile strong { color: #FFFFFF; }
.pro-tile p { font-size: 14px; color: #D7EEEA; margin-top: 6px; line-height: 1.5; }

/* Tables */
.table-wrap { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; }
thead th { background: #F9FAFB; color: var(--ink); }
tbody tr { border-top: 1px solid var(--line-soft); }
tbody th { font-weight: 600; color: var(--ink); }
td.yes { color: var(--teal); font-weight: 700; }
td.no { color: #A0A8B5; }
.us { color: var(--teal-dark); }
.dim { color: var(--muted); }

/* FAQ */
.faq-layout { display: flex; gap: 56px; }
.faq-layout > :first-child { flex: 0 0 340px; }
.faq { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; font-weight: 500; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* CTA */
.cta { padding: 88px 0; }
.cta-box { background: var(--ink); color: #FFFFFF; border-radius: 24px; padding: 56px; display: flex; align-items: center; gap: 40px; }
.cta-box svg { width: 72px; height: 72px; flex: none; }
.cta-box h2 { color: #FFFFFF; font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.cta-box p { color: #C9D1DE; font-size: 17px; }
.cta-box > div { flex: 1; }
.cta-box .btn--primary { background: #14B8A6; }
.cta-box .btn--primary:hover { background: #0D9488; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--teal-bg), #FFFFFF); padding: 64px 0 56px; }
.page-hero h1 { font-size: 48px; font-weight: 800; margin: 10px 0 14px; }
.page-hero .lead { max-width: 720px; }
.page-hero .btns { margin-top: 26px; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.page-hero--split .wrap { display: flex; gap: 56px; align-items: center; }
.page-hero--split .wrap > :first-child { flex: 1 1 560px; }
.page-hero--split .wrap > :last-child { flex: 1 1 440px; }

/* Pricing */
.plans { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.plan { flex: 0 1 440px; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; position: relative; }
.plan--pro { border: 2px solid var(--teal); box-shadow: 0 24px 50px -24px rgba(15,118,110,.45); }
.plan .badge { position: absolute; top: -14px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--teal); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.plan h2 { font-size: 20px; }
.price { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 6px 0 0; padding-left: 20px; line-height: 1.95; }

/* Checklist pages */
.doc-list { counter-reset: doc; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-list li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 58px; position: relative; background: #FFFFFF; }
.doc-list li::before { counter-increment: doc; content: counter(doc); position: absolute; left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-wash); color: var(--teal); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.doc-list strong { color: var(--ink); display: block; }
.doc-list span { font-size: 15px; color: var(--muted); }
.doc-group { margin-top: 40px; }
.doc-group h2 { font-size: 24px; margin-bottom: 16px; }
.aside { background: var(--teal-bg); border: 1px solid var(--teal-soft); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.aside h2 { font-size: 20px; margin-bottom: 8px; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }

/* Prose (docs, legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin: 4px 0; }
.prose code { font-size: .9em; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); }
.toc a:hover { border-color: var(--teal); color: var(--teal); }
.note { background: var(--amber-bg); border: 1px solid #F6D9A8; color: #6B3A04; border-radius: 12px; padding: 14px 18px; font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; font-size: 14px; }
.footer-top { display: flex; gap: 56px; }
.footer-top > :first-child { flex: 0 0 300px; }
.footer-top > :first-child p { margin-top: 12px; color: var(--muted); }
.footer-cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h2 { font-size: 14px; letter-spacing: 0; margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--teal); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; color: var(--faint); font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
	.nav { gap: 18px; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hero h1 { font-size: 50px; }
}
@media (max-width: 960px) {
	.nav, .header-end { display: none; }
	.menu { display: block; }
	.hero .wrap, .pro-band .wrap, .split, .split--reverse, .faq-layout, .footer-top, .page-hero--split .wrap, .cta-box { flex-direction: column; align-items: stretch; }
	.faq-layout > :first-child, .footer-top > :first-child { flex: none; }
	.hero .wrap > *, .pro-band .wrap > *, .page-hero--split .wrap > *, .split > *, .faq-layout > *, .cta-box > div { flex: none; }
	.with-aside { grid-template-columns: 1fr; }
	.aside { position: static; }
	.hero-visual { max-width: 620px; }
	.split + .split { margin-top: 56px; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.trust ul { padding: 18px 16px; justify-content: flex-start; }
	.section { padding: 64px 0; }
	.hero { padding: 40px 0 48px; }
	.hero h1 { font-size: 40px; }
	.hero .lead, .lead { font-size: 17px; }
	.h2 { font-size: 30px; }
	.page-hero { padding: 40px 0 40px; }
	.page-hero h1 { font-size: 36px; }
	.grid--2, .grid--3, .grid--4, .pro-grid, .footer-cols { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.head--split { flex-direction: column; align-items: flex-start; }
	.btns .btn { width: 100%; }
	.phone { width: 130px; right: 0; border-radius: 22px; padding: 6px; }
	.phone img { border-radius: 17px; }
	.hero-visual { padding-bottom: 40px; }
	.cta { padding: 56px 0; }
	.cta-box { padding: 28px; gap: 20px; }
	.cta-box h2 { font-size: 26px; }
	.plan { padding: 24px; }
	.footer-bottom { flex-direction: column; }
	th, td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .launch, .cta, .aside .btns { display: none !important; }
	.with-aside { grid-template-columns: 1fr; }
	body { font-size: 12pt; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
