/* ==========================================================================
   Uppzy Software — corporate site
   Paper + ink base, Uppzy blue as the signal colour.
   Product chapters carry their own palettes (event: graphite/orange,
   Croco Story: night violet/yellow/green).
   ========================================================================== */

:root {
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --ink: #0d0e12;
  --ink-2: #33353d;
  --mute: #6c6f78;
  --line: rgba(13, 14, 18, 0.12);
  --line-strong: rgba(13, 14, 18, 0.28);

  --blue: #1447e6;
  --blue-deep: #0d32a8;

  --event: #ff5a1f;
  --event-panel: #1b1c1f;
  --event-line: rgba(255, 255, 255, 0.1);

  --croco-green: #3fb968;
  --croco-green-deep: #2e8a4c;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ----- Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(243, 240, 232, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 22px;
  height: auto;
}

.brand span {
  color: var(--mute);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.lang a {
  color: var(--mute);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 999px;
  transition: color 0.2s ease;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: var(--blue);
}

.btn-line {
  border: 1px solid var(--line-strong);
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

a:hover .arrow {
  transform: translate(3px, -3px);
}

a:hover .arrow.down {
  transform: translateY(3px);
}

/* ----- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 1032px);
  margin-top: -72px;
  padding: calc(72px + clamp(48px, 8vh, 96px)) 0 clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero-tiles {
  --cell: clamp(44px, 4.2vw, 64px);
  --gap: clamp(8px, 0.8vw, 12px);
  position: absolute;
  z-index: -1;
  top: 72px;
  bottom: 0;
  right: calc(var(--cell) * -0.4);
  width: 40%;
  display: grid;
  grid-auto-rows: var(--cell);
  gap: var(--gap);
  justify-content: end;
  align-content: start;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32%), linear-gradient(to bottom, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 32%), linear-gradient(to bottom, #000 80%, transparent);
  mask-composite: intersect;
}

.hero-tiles i {
  display: block;
  width: var(--cell);
  height: var(--cell);
  background: var(--paper-2);
  border: 1.5px solid transparent;
  border-radius: 0;
  opacity: 0;
  transform: scale(0.6);
  transition:
    background-color 0.7s ease,
    border-color 0.7s ease,
    border-radius 0.9s var(--ease),
    opacity 0.8s ease var(--in, 0s),
    transform 0.9s var(--ease) var(--in, 0s);
}

.hero-tiles.is-ready i {
  opacity: 1;
  transform: none;
}

.hero-tiles i[data-s="o"] {
  background: transparent;
  border-color: var(--ink);
}

.hero-tiles i[data-s="e"] {
  background: transparent;
}

.hero-tiles i[data-s="q"] {
  background: var(--blue);
}

.hero-tiles i[data-s="q"][data-c="o"] {
  background: var(--event);
}

.hero-tiles i[data-s="q"][data-c="g"] {
  background: var(--croco-green);
}

.hero-tiles i[data-s="q"][data-r="0"] {
  border-radius: 100% 0 0 0;
}

.hero-tiles i[data-s="q"][data-r="1"] {
  border-radius: 0 100% 0 0;
}

.hero-tiles i[data-s="q"][data-r="2"] {
  border-radius: 0 0 100% 0;
}

.hero-tiles i[data-s="q"][data-r="3"] {
  border-radius: 0 0 0 100%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero .eyebrow {
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  margin-top: 0;
  max-width: 8em;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  animation: rise 1s var(--ease) 0.08s both;
}

.hero h1 .serif {
  color: var(--blue);
  font-size: 1.08em;
  letter-spacing: -0.01em;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 40px;
  width: min(100%, 720px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  animation: rise 1s var(--ease) 0.16s both;
}

.hero-intro {
  max-width: 34ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-soft {
  background: var(--paper-2);
}

.btn-soft:hover {
  background: #dcd7ca;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ----- Product index ----------------------------------------------------- */

.index {
  border-top: 1px solid var(--ink);
}

.index-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}

.index-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.8fr) 40px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate;
}

.index-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--row-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}

.index-row:hover::before,
.index-row:focus-visible::before {
  transform: scaleY(1);
}

.index-row > * {
  transition: color 0.3s ease;
}

.index-row:hover > *,
.index-row:focus-visible > * {
  color: #fff;
}

.index-num {
  color: var(--mute);
}

