/* Fonts are self-hosted so visiting the site contacts no third party (see privacy.html). */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibstedgrotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --ink-soft: #4b4b52;
  --paper: #ffffff;
  --line: #e4e4e7;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  caret-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Wordmark: "Jin" + pixel K + "o"; the K's 20% stem matches Outfit Bold's stem at cap height. */
.wordmark { display: inline-flex; align-items: baseline; font: 700 1em/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.wordmark .k { height: 0.7em; width: auto; overflow: visible; margin: 0 0.01em 0 0.06em; }
.wordmark.small { font-size: 1.05em; }

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.4rem; font-size: 1.6rem; text-decoration: none; padding-block: 0.4rem; }
.brand .llc { font: 600 0.8rem var(--body); letter-spacing: 0.06em; color: var(--ink-soft); }
.site-header nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); padding-block: 0.75rem; }
.site-header nav a:hover { color: var(--ink); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 7rem);
}
h1 {
  font: 700 clamp(2.4rem, 5.2vw, 3.9rem)/1.05 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 15ch;
  text-wrap: balance;
}
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 44ch; margin: 0; }

/* The hero K is a cloud-chamber source (assets/chamber.js); the static pixels are the no-JS / reduced-motion fallback. */
.hero-k { height: clamp(9rem, 22vw, 17rem); width: auto; overflow: visible; margin-right: clamp(1rem, 5vw, 4rem); pointer-events: none; }
.hero-k.live .p { display: none; }

/* Each band borrows its product's own look; the Jinko signature ties them to the company. */
.band { position: relative; overflow: hidden; font-family: "Inter", system-ui, sans-serif; }
.product {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem 4rem;
  align-items: start;
}
.mark { display: flex; align-items: center; gap: 0.85rem; }
.mark .tile { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; }
.mark .tile svg { width: 1.6rem; height: 1.6rem; }
h2 { font: 800 clamp(2.25rem, 5vw, 3.5rem)/1 "Inter", system-ui, sans-serif; letter-spacing: -0.04em; margin: 0; }
.product p { margin: 0 0 1.75rem; max-width: 52ch; font-size: 1.15rem; line-height: 1.6; }
.product ul { margin: 0 0 2.25rem; padding: 0; list-style: none; display: grid; gap: 0.7rem; font-weight: 500; }
.product li { display: flex; gap: 0.7rem; align-items: flex-start; }
.product li svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-weight: 700; text-decoration: none;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.product .made-by { display: flex; align-items: baseline; gap: 0.45rem; margin: 2.5rem 0 0; font-size: 0.9rem; font-weight: 500; }
.made-by .wordmark { font-size: 1.15rem; }

/* bookmark.land: sky gradient, sun, navy type, deep-blue pill */
.bookmark { background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 55%, #e0f2fe 100%); color: #082f49; }
.bookmark::before { content: ""; position: absolute; width: 6.5rem; height: 6.5rem; border-radius: 50%; background: #fde047; top: -3rem; right: max(1.5rem, calc(50% - 34rem)); }
.bookmark::after { content: ""; position: absolute; width: 9rem; height: 9rem; border-radius: 50%; background: rgb(255 255 255 / 0.55); right: -3rem; bottom: 18%; }
.bookmark p { color: #0c4a6e; }
.bookmark .tile { background: #fff; color: #0369a1; box-shadow: 0 2px 8px rgb(8 47 73 / 0.12); }
.bookmark li svg { color: #0369a1; }
.bookmark .btn { border-radius: 999px; background: #0369a1; color: #fff; box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.35); }
.bookmark .btn:hover { background: #075985; }
.bookmark .made-by { color: #0c4a6e; }

/* TapGPT: white grid, violet glow, near-black type, dark rounded button */
.tapgpt {
  background:
    radial-gradient(40rem 26rem at 0% 100%, rgb(168 85 247 / 0.28), transparent 70%),
    radial-gradient(30rem 20rem at 100% 0%, rgb(59 130 246 / 0.16), transparent 70%),
    linear-gradient(rgb(17 24 39 / 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgb(17 24 39 / 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    #fff;
  color: #111827;
}
.tapgpt h2 .tld { background: linear-gradient(90deg, #2563eb, #9333ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tapgpt p { color: #374151; }
.tapgpt .tile { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.3); }
.tapgpt li svg { color: #7c3aed; }
.tapgpt .btn { border-radius: 16px; background: #111827; color: #fff; box-shadow: 0 10px 24px -10px rgb(17 24 39 / 0.8); }
.tapgpt .btn:hover { background: #1f2937; }
.tapgpt .made-by { color: #374151; }

/* Footer: inverted, so the page ends on the company */
.site-footer { background: var(--ink); color: #f4f4f5; }
.site-footer ::selection { background: #f4f4f5; color: var(--ink); }
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  padding-block: 3.5rem 2.5rem;
}
.site-footer .brand .llc { color: #a1a1aa; }
.footer-brand p { margin: 0.5rem 0 0; color: #a1a1aa; max-width: 36ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.75rem; align-content: start; }
.site-footer nav a { text-decoration: none; padding-block: 0.7rem; }
.site-footer nav a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid #27272a; font-size: 0.9rem; color: #a1a1aa; }

/* Legal pages */
.legal { max-width: 46rem; padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 9vw, 6rem); }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 0.5rem; }
.legal .updated { color: var(--ink-soft); margin: 0 0 2.5rem; font-size: 0.95rem; }
.legal h2 { font: 700 1.35rem/1.2 var(--display); letter-spacing: -0.01em; margin: 2.5rem 0 0.6rem; }
.legal p, .legal li { max-width: 60ch; }
.legal p { margin: 0 0 1rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.4rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-k { order: -1; height: 7rem; margin: 1.5rem 0 0 1.5rem; }
  .product { grid-template-columns: 1fr; }
  .bookmark::after { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .brand { font-size: 1.4rem; }
  .site-header nav { gap: 1rem; font-size: 0.9rem; }
}
@media (max-width: 380px) {
  .site-header nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn svg { transition: none; }
}
