@import url("fonts.css");

/* ============================================================================
   eKultura landing page.
   Monochrome: the only colour comes from the product screenshots and the
   exhibition artwork. Tokens below are deliberately few - three text levels,
   one divider, one frame, two buttons, the app's own radius scale.
   Zero JavaScript, zero third-party requests.
   ========================================================================== */

:root {
  /* Surfaces */
  --paper: #f7f5f2;
  --paper-2: #f1eee9;
  --white: #ffffff;
  --dark: #16181c;

  /* Text - exactly four levels, nothing else */
  --ink: #16181c; /* 16.3 : 1  headings */
  --text: #37332f; /* 11.5 : 1  body */
  --text-2: #56504a; /*  7.3 : 1  secondary */
  --meta: #6a645c; /*  5.4 : 1  labels, smallest type */
  --on-dark: #f7f5f2; /* 16.3 : 1 */
  --on-dark-2: #aba69f; /*  7.4 : 1 */

  /* Action - the app's own primary token */
  --action: #202327;
  --action-hover: #0e0f12;

  /* One divider, one frame */
  --line: #e3dfd9;
  --frame: #cbc5bc;
  --line-dark: #2c3036;

  /* Radii - taken from the app's scale, not invented */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  /* Rhythm */
  --sp-compact: clamp(36px, 4.4vw, 58px);
  --sp-normal: clamp(60px, 7vw, 104px);
  --sp-pause: clamp(84px, 11vw, 160px);

  --page: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17.5px/1.62 var(--sans);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Focus and hover are part of the product feel, not an afterthought. */
a,
summary {
  transition:
    color 0.12s ease,
    background-color 0.12s ease,
    box-shadow 0.12s ease;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.invert a:focus-visible,
.invert summary:focus-visible {
  outline-color: var(--on-dark);
}

.skip {
  position: absolute;
  left: -9999px;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 99;
  font: 600 15.5px/1 var(--sans);
  text-decoration: none;
}
.skip:focus {
  left: 0;
}

/* ── grid ──────────────────────────────────────────────────────────────── */

.page {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.g12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.g12.top {
  align-items: start;
}

/* Shared column anchors - every section uses these, nothing is placed by eye. */
.col-main {
  grid-column: 1 / span 5;
}
.col-wide {
  grid-column: 1 / span 6;
}
.col-aside {
  grid-column: 8 / span 5;
}
.col-visual {
  grid-column: 7 / span 6;
}
.col-full {
  grid-column: 1 / span 12;
}
@media (max-width: 900px) {
  .g12 {
    grid-template-columns: minmax(0, 1fr);
  }
  .g12 > * {
    grid-column: auto !important;
  }
}

.s-compact {
  padding: var(--sp-compact) 0;
}
.s-normal {
  padding: var(--sp-normal) 0;
}
.s-pause {
  padding: var(--sp-pause) 0;
}
.ruled {
  border-top: 1px solid var(--line);
}

/* ── type ──────────────────────────────────────────────────────────────── */

/* Reserved for major page chapters only - five on the whole page. */
.eyebrow {
  font: 600 13px/1.4 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--meta);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--frame);
  flex: none;
}

h1,
h2,
.statement,
.principles li {
  font-family: var(--serif);
  letter-spacing: -0.021em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  line-height: 1.03;
  font-weight: 700;
  margin: 0 0 1.4rem;
}
h2 {
  font-size: clamp(1.95rem, 3.4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 1.1rem;
}
.statement {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
}
.statement.end {
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0;
}

h3 {
  font: 600 1.2rem/1.32 var(--sans);
  letter-spacing: -0.006em;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
  max-width: 58ch;
  color: var(--text);
}
.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 44ch;
}
.sub {
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 42ch;
}
.small {
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 52ch;
}
strong,
b {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--text-2);
}

/* ── controls - exactly two ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 34px;
  background: var(--action);
  color: var(--white);
  font: 600 17px/1 var(--sans);
  text-decoration: none;
  border: 1px solid var(--action);
  border-radius: var(--r-md);
}
.btn:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--white);
}
.btn-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font: 500 17px/1 var(--sans);
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--frame);
}
.btn-quiet:hover {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}
.actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.75rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* ── header ────────────────────────────────────────────────────────────── */

.bar {
  border-bottom: 1px solid var(--line);
}
.bar .page {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.mark svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.mark b {
  font: 700 1.15rem/1 var(--serif);
  letter-spacing: -0.018em;
}
.bar nav {
  display: flex;
  gap: 1.7rem;
  font: 400 15.5px/1 var(--sans);
}
.bar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--text-2);
  box-shadow: inset 0 0 0 var(--ink);
}
.bar nav a:hover {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}
.bar .cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 600 15.5px/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--ink);
}
.bar .cta:hover {
  box-shadow: inset 0 -2px 0 var(--ink);
}
@media (max-width: 900px) {
  .bar nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.2rem 1.3rem;
    border-top: 1px solid var(--line);
  }
  .bar nav a {
    font-size: 14.5px;
  }
}

