/* LoveInc.AI. Colours and fonts follow Lovocca (loveinc-events-app/DESIGN.md). */
:root {
  --bg: #ffffff;
  --text: #2a1b24;
  --quiet: #75606c;
  --plum: #742a57;
  --plum-hover: #5e2146;
  --rose: #b25683;
  --blush: #fbeef3;
  --band: #f7f0f3;
  --line: #f1e5eb;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --wrap: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--plum);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--plum-hover);
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

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

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

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

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  color: var(--quiet);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--plum);
}

/* Type */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiet {
  color: var(--quiet);
}

/* Hero */
.hero {
  padding-top: 112px;
  padding-bottom: 104px;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  font-weight: 400;
}

.lede {
  max-width: 52ch;
  margin: 28px 0 0;
  color: var(--quiet);
  font-size: 20px;
  line-height: 1.55;
}

/* Bands */
.band {
  background: var(--band);
  padding: 88px 0;
}

section h2 {
  font-size: 32px;
  line-height: 1.2;
}

/* Apps */
.app-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-size: 13px;
}

.app-tag {
  background: var(--blush);
  color: #6a2550;
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 600;
}

.app-platforms {
  color: var(--quiet);
}

.app h3 {
  margin-top: 24px;
  font-size: 28px;
  line-height: 1.2;
}

.app p {
  margin: 12px 0 24px;
  color: var(--quiet);
}

.app-link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}

.app-link:hover {
  text-decoration: underline;
}

/* Company */
.company {
  padding-top: 96px;
  padding-bottom: 96px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}

.two-col > p {
  margin: 0;
  font-size: 19px;
  max-width: 46ch;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--quiet);
  font-size: 14px;
}

.facts dd {
  margin: 0;
  font-weight: 500;
}

/* Contact */
.contact-line {
  margin: 24px 0 8px;
  font-size: 22px;
  line-height: 1.45;
  max-width: 40ch;
}

.contact-line a {
  font-weight: 600;
}

a[href^="mailto:"] {
  white-space: nowrap;
}

.contact .quiet {
  margin: 0;
  max-width: 60ch;
}

/* Privacy and other text pages */
.prose {
  max-width: 720px;
  padding-top: 80px;
  padding-bottom: 96px;
}

.prose h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
}

.prose h2 {
  font-size: 24px;
  margin: 48px 0 12px;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin: 8px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-row p {
  margin: 0;
}

.footer-row nav {
  display: flex;
  gap: 20px;
}

.footer-row a {
  color: var(--quiet);
}

/* Small screens */
@media (max-width: 760px) {
  .site-header nav {
    gap: 16px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .lede {
    font-size: 18px;
  }

  .band {
    padding: 64px 0;
  }

  .app-list,
  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col {
    gap: 32px;
  }

  .app {
    padding: 24px;
  }

  .company {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 420px) {
  .site-header nav a:not(:last-child) {
    display: none;
  }
}
