/* =====================================================================
   /vs/ comparison pages — shared stylesheet, v2.

   LIGHT ONLY. Bar's rule for this site: never a dark theme, whatever the
   OS says. There is no prefers-color-scheme block here on purpose, and
   `color-scheme: light only` keeps form controls light too.

   Layout follows hopp.co/hopp-vs-linktree: centred headings, plain white
   bands alternating with a pale tint, simple lists, one comparison table
   with check marks. Tokens and type match shell/head.html: Heebo 900
   headlines, Rubik body, the cyan spent as a fill with near-black ink.

   Generated pages: edit vs-src/pages.mjs and run vs-src/build.mjs.
   ===================================================================== */

:root {
	color-scheme: light only;
	--white: #ffffff;
	--paper: #faf8f5;
	--tint: #f3fafc;
	--ink: #1a1a1a;
	--ink-soft: #56514c;
	--line: #e7e2db;
	--rule: #d9d3cb;
	--accent: #65d1ec;
	--accent-deep: #3fc3e3;
	--accent-ink: #0f7490;
	--accent-tint: #dff4fb;
	--no: #9a948d;
	--shadow: 0 10px 30px rgba(27, 26, 25, 0.07), 0 1px 3px rgba(27, 26, 25, 0.05);

	--sp-1: 16px;
	--sp-2: 24px;
	--sp-3: 48px;
	--sp-4: 88px;
	--r-1: 8px;
	--r-2: 16px;
	--r-3: 24px;
	--r-pill: 999px;
	--font-text: 'Rubik', sans-serif;
	--font-display: 'Heebo', 'Rubik', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--white); overflow-x: clip; }
body {
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 18px;
	line-height: 29px;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a, button { font-family: inherit; color: inherit; }
svg { display: block; }
i, em { font-style: normal; }
.ltr { direction: ltr; unicode-bidi: isolate; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: var(--r-1); }

.skip-link {
	position: absolute; inset-block-start: 0; inset-inline-start: -9999px; z-index: 20;
	padding: var(--sp-1) var(--sp-2); background: var(--white); color: var(--ink); font-weight: 700;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- rhythm ---------- */
.section { padding-block: var(--sp-4); }
.section--tint { background: var(--tint); }
.wrap { inline-size: 100%; max-inline-size: 1180px; margin-inline: auto; padding-inline: var(--sp-3); }
.wrap--narrow { max-inline-size: 920px; }
.vs-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); }
.vs-center .body-copy { max-inline-size: 44em; }

/* ---------- type ---------- */
.h1 {
	font-family: var(--font-display);
	font-size: 64px; line-height: 74px; font-weight: 900;
	text-wrap: balance;
}
.h2 {
	font-family: var(--font-display);
	font-size: 42px; line-height: 50px; font-weight: 900;
	text-wrap: balance;
}
.lede { font-size: 21px; line-height: 33px; color: var(--ink-soft); text-wrap: pretty; }
.body-copy { font-size: 18px; line-height: 29px; color: var(--ink-soft); text-wrap: pretty; }
.vs-sub { font-family: var(--font-display); font-size: 24px; line-height: 32px; font-weight: 700; color: var(--ink); }
.vs-block-title {
	font-family: var(--font-display); font-size: 28px; line-height: 36px; font-weight: 900;
	margin-block: var(--sp-4) var(--sp-2); text-align: center;
}

