/* NYD themes – shared home page parts: tokens, header, buttons, pricing, FAQ, footer. Everything is inside .nyd */
:root { --font-body: 'Heebo'; --font-heading: 'Rubik'; }
[x-cloak] { display: none !important; }

.nyd {
	--ink: #14112B; --muted: #5B5873; --line: #ECEAF5; --soft: #F6F5FB; --dark: #0E0B1F;
	--accent: #6C4BFF; --accent2: #22C3E6; --ok: #3EBE8E;
	font-family: Heebo, Rubik, system-ui, sans-serif; color: var(--ink); line-height: 1.5;
}
.nyd *, .nyd *::before, .nyd *::after { box-sizing: border-box; }
.nyd a { color: inherit; text-decoration: none; }
.nyd h1, .nyd h2, .nyd h3 { color: inherit; }
.nyd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nyd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.nyd-narrow { max-width: 860px; }
.nyd-center { text-align: center; }
.nyd-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nyd-muted { color: var(--muted); }

/* type */
.nyd-h1 { font-family: Rubik, sans-serif; font-weight: 800; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -.025em; margin: 0; }
.nyd-h2 { font-family: Rubik, sans-serif; font-weight: 800; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.nyd-kicker { font-family: Rubik, sans-serif; font-weight: 600; font-size: 14px; color: var(--accent); margin-bottom: 10px; }
.nyd-sub { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.nyd-grad { background: linear-gradient(90deg, var(--accent2), var(--accent) 55%, #C9B8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.nyd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: Rubik, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.2; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background-color .2s; }
.nyd-btn:hover { transform: translateY(-1px); }
.nyd .nyd-btn-light { background: #fff; color: var(--dark); }
.nyd .nyd-btn-dark { background: var(--ink); color: #fff; }
.nyd .nyd-btn-accent { background: var(--accent); color: #fff; }
.nyd .nyd-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.nyd-link-plain { font-size: 15px; padding: 10px 12px; }
.nyd-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); background: transparent; color: inherit; cursor: pointer; }
.nyd .nyd-burger { display: none; }

/* header (top bar + nav) */
.nyd-bar { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; font-size: 14px; text-align: center; background: var(--dark); color: #E9E6FF; position: relative; z-index: 2; }
.nyd-bar-tag { font-family: Rubik, sans-serif; font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.nyd-head { position: relative; z-index: 40; padding: 22px 24px 0; }
.nyd-nav { position: relative; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nyd-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: Rubik, sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.nyd-logo-img { display: block; height: 40px; width: auto; max-width: 190px; object-fit: contain; object-position: center; }
html.nyd-light .nyd-logo-for-dark, html:not(.nyd-light) .nyd-logo-for-light { display: none; }
.nyd-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; }
.nyd-links a { font-size: 15px; padding: 9px 16px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nyd-actions { display: flex; align-items: center; gap: 8px; }
.nyd-lang { position: relative; }
.nyd-lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px rgba(20, 17, 43, .18); z-index: 60; }
.nyd-lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.nyd-lang-menu a:hover { background: var(--soft); }

/* pricing */
.nyd-pricing { margin-top: 44px; text-align: center; }
.nyd-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 36px; }
.nyd-seg button { border: 0; background: transparent; cursor: pointer; font-family: Rubik, sans-serif; font-size: 15px; padding: 10px 18px; border-radius: 999px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.nyd-seg button.is-on { background: var(--ink); color: #fff; }
.nyd-seg-badge { font-size: 12px; font-weight: 600; color: #16865E; }
.nyd-seg button.is-on .nyd-seg-badge { color: #7DF0C2; }
.nyd-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; text-align: start; }
.nyd-plan { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.nyd-plan.is-featured { background: var(--dark); border-color: var(--dark); color: #fff; }
.nyd-plan.is-featured::before { content: ''; position: absolute; top: -120px; inset-inline-end: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 107, 255, .5), transparent 65%); pointer-events: none; }
.nyd-plan > * { position: relative; }
.nyd-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nyd-plan-name { font-family: Rubik, sans-serif; font-weight: 700; font-size: 22px; margin: 0; }
.nyd-plan-badge { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; white-space: nowrap; }
.nyd-plan-price { font-family: Rubik, sans-serif; font-weight: 800; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; }
.nyd-plan-price span { font-family: Heebo, sans-serif; font-weight: 400; font-size: 15px; letter-spacing: 0; opacity: .7; }
.nyd-plan-desc { margin: 0; font-size: 15px; opacity: .8; }
.nyd-plan-items { flex: 1; font-size: 15px; }
.nyd-plan-items ul { margin-top: 4px !important; text-align: start !important; padding: 0 !important; list-style: none; }
.nyd-plan-items li { color: inherit; }
.nyd-plan.is-featured .nyd-plan-items .text-heading-foreground { color: #fff; }
.nyd-plan .lqd-price-table-info { color: var(--ink); text-align: start; }
.nyd-plan-btn { display: block; text-align: center; font-family: Rubik, sans-serif; font-weight: 600; font-size: 16px; padding: 14px; border-radius: 14px; background: #F1EEFF; color: var(--ink); transition: background-color .2s; }
.nyd-plan-btn:hover { background: #E5DFFF; }
.nyd-plan.is-featured .nyd-plan-btn { background: var(--accent); color: #fff; }
.nyd-plan.is-featured .nyd-plan-btn:hover { background: #5B3BEB; }

/* FAQ */
.nyd-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.nyd-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.nyd-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: none; border: 0; cursor: pointer; font-family: Rubik, sans-serif; font-weight: 600; font-size: 18px; color: var(--ink); text-align: start; }
.nyd-faq-sign { flex-shrink: 0; font-size: 22px; color: var(--accent); line-height: 1; }
.nyd-faq-a { padding: 0 26px 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.nyd-faq-a p { margin: 0 0 .7em; }

/* footer */
.nyd-foot { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 32px; }
.nyd-foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.nyd-foot-about { max-width: 320px; }
.nyd-foot-about p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 0; }
.nyd-foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.nyd-foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.nyd-foot-cols a { color: var(--muted); }
.nyd-foot-cols a:hover { color: var(--accent); }
.nyd-foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #F1EFF8; font-size: 14px; color: var(--muted); }

/* sections */
.nyd-sec { padding: 100px 0 0; }
.nyd-sec-last { padding-bottom: 90px; }
.nyd-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.nyd-sec-head .nyd-sub { max-width: 440px; margin: 0; }

@media (max-width: 1023px) {
	.nyd .nyd-burger { display: inline-flex; }
	.nyd-links { display: none; position: absolute; top: calc(100% + 10px); inset-inline: 0; flex-direction: column; gap: 2px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px rgba(20, 17, 43, .2); }
	.nyd-links.is-open { display: flex; }
	.nyd .nyd-links a { color: var(--ink); background: transparent; padding: 12px 16px; }
	.nyd-sec { padding-top: 72px; }
}
@media (max-width: 640px) {
	.nyd-wrap { padding: 0 16px; }
	.nyd-head { padding: 14px 16px 0; }
	.nyd-link-plain { display: none; }
	.nyd-btn { padding: 11px 16px; }
	.nyd-plan { padding: 24px; }
	.nyd-faq-q { padding: 18px 20px; font-size: 17px; }
	.nyd-faq-a { padding: 0 20px 20px; }
	.nyd-foot-cols { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.nyd *, .nyd *::before, .nyd *::after { animation: none !important; transition: none !important; }
}
