/* Masonic Value site. One stylesheet for all three pages. */
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --navy: #14213d;
  --navy-deep: #0d162b;
  --gold: #d9a441;
  --orange: #ee6c20;
  --paper: #fdfcf8;
  --ink: #1b2233;
  --muted: #5b6477;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", "Avenir Next", "Century Gothic", "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.top { background: var(--navy); color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; letter-spacing: 0.14em; font-size: 18px; }
.brand img { height: 34px; width: auto; }
nav a { margin-left: 26px; text-decoration: none; font-size: 16px; letter-spacing: 0.06em; opacity: 0.9; }
nav a:hover { opacity: 1; text-decoration: underline; }

.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: end; padding-top: 48px; }
.hero h1 { font-size: 54px; line-height: 1.08; margin: 0 0 18px; font-weight: 700; letter-spacing: -0.01em; }
.hero p.lead { font-size: 22px; margin: 0 0 30px; color: #dfe5f2; max-width: 30em; }
.hero .copy { padding-bottom: 64px; }
.hero .art { align-self: end; text-align: center; }
.hero .art img { display: block; width: 100%; max-width: 400px; margin: 0 auto; }

form.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
form.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; padding: 15px 16px; font: inherit; border: 2px solid transparent; border-radius: 8px; color: var(--ink);
}
form.signup input[type="email"]:focus { outline: none; border-color: var(--gold); }
form.signup button {
  flex: 0 0 auto; padding: 15px 22px; font: inherit; font-weight: 700; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--gold); color: var(--navy-deep);
}
form.signup button:hover { filter: brightness(1.06); }
form.signup button[disabled] { opacity: 0.6; cursor: not-allowed; }
.hp { position: absolute; left: -5000px; }
.small { font-size: 15px; color: #b9c2d6; margin-top: 12px; max-width: 34em; }
.small a { text-decoration: underline; }
.notice { margin-top: 12px; font-size: 16px; color: var(--gold); }

section { padding: 72px 0; }
section h2 { font-size: 36px; line-height: 1.15; margin: 0 0 14px; }
section p.intro { font-size: 21px; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.guide .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.guide img { width: 100%; border-radius: 6px; box-shadow: 0 18px 40px rgba(20, 33, 61, 0.28); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
ul.ticks li { padding-left: 34px; position: relative; margin: 9px 0; }
ul.ticks li::before { content: "?"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; line-height: 24px; text-align: center;
  border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; margin-top: 3px; }
.button { display: inline-block; padding: 14px 22px; border-radius: 8px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--navy-deep); }

.videos { background: #f1eee6; }
.video-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.video-card img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 10px 26px rgba(20, 33, 61, 0.2); }
.video-card h3 { font-size: 27px; line-height: 1.2; margin: 0 0 10px; }
.tag { display: inline-block; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 8px; }

.ask { background: var(--navy); color: #fff; }
.ask p.intro { color: #cfd6e6; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two h3 { margin: 0 0 8px; font-size: 22px; }
.two p { margin: 0 0 12px; color: var(--muted); }
.two a { font-weight: 700; }

footer { background: var(--navy-deep); color: #aeb7cb; font-size: 15px; padding: 34px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #dfe5f2; }

.page { padding: 56px 0 80px; max-width: 760px; }
.page h1 { font-size: 40px; line-height: 1.15; margin: 0 0 20px; }
.page h2 { font-size: 24px; margin: 34px 0 8px; }
.todo { background: #fff3cd; border-left: 5px solid var(--gold); padding: 12px 16px; font-size: 16px; }

@media (max-width: 820px) {
  body { font-size: 18px; }
  nav a { margin-left: 16px; font-size: 15px; }
  .hero .wrap, .guide .wrap, .video-card, .two { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero .copy { padding-bottom: 8px; }
  .hero .art img { max-width: 300px; }
  .guide img { max-width: 260px; margin: 0 auto; display: block; }
  section { padding: 52px 0; }
  section h2 { font-size: 29px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
}
