/* majorcommons.com: one static page. Colors match the app and the approved icon. */
:root {
  --navy: #172a45;
  --navy-2: #213a5e;
  --red: #b21f2d;
  --pale: #fff8d8;
  --gold: #f5c542;
  --blue: #2769b0;
  --ink: #1f2937;
  --muted: #5b6777;
  --paper: #f8fafc;
  --tint: #eef3f8;
  --line: #d9e1ea;
  --white: #fff;
  --radius: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.15; }
h1, h2 { font-family: var(--serif); letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: .18em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .6rem 1rem; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--red); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--red); text-decoration: underline; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1.3rem; border: 2px solid var(--navy); border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { background: var(--navy-2); }
.button-small { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.button-gold { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.button-gold:hover { border-color: #e8b52c; background: #e8b52c; }
.button-outline { border-color: rgba(255, 255, 255, .75); background: transparent; color: var(--white); }
.button-outline:hover { background: rgba(255, 255, 255, .12); }
.hero .button:focus-visible, .contact .button:focus-visible { outline-color: var(--gold); }

/* Hero */
.hero { padding: 4.5rem 0 4rem; background: var(--navy); color: #dce6f2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3.5rem; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.35rem, 5.2vw, 3.6rem); }
.lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.fine-print { margin-top: .8rem; color: #b9c7d8; font-size: .92rem; }

.eyebrow { margin-bottom: .7rem; color: var(--red); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: var(--pale); }

.phone { margin: 0; justify-self: center; width: min(100%, 300px); padding: 10px; border-radius: 34px; background: #0e1a2c; box-shadow: 0 24px 60px rgba(4, 12, 24, .35); }
.phone img { border-radius: 24px; }
.phone-small { width: min(100%, 250px); }

/* Sections */
.section { padding: 5rem 0; }
.section-tint { background: var(--tint); }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-intro { margin-top: 1rem; max-width: 42rem; color: var(--muted); font-size: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.feature { padding: 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); background: var(--white); }
.feature h3 { font-size: 1.15rem; }
.feature p { margin-top: .5rem; color: var(--muted); }
.note-line { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1.5rem; color: var(--muted); }
.dot { flex: none; width: .7rem; height: .7rem; margin-top: .48rem; border-radius: 50%; background: var(--red); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

.pairs { margin: 1.75rem 0 0; }
.pairs div + div { margin-top: 1.25rem; }
.pairs dt { color: var(--navy); font-weight: 800; font-size: 1.1rem; }
.pairs dd { margin: .25rem 0 0; color: var(--muted); }

.shots { display: flex; justify-content: center; align-items: flex-end; gap: 1.25rem; }
.card-shot { margin: 0 0 1.5rem; width: min(100%, 230px); padding: 8px; border-radius: 18px; background: var(--white); box-shadow: 0 14px 40px rgba(23, 42, 69, .14); }
.card-shot img { border-radius: 12px; }

.check-list { margin: 1.75rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; color: var(--muted); }
.check-list li + li { margin-top: 1.1rem; }
.check-list li::before { content: ""; position: absolute; left: .1rem; top: .45rem; width: 1.05rem; height: .6rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.check-list strong { color: var(--navy); }

/* Illustration of the To do list */
.todo-figure { margin: 0; }
.todo { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 50px rgba(23, 42, 69, .12); overflow: hidden; }
.todo-head { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 1.25rem; background: var(--navy); color: var(--white); }
.todo-title { font-family: var(--serif); font-size: 1.35rem; }
.todo-count { color: var(--pale); font-size: .9rem; font-weight: 700; }
.todo-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.25rem; border-top: 1px solid var(--line); }
.todo-item:first-of-type { border-top: 0; background: #fffdf2; box-shadow: inset 4px 0 0 var(--gold); }
.todo-name { color: var(--navy); font-weight: 700; }
.todo-meta { color: var(--muted); font-size: .92rem; }
.pill { flex: none; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pill-todo { background: #fde8ea; color: #8f1823; }
.pill-wait { background: #e3edf8; color: #1d4f86; }
figcaption { margin-top: .8rem; color: var(--muted); font-size: .92rem; }

.two-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.panel { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.panel h3 { font-family: var(--serif); font-size: 1.4rem; }
.panel ul { margin: 1rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.panel li + li { margin-top: .6rem; }
.panel li::marker { color: var(--red); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 1rem; border-radius: 50%; background: var(--navy); color: var(--pale); font-weight: 800; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin-top: .5rem; color: var(--muted); }

.contact { padding: 4.5rem 0; background: var(--navy); color: #dce6f2; text-align: center; }
.contact h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.contact p { margin-top: .8rem; font-size: 1.1rem; }
.actions-center { justify-content: center; }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 800; }
.footer-brand img { border-radius: 6px; }

/* Tablet */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-row { justify-content: space-between; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .hero { padding: 3rem 0; }
  .hero-grid, .split, .split-wide, .two-cards { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .phone { width: min(100%, 270px); }
  .section { padding: 3.5rem 0; }
  .feature-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .actions .button { flex: 1 1 100%; }
  .shots { gap: .75rem; }
  .phone-small { width: 52%; padding: 6px; border-radius: 24px; }
  .phone-small img { border-radius: 18px; }
  .card-shot { width: 45%; padding: 5px; margin-bottom: 1rem; }
  .todo-item { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .brand span { font-size: 1.05rem; }
  .button-small { padding: .45rem .75rem; }
}
