/* Platform pages: home + kitchen directory, sign-up, legal. Builds on style.css. */
.p-header .nav__signin { opacity: .85; }
.p-cta { white-space: nowrap; }
@media (max-width: 900px) { .p-cta { display: none; } }
.p-hero { padding-block: 72px 64px; }
.p-hero__in { max-width: 860px; text-align: center; margin-inline: auto; }
.p-hero h1 { font-size: var(--step-4); margin: 10px 0 14px; }
.p-hero .hero__lede { margin-inline: auto; max-width: 680px; }
.p-search { display: flex; gap: 10px; max-width: 640px; margin: 22px auto 10px; }
.p-search input { flex: 1; min-width: 0; font: inherit; padding: 14px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-pop); }
.p-search input:focus { outline: 3px solid var(--haldi); }
.p-hero__cook { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 560px) { .p-search { flex-direction: column; } .p-search .btn { width: 100%; } }

.p-toggles { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 4px 0 26px; }
.p-toggles select { font: inherit; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); }
.p-tog { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .92rem; background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.p-tog:has(input:checked) { border-color: var(--ink); background: var(--haldi); }
.p-tog input { accent-color: var(--rani); }

.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.k-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-pop); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.k-card:hover, .k-card:focus-visible { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.k-card__band { height: 14px; background-color: var(--kc-paper, var(--paper)); background-size: 32px 32px; border-bottom: 3px solid var(--ink); }
.k-card__photo { aspect-ratio: 16 / 10; background: var(--paper-2) center / cover no-repeat; position: relative; }
.k-card__style { position: absolute; left: 12px; bottom: 10px; background: var(--kc-main, var(--rani)); color: #fff; font-weight: 800; font-size: .78rem; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.k-card__feat { position: absolute; right: 12px; top: 10px; background: var(--haldi); color: var(--ink); font-weight: 800; font-size: .75rem; padding: 2px 9px; border-radius: 999px; border: 2px solid var(--ink); }
.k-card__body { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; }
.k-card__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; color: var(--kc-deep, var(--rani-deep)); }
.k-card__where { font-size: .86rem; color: var(--ink-soft); font-weight: 700; }
.k-card__tag { font-size: .95rem; color: var(--ink); margin: 0; }
.k-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.k-card__chips span { font-size: .74rem; font-weight: 800; background: var(--paper-2); border-radius: 999px; padding: 2px 9px; }
.k-card__go { font-weight: 800; color: var(--kc-main, var(--rani)); }

.p-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 28px; }
.p-features li { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 16px; }

.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.style-card { display: grid; gap: 8px; cursor: pointer; background: var(--card); border: 3px solid var(--line); border-radius: 16px; padding: 10px; text-align: center; font-size: .95rem; }
.style-card input { position: absolute; opacity: 0; pointer-events: none; }
.style-card:has(input:checked) { border-color: var(--ink); box-shadow: var(--shadow-pop); }
.style-card:has(input:focus-visible) { outline: 3px solid var(--haldi); }
.style-card__art { height: 74px; border-radius: 10px; border: 2px solid var(--ink); display: flex; align-items: flex-end; gap: 6px; padding: 8px; background-size: 40px 40px; }
.style-card__art span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); }
.style-grid--show .style-card { cursor: default; }

.p-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.p-steps li { counter-increment: s; background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 16px 16px 16px 60px; position: relative; display: grid; gap: 4px; }
.p-steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--rani); color: var(--haldi); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; }
.p-steps b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--rani-deep); }
.p-steps--small { grid-template-columns: 1fr; }

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 24px; margin-bottom: 28px; }
.price-card { background: var(--card); border: 3px solid var(--ink); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-pop); display: grid; gap: 6px; }
.price-card--main { background: var(--haldi); }
.price-card__tag { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--rani-deep); }
.price-card__big { font-family: var(--font-display); font-weight: 400; font-size: 3.2rem; line-height: 1; }
.price-card__big small { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.price-card ul { margin: 6px 0 0; padding-left: 18px; }
.p-center { text-align: center; }

.faq { max-width: 860px; margin-inline: auto; }
.faq__item { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 4px 18px; margin-bottom: 12px; }
.faq__item summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.faq__item p { margin: 0 0 14px; }

.signup { max-width: 860px; margin-inline: auto; display: grid; gap: 22px; }
.su-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.su-row .field { flex: 1 1 260px; }
.su-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 18px; margin-bottom: 16px; }
.slug-row { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--card); }
.slug-row span { padding: 10px 0 10px 12px; color: var(--ink-soft); font-size: .9rem; display: flex; align-items: center; white-space: nowrap; }
.slug-row input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; padding-left: 2px !important; }
#se-slug.ok { color: var(--leaf); font-weight: 700; } #se-slug.bad { color: var(--chili); font-weight: 700; }
.su-style { margin-bottom: 14px; }
.su-agree { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .95rem; }
.su-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.su-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--paper-2); border-radius: 12px; padding: 10px 14px; }
.su-status { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--rani-deep); text-decoration: underline; cursor: pointer; }
.chk { display: flex; gap: 8px; align-items: center; }
