/* Wardly marketing site. Uses tokens.css. No external requests (fonts and images are local). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-base); color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--w-navy-800); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--w-navy-800); margin: 0 0 var(--sp-3); line-height: 1.15; }
h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 var(--sp-4); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--w-navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--w-navy-800); font-weight: 800; font-size: 25px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--w-navy-800); text-decoration: none; font-weight: 700; font-size: 16px; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--w-gold-500); color: var(--w-navy-800); }
.nav-links .btn { border-bottom: 0; padding: 10px 18px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; border-bottom: 0; }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: 44px; min-height: 44px; font: inherit; font-weight: 700; color: var(--w-navy-800); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--w-navy-800); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.btn:hover { background: var(--w-tint); color: var(--w-navy-800); }
.btn-primary { background: var(--w-navy-800); border-color: var(--w-navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--w-navy-700); border-color: var(--w-navy-700); color: #fff; box-shadow: var(--shadow); }
.btn-gold { background: var(--w-gold-500); border-color: var(--w-gold-500); color: var(--w-navy-800); }
.btn-gold:hover { background: #D4B574; border-color: #D4B574; color: var(--w-navy-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* Hero */
.hero { padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); background: linear-gradient(180deg, #fff 0%, var(--w-bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--w-gold-100); color: var(--w-gold-700); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: var(--sp-4); }
.eyebrow::before { content: ''; width: 9px; height: 9px; background: var(--w-gold-500); transform: rotate(45deg); border-radius: 2px; }

/* Illustration (hand-built, sample data) */
.mock { position: relative; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; }
.mock-card + .mock-card { margin-top: 16px; margin-left: 36px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-title { font-weight: 800; color: var(--w-navy-800); }
.mock-unit { font-size: 13px; color: var(--muted); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mock-row:first-of-type { border-top: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.navy { background: var(--w-navy-800); } .dot.blue { background: var(--w-blue-600); } .dot.gold { background: var(--w-gold-500); }
.mock-time { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.mock-chip { font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--w-tint); color: var(--w-navy-800); }
.mock-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.mock-caption { font-size: 13px; color: var(--muted); text-align: right; margin-top: 10px; }

/* Sections */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-dark { background: var(--w-navy-800); color: #E6ECF3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #C9D5E2; }
.section-head { max-width: 46em; margin-bottom: var(--sp-6); }
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: var(--sp-2); }
.card p:last-child { margin-bottom: 0; }
.card.accent { border-top: 4px solid var(--w-navy-800); }
.card.featured { border-top: 4px solid var(--w-gold-500); }

/* Status chips (never color alone: each carries a word and a mark) */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; padding: 3px 11px; border-radius: var(--radius-pill); margin-bottom: var(--sp-3); }
.status::before { font-weight: 800; }
.st-live { background: var(--w-ok-bg); color: var(--w-ok); } .st-live::before { content: '\2713'; }
.st-build { background: var(--w-info-bg); color: var(--w-info); } .st-build::before { content: '\25D0'; }
.st-plan { background: #EDF0F4; color: var(--muted); } .st-plan::before { content: '\25CB'; }
.legend { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-5); }
.legend .status { margin: 0; }

/* Patchwork strip */
.patch { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--sp-4) 0 var(--sp-5); }
.patch span { background: #fff; border: 1px dashed #A9B6C6; border-radius: var(--radius-pill); padding: 6px 16px; color: var(--muted); font-weight: 700; }

/* Flow */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--w-gold-500); color: var(--w-navy-800); font-weight: 800; margin-bottom: 10px; }
.steps strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--w-navy-800); color: #fff; font-weight: 800; position: sticky; top: 0; }
table.compare tbody tr:nth-child(even) td, table.compare tbody tr:nth-child(even) th { background: var(--w-bg); }
table.compare tbody th { font-weight: 700; color: var(--w-navy-800); }
table.compare td.us { background: var(--w-gold-100) !important; font-weight: 700; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: var(--sp-3); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 800; color: var(--w-navy-800); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--w-gold-700); }
.faq details[open] summary::after { content: '\2212'; }
.faq .answer { padding: 0 22px 18px; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-4); }
.field > label, .field > .legend-l { font-weight: 800; color: var(--w-navy-800); }
.field .hint { font-size: 14px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #A9B6C6; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: var(--focus); border-color: var(--w-blue-500); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--w-navy-800); flex: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-4); }
.hp { position: absolute; left: -5000px; height: 0; width: 0; overflow: hidden; }
.banner { border-left: 4px solid var(--w-info); background: var(--w-info-bg); color: var(--w-navy-800); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: var(--sp-4); }
.banner.ok { border-color: var(--w-ok); background: var(--w-ok-bg); }
.banner.bad { border-color: var(--w-bad); background: var(--w-bad-bg); }
.banner[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--w-navy-900); color: #C9D5E2; padding: var(--sp-7) 0 var(--sp-6); margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 24px; margin-bottom: 10px; }
.footer-brand img { width: 180px; height: auto; display: block; }
.brand .tm { font-size: 0.4em; font-weight: 800; margin-left: 2px; vertical-align: top; position: relative; top: 0.1em; letter-spacing: 0; line-height: 1; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.18); margin-top: var(--sp-6); padding-top: var(--sp-5); font-size: 14.5px; }

