/* The public landing page (welcome.html): light and editorial, the gate mark and its teal. */

.welcome {
	--w-ink: #0f2133;
	--w-teal: #0f766e;
	--w-teal-2: #14a394;
	--w-mint: #5eead4;
	--w-bg: #fbfaf7;
	--w-card: #ffffff;
	--w-tint: #eef6f4;
	--w-text: #0f2133;
	--w-muted: #566676;
	--w-line: #e2e6e3;
	margin: 0;
	background: var(--w-bg);
	color: var(--w-text);
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	line-height: 1.55;
}
@media (prefers-color-scheme: dark) {
	.welcome {
		--w-bg: #0b1520;
		--w-card: #111f2d;
		--w-tint: #0f1d29;
		--w-text: #e8eef3;
		--w-muted: #9db0c1;
		--w-line: #213446;
		--w-teal: #2dd4bf;
	}
}

.w-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.welcome [hidden] { display: none !important; }
.w-eyebrow { margin: 0 0 10px; color: var(--w-teal); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.w-muted { color: var(--w-muted); }

/* header: one light bar */
.w-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--w-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--w-line); }
.w-header .w-wrap { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.w-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--w-text); text-decoration: none; }
.w-brand .brand-mark { width: 34px; height: 34px; }
.w-brand-text { display: flex; flex-direction: column; font-weight: 700; line-height: 1.15; }
.w-brand-text small { color: var(--w-muted); font-weight: 500; font-size: .76rem; }
.w-nav { display: flex; gap: 22px; }
.w-nav a { color: var(--w-muted); text-decoration: none; font-weight: 500; }
.w-nav a:hover { color: var(--w-text); }
.w-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.w-link { color: var(--w-text); text-decoration: none; font-weight: 600; }
.w-link:hover { color: var(--w-teal); }
.w-pill { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--w-text); color: var(--w-bg); text-decoration: none; font-weight: 600; }
.w-pill:hover { background: var(--w-teal); color: #fff; }
.w-pill.big, .w-link.big { font-size: 1.05rem; }
.w-pill.big { padding: 13px 26px; }

/* hero: big type on the left, a record card on the right */
.w-hero { padding: 72px 0 64px; background: radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--w-mint) 22%, transparent), transparent 70%); }
.w-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.w-slogan { margin: 0; display: grid; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.w-slogan-line { grid-area: 1 / 1; align-self: start; opacity: 0; filter: blur(4px); transition: opacity .45s, filter .45s; }
.w-slogan-line.on { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .w-slogan-line { transition: none; filter: none; } }
.w-lead { margin: 18px 0 28px; max-width: 34em; color: var(--w-muted); font-size: 1.12rem; }
.w-search { display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 6px 6px 6px 16px; border: 1px solid var(--w-line); border-radius: 999px; background: var(--w-card); box-shadow: 0 6px 24px rgb(15 33 51 / 8%); }
.w-search svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--w-muted); stroke-width: 2; stroke-linecap: round; }
.w-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--w-text); font: inherit; font-size: 1.05rem; padding: 8px 4px; }
.w-search input:focus { outline: none; }
.w-search:focus-within { border-color: var(--w-teal); }
.w-search button { padding: 11px 22px; border: 0; border-radius: 999px; background: var(--w-teal); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.w-search button:hover { background: var(--w-teal-2); }
.w-hint { margin: 10px 0 0 18px; color: var(--w-muted); font-size: .85rem; }

.w-record { padding: 22px; border: 1px solid var(--w-line); border-radius: 20px; background: var(--w-card); box-shadow: 0 30px 60px -20px rgb(15 33 51 / 22%); transform: rotate(1.5deg); }
.w-record-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--w-line); }
.w-record-head strong { display: block; letter-spacing: .04em; }
.w-record-head small { color: var(--w-muted); }
.w-record-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--w-teal), #0b4f49); color: #fff; font: 700 1.4rem/1 Georgia, serif; }
.w-badge { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--w-teal); color: var(--w-teal); font-weight: 700; }
.w-steps { list-style: none; margin: 16px 0 0; padding: 0; }
.w-steps li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 8px 26px; font-size: .95rem; }
.w-steps li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--w-line); background: var(--w-card); }
.w-steps li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 28px; bottom: -6px; width: 2px; background: var(--w-line); }
.w-steps li.done::before { background: var(--w-teal); border-color: var(--w-teal); }
.w-steps li.now::before { border-color: var(--w-teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--w-teal) 20%, transparent); }
.w-steps li.now span { font-weight: 600; }
.w-steps time { color: var(--w-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* numbers */
.w-numbers { border-top: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line); }
.w-numbers .w-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.w-numbers div { padding: 26px 20px; }
.w-numbers div + div { border-left: 1px solid var(--w-line); }
.w-numbers strong { display: block; font: 600 2.2rem/1.1 Georgia, serif; color: var(--w-teal); }
.w-numbers span { color: var(--w-muted); font-size: .92rem; }

/* sections */
.w-section { padding: 80px 0; }
.w-section.tint { background: var(--w-tint); }
.w-section h2, .w-closing h2 { margin: 0 0 36px; font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.w-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.w-num { display: block; font: 600 3rem/1 Georgia, serif; color: transparent; -webkit-text-stroke: 1.5px var(--w-teal); }
.w-path h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.w-path p { margin: 0; color: var(--w-muted); }

.w-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.w-area { padding: 26px; border-radius: 18px; background: var(--w-card); border: 1px solid var(--w-line); }
.w-area header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.w-area h3 { margin: 0; font-size: 1.2rem; }
.w-glyph { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--w-tint); color: var(--w-teal); font-weight: 800; font-size: 1.2rem; }
.w-glyph svg { width: 22px; height: 22px; fill: var(--w-teal); }
.w-area ul { margin: 0; padding: 0; list-style: none; }
.w-area li { padding: 8px 0 8px 22px; border-top: 1px solid var(--w-line); position: relative; }
.w-area li::before { content: "✓"; position: absolute; left: 0; color: var(--w-teal); font-weight: 700; }
.w-area li.soon { color: var(--w-muted); }
.w-area li.soon::before { content: "…"; }

.w-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.w-split h2 { margin-bottom: 16px; }
.w-fees { width: 100%; border-collapse: collapse; background: var(--w-card); border: 1px solid var(--w-line); border-radius: 16px; overflow: hidden; }
.w-fees th, .w-fees td { padding: 15px 20px; border-top: 1px solid var(--w-line); text-align: left; font-weight: 500; }
.w-fees tr:first-child th, .w-fees tr:first-child td { border-top: 0; }
.w-fees td { text-align: right; font: 600 1.2rem/1 Georgia, serif; color: var(--w-teal); white-space: nowrap; }

.w-faq { max-width: 780px; }
.w-faq details { border-top: 1px solid var(--w-line); padding: 18px 0; }
.w-faq details:last-child { border-bottom: 1px solid var(--w-line); }
.w-faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: "+"; color: var(--w-teal); font-size: 1.4rem; line-height: 1; }
.w-faq details[open] summary::after { content: "−"; }
.w-faq details p { margin: 10px 0 0; color: var(--w-muted); }

