/* Lamoi landing (template "landing"). No external fonts or scripts; motion respects reduced motion. */
.lamoi-landing {
	--l-ink: #141a33;
	--l-paper: #faf8f5;
	--l-green: #5b5bf5;
	--l-mint: #d6d6ff;
	--l-coral: #f27a6b;
	--l-sun: #ffd3c9;
	--l-muted: #4f5573;
	--l-card: #ffffff;
	--l-line: rgba(20, 26, 51, 0.1);
	--l-deep: #141a33;
	--l-radius: 22px;
	--l-wrap: min(1180px, 100% - 2.5rem);
	background: var(--l-paper);
	color: var(--l-ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
	.lamoi-landing {
		--l-ink: #faf8f5;
		--l-paper: #0d1124;
		--l-muted: #aab0cc;
		--l-card: #171c36;
		--l-line: rgba(250, 248, 245, 0.12);
		--l-green: #9494ff;
		--l-deep: #23295a;
	}
}
.lamoi-landing *, .lamoi-landing *::before, .lamoi-landing *::after { box-sizing: border-box; }

/* Edge to edge: no theme page padding or block gaps around the landing. */
body:has(.lamoi-landing), body:has(.lamoi-landing) .wp-site-blocks { padding: 0 !important; margin: 0; }
.wp-site-blocks > .lamoi-landing { margin-block: 0 !important; max-width: none !important; }
.lamoi-landing > .wp-block-post-content > * { margin-block: 0; }
.lamoi-landing .entry-content,
.lamoi-landing .wp-block-post-content { margin: 0; max-width: none; }
.lamoi-landing a { color: inherit; }
.l-wrap { width: var(--l-wrap); margin-inline: auto; }

/* Top bar */
.l-top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--l-paper) 78%, transparent); border-bottom: 1px solid var(--l-line); }
.l-top .l-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.l-logo { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.l-logo img { display: block; height: 2.9rem; width: auto; }
@media (max-width: 600px) { .l-logo img { height: 2.3rem; } }
.l-top nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.95rem; }
.l-top nav a { text-decoration: none; opacity: 0.8; }
.l-top nav a:hover { opacity: 1; }
.l-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 650; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.l-btn:hover { transform: translateY(-2px); }
.l-btn--ink { background: var(--l-ink); color: var(--l-paper) !important; box-shadow: 0 10px 30px -12px rgba(20, 26, 51, 0.6); }
.l-btn--ghost { background: transparent; border: 1.5px solid var(--l-line); }
.l-btn--small { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* Hero */
.l-hero { position: relative; padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.l-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: l-float 18s ease-in-out infinite alternate; }
.l-blob--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--l-mint); top: -12%; right: -8%; }
.l-blob--b { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: var(--l-sun); bottom: -5%; left: -6%; animation-duration: 22s; }
.l-blob--c { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; background: var(--l-coral); top: 30%; right: 30%; opacity: 0.35; animation-duration: 26s; }
@keyframes l-float { to { transform: translate3d(-4vw, 3vw, 0) scale(1.12); } }
.l-eyebrow { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--l-card); border: 1px solid var(--l-line); font-size: 0.85rem; font-weight: 600; }
.l-eyebrow b { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--l-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l-green) 25%, transparent); }
.l-hero h1 { font-size: clamp(2.8rem, 8.5vw, 7.2rem); line-height: 0.95; letter-spacing: -0.055em; font-weight: 850; margin: 1.4rem 0 1.2rem; max-width: 12ch; }
.l-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--l-green), #8a6cf0 45%, var(--l-coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; color: var(--l-muted); max-width: 46ch; margin: 0 0 2.2rem; }

/* Name check */
.l-check { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; background: var(--l-card); border: 1px solid var(--l-line); border-radius: 999px; padding: 0.45rem 0.45rem 0.45rem 1.4rem; max-width: 560px; box-shadow: 0 30px 60px -30px rgba(20, 26, 51, 0.35); }
.l-check label { display: flex; align-items: center; flex: 1 1 220px; font-size: 1.15rem; font-weight: 600; min-width: 0; }
.l-check input { flex: 1; min-width: 4ch; border: 0; background: transparent; font: inherit; color: inherit; outline: none; padding: 0.6rem 0; }
.l-check label span { color: var(--l-muted); white-space: nowrap; }
.l-check:focus-within { outline: 3px solid color-mix(in srgb, var(--l-green) 45%, transparent); outline-offset: 3px; }
.l-result { overflow-wrap: anywhere; min-height: 1.6rem; margin: 0.9rem 0 0 1.4rem; font-weight: 600; }
.l-result.is-free { color: var(--l-green); }
.l-result.is-taken { color: var(--l-coral); }
.l-result a { margin-left: 0.4rem; }