/* ── hero ──────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 64px);
}

/* The exhibition is the image; the product sits inside it. No card, no
   gradient, no heavy shadow - the artwork carries the visual character. */
.stage {
  position: relative;
  padding-bottom: clamp(28px, 4vw, 56px);
}
.stage .room {
  margin: 0;
  width: 100%;
}
.stage .room img {
  width: 100%;
  border-radius: var(--r-md);
}
.stage .device {
  position: absolute;
  right: clamp(-14px, -1.4vw, 0px);
  bottom: -6px;
  margin: 0;
  width: clamp(124px, 14.6vw, 198px);
}
.stage .device img {
  width: 100%;
  border: 1px solid var(--frame);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 18px 40px -26px rgba(22, 24, 28, 0.55);
}
.stage figcaption {
  margin-top: 0.9rem;
  font: 600 13px/1.4 var(--sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--meta);
}
.stage .room figcaption {
  max-width: 58%;
}
@media (max-width: 900px) {
  .stage {
    margin-top: 2.25rem;
  }
  .stage .device {
    width: min(31vw, 158px);
  }
}

/* ── proof ─────────────────────────────────────────────────────────────── */

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}
.proof > div {
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem;
}
.proof .big {
  display: block;
  font: 600 clamp(2.1rem, 3.6vw, 2.95rem) / 1.04 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 0.55rem;
  max-width: none;
}
.proof p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text-2);
  max-width: 26ch;
}
@media (max-width: 760px) {
  .proof {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
}

/* ── steps ─────────────────────────────────────────────────────────────── */

.steps-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.sticky-ui {
  position: sticky;
  top: clamp(24px, 8vh, 72px);
  margin: 0;
}
.sticky-ui img {
  width: min(100%, 330px);
  margin: 0 auto;
  border: 1px solid var(--frame);
  border-radius: var(--r-lg);
  background: var(--white);
}
.sticky-ui figcaption {
  font: 400 14.5px/1.5 var(--sans);
  color: var(--text-2);
  text-align: center;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
  border-top: 1px solid var(--line);
}
ol.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0 1.4rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
}
ol.steps li::before {
  content: "0" counter(s);
  font: 600 13px/2.1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--meta);
}
ol.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}
ol.steps p {
  margin: 0;
  font-size: 1.04rem;
  max-width: 42ch;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .steps-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .sticky-ui {
    position: static;
    order: -1;
    margin-bottom: 2.25rem;
  }
}

/* ── annotated screenshot ──────────────────────────────────────────────── */

.shot {
  border: 1px solid var(--frame);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}
