/* okjapa.com home page */
/* okjapa.com: colours, type and page basics shared by every page. Light and dark follow the device. */
:root {
  /* okjapa: orange #F37F20 with a dark slate ink. Orange carries the brand; text on it stays dark for contrast. */
  --bg: #fbf7f3;
  --card: #ffffff;
  --ink: #1d2328;
  --muted: #5d666d;
  --line: #ebe1d8;
  --brand: #f37f20;
  --brand-ink: #1d2328;
  --link: #b4560a;
  --pick: #fff1e5;
  --error: #b5442f;
  color-scheme: light;
  /* the drawings, in okjapa colours */
  --vi-g: #2a3640;
  --vi-g2: #4b5f6c;
  --vi-gold: #f37f20;
  --vi-soft: #fdebdc;
  --vi-paper: #ffffff;
  --vi-line: #e3d6ca;
  --vi-sky: #9ccbe0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141719;
    --card: #1d2125;
    --ink: #eef0f2;
    --muted: #a3abb2;
    --line: #30363b;
    --brand: #f68c35;
    --brand-ink: #1a1206;
    --link: #f9a35f;
    --pick: #2e241b;
    --error: #ef8a74;
    color-scheme: dark;
    --vi-g: #d4dde3;
    --vi-g2: #93a7b4;
    --vi-gold: #f68c35;
    --vi-soft: #2b241d;
    --vi-paper: #2a2f34;
    --vi-line: #4a4f55;
    --vi-sky: #3f6f86;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.H-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.H-skip {
  position: absolute;
  left: -9999px;
}
.H-skip:focus {
  left: 16px;
  top: 8px;
  z-index: 2;
  padding: 8px 12px;
  background: var(--card);
}
a {
  color: inherit;
}
/* header */
.H-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.H-headIn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.H-brand img {
  display: block;
  width: auto;
  height: 30px;
}
.H-nav {
  display: flex;
  gap: 4px;
}
.H-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.H-nav a:hover {
  color: var(--ink);
  background: var(--pick);
}
/* buttons */
.H-btn {
  display: inline-block;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.H-btn.is-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
}
.H-btn.is-soon {
  border-color: var(--line);
  background: var(--pick);
  color: var(--muted);
  cursor: default;
}
.H-btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.H-link {
  color: var(--link);
  font-weight: 700;
}
/* hero */
.H-hero {
  padding: 56px 0 48px;
}
.H-heroIn {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.H-heroIn h1 {
  margin: 6px 0 14px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.H-kicker {
  margin: 0;
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.H-lead {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}
.H-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.H-heroPic svg {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-left: auto;
}
/* sections */
.H-section {
  padding: 48px 0;
}
.H-section.is-tint {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.H-section h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.01em;
}
.H-section h3 {
  margin: 0 0 4px;
  font-size: 19px;
}
.H-section p {
  margin: 0;
}
.H-sub {
  margin: 6px 0 24px !important;
  color: var(--muted);
  font-size: 17px;
}
.H-pic {
  display: block;
  flex-shrink: 0;
  width: 120px;
  height: 90px;
}
.H-pic.is-small {
  width: 72px;
  height: 54px;
}
.H-pic svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* tools */
.H-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 2px solid var(--brand);
  border-radius: 16px;
  background: var(--card);
}
.H-card p {
  color: var(--muted);
}
.H-card .H-btn {
  margin-top: 16px;
}
.H-card + .H-card {
  margin-top: 16px;
}
.H-meta {
  margin-top: 10px !important;
  font-size: 14px;
  font-weight: 600;
}
.H-groupTitle {
  margin: 32px 0 12px !important;
  font-size: 18px;
}
h4 {
  margin: 0 0 4px;
  font-size: 16px;
}
.H-tiles,
.H-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.H-tiles li,
.H-services li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.H-tiles p,
.H-services p {
  color: var(--muted);
  font-size: 14px;
}
.H-tiles li {
  background: var(--card);
}
.H-tiles li.is-ask {
  border-style: dashed;
  background: transparent;
}
.H-tiles li .H-link {
  display: inline-block;
  margin-top: 8px;
}
.H-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.H-services li {
  background: var(--bg);
}
/* a listed business, inside its category */
.H-provider {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--pick);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.H-note {
  margin-top: 12px !important;
  color: var(--muted);
  font-size: 13px;
}
/* services */
.H-soon {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pick);
  color: var(--link);
  font-size: 12px;
  font-weight: 700;
}
.H-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--pick);
}
.H-offer p {
  color: var(--muted);
}
/* community */
.H-community {
  display: flex;
  align-items: center;
  gap: 28px;
}
.H-community .H-sub {
  margin-bottom: 16px !important;
}
.H-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* footer */
.H-foot {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.H-foot p {
  margin: 0 0 6px;
}
/* phones and narrow windows */
@media (max-width: 860px) {
  .H-services,
  .H-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .H-nav a {
    padding: 8px 6px;
    font-size: 14px;
  }
  .H-hero {
    padding: 32px 0 24px;
  }
  .H-heroIn {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .H-heroIn h1 {
    font-size: 34px;
  }
  .H-heroPic {
    order: -1;
  }
  .H-heroPic svg {
    max-width: 200px;
    margin: 0;
  }
  .H-lead {
    font-size: 17px;
  }
  .H-ctas .H-btn {
    flex: 1 1 100%;
  }
  .H-section {
    padding: 36px 0;
  }
  .H-section h2 {
    font-size: 25px;
  }
  .H-card {
    flex-direction: column;
    gap: 8px;
    padding: 18px;
  }
  .H-card .H-btn {
    display: block;
  }
  .H-services,
  .H-tiles {
    grid-template-columns: 1fr;
  }
  .H-offer {
    flex-direction: column;
    align-items: stretch;
  }
  .H-community {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