/* Start box: own domain or a free name, then "Aloita sivusi" */
.l-start { max-width: 600px; }
.l-final .l-start { margin-inline: auto; }
.l-mode { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--l-card); border: 1px solid var(--l-line); margin-bottom: 0.8rem; }
.l-mode button { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 650; font-size: 0.92rem; padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; opacity: 0.7; transition: background 0.2s ease, opacity 0.2s ease; }
.l-mode button.is-on { background: var(--l-deep); color: #faf8f5; opacity: 1; }
.l-mode button:focus-visible { outline: 3px solid color-mix(in srgb, var(--l-green) 45%, transparent); outline-offset: 2px; }
.l-found { margin: 0.9rem 0 0 1.2rem; font-weight: 600; min-height: 1.6rem; overflow-wrap: anywhere; }
.l-final .l-found { margin-left: 0; }
.l-found.is-free { color: var(--l-green); }
.l-found.is-taken { color: var(--l-coral); }
.l-found .l-go { margin-left: 0.3rem; }
.l-domains { list-style: none; margin: 0 0 0.6rem; padding: 0; display: grid; gap: 0.5rem; text-align: left; }
.l-domains li { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.7rem 0.7rem 1.1rem; border-radius: 16px; background: var(--l-card); border: 1px solid var(--l-line); color: var(--l-ink); }
.l-domains li strong { flex: 1; font-size: 1.05rem; overflow-wrap: anywhere; }
.l-domains .l-price { color: var(--l-muted); font-weight: 600; white-space: nowrap; }
.l-domains li.is-taken { opacity: 0.6; }
.l-link { border: 0; background: none; color: var(--l-green); font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; padding: 0.3rem 0; }

/* Onboarding (/aloita) */
.l-flow-wrap { padding: clamp(2.5rem, 7vw, 5rem) 0; position: relative; isolation: isolate; }
.l-flow { max-width: 760px; margin-inline: auto; }
.l-flow h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.05em; line-height: 1; margin: 0.8rem 0 0.8rem; }
.l-flow > p { color: var(--l-muted); font-size: 1.15rem; margin: 0 0 2rem; }
.l-stepcard { background: var(--l-card); border: 1px solid var(--l-line); border-radius: var(--l-radius); padding: clamp(1.3rem, 4vw, 2rem); margin-bottom: 1rem; }
.l-stepcard h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 0 0 1rem; display: flex; gap: 0.7rem; align-items: center; }
.l-stepcard h2 b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--l-deep); color: #faf8f5; font-size: 0.95rem; flex: none; }
.l-chosen { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.l-chosen strong { font-size: clamp(1.3rem, 4vw, 1.8rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.l-chosen small { color: var(--l-muted); }
.l-chosen a { margin-left: auto; }
.l-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.l-choice { position: relative; display: block; cursor: pointer; }
.l-choice input { position: absolute; opacity: 0; inset: 0; }
.l-choice span { display: block; height: 100%; padding: 1.3rem; border-radius: 18px; border: 2px solid var(--l-line); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.l-choice span em { font-style: normal; font-size: 1.7rem; display: block; margin-bottom: 0.5rem; }
.l-choice span strong { display: block; font-size: 1.15rem; margin-bottom: 0.3rem; }
.l-choice span small { color: var(--l-muted); font-size: 0.95rem; line-height: 1.5; display: block; }
.l-choice input:checked + span { border-color: var(--l-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l-green) 18%, transparent); transform: translateY(-2px); }
.l-choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--l-green) 45%, transparent); outline-offset: 2px; }
.l-field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; font-weight: 600; font-size: 0.95rem; }
.l-field input, .l-field textarea { font: inherit; font-weight: 400; color: inherit; background: var(--l-paper); border: 1.5px solid var(--l-line); border-radius: 12px; padding: 0.8rem 0.9rem; }
.l-field input:focus, .l-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--l-green) 35%, transparent); border-color: var(--l-green); }
.l-field textarea { min-height: 7rem; resize: vertical; }
.l-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
.l-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.l-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.l-submit small { color: var(--l-muted); flex: 1 1 260px; }
.l-flow-error { color: var(--l-coral); font-weight: 600; min-height: 1.4rem; margin: 0.6rem 0 0; }
.l-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* The build screen after sending */
.l-flow.is-done .l-flow-form, .l-flow.is-done .l-stepcard, .l-flow.is-done > p, .l-flow.is-done > h1, .l-flow.is-done > .l-eyebrow { display: none; }
.l-done { text-align: center; padding: clamp(1rem, 4vw, 2rem) 0; }
.l-orb { width: 120px; height: 120px; margin: 0 auto 1.6rem; border-radius: 34px; background: conic-gradient(from 0deg, var(--l-green), var(--l-mint), var(--l-sun), var(--l-coral), var(--l-green)); animation: l-spin 6s linear infinite; box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--l-green) 70%, transparent); }
@keyframes l-spin { to { transform: rotate(360deg); } }
.l-done h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 0.6rem; }
.l-done-address { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding: 0.5rem 0.9rem; border-radius: 12px; background: var(--l-card); border: 1px solid var(--l-line); margin-bottom: 1.6rem; overflow-wrap: anywhere; }
.l-stages { list-style: none; padding: 0; margin: 0 auto 1.5rem; max-width: 460px; text-align: left; display: grid; gap: 0.6rem; }
.l-stage { display: flex; gap: 0.8rem; align-items: center; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--l-card); border: 1px solid var(--l-line); opacity: 0.35; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; }
.l-stage i { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.85rem; background: var(--l-line); flex: none; }
.l-stage.is-on { opacity: 1; transform: none; }
.l-stage.is-on.is-now i { background: var(--l-green); color: #fff; }
.l-stage.is-on.is-next i { background: var(--l-sun); color: #5a1f16; }
.l-done p { color: var(--l-muted); max-width: 48ch; margin: 0 auto; }

/* Marquee of example addresses */
.l-marquee { border-block: 1px solid var(--l-line); padding: 1.1rem 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.l-marquee ul { display: flex; gap: 2.5rem; width: max-content; margin: 0; padding: 0; list-style: none; animation: l-scroll 40s linear infinite; font-weight: 650; font-size: 1.05rem; }
.l-marquee li { white-space: nowrap; }
.l-marquee li span { color: var(--l-muted); font-weight: 500; }
.l-marquee:hover ul { animation-play-state: paused; }
@keyframes l-scroll { to { transform: translateX(-50%); } }
.l-caption { text-align: center; font-size: 0.8rem; color: var(--l-muted); margin-top: 0.5rem; }

/* Sections */
.l-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.l-kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--l-green); }
.l-section h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 820; margin: 0.6rem 0 1rem; max-width: 18ch; }
.l-section .l-sub { color: var(--l-muted); font-size: 1.15rem; max-width: 52ch; margin: 0 0 3rem; line-height: 1.6; }

