/* apps list mock — Kotolink hub apps catalog */
:root {
  --ink: #101a15;
  --muted: #3a4a42;
  --paper: #f3f7f4;
  --line: #c8d6ce;
  --brand: #1a6b43;
  --brand-deep: #0f4a2e;
  --soft: #e7f3ec;
  --warm: #fff4d6;
  --font-display: "Figtree", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --shadow: 0 18px 40px rgba(20, 35, 28, 0.1);
  --radius: 18px;
  --max: 68rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(1000px 420px at 8% -8%, #dff3e8 0%, transparent 55%),
    radial-gradient(800px 360px at 100% 0%, var(--warm) 0%, transparent 48%),
    var(--paper);
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.mock-banner {
  display: none;
}

.mock-banner p {
  margin: 0.2rem auto;
  max-width: var(--max);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.brand {
  text-decoration: none;
}

.brand__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.header-link {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 1.25rem;
}

.crumb {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.crumb a {
  color: var(--brand-deep);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40rem;
}

.apps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 2.75rem;
}

.apps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.app-card__visual {
  margin: 0;
  min-height: 14rem;
  background: #fffdf9;
}

.app-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.app-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.app-card__badge {
  margin: 0 0 0.65rem;
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-deep);
  border: 1px solid #b9d7c6;
  font-weight: 800;
  font-size: 0.88rem;
}

.app-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.app-card__title-row img {
  border-radius: 10px;
}

.app-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.app-card__body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-card__cta-wrap {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(26, 107, 67, 0.22);
}

.cta:hover,
.cta:focus-visible {
  background: var(--brand-deep);
}

.apps__note {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  padding: 1.35rem 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer code {
  font-size: 0.9em;
}

@media (max-width: 820px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
  }
}


.app-card__credit {
  margin: 0.35rem 0 0;
  color: var(--muted, #5a6b5e);
  font-size: 0.82rem;
  font-weight: 600;
}
