/* Islok subpages (generated by tools/islok-site/build.py). Builds on assets/v4.css (variables, buttons, nav,
   sections, tables, signup). */

/* ---------- Nav: active link, mobile menu ---------- */

.nav-links a.on {
  color: var(--ink);
  font-weight: 650;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .25s var(--ease);
}

.menu-open .burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-mobile {
  display: none;
}

@media (max-width: 680px) {
  .burger {
    display: block;
  }

  .nav .nav-cta {
    margin-left: auto;
  }

  .menu-open .menu-mobile {
    display: grid;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .menu-mobile a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }
}

/* ---------- Common ---------- */

.crumbs {
  padding-top: 18px;
  font-size: 13px;
  color: var(--mid);
}

.crumbs a {
  color: var(--mid);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.crumbs span[aria-current] {
  color: var(--ink);
}

.page-hero {
  padding: 48px 0 72px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
}

.page-hero .lead {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--mid);
}

.page-hero .lead a,
.prose a,
.card-plain a,
.more-link a:not(.btn) {
  color: var(--ink);
  text-underline-offset: 3px;
}

.more-link {
  margin-top: 28px;
  text-align: center;
}

.mt {
  margin-top: 36px;
}

.link-arrow {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.phone figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--mid);
}

.rounded-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.rounded-img video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.cards-3,
.cards-4 {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-plain {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-plain p {
  font-size: 15px;
  color: var(--mid);
}

.card-link {
  text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}

.card-link:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.state-sq {
  display: inline-grid;
  place-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border: 2.5px solid var(--ink);
  border-radius: 7px;
  font-weight: 800;
  color: var(--ink);
}

.state-sq.full {
  background: var(--ink);
}

.state-sq.dash {
  border-style: dashed;
}

.steps-row {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps-row .num,
.steps-list .num {
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.steps-row p {
  color: var(--mid);
}

.spec-table {
  width: 100%;
  margin: 28px 0 18px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
}

.spec-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink);
}

.spec-table td {
  color: var(--text);
}

.feature-list {
  display: grid;
  gap: 26px;
}

.feature-list p {
  color: var(--mid);
}

.draft-note {
  padding: 12px 16px;
  border: 1.5px dashed #c9c9c9;
  border-radius: 10px;
  font-size: 14px;
  color: var(--mid);
  background: #fafafa;
}

/* ---------- About ---------- */

.about-story p {
  margin-bottom: 16px;
  color: var(--text);
}

.team {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.team-one {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.person {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.person-main {
  grid-template-columns: 140px 1fr;
}

.avatar {
  display: grid;
  place-content: center;
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.avatar-soft {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gray);
}

.avatar-soft svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.person .role {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
}

.person p {
  font-size: 15px;
}

.person .draft-note {
  margin-bottom: 12px;
}

.vtimeline {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  border-left: 2px solid var(--ink);
}

.vtimeline li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 26px 26px;
}

.vtimeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}

.vtimeline b {
  color: var(--ink);
}

.vtimeline span {
  color: var(--mid);
}

/* ---------- Press ---------- */

.quote-box {
  padding: 24px 26px;
  margin: 18px 0 8px;
  border-left: 3px solid var(--ink);
  background: var(--gray);
  border-radius: 0 12px 12px 0;
}

.kit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.kit-item {
  display: grid;
  gap: 4px;
  padding: 14px 14px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.kit-item span:last-child {
  font-size: 13px;
  color: var(--mid);
}

.kit-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--gray);
  overflow: hidden;
}

.kit-thumb img {
  width: 60%;
}

.kit-dark {
  background: #000;
}

.kit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Integrations ---------- */

.int-hero .int-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.int-logo {
  display: grid;
  place-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.int-logo img {
  width: 36px;
  height: 36px;
}

.int-logo-islok {
  background: #000 url("../img/favicon.svg") center / cover;
  border: 0;
}

.int-plus {
  font-size: 28px;
  color: var(--mid);
}

.int-cols {
  align-items: start;
}

.int-cols h2 {
  font-size: 26px;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.steps-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.steps-list .num {
  margin: 0;
}

.steps-list p {
  padding-top: 8px;
  font-size: 16px;
  color: var(--text);
}

.auto-list {
  margin: 18px 0 24px;
  padding-left: 20px;
}

.auto-list li {
  margin-bottom: 10px;
}

.note {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
}

.int-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.int-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.int-chip:hover {
  border-color: var(--ink);
}

.int-chip img {
  width: 18px;
  height: 18px;
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.int-card {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s var(--ease);
}

.int-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.int-card .int-logo {
  margin-bottom: 12px;
  background: var(--gray);
  border: 0;
}

.int-card b {
  font-size: 19px;
}

.int-card span {
  font-size: 14px;
  color: var(--mid);
}

.int-card .link-arrow {
  margin-top: 10px;
  color: var(--ink);
}

/* ---------- Guides / articles ---------- */

.prose-sec {
  padding-top: 32px;
}

.prose h1 {
  font-size: clamp(32px, 3.8vw, 46px);
  margin-bottom: 8px;
}

.prose .lead {
  margin: 18px 0 10px;
  max-width: none;
}

.prose h2 {
  font-size: 26px;
  margin: 40px 0 12px;
}

.prose p,
.prose li {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}

.prose p {
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.prose .table-wrap {
  margin: 12px 0 20px;
}

.byline {
  font-size: 14px !important;
  color: var(--mid) !important;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cta-box {
  margin-top: 48px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--gray);
}

.cta-box h3 {
  font-size: 22px;
}

.guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s var(--ease);
}

.guide-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.guide-card .badge {
  justify-self: start;
  margin: 0;
}

.guide-card h2 {
  font-size: 22px;
  margin: 0;
}

.guide-card p {
  font-size: 15px;
  color: var(--mid);
}

/* ---------- Footer with columns ---------- */

.foot-big {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--gray);
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}

.foot-brand img {
  height: 26px;
  width: auto;
  margin-bottom: 12px;
}

.foot-brand p:not(.fine) {
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 6px;
}

.foot-cols h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink);
}

.foot-cols ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.foot-cols a {
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
}

.foot-cols a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .split-2,
  .team,
  .person-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards-4,
  .int-grid,
  .kit {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3,
  .steps-row,
  .guides {
    grid-template-columns: 1fr;
  }

  .foot-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .cards-4,
  .int-grid,
  .kit {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 32px 0 48px;
  }

  .avatar {
    width: 112px;
    height: 112px;
  }
}

/* hero directly followed by a white section: no double padding */
.page-hero + .sec:not(.sec-gray) {
  padding-top: 16px;
}

.prose p.badge {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 18px;
}

.tall-img img {
  aspect-ratio: 4 / 5;
  object-position: 50% 30%;
}

/* Language switch (PL / DE / EN), 2026-11-30 */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 999px; }
.lang-switch a { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: #6e6e73; text-decoration: none; }
.lang-switch a:hover { color: #000; }
.lang-switch a[aria-current] { background: #000; color: #fff; }
.nav .lang-switch { margin-left: auto; margin-right: 12px; }
.lang-switch-mobile { margin-top: 16px; align-self: flex-start; }
.lang-switch-foot { margin-top: 16px; }
.action-form { margin-top: 8px; }
.action-form .form-msg { margin-top: 16px; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .nav .lang-switch:not(.lang-switch-mobile) { display: none; }
}

/* Logo 1C (owner's pick 2026-11-30): "i" = the device, a tall bar with the LED cut out, then "slok". */
.logo-1c {
  --logo-bg: #fff;
  display: inline-flex;
  align-items: baseline;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #000;
}

.logo-bar {
  position: relative;
  display: inline-block;
  width: 0.15em;
  height: 0.72em;
  margin: 0 0.07em 0 0.04em;
  border-radius: 0.035em;
  background: currentColor;
}

.logo-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.07em;
  width: 0.05em;
  height: 0.05em;
  margin-left: -0.025em;
  border-radius: 50%;
  background: var(--logo-bg);
}

.foot-brand .logo-1c {
  --logo-bg: var(--gray);
  margin-bottom: 12px;
}

/* Sign-up note: it is a pre-order list (owner, 2026-11-30) */
.form-note { margin-top: 10px; font-size: 13px; line-height: 1.45; color: #6e6e73; }
.signup-sec .form-note { color: rgba(255, 255, 255, .62); }

/* Easy install strip */
.easy { background: #fff; }
.easy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.easy-item { padding: 32px 28px; border-radius: 22px; background: var(--gray); text-align: left; }
.easy-item .ico { width: 36px; height: 36px; margin-bottom: 18px; }
.easy-item h3 { font-size: 24px; margin-bottom: 8px; }
.easy-item p { color: #6e6e73; }
@media (max-width: 860px) {
  .easy-grid { grid-template-columns: 1fr; }
}

/* Language suggestion bar (assets/lang-suggest.js) */
.lang-bar { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 48px 10px 16px; background: #1d1d1f; color: #f5f5f7; font-size: 14px; position: relative; }
.lang-bar .btn { background: #f5f5f7; color: #000; }
.lang-bar button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: transparent; color: #f5f5f7; font-size: 20px; cursor: pointer; }

.avatar-photo { object-fit: cover; padding: 0; background: var(--gray); }

/* Bot check (Turnstile): invisible unless Cloudflare asks for a click, then a tidy full-width box */
.cf-turnstile { height: 0; overflow: hidden; }
.cf-turnstile.shown { height: auto; margin-top: 12px; max-width: 100%; overflow: visible; }

/* Cookie consent banner (assets/consent.js) */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid #e2e2e2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
  font-size: 14px;
  line-height: 1.5;
  color: #1d1d1f;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; }
.consent-banner a { color: inherit; text-decoration: underline; }
.consent-buttons { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.consent-buttons .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.consent-reject { background: #f3f3f3; color: #000; border: 0; }
@media (max-width: 520px) {
  .consent-buttons .btn { flex: 1; }
}

/* Sign-up button while sending: the label stays in place (keeps the width), a spinner shows on top */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
.btn.is-loading:not(.btn-dark)::after { border-color: rgba(0, 0, 0, .2); border-top-color: #000; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation-duration: 2s; } }
.easy.sec-gray { background: var(--gray); }
.easy.sec-gray .easy-item { background: #fff; }
@media (max-width: 680px) {
  .easy-grid { gap: 12px; }
  .easy-item { display: grid; grid-template-columns: 32px 1fr; gap: 4px 14px; padding: 20px; border-radius: 18px; }
  .easy-item .ico { width: 28px; height: 28px; margin: 0; grid-row: span 2; }
  .easy-item h3 { font-size: 19px; margin: 0; }
}