/* Bento of what you get */
.l-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.l-card { position: relative; background: var(--l-card); border: 1px solid var(--l-line); border-radius: var(--l-radius); padding: 1.8rem; grid-column: span 2; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.l-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -35px rgba(20, 26, 51, 0.45); }
.l-card--wide { grid-column: span 3; }
.l-card--hero { grid-column: span 4; background: var(--l-deep); color: #faf8f5; }
.l-card--hero p { color: rgba(250, 248, 245, 0.75) !important; }
.l-card h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 0.9rem 0 0.5rem; }
.l-card p { margin: 0; color: var(--l-muted); line-height: 1.55; }
.l-ico { width: 2.8rem; height: 2.8rem; border-radius: 0.9rem; display: grid; place-items: center; font-size: 1.35rem; background: color-mix(in srgb, var(--l-mint) 60%, transparent); }
.l-card--hero .l-ico { background: rgba(255, 255, 255, 0.12); }
.l-soon { display: inline-block; margin-left: 0.4rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--l-sun); color: #5a1f16; vertical-align: middle; }
.l-url { overflow-wrap: anywhere; margin-top: 1.4rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1rem, 2.2vw, 1.5rem); padding: 0.9rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.l-url b { color: var(--l-mint); }

/* Steps */
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.l-step { padding: 2rem 1.6rem; border-top: 3px solid var(--l-ink); }
.l-step::before { counter-increment: step; content: "0" counter(step); font-size: 3.6rem; font-weight: 850; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--l-ink); display: block; margin-bottom: 0.6rem; }
.l-step h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.l-step p { margin: 0; color: var(--l-muted); line-height: 1.55; }