.index-name {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.index-desc {
  color: var(--ink-2);
  font-size: 16px;
}

.index-tag {
  color: var(--mute);
}

.index-go {
  justify-self: end;
  font-size: 22px;
}

/* ----- Statement --------------------------------------------------------- */

.statement {
  padding: clamp(80px, 12vw, 180px) 0;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 32px;
}

.statement .statement-label {
  color: var(--mute);
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.statement p {
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.statement p .dim {
  color: #a5a7ad;
}

.statement .serif {
  color: var(--blue);
}

/* ----- Shared chapter styles --------------------------------------------- */

.chapter {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0;
}

.chapter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid currentColor;
}

.chapter-top .left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chapter-num {
  opacity: 0.6;
}

.product-logo {
  font-family: var(--sans);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.chapter h2 {
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.chapter .lede {
  margin-top: 28px;
  max-width: 44ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.chapter-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ----- Products ------------------------------------------------------- */

.product {
  background: var(--paper);
}

.product + .product {
  padding-top: 0;
}

.product .chapter-top {
  border-color: var(--line-strong);
}

.product-logo img {
  width: 18px;
}

.product-logo b {
  color: var(--accent);
  font-weight: 600;
}

.product h2 em {
  font-style: normal;
  color: var(--accent);
}

.product .lede {
  color: var(--ink-2);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.product-grid.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.product-grid.reverse .product-copy {
  order: 2;
}

.audience {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audience li {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
}

.stage {
  position: relative;
  border-radius: 28px;
  background: var(--paper-2);
  padding: clamp(20px, 3.5vw, 48px);
}

.stage-croco {
  padding: 0;
  overflow: hidden;
}

/* Session board — a faithful, simplified recreation of the product UI. */
.board {
  position: relative;
  color: #f4f2ee;
  background: var(--event-panel);
  border: 1px solid var(--event-line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 90, 31, 0.05);
}

.board-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(244, 242, 238, 0.55);
}

.board-bar .url {
  display: flex;
  align-items: center;
  gap: 10px;
}

.board-bar .dots {
  display: flex;
  gap: 6px;
}

.board-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.board-inner {
  background: #0f1012;
  border-radius: 12px;
  padding: clamp(16px, 2.4vw, 26px);
}

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.board-head .board-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--event);
}

.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--event);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.sessions {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sessions th {
  text-align: left;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.4);
  padding: 0 8px 12px 0;
  border-bottom: 1px solid var(--event-line);
}

.sessions td {
  padding: 13px 8px 13px 0;
  border-bottom: 1px solid var(--event-line);
  color: rgba(244, 242, 238, 0.86);
  vertical-align: middle;
}

.sessions tr:last-child td {
  border-bottom: 0;
}

.sessions .t {
  font-family: var(--mono);
  color: rgba(244, 242, 238, 0.5);
  width: 64px;
}

.sessions .p {
  font-weight: 600;
}

.sessions .w {
  color: rgba(244, 242, 238, 0.5);
}

.cap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 112px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(244, 242, 238, 0.6);
}

.cap-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cap-bar i {
  display: block;
  height: 100%;
  width: var(--v);
  background: #f4f2ee;
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}

.is-in .cap-bar i {
  transform: scaleX(1);
}

.cap.full {
  color: var(--event);
}

.cap.full .cap-bar i {
  background: var(--event);
}

.board-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(244, 242, 238, 0.45);
}

.board-stat {
  position: absolute;
  right: -24px;
  bottom: -36px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--event);
  color: #120a06;
  box-shadow: 0 20px 40px -16px rgba(255, 90, 31, 0.6);
}

.board-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.board-stat span {
  font-size: 13px;
  font-weight: 500;
}

.stores {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.stores a {
  display: block;
  transition: transform 0.25s var(--ease);
}

.stores a:hover {
  transform: translateY(-2px);
}

.stores img {
  height: 44px;
  width: auto;
}

/* Phones */
.phones {
  position: relative;
  height: clamp(420px, 42vw, 580px);
}

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 640 / 1386;
  border-radius: clamp(26px, 3vw, 38px);
  padding: 6px;
  background: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 40px 60px -28px rgba(13, 14, 18, 0.45);
  transition: transform 0.8s var(--ease);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: clamp(20px, 2.5vw, 32px);
}

.phone.p1 {
  transform: translate(-128%, -46%) rotate(-7deg);
}

.phone.p2 {
  z-index: 2;
  transform: translate(-50%, -54%);
}

.phone.p3 {
  transform: translate(28%, -46%) rotate(7deg);
}

