/* InviteOS landing page — Ink & Foil */

:root {
	--ink: #17141d;
	--ink-2: #241f2c;
	--parchment: #f6f1e7;
	--paper: #fffdf8;
	--line: #e5dccb;
	--foil: #b98a3c;
	--foil-soft: #d9b571;
	--blush: #d8a7a0;
	--moss: #4b5d4a;
	--text: #2a2430;
	--muted: #7d7468;
	--font-ui: 'Sora', system-ui, -apple-system, sans-serif;
	--font-display: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.ios-lp {
	font-family: var(--font-ui);
	background: var(--parchment);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; }

/* ---------- nav ---------- */
.lp-nav {
	position: sticky; top: 0; z-index: 40;
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px;
	padding: 16px 6vw;
	background: rgba(246, 241, 231, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.lp-brand { font-family: var(--font-display); font-size: 26px; font-weight: 600; text-decoration: none; letter-spacing: 0.3px; }
.lp-brand em { font-style: italic; color: var(--foil); }
.lp-nav nav { display: flex; align-items: center; gap: 26px; }
.lp-nav nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
.lp-nav nav a:hover { color: var(--text); }
@media (max-width: 760px) { .lp-nav nav a:not(.lp-btn) { display: none; } }

/* ---------- buttons ---------- */
.lp-btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--foil); color: #fff8ec;
	text-decoration: none;
	padding: 15px 30px;
	border-radius: 12px;
	font-size: 15px; font-weight: 600;
	transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
	box-shadow: 0 8px 22px rgba(185, 138, 60, 0.28);
}
.lp-btn:hover { background: #a87c33; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(185, 138, 60, 0.34); }
.lp-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.lp-btn.sm { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; box-shadow: none; }
.lp-btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.lp-btn.ghost:hover { background: var(--paper); border-color: var(--foil); }
.lp-btn.light { background: var(--parchment); color: var(--ink); box-shadow: none; }
.lp-btn.light:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .lp-btn:hover { transform: none; } }

/* ---------- hero ---------- */
.lp-hero {
	display: grid; grid-template-columns: 1.05fr 1fr;
	gap: 50px; align-items: center;
	padding: 74px 6vw 84px;
	max-width: 1280px; margin: 0 auto;
}
@media (max-width: 940px) {
	.lp-hero { grid-template-columns: 1fr; gap: 24px; padding: 46px 6vw 60px; text-align: center; }
	.lp-cta-row { justify-content: center; }
	.lp-hero-art { order: -1; }
}
.lp-eyebrow {
	display: inline-block;
	font-size: 11px; letter-spacing: 3.4px; text-transform: uppercase;
	color: var(--foil); font-weight: 700;
	margin-bottom: 18px;
}
.lp-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(44px, 6.2vw, 82px);
	font-weight: 600; line-height: 1.03;
	letter-spacing: -0.5px;
	color: var(--ink);
}
.lp-hero h1 em { font-style: italic; color: var(--foil); }
.lp-lead { font-size: clamp(16px, 1.5vw, 19px); color: #554d5c; margin-top: 22px; max-width: 540px; }
@media (max-width: 940px) { .lp-lead { margin-left: auto; margin-right: auto; } }
.lp-cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.lp-micro { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.ill-hero { width: 100%; height: auto; }

/* ---------- strip ---------- */
.lp-strip {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: var(--ink); color: var(--parchment);
	padding: 30px 6vw;
	gap: 20px; text-align: center;
}
@media (max-width: 720px) { .lp-strip { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
.lp-strip b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--foil-soft); line-height: 1.1; }
.lp-strip span { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #a79e94; }

/* ---------- sections ---------- */
.lp-section { padding: 84px 6vw; max-width: 1280px; margin: 0 auto; }
.lp-section.alt { background: var(--paper); max-width: none; border-block: 1px solid var(--line); }
.lp-section.alt > * { max-width: 1280px; margin-inline: auto; }
.lp-head { text-align: center; margin-bottom: 52px; }
.lp-head h2 {
	font-family: var(--font-display);
	font-size: clamp(32px, 4.2vw, 50px);
	font-weight: 600; line-height: 1.1; color: var(--ink);
}
.lp-sub { color: var(--muted); max-width: 620px; margin: 16px auto 0; font-size: 16px; }

/* ---------- steps ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 22px 24px 28px;
	position: relative;
	transition: transform 0.16s, box-shadow 0.16s;
}
.lp-step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 20, 29, 0.1); }
@media (prefers-reduced-motion: reduce) { .lp-step:hover { transform: none; } }
.lp-step-art {
	background: var(--parchment);
	border-radius: 12px;
	padding: 10px;
	margin-bottom: 18px;
}
.lp-step-art svg { display: block; width: 100%; height: auto; }
.lp-num {
	font-family: var(--font-display); font-size: 15px; font-weight: 700;
	color: var(--foil); letter-spacing: 2px;
}
.lp-step h3 { font-family: var(--font-display); font-size: 25px; font-weight: 600; margin: 4px 0 8px; color: var(--ink); }
.lp-step p { font-size: 14px; color: var(--muted); }

/* ---------- design cards ---------- */
.lp-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1080px) { .lp-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }
.lp-card { text-align: center; }
.lp-card-face {
	aspect-ratio: 5 / 7;
	border-radius: 6px;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px;
	padding: 14px 12px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(23, 20, 29, 0.18);
	transition: transform 0.18s;
}
.lp-card:hover .lp-card-face { transform: translateY(-5px) rotate(-1.2deg); }
@media (prefers-reduced-motion: reduce) { .lp-card:hover .lp-card-face { transform: none; } }
.lp-card-host { font-size: 6.5px; letter-spacing: 1.6px; text-transform: uppercase; }
.lp-card-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.1; }
.lp-card-rule { width: 34px; height: 1px; }
.lp-card-meta { font-size: 7px; letter-spacing: 1.4px; text-transform: uppercase; }
.lp-card-qr { width: 34px; margin-top: 4px; line-height: 0; }
.lp-card-qr svg { width: 100%; height: auto; border-radius: 2px; }
.lp-card figcaption { margin-top: 12px; }
.lp-card figcaption b { display: block; font-size: 14px; }
.lp-card figcaption span { font-size: 11.5px; color: var(--muted); }

.tpl-gilded .lp-card-face { background: #f8f3e8; color: #2a2430; border: 2px solid #b98a3c; }
.tpl-gilded .lp-card-host, .tpl-gilded .lp-card-meta { color: #8a7a52; }
.tpl-gilded .lp-card-rule { background: #b98a3c; }

.tpl-noir .lp-card-face { background: #111015; color: #f0e6d2; border: 1px solid #d9b571; }
.tpl-noir .lp-card-host, .tpl-noir .lp-card-meta { color: #d9b571; }
.tpl-noir .lp-card-rule { background: #d9b571; }

.tpl-bloom .lp-card-face { background: #faf1ee; color: #4d4340; }
.tpl-bloom .lp-card-title { color: #c67f74; font-family: 'Great Vibes', cursive; font-size: 24px; }
.tpl-bloom .lp-card-host, .tpl-bloom .lp-card-meta { color: #5a6b52; }
.tpl-bloom .lp-card-rule { background: #c67f74; }

.tpl-chitenge .lp-card-face {
	background: #f4ead6; color: #1c1a17;
	border-top: 9px solid #b3432a; border-bottom: 9px solid #c98a2d;
}
.tpl-chitenge .lp-card-host, .tpl-chitenge .lp-card-meta { color: #b3432a; }
.tpl-chitenge .lp-card-rule { background: #1c1a17; }

.tpl-modern .lp-card-face { background: #fff; color: #17161a; border: 1px solid #e5dccb; }
.tpl-modern .lp-card-host, .tpl-modern .lp-card-meta { color: #9a938b; }
.tpl-modern .lp-card-rule { background: #b98a3c; height: 3px; }

.tpl-garden .lp-card-face { background: linear-gradient(160deg, #22392c, #182a20); color: #e9dfc8; }
.tpl-garden .lp-card-title { font-family: 'Great Vibes', cursive; font-size: 24px; }
.tpl-garden .lp-card-host, .tpl-garden .lp-card-meta { color: #c9a15a; }
.tpl-garden .lp-card-rule { background: #c9a15a; }

/* ---------- features ---------- */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 34px; }
@media (max-width: 940px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-features { grid-template-columns: 1fr; } }
.lp-feature { display: flex; gap: 14px; align-items: flex-start; }
.lp-tick {
	flex-shrink: 0;
	width: 30px; height: 30px; border-radius: 99px;
	background: #eef2ec; color: var(--moss);
	display: flex; align-items: center; justify-content: center;
}
.lp-tick svg { width: 16px; height: 16px; }
.lp-feature b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.lp-feature p { font-size: 14px; color: var(--muted); }

/* ---------- pricing ---------- */
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .lp-plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.lp-plan {
	background: var(--parchment);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 32px 28px;
	text-align: center;
	display: flex; flex-direction: column;
	position: relative;
}
.lp-plan.feature {
	background: var(--ink); color: var(--parchment);
	border-color: var(--foil);
	box-shadow: 0 24px 60px rgba(23, 20, 29, 0.26);
}
.lp-ribbon {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--foil); color: #fff8ec;
	font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700;
	padding: 6px 16px; border-radius: 99px;
	white-space: nowrap;
}
.lp-plan-name { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--foil); font-weight: 700; }
.lp-plan-price { font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1.1; margin-top: 8px; }
.lp-plan.feature .lp-plan-price { color: var(--foil-soft); }
.lp-plan-guests { font-size: 13.5px; color: var(--muted); }
.lp-plan.feature .lp-plan-guests { color: #a79e94; }
.lp-plan-blurb { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--muted); margin-top: 10px; }
.lp-plan.feature .lp-plan-blurb { color: #c4bbb0; }
.lp-plan ul { list-style: none; margin: 20px 0 24px; font-size: 13.5px; line-height: 2.15; text-align: left; }
.lp-plan ul li { padding-left: 22px; position: relative; }
.lp-plan ul li::before {
	content: ""; position: absolute; left: 4px; top: 12px;
	width: 6px; height: 6px; border-radius: 99px; background: var(--foil);
}
.lp-plan .lp-btn { margin-top: auto; }
.lp-plan.feature .lp-btn.ghost { color: var(--parchment); border-color: rgba(217, 181, 113, 0.5); }

/* ---------- final ---------- */
.lp-final {
	background:
		radial-gradient(ellipse at 20% 20%, rgba(216, 167, 160, 0.22), transparent 55%),
		radial-gradient(ellipse at 80% 80%, rgba(185, 138, 60, 0.26), transparent 55%),
		var(--ink);
	color: var(--parchment);
	text-align: center;
	padding: 92px 6vw;
}
.lp-final h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 58px); font-weight: 600; line-height: 1.08; }
.lp-final p { color: #b6ada2; margin: 16px auto 30px; max-width: 480px; font-size: 16px; }

/* ---------- footer ---------- */
.lp-foot {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding: 26px 6vw;
	background: var(--ink-2); color: #8d8479;
	font-size: 12.5px;
}

.tpl-boardroom .lp-card-face { background: #f4f5f7; color: #1f3a5f; border-top: 26px solid #1f3a5f; }
.tpl-boardroom .lp-card-title { font-family: var(--font-ui); font-size: 16px; font-weight: 700; }
.tpl-boardroom .lp-card-host, .tpl-boardroom .lp-card-meta { color: #7d8794; }
.tpl-boardroom .lp-card-rule { background: #8fa6c4; height: 3px; }

.tpl-soiree .lp-card-face { background: linear-gradient(155deg, #171a24, #241a20); color: #f2ece0; border: 1px solid #c9a227; }
.tpl-soiree .lp-card-host, .tpl-soiree .lp-card-meta { color: #c9a227; }
.tpl-soiree .lp-card-rule { background: #c9a227; }

.tpl-confetti .lp-card-face { background: #fffbf2; color: #1f2430; border-top: 8px solid #e0475b; border-bottom: 8px solid #2bb3a3; }
.tpl-confetti .lp-card-title { font-family: var(--font-ui); font-size: 16px; font-weight: 700; }
.tpl-confetti .lp-card-host { color: #2bb3a3; }
.tpl-confetti .lp-card-meta { color: #e0475b; }
.tpl-confetti .lp-card-rule { background: #f5a623; height: 3px; }

.tpl-love .lp-card-face { background: #f2ece1; color: #3a2f28; border: 1px solid #d8cab4; }
.tpl-love .lp-card-title { font-family: 'Great Vibes', cursive; font-size: 23px; }
.tpl-love .lp-card-host, .tpl-love .lp-card-meta { color: #8d7761; }
.tpl-love .lp-card-rule { background: #a8332a; }

.tpl-sage .lp-card-face { background: #f0efe9; color: #3f4436; border-top: 22px solid #4a5230; }
.tpl-sage .lp-card-host, .tpl-sage .lp-card-meta { color: #6b7160; }
.tpl-sage .lp-card-rule { background: #8a9470; }

.tpl-velure .lp-card-face { background: linear-gradient(165deg, #134034, #0f342b); color: #f5f1e6; border: 1px solid #c9a961; }
.tpl-velure .lp-card-host, .tpl-velure .lp-card-meta { color: #c9a961; }
.tpl-velure .lp-card-rule { background: #c9a961; }

.tpl-eucalyptus .lp-card-face { background: #fff; color: #3f4a36; border: 1px solid #dbe5d5; }
.tpl-eucalyptus .lp-card-title { font-family: 'Great Vibes', cursive; font-size: 23px; color: #4a5a3a; }
.tpl-eucalyptus .lp-card-host, .tpl-eucalyptus .lp-card-meta { color: #8a9480; }
.tpl-eucalyptus .lp-card-rule { background: #a8bb96; }

.tpl-romance .lp-card-face { background: #f7f3ee; color: #2b2620; border: 1px solid #ece5db; }
.tpl-romance .lp-card-host, .tpl-romance .lp-card-meta { color: #a99c8c; }
.tpl-romance .lp-card-rule { background: #b08d57; height: 3px; }

/* ================= motion ================= */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s cubic-bezier(.22,.68,.35,1) var(--d, 0ms),
	            transform .7s cubic-bezier(.22,.68,.35,1) var(--d, 0ms);
	will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

.lp-nav { transition: padding .25s ease, background .25s ease, box-shadow .25s ease; }
.lp-nav.is-stuck {
	padding-top: 10px; padding-bottom: 10px;
	background: rgba(246, 241, 231, 0.97);
	box-shadow: 0 6px 24px rgba(23, 20, 29, .08);
}

.ill-hero { transition: transform .1s linear; }

/* drifting light behind the hero */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero::before,
.lp-hero::after {
	content: ""; position: absolute; border-radius: 50%;
	filter: blur(70px); pointer-events: none; z-index: 0;
}
.lp-hero::before {
	width: 520px; height: 520px; top: -180px; left: -140px;
	background: rgba(216, 167, 160, .38);
	animation: drift1 22s ease-in-out infinite alternate;
}
.lp-hero::after {
	width: 460px; height: 460px; bottom: -200px; right: -120px;
	background: rgba(185, 138, 60, .30);
	animation: drift2 26s ease-in-out infinite alternate;
}
.lp-hero > * { position: relative; z-index: 1; }
@keyframes drift1 { to { transform: translate3d(70px, 50px, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-60px, -40px, 0) scale(1.08); } }

.lp-card-face { transition: transform .3s cubic-bezier(.22,.68,.35,1), box-shadow .3s ease; }
.lp-card:hover .lp-card-face { box-shadow: 0 26px 50px rgba(23, 20, 29, .3); }
.lp-card-tag {
	display: inline-block; margin-bottom: 9px;
	font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 700;
	color: var(--foil); background: rgba(185, 138, 60, .12);
	padding: 4px 11px; border-radius: 99px;
}
.lp-cards { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .lp-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }

.lp-strip b { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.lp-hero::before, .lp-hero::after { animation: none; }
	.lp-card-face, .ill-hero { transition: none; }
}

/* ================= footer ================= */
.lp-foot { display: block; padding: 26px 6vw 30px; }
.lp-foot-row {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	max-width: 1280px; margin: 0 auto;
}
.lp-foot-menu { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-foot-menu a { color: #a79e94; text-decoration: none; font-size: 12.5px; }
.lp-foot-menu a:hover { color: var(--parchment); text-decoration: underline; }
.lp-foot-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (max-width: 700px) { .lp-foot-right { margin-left: 0; } }

.lp-flag {
	width: 34px; height: 34px; border-radius: 99px;
	overflow: hidden; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 1px rgba(246, 241, 231, .35), 0 3px 10px rgba(0, 0, 0, .3);
	background: #241f2c;
}
.lp-flag-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-flag-code {
	font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--parchment);
}