/* AI teaser band */
.l-band { background: linear-gradient(120deg, #5b5bf5, #2d2d9e); color: #fff; border-radius: calc(var(--l-radius) * 1.4); padding: clamp(2.2rem, 6vw, 4rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.l-band h2 { color: #fff; margin-top: 0.4rem; }
.l-band p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; line-height: 1.6; margin: 0; }
.l-band .l-kicker { color: var(--l-sun); }
.l-chat { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; padding: 1.2rem; font-size: 0.98rem; display: grid; gap: 0.7rem; }
.l-chat div { padding: 0.75rem 1rem; border-radius: 14px; max-width: 90%; line-height: 1.45; }
.l-chat .me { background: #fff; color: #141a33; justify-self: end; border-bottom-right-radius: 4px; }
.l-chat .ai { background: rgba(0, 0, 0, 0.25); border-bottom-left-radius: 4px; }

/* Trust and final call */
.l-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.l-trust strong { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.05em; font-weight: 850; }
.l-trust span { color: var(--l-muted); }
.l-final { text-align: center; }
.l-final h2 { margin-inline: auto; }
.l-final .l-sub { margin-inline: auto; }
.l-final .l-check { margin-inline: auto; }
.l-final .l-result { margin-left: 0; }
/* Sign in (/kirjaudu, /en/login): one card on the hero blobs; every button goes to the Lanetti account. */
.l-login-wrap { position: relative; isolation: isolate; min-height: calc(100vh - 12rem); display: grid; place-items: center; padding: clamp(2.5rem, 8vw, 5.5rem) 1.25rem; overflow: hidden; }
.l-login { width: min(440px, 100%); background: var(--l-card); border: 1px solid var(--l-line); border-radius: calc(var(--l-radius) * 1.2); padding: clamp(1.75rem, 5vw, 2.75rem); box-shadow: 0 40px 80px -40px rgba(20, 26, 51, 0.45); text-align: center; }
.l-login-icon { width: 64px; height: 64px; display: block; margin: 0 auto 1.25rem; }
.l-login h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 850; margin: 0 0 0.6rem; }
.l-login > p { color: var(--l-muted); line-height: 1.55; margin: 0 0 1.6rem; }
.l-login .l-btn { width: 100%; justify-content: center; }
.l-login-main { background: #5b5bf5 !important; color: #fff !important; box-shadow: 0 14px 30px -14px rgba(91, 91, 245, 0.8) !important; }
.l-login-or { display: flex; align-items: center; gap: 0.8rem; margin: 1.3rem 0; color: var(--l-muted); font-size: 0.85rem; }
.l-login-or::before, .l-login-or::after { content: ""; flex: 1; height: 1px; background: var(--l-line); }
.l-login-social { display: grid; gap: 0.7rem; }
.l-login-social svg { flex: none; }
.l-login .l-login-note { font-size: 0.88rem; margin: 1.4rem 0 0; }
.l-login .l-login-new { margin: 1rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--l-line); font-size: 0.95rem; color: var(--l-ink); }
.l-login-new a { color: var(--l-green); font-weight: 650; }

.l-foot { border-top: 1px solid var(--l-line); padding: 2rem 0 3rem; font-size: 0.9rem; color: var(--l-muted); }
.l-foot .l-wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.l-foot a { text-decoration: none; }

/* Scroll reveal where the browser supports scroll-driven animation. */
@supports (animation-timeline: view()) {
	.l-reveal { animation: l-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
	@keyframes l-rise { from { opacity: 0; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
	.l-bento { grid-template-columns: 1fr; }
	.l-card, .l-card--wide, .l-card--hero { grid-column: auto; }
	.l-steps, .l-trust { grid-template-columns: 1fr; }
	.l-band { grid-template-columns: 1fr; }
	.l-top nav a:not(.l-btn):not(.l-lang) { display: none; }
	.l-check { border-radius: 22px; }
	.l-check .l-btn { width: 100%; justify-content: center; }
	.l-choices, .l-row { grid-template-columns: 1fr; }
	.l-domains li { flex-wrap: wrap; }
	.l-chosen a { margin-left: 0; }
	.l-result { margin-left: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.l-blob, .l-marquee ul, .l-reveal, .l-orb { animation: none !important; }
	.l-stage { transition: none; }
	.l-btn, .l-card { transition: none; }
}