/* ---------- CTAs ---------- */
.cta, .cta-dark {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.9em 1.6em;
	border: 0; border-radius: var(--r-pill);
	font-size: 18px; line-height: 24px; font-weight: 600;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color 0.18s ease, transform 0.18s ease;
}
.cta { background: var(--accent); color: var(--ink); }
.cta:hover, .cta:focus-visible { background: var(--accent-deep); transform: translateY(-2px); }
.cta-dark { background: var(--ink); color: #ffffff; }
.cta-dark:hover, .cta-dark:focus-visible { background: #33302d; transform: translateY(-2px); }
.cta-arrow { inline-size: 1em; block-size: 1em; flex: none; }
.vs-actions { display: flex; justify-content: center; margin-block-start: var(--sp-3); }

/* ---------- header (mirrors sections/01-header.css) ---------- */
.hd { position: sticky; inset-block-start: 0; z-index: 10; background: var(--white); box-shadow: 0 1px 0 rgba(27, 26, 25, 0.10); }
.hd-in {
	inline-size: 100%; max-inline-size: 1408px; margin-inline: auto;
	padding: 0.85em var(--sp-3);
	display: flex; align-items: center; gap: var(--sp-3);
}
.hd-mark {
	display: inline-flex; align-items: center; gap: 0.5em;
	font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 900;
	color: var(--ink); text-decoration: none; flex: none;
}
.hd-dot { inline-size: 1.15em; block-size: 1.15em; flex: none; }
.hd-word { font-weight: 800; letter-spacing: -0.01em; }
.hd-lite { color: #092a3a; }
.hd-site { color: #65d1ec; }
.hd-nav { display: flex; align-items: center; gap: var(--sp-2); margin-inline-start: auto; }
.hd-nav a {
	font-size: 17px; line-height: 26px; font-weight: 500; color: var(--ink-soft);
	text-decoration: none; padding-block: 0.3em; border-block-end: 2px solid transparent;
	white-space: nowrap;
}
/* Five nav links plus the CTA: tighten the gaps before the phone layout. */
@media (max-width: 1000px) { .hd-nav { gap: var(--sp-1); } }
.hd-nav a:hover, .hd-nav a:focus-visible, .hd-nav a[aria-current="page"] { color: var(--ink); border-block-end-color: var(--ink); }
.hd-cta { flex: none; padding: 0.66em 1.1em; font-size: 16px; line-height: 22px; }
[data-auth-guest][hidden], .hd-account[hidden] { display: none; }
.hd-account {
	min-block-size: 46px; display: inline-flex; align-items: center; gap: 0.62em; flex: none;
	color: var(--ink); font-size: 17px; font-weight: 750; text-decoration: none; border-radius: var(--r-pill);
}
.hd-avatar {
	inline-size: 40px; block-size: 40px; display: grid; place-items: center; overflow: hidden;
	border-radius: var(--r-pill); background: var(--ink); color: #ffffff; font-size: 16px; font-weight: 800;
}
.hd-avatar img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hd-avatar img:not([src]) { display: none; }
.hd-avatar img[src] + [data-auth-avatar-fallback] { display: none; }
.hd-account-name { max-inline-size: 13em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- hero ---------- */
.vs-hero {
	padding-block: var(--sp-3) var(--sp-4);
	background: linear-gradient(180deg, var(--accent-tint) 0%, var(--white) 100%);
	text-align: center;
}
/* Jump links at the foot of the hero (Bar, 2026-10-27): every vs page, same four stops. */
.vs-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-1) var(--sp-2); margin-block-start: var(--sp-3); }
.vs-toc a { display: inline-flex; align-items: center; column-gap: .3em; min-block-size: 44px; padding-inline: 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.vs-toc a:hover { border-color: var(--ink-soft); background: #fff; }
.vs-toc a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#about-us, #about-them, #choose, #compare { scroll-margin-block-start: 96px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.vs-crumbs { font-size: 15px; line-height: 22px; color: var(--ink-soft); margin-block-end: var(--sp-2); }
.vs-crumbs a { color: var(--ink-soft); }
.vs-hero .lede { margin-block-start: var(--sp-1); }
.vs-mini-title {
	font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 900;
	margin-block: var(--sp-3) var(--sp-2);
}
.vs-mini-wrap { margin-block-start: var(--sp-3); background: var(--white); border-radius: var(--r-2); box-shadow: var(--shadow); overflow: hidden; }
.vs-mini { inline-size: 100%; border-collapse: collapse; text-align: start; }
.vs-mini th, .vs-mini td { padding: 1em 1.2em; text-align: start; vertical-align: top; font-size: 17px; line-height: 26px; }
.vs-mini thead th { font-size: 15px; font-weight: 600; color: var(--ink-soft); border-block-end: 1px solid var(--line); }
.vs-mini tbody tr + tr > * { border-block-start: 1px solid var(--line); }
.vs-mini tbody th { font-weight: 800; inline-size: 18%; }
.vs-mini td { color: var(--ink-soft); }
.vs-mini tr.is-us { background: color-mix(in srgb, var(--accent) 12%, var(--white)); }
.vs-mini tr.is-us td { color: var(--ink); }

/* ---------- about LiteSites: feature cards ---------- */
.vs-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--sp-2); }
.vs-feature {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3);
	padding: var(--sp-2); display: flex; flex-direction: column; gap: 0.6em;
}
.vs-feature h4 { font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 900; }
.vs-feature .body-copy { font-size: 16px; line-height: 25px; }
.vs-feature ul { display: flex; flex-direction: column; gap: 0.45em; margin-block-start: 0.3em; }
.vs-feature li { display: flex; justify-content: space-between; align-items: center; gap: 0.8em; font-size: 16px; line-height: 24px; }
.vs-plan {
	flex: none; padding: 0.1em 0.7em; border-radius: var(--r-pill);
	font-size: 13px; line-height: 20px; font-weight: 700;
}
.vs-plan--starter { background: var(--paper); color: var(--ink-soft); }
.vs-plan--pro { background: var(--accent-tint); color: var(--accent-ink); }

/* ---------- lists ---------- */
.vs-list { display: flex; flex-direction: column; gap: 0.7em; }
.vs-list li { display: grid; grid-template-columns: 1.5em 1fr; gap: 0.6em; align-items: start; }
.vs-tick {
	inline-size: 1.5em; block-size: 1.5em; border-radius: 50%;
	display: grid; place-items: center; margin-block-start: 0.1em;
	background: var(--accent); color: var(--ink);
}
.vs-tick svg { inline-size: 0.85em; block-size: 0.85em; }
.vs-list--muted .vs-tick { background: var(--line); }
.vs-list--muted li { color: var(--ink-soft); }
.vs-tick--n { background: transparent; color: var(--no); box-shadow: inset 0 0 0 2px var(--no); }
.vs-list--cons li { color: var(--ink-soft); }

/* ---------- choose ---------- */
.vs-choose { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-3); align-items: start; }
.vs-choose h3, .vs-proscons h4 {
	font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 900;
	margin-block-end: var(--sp-2);
}
.vs-choose-them h3 { font-size: 22px; color: var(--ink-soft); }
.vs-choose-us .vs-list li { font-size: 19px; }
.vs-box {
	margin-block-start: var(--sp-3);
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--r-2);
	background: var(--accent-tint);
}
.vs-box .body-copy { color: var(--ink); }
.vs-box-title { font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 900; margin-block-end: 0.3em; }
.section--tint .vs-box { background: var(--white); }

