/* Kinly pages (/kinly/**). Self-contained: does not load or modify /styles.css. */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --bg: #F4EFE6;
  --surface: #FBF8F2;
  --surface-2: #ECE5D8;
  --ink: #1F2623;
  --muted: #56615C;
  --border: #E0D7C6;
  --brand: #2D6A57;
  --brand-hover: #245646;
  --brand-tint: #E2EBE4;
  --apricot: #F2B38F;
  --btn-bg: #2D6A57;
  --btn-fg: #F4EFE6;
  --shadow: 0 10px 30px rgba(31, 38, 35, 0.07);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131815; --surface: #1B2220; --surface-2: #232B28; --ink: #F1EDE4; --muted: #A7B1AB;
    --border: #2E3834; --brand: #7FBFA8; --brand-hover: #9ACFBC; --brand-tint: #1F2D28;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131815; --surface: #1B2220; --surface-2: #232B28; --ink: #F1EDE4; --muted: #A7B1AB;
  --border: #2E3834; --brand: #7FBFA8; --brand-hover: #9ACFBC; --brand-tint: #1F2D28;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
body.kinly-page {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.kinly-page a { color: inherit; text-underline-offset: 4px; }
.kinly-page a:focus-visible, .kinly-page button:focus-visible, .kinly-page summary:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px;
}
.kinly-page h1, .kinly-page h2, .kinly-page h3 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; color: var(--ink);
}
.kinly-page .wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.kinly-page .skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; border-radius: 8px; text-decoration: none;
}
.kinly-page .skip-link:focus { top: 12px; }

/* Header */
.kinly-page .site-header {
  max-width: 1160px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.kinly-page .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.kinly-page .brand img { display: block; border-radius: 8px; }
.kinly-page .site-header nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.kinly-page .nav-link { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; padding: 6px 8px; }
.kinly-page .nav-link:hover { color: var(--ink); }
.kinly-page .pill-btn {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: transparent; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); border-radius: 99px; padding: 6px 14px; line-height: 1.4;
}
.kinly-page .pill-btn:hover { background: var(--surface-2); }

/* Buttons */
.kinly-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 0; border-radius: 99px; padding: 14px 26px;
  font: inherit; font-weight: 700; font-size: 16px; transition: background-color .2s ease, transform .2s ease;
}
.kinly-page .btn:hover { background: var(--brand-hover); transform: translateY(-2px); }
:root[data-theme="dark"] .kinly-page .btn:hover { background: #3A7F69; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kinly-page .btn:hover { background: #3A7F69; } }
.kinly-page .btn svg { width: 20px; height: 20px; fill: currentColor; }
.kinly-page .btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.kinly-page .btn.secondary:hover { background: var(--surface-2); }

.kinly-page .eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--brand); margin: 0 0 14px; }
.kinly-page .lede { font-size: 19px; color: var(--muted); max-width: 560px; margin: 20px 0 0; }

/* Landing */
.kinly-page .hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 56px 0 72px; }
.kinly-page .hero h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.03em; }
.kinly-page .hero h1 span { color: var(--brand); }
.kinly-page .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.kinly-page .hero-note { font-size: 13px; color: var(--muted); }
.kinly-page .hero-visual { display: flex; justify-content: center; }
.kinly-page .hero-orb {
  width: min(280px, 70vw); aspect-ratio: 1; border-radius: 50%; background: var(--brand-tint); display: grid; place-items: center; box-shadow: var(--shadow);
}
.kinly-page .hero-orb img { width: 46%; height: auto; border-radius: 22%; box-shadow: 0 14px 34px rgba(45, 106, 87, 0.28); }

.kinly-page .section-head { max-width: 640px; margin-bottom: 32px; }
.kinly-page .section-head h2 { font-size: clamp(30px, 4.5vw, 44px); }
.kinly-page .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kinly-page .feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px 24px 28px; box-shadow: var(--shadow);
}
.kinly-page .feature .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.kinly-page .feature h3 { font-size: 22px; margin-bottom: 8px; }
.kinly-page .feature p { margin: 0; color: var(--muted); font-size: 15px; }