/* Prose pages */
.page-head { padding: clamp(40px, 6vw, 72px) 0 var(--sp-5); }
.prose h2 { font-size: 26px; margin-top: var(--sp-6); }
.prose ul { padding-left: 22px; } .prose li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .steps, .footer-grid { grid-template-columns: 1fr; }
  .steps { gap: 12px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; border-bottom: 1px solid var(--w-navy-800); }
  .mock-card + .mock-card { margin-left: 0; }
}
@media (max-width: 600px) {
  .two, .checks { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

/* Look refresh: navy hero, section bands, icons, bigger steps, closing call-to-action */
.hero-dark { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 10%, #2A4A6C 0%, rgba(42,74,108,0) 55%), linear-gradient(180deg, var(--w-navy-800) 0%, var(--w-navy-900) 100%); border-bottom: 0; color: #E6ECF3; }
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: #C9D5E2; }
.hero-dark .small.muted { color: #AFC0D2; }
.hero-dark .container { position: relative; z-index: 1; }
.hero-mark { position: absolute; right: -90px; bottom: -120px; width: min(620px, 70vw); height: auto; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-dark .mock-card { box-shadow: 0 18px 48px rgba(0,0,0,.35); border-color: transparent; }
.section-tint { background: var(--w-tint); border-block: 1px solid var(--w-line); }
.section-tint .card { border-color: transparent; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--sp-3); }
.card-top .status { margin: 0; }
.ico-wrap { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--w-tint); flex: none; }
.card.featured .ico-wrap { background: var(--w-gold-100); }
.ico { width: 26px; height: 26px; fill: none; stroke: var(--w-navy-800); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card.featured .ico { stroke: var(--w-gold-700); }

.steps li { position: relative; padding: 26px 22px 24px; }
.steps li::before { width: 54px; height: 54px; font-size: 24px; margin-bottom: 14px; box-shadow: 0 0 0 6px rgba(198,162,95,.22); }
.steps strong { font-size: 20px; margin-bottom: 6px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -17px; width: 18px; height: 18px; border-top: 3px solid var(--w-gold-500); border-right: 3px solid var(--w-gold-500); transform: rotate(45deg); }

.cta-band { background: var(--w-navy-800); color: #E6ECF3; padding: clamp(36px, 5vw, 60px) 0; border-top: 4px solid var(--w-gold-500); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band .lead { color: #C9D5E2; margin: 0; font-size: 18px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.cta-inner .btn { flex: none; }
@media (max-width: 900px) {
  .steps li:not(:last-child)::after { top: auto; bottom: -14px; right: auto; left: 40px; transform: rotate(135deg); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-mark { right: -140px; }
}
.hero-dark .mock-card { color: var(--ink); }

/* Sacrament meeting companion: fanned phone screens that come forward on hover, focus or tap */
.fan { position: relative; height: 470px; max-width: 860px; margin: 0 auto; }
.screen { position: absolute; left: 50%; top: 0; width: 230px; height: 440px; margin: 0 0 0 -115px; background: #fff; border: 6px solid var(--w-navy-900); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); transform-origin: 50% 110%; transform: translateX(var(--fx)) rotate(var(--fr)); transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s ease; will-change: transform; cursor: pointer; outline: none; }
.s1 { --fx: -270px; --fr: -15deg; z-index: 1; }
.s2 { --fx: -90px; --fr: -5deg; z-index: 2; }
.s3 { --fx: 90px; --fr: 5deg; z-index: 2; }
.s4 { --fx: 270px; --fr: 15deg; z-index: 1; }
.screen.on, .screen:focus-visible { transform: translateX(var(--fx)) translateY(-18px) rotate(0) scale(1.05); z-index: 5; box-shadow: 0 24px 56px rgba(22, 50, 77, .28); }
.screen:focus-visible { box-shadow: var(--focus), 0 24px 56px rgba(22, 50, 77, .28); }
.ph-soon { margin-top: 16px; text-align: center; background: var(--w-gold-100); color: var(--w-gold-700); font-weight: 800; border-radius: 8px; padding: 8px; }
.ph-bar { background: var(--w-navy-800); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.ph-dot { width: 10px; height: 10px; background: var(--w-gold-500); transform: rotate(45deg); display: inline-block; }
.ph-body { padding: 14px; font-size: 12px; color: var(--w-ink); }
.ph-h { font-size: 16px; font-weight: 800; color: var(--w-navy-800); }
.ph-sub { color: var(--w-muted); margin: 2px 0 12px; }
.ph-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--w-line); }
.ph-row b { color: var(--w-navy-800); } .ph-row span { color: var(--w-muted); text-align: right; }
.ph-line { height: 9px; background: var(--w-tint); border-radius: 5px; margin: 9px 0; } .ph-line.w90 { width: 90%; } .ph-line.w80 { width: 80%; } .ph-line.w70 { width: 70%; } .ph-line.w60 { width: 60%; }
.ph-gap { height: 14px; }
.ph-card { background: var(--w-bg); border: 1px solid var(--w-line); border-radius: 10px; padding: 12px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ph-card span { color: var(--w-muted); }
.ph-btn { background: var(--w-navy-800); color: #fff; font-style: normal; font-weight: 700; text-align: center; padding: 9px; border-radius: 8px; }
.ph-video { background: var(--w-navy-900); border-radius: 8px; height: 90px; display: flex; align-items: center; justify-content: center; }
.ph-video span { width: 0; height: 0; border-left: 18px solid var(--w-gold-500); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
@media (max-width: 640px) { .fan { height: 430px; } .screen { width: 190px; height: 390px; margin-left: -95px; } .s1 { --fx: -125px; } .s2 { --fx: -42px; } .s3 { --fx: 42px; } .s4 { --fx: 125px; } }
