@charset "UTF-8";

/* ====== Theme tokens ====== */
:root{
  --bg-base: #ffffff;
  --bg-square: #f2f5fb;      /* subtle light square color */
  --text: #3C4858;

  --card-bg: #ffffff;
  --card-border: #C0CCD9;
  --card-radius: 14px;
  --card-shadow: 0 12px 28px rgba(17,24,39,.08), 0 2px 6px rgba(17,24,39,.05);

  --content-max: 640px;      /* wider than 540 for breathing room */
  --gap: 16px;
  --accent: #3E4857;            /* matches your Brevo button color */
  --accent-contrast: #ffffff;
}

/* ====== Page background: touching squares (checkerboard) ====== */
/* modern approach; widely supported */
html, body { height: 100%; }
body{
  margin: 0;
  color: var(--text);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  /* Checkerboard of tight squares, no gaps */
  background:
    conic-gradient(#0000 0 25%, var(--bg-square) 0 50%, #0000 0 75%, var(--bg-square) 0) 0 0 / 18px 18px,
    var(--bg-base);
}

/* ====== One-page intro “card” ====== */
#onepage-about{
  background: transparent;                /* let the pattern show through */
  padding: 32px 16px;                      /* L/R padding as requested */
}
.onepage-wrap{
  max-width: var(--content-max);
  margin: 24px auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);         /* card floating above background */
  padding: 20px;
}

.onepage-grid{
  display: grid;
  grid-template-columns: 1fr auto;        /* text + small image placeholder */
  gap: var(--gap);
  align-items: start;
}

.onepage-copy h2{
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 8px 0;
  font-weight: 700;
}
.onepage-copy p{
  margin: 0 0 10px 0;
  line-height: 1.55;
}
/* One-page points: accent checkmark bullets */
.onepage-points{
  list-style: none;
  margin: 0;
  padding: 0;                /* remove default indent */
  display: grid;
  gap: 10px;
  font-size: 16px;
}

.onepage-points li{
  position: relative;
  padding-left: 1.9rem;      /* space for the custom bullet */
  line-height: 1.55;
}

/* One-page points: dot bullets inside a pill */
.onepage-points{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 16px;
}
.onepage-points li{
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.55;
}
.onepage-points li::before{
  content: "\2022";                /* • bullet via Unicode escape */
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;            /* round “button” */
  background: var(--accent, #1F6357);
  color: #fff;
  font-weight: 900;                /* makes the dot look crisp */
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  /* Optional: ensure a font that definitely has • */
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

/* Small image placeholder (you can drop in an <img> inside) */
.onepage-thumb{
  width: 120px;
  height: 120px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background:
    conic-gradient(#0000 0 25%, var(--bg-square) 0 50%, #0000 0 75%, var(--bg-square) 0) 0 0 / 18px 18px,
    #fff;
  display: inline-block;
  text-decoration: none;
}
.onepage-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

/* ====== Brevo section wrapper (keeps layout tidy) ====== */
#signup{ padding: 8px 16px 40px; }
.brevo-wrap{
  max-width: 540px;
  margin: 0 auto;
}
.brevo-frame{
  width: 100%;
  border: 0;
  min-height: 1200px; /* JS in index.html still auto-resizes */
}

/* Headline badge */
.onepage-copy h2{
  font-family: "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.2;
  color: var(--accent-contrast);
  background: var(--accent);
  display: inline-block;        /* background hugs the text */
  padding: 0.35rem 0.6rem;
  margin: 0 0 8px 0;
  border-radius: 8px;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

/* Contact line spacing */
.contact-line{ margin: 14px 0 0; font-size: 15px; }

/* Mailto pill matches site accent/colors */
.mailto-pill{
  --bg: var(--accent, #1F6357);
  --fg: var(--accent-contrast, #fff);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  font-family: "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 1px 0 rgba(0,0,0,.05);
  transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
  border: 1px solid color-mix(in srgb, var(--bg), #000 10%);
}
.mailto-pill:hover{ transform: translateY(-1px); opacity: .95; }
.mailto-pill:active{ transform: translateY(0); opacity: .9; }
.mailto-pill:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--bg), #fff 60%);
  outline-offset: 2px;
}

.mail-icon{ display:inline-flex; }
.mail-icon svg{ display:block; color: var(--fg); }

/* Optional “ghost” style variant (bordered, no fill)
   Use class="mailto-pill mailto-ghost" if you prefer it */
.mailto-ghost{
  background: transparent;
  color: var(--accent, #1F6357);
  border-color: currentColor;
}
.mailto-ghost .mail-icon svg{ color: currentColor; }

/* container for the email + copyright */
.contact-block{ margin-top: 12px; }

/* row that holds the pill; copyright will break to its own row */
.contact-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* centered copyright on its own line */
.site-copyright{
  margin: 10px 0 0;
  width: 100%;              /* forces a new row under the pill */
  text-align: center;       /* center horizontally */
  font-size: 14px;
  color: #6b7280;           /* subtle gray; tweak if needed */
}

/* Footer meta card (same vibe as intro card) */
#site-meta { padding: 12px 16px 32px; }

.meta-wrap{
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 10px 14px;
}

.meta-line{
  margin: 0;
  font-size: 12px;               /* very small */
  color: #6b7280;                /* subtle grey */
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;       /* centered in the row */
  align-items: center;
}

.meta-line a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.meta-line a:hover{ opacity: .9; }
.meta-line .sep{ opacity: .5; }


/* ====== Mobile tweaks ====== */
@media (max-width: 640px){
  .onepage-grid{
    grid-template-columns: 1fr;
  }
  .onepage-thumb{
    width: 100%;
    height: 160px;
  }
}