/* ---------- about them ---------- */
.vs-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-block-start: var(--sp-3); }
.vs-proscons h4 { font-size: 22px; line-height: 30px; }

/* ---------- comparison table ---------- */
#compare .h2 { margin-block-end: var(--sp-3); display: block; }
.vs-table-wrap { background: var(--white); border-radius: var(--r-3); box-shadow: var(--shadow); overflow: hidden; }
.vs-table { inline-size: 100%; border-collapse: collapse; }
.vs-table th, .vs-table td { padding: 0.95em 1.2em; text-align: center; vertical-align: middle; }
.vs-table thead th { font-family: var(--font-display); font-size: 19px; line-height: 25px; font-weight: 900; border-block-end: 1px solid var(--line); }
.vs-table thead th:first-child { text-align: start; font-family: var(--font-text); font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.vs-table thead th.is-us { background: var(--accent-tint); }
.vs-th-price { display: block; font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-soft); }
.vs-table tbody th { text-align: start; font-weight: 600; font-size: 17px; line-height: 25px; }
.vs-table tbody tr + tr > * { border-block-start: 1px solid var(--line); }
.vs-table td.is-us { background: color-mix(in srgb, var(--accent-tint) 55%, var(--white)); }
.vs-mark { display: inline-grid; place-items: center; inline-size: 1.6em; block-size: 1.6em; border-radius: 50%; vertical-align: middle; }
.vs-mark svg { inline-size: 0.9em; block-size: 0.9em; }
.vs-mark--y { background: var(--accent); color: var(--ink); }
.vs-mark--n { color: var(--no); box-shadow: inset 0 0 0 2px var(--no); }
.vs-mark-text { font-size: 15px; line-height: 22px; font-weight: 600; white-space: nowrap; }
.vs-note { margin-block-start: var(--sp-2); font-size: 14px; line-height: 21px; color: var(--ink-soft); text-align: center; }

