/* luvkin.app public pages: the app's Card stack look (packages/ui cardStack), with cream paper,
   near-black ink, tilted pastel cards and outlined pill buttons. Ink text on every pastel. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #fffdf8;
  --paper-deep: #f7f2e6;
  --ink: #111111;
  --soft: #4a4740;
  --line: #e4ded0;
  --sun: #ffd84d;
  --mint: #8fd9c3;
  --lilac: #c7b8ff;
  --sky: #a9d4ff;
  --coral: #ff8a5b;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 17px/1.6 var(--display);
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p,
ul,
ol {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
a:hover {
  text-decoration-thickness: 2.5px;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.ink-band :focus-visible {
  outline-color: var(--sun);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* Header and footer */
.site-header {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 24px/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.site-header nav {
  display: flex;
  gap: 4px;
}
.site-header nav a {
  font-size: 16px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-header nav a:hover,
.site-header nav a[aria-current='page'] {
  border-color: var(--ink);
}
.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--paper-deep);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px var(--gutter) 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  color: var(--soft);
  font-size: 15px;
}
.footer-inner > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}
.footer-inner .brand {
  color: var(--ink);
  font-size: 20px;
}
.footer-inner .mark {
  width: 28px;
  height: 28px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-self: end;
}
.site-footer nav a {
  color: var(--ink);
  overflow-wrap: anywhere;
}

main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Shared pieces */
.eyebrow {
  font: 800 13px/1.2 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.45;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: 800 16px/1.2 var(--display);
  text-decoration: none;
  background: var(--paper);
  transition: transform 0.15s ease;
}
.pill:hover {
  transform: translateY(-2px);
}
.pill.solid {
  background: var(--ink);
  color: var(--paper);
}
.pill.on-ink {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.note {
  border: 2px dashed var(--ink);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 16px;
  background: var(--paper);
}
.email {
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(24px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 0.98;
}
.hero-copy > p:not(.lede):not(.status) {
  color: var(--soft);
  max-width: 34em;
}
.status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  font: 800 14px/1.3 var(--display);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.stack {
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 440px;
  justify-self: center;
  width: 100%;
}
.stack-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 0 var(--ink);
}
.stack-card + .stack-card {
  margin-top: -16px;
}
.card-title {
  font: 800 26px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.tilt-a {
  transform: rotate(-2deg);
}
.tilt-b {
  transform: rotate(1.5deg) translateX(14px);
}
.tilt-c {
  transform: rotate(-1deg) translateX(-6px);
}
.ticks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  transform: translateY(2px);
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
.source {
  font-size: 13px;
  align-self: flex-start;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 1px 10px;
}
.stack figcaption {
  margin-top: 22px;
  font-size: 14px;
  color: var(--soft);
  text-align: center;
}

/* Sections */
.section {
  padding: clamp(40px, 7vw, 80px) 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 32px;
}
.section-head h2,
.soon h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}
.section-head > p:last-child {
  color: var(--soft);
  font-size: 18px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pillar {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar h3 {
  font-size: 26px;
}
.pillar:nth-child(1) {
  transform: rotate(-1deg);
}
.pillar:nth-child(2) {
  transform: rotate(0.75deg) translateY(10px);
}
.pillar:nth-child(3) {
  transform: rotate(-0.5deg);
}
.sun {
  background: var(--sun);
}
.mint {
  background: var(--mint);
}
.lilac {
  background: var(--lilac);
}
.sky {
  background: var(--sky);
}

.ink-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 36px;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  margin: clamp(24px, 4vw, 48px) 0;
}
.ink-band .section-head > p:last-child {
  color: #d9d4c7;
}
.ink-band .eyebrow {
  color: var(--sun);
}
.promises {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}
.promises li {
  border-top: 2px solid #3a3833;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promises h3 {
  font-size: 20px;
}
.promises p {
  color: #d9d4c7;
}
.promises a {
  color: var(--paper);
}
.band-link {
  margin-top: 40px;
}

.soon {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px 40px;
  align-items: center;
}
.soon > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.soon > p {
  font-size: 18px;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
}
.contact-card h3 {
  font-size: 22px;
}
.contact-card p:not(:last-child) {
  color: var(--soft);
}
.contact-card .email {
  font-size: clamp(18px, 2.4vw, 22px);
  font-family: var(--display);
}

/* Inner pages */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  padding: clamp(24px, 5vw, 56px) 0 32px;
}
.page-head h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1;
}
.narrow {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
}
.panel {
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel h2 {
  font-size: 22px;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.steps li::before {
  content: counter(step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  font: 800 15px/30px var(--display);
  text-align: center;
}

/* Long text: the privacy notice and the parts of the deletion page that read like it. */
.prose {
  font-family: var(--text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-top: 28px;
  scroll-margin-top: 24px;
}
.prose h2:first-child {
  margin-top: 8px;
}
.prose ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose li::marker {
  color: var(--soft);
}
.prose strong {
  font-weight: 700;
}
.open {
  background: #fff1b3;
  color: var(--ink);
  border-bottom: 2px dotted var(--ink);
  padding: 0 2px;
  border-radius: 3px;
}
.related {
  margin-top: 24px;
}
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 32px;
}
.doc .prose {
  max-width: 720px;
}
.toc {
  position: sticky;
  top: 20px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 18px 20px;
  background: var(--lilac);
}
.toc-title {
  font: 800 13px/1.2 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.4;
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

/* Tablet and phone */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillars,
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillar:nth-child(n) {
    transform: none;
  }
  .soon,
  .doc,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer nav {
    justify-self: start;
  }
  .toc {
    position: static;
  }
  .doc {
    gap: 28px;
  }
}
@media (min-width: 560px) and (max-width: 900px) {
  .promises {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .contacts {
    grid-template-columns: minmax(0, 1fr);
  }
  .wide-only {
    display: none !important;
  }
  .site-header {
    padding-block: 14px;
  }
  .site-header nav a {
    padding: 8px 10px;
  }
  .brand {
    font-size: 22px;
  }
  .tilt-b {
    transform: rotate(1.5deg) translateX(6px);
  }
  .stack-card {
    padding: 20px 20px 28px;
  }
  .ink-band {
    border-radius: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pill {
    transition: none;
  }
  .pill:hover {
    transform: none;
  }
}
@media print {
  .site-header nav,
  .toc,
  .skip {
    display: none;
  }
  .ink-band {
    background: none;
    color: var(--ink);
  }
}