/* ── visitor journey - the label belongs to the screen ─────────────────── */

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px); /* same track gap as .proof */
  margin-top: clamp(32px, 4.5vw, 56px);
  align-items: end;
}
.journey figure {
  margin: 0;
}
.journey figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  font: 700 1.45rem/1.2 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.journey figcaption span {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.08em;
  color: var(--meta);
  font-variant-numeric: tabular-nums;
}
.journey img {
  width: 100%;
  border: 1px solid var(--frame);
  border-radius: var(--r-lg);
  background: var(--white);
}
@media (max-width: 820px) {
  .journey {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .journey figure {
    max-width: 330px;
  }
}

/* ── capability ledger - the page's one text-only band ─────────────── */

/* One step down from --paper, exactly as the footer does it. Marks the band as
   a reference page and steps the page down into the dark poster below. */
.recessed {
  background: var(--paper-2);
}

.caps {
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem; /* = .proof > div */
}
.caps + .caps {
  margin-top: clamp(38px, 4.6vw, 68px);
}
.caps > h3 {
  font: 400 clamp(1.35rem, 1.9vw, 1.6rem) / 1.25 var(--serif);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

/* A capability is separated by a rule across all twelve columns. */
.cap {
  padding: 1.65rem 0; /* = ol.steps li */
  border-bottom: 1px solid var(--line);
}
.caps > h3 + .cap {
  border-top: 1px solid var(--line);
}
.cap h4 {
  font: 600 1.3rem/1.32 var(--sans); /* = ol.steps h3 */
  letter-spacing: -0.006em;
  color: var(--ink);
  margin: 0;
}
.cap p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 50ch;
}

/* A sub-capability is separated by the same rule across six columns only.
   Rule length carries the hierarchy; there is no marker and no indent. */
.cap ul {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}
.cap li {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  margin-top: 0.7rem;
  font-size: 1.04rem; /* the page floor, = .small */
  line-height: 1.5;
  color: var(--text-2);
  max-width: 50ch;
}
.cap li:first-child {
  margin-top: 0;
}

/* ── dark poster - full viewport width, content on the same grid ───── */

.invert {
  background: var(--dark);
}
.invert h2,
.invert .statement,
.invert .principles li {
  color: var(--on-dark);
}
.invert p {
  color: var(--on-dark-2);
}
.invert .eyebrow {
  color: var(--on-dark-2);
}
.invert .eyebrow::before {
  background: var(--line-dark);
}
.invert a {
  color: var(--on-dark);
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}
.principles li {
  font-size: clamp(1.8rem, 3.9vw, 3rem);
  line-height: 1.16;
  font-weight: 400;
  padding: clamp(17px, 2.2vw, 28px) 0;
  border-bottom: 1px solid var(--line-dark);
}

/* ── case study ────────────────────────────────────────────────────────── */

.case {
  border-top: 2px solid var(--ink);
  padding-top: clamp(26px, 3.2vw, 40px);
}
.case-hero img {
  width: 100%;
  border: 1px solid var(--frame);
  border-radius: var(--r-md);
}
.case-name {
  font: 600 1.15rem/1.3 var(--sans);
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.facts {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}
.facts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font: 400 1.06rem/1.45 var(--sans);
  color: var(--text-2);
}
.facts li:first-child {
  border-top: 1px solid var(--line);
}
.facts b {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: 1.12rem;
}

/* ── language pair ─────────────────────────────────────────────────────── */

.pair {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  align-items: flex-start;
}
.pair figure {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}
.pair img {
  width: 100%;
  border: 1px solid var(--frame);
  border-radius: var(--r-lg);
  background: var(--white);
}
.pair figcaption {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--meta);
}

/* ── practical reasons - four, no more ─────────────────────────────────── */

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 52px) clamp(32px, 5vw, 80px);
  margin-top: clamp(32px, 4vw, 52px);
}
.reasons > div {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.reasons h3 {
  font-size: 1.26rem;
  margin-bottom: 0.4rem;
}
.reasons p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.52;
  color: var(--text-2);
  max-width: 38ch;
}
@media (max-width: 760px) {
  .reasons {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
}

/* ── FAQ - native disclosure, no JS ────────────────────────────────────── */

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font: 600 1.2rem/1.35 var(--sans);
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--frame);
  border-radius: 50%;
  font: 400 1.35rem/1 var(--sans);
  color: var(--text-2);
  flex: none;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq summary:hover {
  color: var(--text-2);
}
.faq summary:hover::after {
  color: var(--ink);
  border-color: var(--ink);
}
.faq details[open] summary::after {
  border-color: var(--ink);
  color: var(--ink);
}
.faq .a {
  padding: 0 0 1.9rem;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-2);
}
.faq .a p {
  margin: 0 0 0.7rem;
  color: inherit;
  font-size: inherit;
  max-width: none;
}
.faq .a p:last-child {
  margin-bottom: 0;
}

/* ── store badges ──────────────────────────────────────────────────────── */

.badges {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding: 8px 15px;
  border: 1px solid var(--frame);
  border-radius: var(--r-md);
}
.badge b {
  font: 600 15px/1.25 var(--sans);
  color: var(--text);
}
.badge span {
  font: 600 11px/1.3 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--meta);
}

/* ── footer ────────────────────────────────────────────────────────────── */

footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: var(--sp-normal) 0 clamp(36px, 4.5vw, 60px);
  font: 400 16.5px/1.6 var(--sans);
  color: var(--text-2);
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem clamp(24px, 4vw, 64px);
}
@media (max-width: 760px) {
  footer .cols {
    grid-template-columns: minmax(0, 1fr);
  }
}
footer .mark svg {
  width: 32px;
  height: 32px;
}
footer .mark b {
  font-size: 1.32rem;
}
footer h4 {
  font: 600 13px/1.4 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--meta);
  margin: 0 0 1rem;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer li {
  margin: 0 0 0.45rem;
  color: var(--text-2);
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-2);
  text-decoration: none;
  box-shadow: inset 0 0 0 var(--ink);
}
footer a:hover {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}
footer .brandline {
  font: 400 1.22rem/1.45 var(--serif);
  color: var(--ink);
  max-width: 28ch;
  margin: 1.1rem 0 0;
}
footer .legal {
  margin-top: var(--sp-compact);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer .legal p {
  margin: 0;
  max-width: 66ch;
  color: var(--meta);
  font-size: 15px;
}
