/* Components. Uses tokens.css and base.css. Class names are final; the landing reuses them. */

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.nav__in { display: flex; align-items: center; gap: var(--s-4); min-height: 56px; }
.nav__brand { display: flex; align-items: baseline; gap: var(--s-2); font-weight: 700; font-size: 1.125rem; color: var(--text); text-decoration: none; margin-right: auto; }
.nav__brand small { font-size: var(--fs-label); font-weight: 500; color: var(--text-2); }
.nav__link, .nav__lang { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: var(--s-2); }
.nav__link:hover, .nav__lang:hover { color: var(--text); }
@media (max-width: 599px) { .nav__link, .nav__brand small { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-button); font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }
.btn--secondary { background: var(--card); color: var(--text); border-color: var(--hairline); }
.btn--secondary:hover { background: var(--accent-soft); }
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1.0625rem; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* pill */
.pill { display: inline-flex; align-items: center; gap: var(--s-2); padding: 4px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: var(--fs-label); font-weight: 600; }

/* card */
.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); padding: var(--s-5); }

/* window frame (holds a product screenshot) */
.window { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); border: 1px solid var(--hairline); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding-inline: var(--s-4); border-bottom: 1px solid var(--hairline); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline); }
.window__body { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--text-2); font-size: var(--fs-label); background: var(--ground); }
.window__body img { width: 100%; height: 100%; object-fit: cover; }

/* step */
.step { display: flex; flex-direction: column; gap: var(--s-2); }
.step__n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.step h3, .step p, .feature h3, .feature p { margin: 0; }
.step p, .feature p { color: var(--text-2); }

/* feature block */
.feature { display: flex; flex-direction: column; gap: var(--s-3); }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-inner); background: var(--accent-soft); color: var(--accent); }

/* price card */
.price { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); max-width: 380px; }
.price .btn { align-self: stretch; }
.price__amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price__amount small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.price li { display: flex; gap: var(--s-3); align-items: flex-start; }
.price li .icon { color: var(--accent); margin-top: 2px; }

/* FAQ item (<details>) */
.faq { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; min-height: 56px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform var(--t-fast) var(--ease); flex: none; }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { color: var(--text-2); padding-bottom: var(--s-4); margin: 0; }

/* footer */
.footer { border-top: 1px solid var(--hairline); padding-block: var(--s-6); color: var(--text-2); font-size: 0.9375rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); align-items: center; }
.footer__in > :first-child { margin-right: auto; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