.phones:not(.is-in) .phone.p1 {
  transform: translate(-50%, -40%) rotate(0);
}

.phones:not(.is-in) .phone.p3 {
  transform: translate(-50%, -40%) rotate(0);
}

/* ----- Principles -------------------------------------------------------- */

.principles {
  padding: clamp(80px, 11vw, 160px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head .mono {
  color: var(--mute);
  padding-top: 12px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-head h2 .serif {
  color: var(--blue);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.principle-list li {
  padding: 22px 24px 8px 0;
}

.principle-list li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.principle-list .mono {
  color: var(--blue);
}

.principle-list h3 {
  margin-top: 56px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.principle-list p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--ink-2);
}

/* ----- Company / facts --------------------------------------------------- */

.company {
  padding-bottom: clamp(80px, 11vw, 160px);
}

.company .section-head h2.company-lede {
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.facts > div {
  padding: 22px 24px 8px 0;
}

.facts > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.facts dt {
  color: var(--blue);
}

.facts dd {
  margin: 40px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.facts a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.facts a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ----- FAQ --------------------------------------------------------------- */

.faq {
  padding-bottom: clamp(80px, 11vw, 160px);
}

.faq-list {
  margin-left: calc((100% - 32px) / 4 + 32px);
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font: 400 26px/1 var(--sans);
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item p {
  max-width: 64ch;
  padding-bottom: 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.faq-item a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 71, 230, 0.35);
}

/* ----- Contact ----------------------------------------------------------- */

.contact {
  background: var(--blue);
  color: #fff;
  padding: clamp(80px, 11vw, 160px) 0 clamp(56px, 6vw, 80px);
  overflow: hidden;
}

.contact .mono {
  color: rgba(255, 255, 255, 0.7);
}

.contact h2 {
  margin-top: 24px;
  font-size: clamp(48px, 9vw, 150px);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact h2 .serif {
  font-size: 1.05em;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.mail:hover {
  border-color: #fff;
}

.contact-meta {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 15px;
}

.contact-meta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-meta a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-meta a:hover {
  border-color: #fff;
}

/* ----- Footer ------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: rgba(243, 240, 232, 0.6);
  padding: 40px 0 0;
  overflow: hidden;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 14px;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-row a {
  text-decoration: none;
}

.footer-row a:hover {
  color: #fff;
}

.wordmark {
  margin-top: 40px;
  font-size: clamp(80px, 21vw, 340px);
  line-height: 0.72;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--paper);
  white-space: nowrap;
  transform: translateY(6%);
  user-select: none;
}

.wordmark span {
  color: var(--blue);
}

/* ----- Reveal ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1100px) {
  .hero-foot {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 560px);
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .facts dd {
    margin-top: 20px;
  }

  .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .principle-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    align-items: flex-start;
    min-height: 0;
    padding-bottom: 320px;
  }

  .hero-tiles {
    top: auto;
    height: 300px;
    left: 0;
    right: calc(var(--cell) * -0.4);
    width: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 75%, transparent);
  }

  .product-grid,
  .product-grid.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid.reverse .product-copy {
    order: 0;
  }

  .index-row {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 6px 16px;
  }

  .index-desc {
    grid-column: 2;
    grid-row: 2;
  }

  .index-tag {
    display: none;
  }

  .index-go {
    grid-column: 3;
    grid-row: 1;
  }

  .faq-list {
    margin-left: 0;
  }

  .statement-grid,
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .board-stat {
    right: 12px;
    bottom: -36px;
  }

  .contact-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .brand span,
  .header-actions .btn {
    display: none;
  }

  .chapter-top .mono:last-child {
    display: none;
  }

  .sessions .w {
    display: none;
  }

  .board-stat {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-block;
    margin: 12px 0 0 8px;
  }


  .cap {
    min-width: 84px;
  }

  .principle-list,
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts > div,
  .facts > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .facts > div + div {
    border-top: 1px solid var(--line);
  }

  .principle-list li,
  .principle-list li + li {
    padding-left: 0;
    border-left: 0;
  }

  .principle-list li + li {
    border-top: 1px solid var(--line);
  }

  .principle-list h3 {
    margin-top: 24px;
  }

  .phone {
    width: 150px;
  }

  .phones {
    height: 420px;
  }

  .phone.p1 {
    transform: translate(-112%, -46%) rotate(-7deg);
  }

  .phone.p3 {
    transform: translate(12%, -46%) rotate(7deg);
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