.kinly-page .band {
  margin: 72px 0; background: var(--brand); color: #F4EFE6; border-radius: 28px; padding: 40px 36px; display: grid; gap: 10px;
}
:root[data-theme="dark"] .kinly-page .band { background: #1F3A31; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kinly-page .band { background: #1F3A31; } }
.kinly-page .band h2 { color: #F4EFE6; font-size: clamp(26px, 4vw, 36px); }
.kinly-page .band p { margin: 0; max-width: 640px; color: #E3EBE4; }
.kinly-page .band .eyebrow { color: var(--apricot); margin-bottom: 4px; }
.kinly-page .band .btn { background: #F4EFE6; color: #1F2623; justify-self: start; margin-top: 12px; }
.kinly-page .band .btn:hover { background: #fff; }

.kinly-page .faq { padding-bottom: 72px; }
.kinly-page .faq > * { max-width: 760px; }
.kinly-page .faq h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 20px; }
.kinly-page .faq-item { border-bottom: 1px solid var(--border); }
.kinly-page .faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.kinly-page .faq-item summary::-webkit-details-marker { display: none; }
.kinly-page .faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 22px; color: var(--brand); transition: transform .2s ease; }
.kinly-page .faq-item[open] summary::after { transform: rotate(45deg); }
.kinly-page .faq-item p { margin: 0 0 18px; color: var(--muted); }

/* Legal / support / delete pages */
.kinly-page .legal-main { padding: 32px 0 72px; max-width: 760px; }
.kinly-page .legal-head h1 { font-size: clamp(34px, 5vw, 52px); }
.kinly-page .prose section { margin-top: 36px; }
.kinly-page .prose h2 { font-size: 24px; margin-bottom: 10px; }
.kinly-page .prose p { margin: 0 0 12px; color: var(--ink); }
.kinly-page .prose ul, .kinly-page .prose ol { margin: 0 0 12px; padding-left: 22px; }
.kinly-page .prose li { margin-bottom: 8px; }
.kinly-page .prose a, .kinly-page .contact-callout a { color: var(--brand); font-weight: 600; }
.kinly-page .contact-callout { margin-top: 36px; padding: 18px 22px; background: var(--brand-tint); border-radius: 18px; }
.kinly-page .steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 16px; }
.kinly-page .steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.kinly-page .steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* Join page */
.kinly-page .join-main { padding: 24px 0 72px; max-width: 560px; text-align: center; }
.kinly-page .join-main h1 { font-size: clamp(32px, 6vw, 46px); margin-top: 18px; }
.kinly-page .join-mark { border-radius: 18px; }
.kinly-page .code-card { margin: 28px auto 8px; padding: 22px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.kinly-page .code-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.kinly-page .code-value { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(40px, 12vw, 64px); font-weight: 700; letter-spacing: .16em; margin: 0; padding-left: .16em; color: var(--brand); word-break: break-all; }
.kinly-page .join-actions { display: grid; gap: 12px; margin-top: 24px; }
.kinly-page .join-help { text-align: left; margin-top: 36px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.kinly-page .join-help h2 { font-size: 20px; margin-bottom: 8px; }
.kinly-page .join-help ol { margin: 0; padding-left: 20px; color: var(--muted); }
.kinly-page [hidden] { display: none !important; }

/* Footer */
.kinly-page .site-footer { max-width: 1160px; margin: 0 auto; padding: 32px 20px 44px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.kinly-page .footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.kinly-page .footer-main .brand { font-size: 18px; color: var(--ink); }
.kinly-page .footer-main small { font-family: var(--sans); font-size: 12px; font-weight: 500; opacity: .8; }
.kinly-page .footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 18px; }
.kinly-page .footer-links a { text-decoration: none; color: var(--muted); }
.kinly-page .footer-links a:hover { color: var(--ink); }

/* Screenshot gallery (same pattern as Tropfen: horizontal snap scroller, 280px items, auto-advance in kinly.js) */
.kinly-page .gallery-section { padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kinly-page .gallery-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.kinly-page .gallery-head h2 { font-size: clamp(28px, 4.5vw, 38px); margin-top: 12px; }
.kinly-page .screenshot-gallery {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 40px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.kinly-page .screenshot-item { flex: 0 0 280px; scroll-snap-align: center; display: flex; flex-direction: column; gap: 14px; text-align: center; margin: 0; }
.kinly-page .screenshot-item img {
  width: 100%; height: auto; aspect-ratio: 555 / 1200; object-fit: contain; border-radius: 28px; background: var(--surface);
  border: 2px solid var(--border); box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s ease;
}
.kinly-page .screenshot-item:hover img { transform: translateY(-8px) scale(1.02); border-color: var(--brand); }
.kinly-page .screenshot-caption { font-size: 14px; font-weight: 700; color: var(--ink); }

@media (max-width: 860px) {
  .kinly-page .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .kinly-page .hero-visual { order: -1; justify-content: flex-start; }
  .kinly-page .hero-orb { width: 150px; }
  .kinly-page .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .kinly-page .feature-grid { grid-template-columns: 1fr; }
  .kinly-page .band { padding: 30px 22px; }
  .kinly-page .site-header { padding: 14px 16px; }
  .kinly-page .screenshot-item { flex-basis: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .kinly-page * { transition: none !important; }
  .kinly-page .screenshot-gallery { scroll-behavior: auto; }
}