/* ---------- plans: calm, small numbers, no bill styling ---------- */
.vs-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); margin-block-start: var(--sp-3); align-items: start; }
.vs-planc {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3);
	padding: var(--sp-2) var(--sp-2) var(--sp-3);
	display: flex; flex-direction: column; gap: 0.4em;
}
.vs-planc.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.vs-planc h3 { font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 900; }
.vs-price { display: flex; align-items: baseline; gap: 0.35em; }
.vs-price-num { font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 800; }
.vs-price-per { font-size: 16px; color: var(--ink-soft); }
.vs-price-note { font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.vs-plan-lead { margin-block: var(--sp-1) 0.4em; font-weight: 600; }
.vs-plan-group { margin-block: var(--sp-1) 0.4em; font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.vs-list--plan { gap: 0.45em; }
.vs-list--plan li { font-size: 16px; line-height: 24px; grid-template-columns: 1.3em 1fr; }
.vs-list--plan .vs-tick { inline-size: 1.3em; block-size: 1.3em; }

/* ---------- FAQ ---------- */
.vs-faq-list { margin-block-start: var(--sp-3); }
.vs-faq-item { border-block-end: 1px solid var(--rule); }
.vs-faq-item summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: var(--sp-1);
	padding-block: 1.05em; font-size: 19px; line-height: 27px; font-weight: 600;
}
.vs-faq-item summary::-webkit-details-marker { display: none; }
.vs-faq-icon {
	flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%;
	display: grid; place-items: center; background: var(--paper);
	transition: transform 0.2s ease;
}
.vs-faq-icon svg { inline-size: 14px; block-size: 14px; }
.vs-faq-item[open] .vs-faq-icon { transform: rotate(45deg); background: var(--accent); }
.vs-faq-item .body-copy { padding-block-end: 1.2em; }

/* ---------- footer: the cyan block, as on the home page ---------- */
.vs-final { background: var(--accent); color: var(--ink); padding-block: var(--sp-4) var(--sp-3); }
.vs-final-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-2); }
.vs-final .body-copy { color: var(--ink); }
.vs-more { margin-block-start: var(--sp-4); display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); }
.vs-more-title { font-size: 15px; line-height: 22px; font-weight: 700; }
.vs-more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6em; }
.vs-more a {
	display: inline-block; padding: 0.4em 1em; border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.55); font-size: 16px; line-height: 22px; font-weight: 600; text-decoration: none;
}
.vs-more a:hover, .vs-more a:focus-visible { background: #ffffff; }
.vs-foot {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-2);
	margin-block-start: var(--sp-4); padding-block-start: var(--sp-2);
	border-block-start: 1px solid rgba(26, 26, 26, 0.6);
}
.vs-foot-mark { display: inline-flex; align-items: center; gap: 0.3em; font-family: var(--font-display); font-size: 40px; line-height: 1.15; font-weight: 900; text-decoration: none; }
.vs-foot-mark svg { inline-size: 0.9em; block-size: 1.08em; }
.vs-foot-mark .ft-lite { color: #092a3a; }
.vs-foot-mark .ft-site { color: #0a4a5e; }
.vs-foot nav ul { display: flex; flex-wrap: wrap; gap: 0.4em var(--sp-2); }
.vs-foot nav a { font-size: 16px; text-underline-offset: 0.2em; }
.vs-copy { flex-basis: 100%; font-size: 14px; line-height: 21px; opacity: 0.8; }

/* ---------- hub ---------- */
.vs-hub-group + .vs-hub-group { margin-block-start: var(--sp-3); }
.vs-hub-group .vs-block-title { margin-block: 0 0.2em; text-align: start; }
.vs-hub-group > .body-copy { margin-block-end: var(--sp-2); }
.vs-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-2); }
.vs-hub-card {
	display: flex; flex-direction: column; gap: 0.5em; padding: var(--sp-2);
	border-radius: var(--r-3); background: var(--white); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vs-hub-card:hover, .vs-hub-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.vs-hub-name { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 900; }
.vs-hub-go { margin-block-start: auto; color: var(--accent-ink); font-weight: 700; font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.vs-plans { grid-template-columns: 1fr; max-inline-size: 520px; margin-inline: auto; }
	.vs-choose { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
	.wrap { padding-inline: var(--sp-2); }
	.section { padding-block: 64px; }
	.vs-hero { padding-block: var(--sp-2) 64px; }
	.h1 { font-size: 40px; line-height: 48px; }
	.h2 { font-size: 30px; line-height: 38px; }
	.lede { font-size: 18px; line-height: 29px; }
	.vs-sub { font-size: 20px; line-height: 28px; }
	.vs-block-title { margin-block-start: 64px; }

	.hd-in { padding-inline: var(--sp-2); gap: var(--sp-1); }
	.hd-mark { font-size: 19px; }
	.hd-nav { display: none; }
	.hd-cta { margin-inline-start: auto; font-size: 15px; padding-inline: 0.95em; }

	.vs-actions .cta { inline-size: 100%; }
	.vs-features { grid-template-columns: 1fr; }
	.vs-proscons { grid-template-columns: 1fr; gap: var(--sp-2); }
	.vs-box { padding: var(--sp-2); }

	/* "best for" table → one card per tool */
	.vs-mini thead { display: none; }
	.vs-mini, .vs-mini tbody, .vs-mini tr, .vs-mini th, .vs-mini td { display: block; }
	.vs-mini tbody th { inline-size: auto; padding-block-end: 0.2em; }
	.vs-mini td { padding-block: 0.2em; }
	.vs-mini td:last-child { padding-block-end: 1em; }
	.vs-mini tbody tr + tr > * { border-block-start: 0; }
	.vs-mini tbody tr + tr { border-block-start: 1px solid var(--line); }
	.vs-mini td::before { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
	.vs-mini td:nth-of-type(1)::before { content: 'הכי מתאים ל'; }
	.vs-mini td:nth-of-type(2)::before { content: 'פחות מתאים ל'; }

	.vs-table th, .vs-table td { padding: 0.8em 0.6em; }
	.vs-table thead th { font-size: 15px; line-height: 20px; }
	.vs-th-price { font-size: 12px; line-height: 17px; }
	.vs-table tbody th { font-size: 15px; line-height: 21px; }
	.vs-mark-text { font-size: 13px; white-space: normal; }

	.vs-foot { flex-direction: column; align-items: flex-start; }
	.vs-foot-mark { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- v3: takeaway line, footnotes, rival's key features ---------- */
.vs-takeaway {
	margin-block-start: var(--sp-2);
	padding: var(--sp-1) var(--sp-2);
	border-radius: var(--r-2);
	background: var(--white);
	font-size: 18px; line-height: 28px; text-align: center;
}
.vs-fns { margin-block-start: var(--sp-1); display: flex; flex-direction: column; gap: 0.2em; font-size: 14px; line-height: 21px; color: var(--ink-soft); }
.vs-fn-ref { font-size: 0.7em; color: var(--ink-soft); margin-inline-start: 0.15em; }
.vs-them-kf { font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 900; margin-block: var(--sp-3) var(--sp-2); }
.vs-list--kf { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em var(--sp-3); }
@media (max-width: 820px) { .vs-list--kf { grid-template-columns: 1fr; } }