/* closing: a line of type and two plain actions */
.w-closing { padding: 90px 0; }
.w-closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.w-closing h2 { margin: 0; max-width: 16em; }
.w-closing em { font-style: italic; color: var(--w-teal); }
.w-closing-buttons { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.w-footer { padding: 26px 0; border-top: 1px solid var(--w-line); color: var(--w-muted); font-size: .88rem; }

@media (max-width: 960px) {
	.w-nav { display: none; }
	.w-hero-grid, .w-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.w-record { transform: none; }
	.w-path, .w-areas { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.w-numbers .w-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.w-numbers div:nth-child(3) { border-left: 0; }
	.w-numbers div:nth-child(n+3) { border-top: 1px solid var(--w-line); }
}
@media (max-width: 600px) {
	.w-wrap { padding: 0 16px; }
	.w-header .w-wrap { gap: 12px; }
	.w-brand-text small { display: none; }
	.w-actions { gap: 12px; }
	.w-pill { padding: 8px 14px; font-size: .9rem; }
	.w-hero { padding: 40px 0; }
	.w-search { border-radius: 16px; flex-wrap: wrap; padding: 8px; }
	.w-search svg { display: none; }
	.w-search input { flex-basis: 100%; padding: 8px; }
	.w-search button { flex: 1; }
	.w-section { padding: 56px 0; }
	.w-numbers div { padding: 18px 12px; }
	.w-numbers strong { font-size: 1.7rem; }
}

.w-link, .w-pill { white-space: nowrap; }
@media (prefers-color-scheme: dark) {
	.w-search button, .w-pill:hover { color: #0b1520; }
}
