/* lemmegig.com: the website (static, no scripts). The app lives at
 * lemmegig.app (docs/app-domain-proposal.md). Light theme. */

@font-face {
  font-family: 'Onest';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/onest-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/onest-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/onest-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/unbounded-latin-800-normal.woff2') format('woff2');
}

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

html,
body {
  margin: 0;
  background: #faf8f3;
  font-family: 'Onest', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* Buttons are links here (they open the app at lemmegig.app). */
.landing a {
  color: inherit;
  text-decoration: none;
}

.landing-cta,
.landing-secondary {
  display: inline-block;
}

.landing {
  --bg: #faf8f3;
  --surface: #ffffff;
  --text: #141316;
  --text-muted: rgba(20, 19, 22, 0.66);
  --border: rgba(20, 19, 22, 0.1);
  --accent: #f5ce45;
  /* The yellow is too light for text on a light page; this gold passes AA. */
  --accent-ink: #8a6a00;
  --accent-soft: #fdf2c4;
  --device: #16161a;
  --shadow: 0 30px 60px -20px rgba(40, 30, 0, 0.28), 0 12px 24px -12px rgba(20, 19, 22, 0.18);

  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
  padding: 1rem 1.25rem 3rem;
  color: var(--text);
  overflow: hidden;
  font-size: 1rem;

  /* Warm stage light: soft yellow and peach glows from the top. */
  background-color: var(--bg);
  background-image:
    radial-gradient(55% 40% at 15% 0%, rgba(245, 206, 69, 0.35), transparent 70%),
    radial-gradient(50% 35% at 90% 5%, rgba(255, 170, 90, 0.22), transparent 70%),
    radial-gradient(60% 30% at 50% 100%, rgba(245, 206, 69, 0.14), transparent 70%);
}

.landing h1,
.landing h2 {
  font-family: 'Unbounded', 'Onest', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

/* --- nav ------------------------------------------------------------------ */

.landing-nav {
  width: 100%;
  max-width: 72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Unbounded', 'Onest', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.landing-brand img {
  width: 36px;
  height: auto;
}

.landing-brand b {
  color: var(--accent-ink);
}

.landing-link {
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

/* --- hero ----------------------------------------------------------------- */

.landing-hero {
  width: 100%;
  max-width: 72rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 3rem;
}

.landing-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.landing-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
}

.landing-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-tagline {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.landing-cta,
.landing-secondary {
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.landing-cta {
  background: var(--accent);
  color: #141316;
  border: 0;
  box-shadow: 0 8px 20px -8px rgba(180, 140, 0, 0.6);
}

.landing-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.landing-cta:focus-visible,
.landing-secondary:focus-visible,
.landing-link:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

.landing-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* The app on a laptop, with the phone in front of its lower-left corner. */
.landing-hero-visual {
  position: relative;
  padding: 0 0 3.5rem 4.5rem;
}

.landing-browser {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.landing-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 2.1rem;
  padding: 0 0.8rem;
  background: #eeedf1;
  position: relative;
}

.landing-browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.landing-browser-bar i:nth-child(2) {
  background: #febc2e;
}

.landing-browser-bar i:nth-child(3) {
  background: #28c840;
}

.landing-browser-bar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 1.5rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.landing img {
  display: block;
  max-width: 100%;
  height: auto;
}

.landing-phone {
  padding: 0.5rem;
  border-radius: 2.4rem;
  background: var(--device);
  box-shadow: var(--shadow);
}

.landing-phone img {
  width: 100%;
  border-radius: 1.95rem;
}

.landing-hero-phone {
  position: absolute;
  left: 0;
  top: 5rem;
  width: 24%;
}

/* --- beta note ------------------------------------------------------------ */

/* Honest about the testing phase without hiding the page behind a banner. */
.landing-beta {
  max-width: 44rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(138, 106, 0, 0.3);
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* --- features: phone + text, alternating sides ------------------------------ */

.landing-features {
  width: 100%;
  max-width: 64rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.landing-feature {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
}

.landing-feature:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
}

.landing-feature:nth-child(even) .landing-phone {
  order: 2;
}

.landing-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.landing-feature-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.landing-feature-text p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 32rem;
}

.landing-kicker {
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- devices -------------------------------------------------------------- */

.landing-devices {
  width: 100%;
  max-width: 64rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: center;
  gap: 4rem;
  padding: 3rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.landing-tablet {
  padding: 0.7rem;
  border-radius: 1.6rem;
  background: var(--device);
  box-shadow: var(--shadow);
}

.landing-tablet img {
  border-radius: 1rem;
}

.landing-audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-audiences li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- closing call to action ----------------------------------------------- */

.landing-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.landing-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.landing-final p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.landing-footer {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.landing-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- legal pages (/privacy, /terms) ----------------------------------------- */

/* Generated from the workspace's legal-*-draft.md; long text, so a narrow,
 * calm column instead of the landing page's big gaps. */
.landing-legal {
  gap: 2.5rem;
}

.legal {
  width: 100%;
  max-width: 46rem;
  line-height: 1.6;
}

.legal h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.legal h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.legal a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal-table {
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 36rem;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

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

.legal th {
  font-weight: 700;
  background: var(--accent-soft);
}

/* Phones: each row becomes a card, every cell labelled with its column. */
@media (max-width: 720px) {
  .legal table,
  .legal tbody,
  .legal tr,
  .legal td {
    display: block;
    min-width: 0;
  }
  .legal thead {
    display: none;
  }
  .legal tr {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }
  .legal tr:last-child {
    border-bottom: 0;
  }
  .legal td {
    border: 0;
    padding: 0.25rem 0.9rem;
  }
  .legal td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
  }
}

/* --- tablets and phones --------------------------------------------------- */

@media (max-width: 900px) {
  .landing {
    gap: 4rem;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .landing-hero-text {
    align-items: center;
    text-align: center;
  }

  .landing-actions {
    justify-content: center;
  }

  .landing-devices {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2.5rem;
  }

  .landing-tablet {
    max-width: 22rem;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  /* One column: text first, then the phone, centred. */
  .landing-feature,
  .landing-feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landing-feature .landing-phone,
  .landing-feature:nth-child(even) .landing-phone {
    order: 2;
    width: min(16rem, 75%);
    margin: 0 auto;
  }

  .landing-feature-text {
    text-align: center;
    align-items: center;
  }

  /* The laptop screenshot is unreadable this small: show the phone alone. */
  .landing-browser {
    display: none;
  }

  .landing-hero-visual {
    padding: 0;
  }

  .landing-hero-phone {
    position: static;
    width: min(16rem, 75%);
    margin: 0 auto;
  }

  .landing-audiences {
    justify-content: center;
  }
}

.landing-final h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
