:root {
  --brand: #051169;
  --accent: #ffcc00;
  --ink: #1a1a1a;
  --bg: #f4f6fb;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

/* Access Gate */
.access-card {
  text-align: center;
  padding: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
}

input[type="text"] {
  padding: 10px;
  width: 80%;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 20px;
  font-size: 16px;
}

.btn-primary {
  margin-top: 12px;
  padding: 10px 20px;
  background-color: var(--accent);
  color: var(--brand);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

#accessMessage {
  margin-top: 14px;
  font-size: 16px;
  color: #ff5b5b;
}

/* Navbar */
.top-navbar {
  background: var(--brand);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-left img { height: 40px; }
.nav-right a { color: #fff; text-decoration: none; font-weight: bold; font-size: 18px; }

/* Layout */
.section-wrap { padding: 20px; }
.stripe-container { padding: 16px 0; display: flex; justify-content: center; }

.card {
  padding: 16px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.sub-header {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  color: var(--brand);
}

/* Grids */
.grid {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.grid-button {
  font-size: 14px;
  padding: 10px 8px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--brand);
  transition: background-color .2s;
}

.grid-button:hover {
  background-color: #ffdb4d;
  color: var(--brand);
}

/* Embeds */
.canva-embed {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px auto;
}
.canva-embed iframe {
  width: 100%;
  height: 500px;
  border: none;
}
