/* lander-base.css — design tokens + layout primitives for shoris.org advertorial landers
   Mirrors the design tokens documented in the shoris.store Shrine theme (parent CLAUDE.md),
   reimplemented standalone (no Shopify theme dependency). */

:root {
  /* Colors (R G B triplets, used via rgb(var(--x)) / rgba(var(--x), a)) */
  --color-base-text: 18, 18, 18;
  --color-base-background-1: 255, 255, 255;
  --color-base-background-2: 243, 243, 243;
  --color-base-accent-1: 13, 31, 60;
  --color-base-accent-2: 13, 31, 60;
  --color-base-solid-button-labels: 255, 255, 255;
  --color-base-outline-button-labels: 13, 31, 60;

  /* Fonts */
  --font-heading-family: 'Poppins', sans-serif;
  --font-heading-style: normal;
  --font-heading-weight: 700;
  --font-heading-letter-spacing: 0em;
  --font-heading-scale: 1;
  --font-body-family: 'Inter', sans-serif;
  --font-body-style: normal;
  --font-body-weight: 400;

  /* Radii */
  --media-radius: 8px;
  --text-boxes-radius: 8px;
  --buttons-radius: 6px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; } /* 1rem = 10px */

body {
  margin: 0;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgb(var(--color-base-text));
  background-color: rgb(var(--color-base-background-1));
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  letter-spacing: var(--font-heading-letter-spacing);
  margin: 0;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* Layout */
.page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media screen and (min-width: 750px) {
  .page-width { padding: 0 5rem; }
}

.gradient { background-image: none; }

/* Color schemes */
.color-background-1 {
  background-color: rgb(var(--color-base-background-1));
  color: rgb(var(--color-base-text));
}
.color-background-2 {
  background-color: rgb(var(--color-base-background-2));
  color: rgb(var(--color-base-text));
}
.color-accent-1 {
  background-color: rgb(var(--color-base-accent-1));
  color: rgb(var(--color-base-solid-button-labels));
}
.color-accent-2 {
  background-color: rgb(var(--color-base-accent-2));
  color: rgb(var(--color-base-solid-button-labels));
}
.color-inverse {
  background-color: rgb(var(--color-base-text));
  color: rgb(var(--color-base-background-1));
}

/* Visibility helpers */
@media screen and (max-width: 749px) {
  .mobile-hidden { display: none !important; }
}
@media screen and (min-width: 750px) {
  .desktop-hidden { display: none !important; }
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  min-width: 12rem;
  padding: 0 3rem;
  border-radius: var(--buttons-radius);
  background-color: rgb(var(--color-base-accent-1));
  color: rgb(var(--color-base-solid-button-labels));
  border: 0.1rem solid rgb(var(--color-base-accent-1));
  font-family: var(--font-body-family);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.button:hover { opacity: 0.88; }

/* Media lazy-load (replacement for Shrine's <internal-video>) */
.adv-lazy-video {
  width: 100%;
  height: auto;
  display: block;
  background-color: rgb(var(--color-base-background-2));
}
