/* Steadfast Home Management & Property Watch -- marketing site styles
   Brand colors and fonts from "Primary brand colors.docx" (see CLAUDE.md). */

:root {
  --navy: #082640;
  --navy-2: #0d3354;
  --gold: #C49329;
  --gold-dark: #8a6514;   /* gold dark enough for small text on white */
  --teal: #216C80;
  --harbor: #4C94A6;
  --ivory: #F7F5EF;
  --white: #FFFFFF;
  --slate: #465563;
  --line: #e3ddcf;
  --ok: #2f7d4f;
  --warn: #b26b00;
  --bad: #b23a2e;

  --font-title: "Libre Baskerville", Georgia, serif;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 38, 64, .10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: #1d2b38;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }
h1, h2 { font-family: var(--font-title); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
h4 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy); color: #dfe7ee; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy a { color: #9fd0dc; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.bg-navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.18rem; color: var(--slate); max-width: 720px; }
.bg-navy .lead { color: #c9d6e1; }
.tagline { font-family: var(--font-title); font-style: italic; color: var(--gold-dark); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d5a43a; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Preview banner + header ---------- */
.preview-bar {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
}
.preview-bar a { color: var(--navy); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: auto; }
.brand-name { font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: .08em; line-height: 1; }
.brand-sub { white-space: nowrap; font-family: var(--font-head); font-size: .58rem; letter-spacing: .14em; color: var(--slate); text-transform: uppercase; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .87rem;
  color: var(--navy); text-decoration: none; padding: 8px 9px; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--ivory); }
.nav a.active { color: var(--teal); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 8px; padding: 10px 18px; color: var(--navy); white-space: nowrap; }
.nav .btn:hover { background: #d5a43a; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-family: var(--font-head); font-weight: 600; color: var(--navy); cursor: pointer;
}

@media (max-width: 1350px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a.active { box-shadow: none; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,38,64,.95) 0%, rgba(8,38,64,.86) 42%, rgba(8,38,64,.35) 100%);
}
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: var(--white); max-width: 680px; }
.hero .lead { color: #d5e0e9; }
.hero-tag { font-family: var(--font-title); font-style: italic; color: var(--gold); font-size: 1.15rem; margin-bottom: 18px; }
.hero.small .wrap { padding-top: 84px; padding-bottom: 88px; }
.hero.small h1 { font-size: clamp(2rem, 4vw, 3rem); }
.wave-divider { display: block; width: 100%; height: 46px; margin-top: -1px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 0 rgba(8,38,64,.03);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card.lift { transition: transform .2s ease, box-shadow .2s ease; }
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ivory); color: var(--teal); margin-bottom: 16px; border: 1px solid var(--line);
}
.icon svg { width: 26px; height: 26px; }
.bg-ivory .icon { background: var(--white); }

/* Persona cards ("Does this sound like you?") */
.persona { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.persona .ph { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.persona .body { padding: 22px 24px 26px; }
.persona .quote { font-family: var(--font-title); font-style: italic; color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }

/* Service line cards */
.service { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service .ph { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.service .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service .price { font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: .92rem; margin-bottom: 10px; }
.service .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-decoration: none; }
.service .more::after { content: " \2192"; }

/* Split layout */
.split > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background-size: cover; background-position: center; position: relative; }
.photo-badge {
  position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.95); border-radius: 12px;
  padding: 12px 14px; font-family: var(--font-head); font-size: .82rem; color: var(--navy);
  display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); max-width: 80%;
}
.photo-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.1 13.6 4.5 10l1.2-1.2 2.4 2.4 6.2-6.2 1.2 1.2z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bg-navy .checks li::before { background-color: var(--gold); }
.checks.x li::before {
  background: #c9cfd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M6.2 5 10 8.8 13.8 5 15 6.2 11.2 10 15 13.8 13.8 15 10 11.2 6.2 15 5 13.8 8.8 10 5 6.2z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Questions strip */
.questions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0; }
.questions div {
  background: var(--white); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--gold);
  font-family: var(--font-title); font-style: italic; color: var(--navy); font-size: 1.08rem; box-shadow: 0 1px 0 var(--line);
}
@media (max-width: 900px) { .questions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .questions { grid-template-columns: 1fr; } }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba .col { border-radius: var(--radius); padding: 28px; }
.ba .before { background: #eef0f2; }
.ba .after { background: var(--navy); color: #dfe7ee; }
.ba .after h3 { color: var(--white); }
.ba h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }

/* Boundary callout */
.boundary {
  border: 2px solid var(--gold); border-radius: var(--radius); padding: 30px 32px; background: var(--white);
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
}
.boundary .icon { background: var(--gold); color: var(--navy); border: none; margin: 0; }
.boundary h3 { margin-bottom: 6px; }
@media (max-width: 560px) { .boundary { grid-template-columns: 1fr; } }
.big-quote { font-family: var(--font-title); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--navy); line-height: 1.35; }
.bg-navy .big-quote { color: var(--white); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table.nice { width: 100%; border-collapse: collapse; min-width: 560px; }
table.nice th, table.nice td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.nice th { font-family: var(--font-head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--navy); }
table.nice tr:last-child td { border-bottom: none; }
table.nice td:first-child { font-weight: 600; color: var(--navy); width: 42%; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white); position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan .ribbon {
  position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .amt { font-family: var(--font-title); font-size: 2.6rem; color: var(--navy); line-height: 1.1; margin: 10px 0 2px; }
.plan .amt span { font-family: var(--font-body); font-size: 1rem; color: var(--slate); }
.plan .sub { color: var(--slate); font-size: .95rem; margin-bottom: 18px; }
.plan .checks { margin-bottom: 8px; }
.addon { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; border-bottom: 1px dashed var(--line); padding: 14px 0; }
.addon:last-child { border-bottom: none; }
.addon strong { font-family: var(--font-head); color: var(--navy); }
.addon .p { font-family: var(--font-head); font-weight: 700; color: var(--teal); white-space: nowrap; }
.fine { font-size: .85rem; color: var(--slate); }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps .step { counter-increment: s; position: relative; padding-top: 58px; }
.steps .step::before {
  content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--navy);
  font-family: var(--font-title); font-weight: 700; font-size: 1.2rem;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Founders */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.avatar {
  width: 120px; height: 120px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold);
  display: grid; place-items: center; font-family: var(--font-title); font-size: 2.2rem; color: var(--navy);
}
.placeholder-note {
  display: inline-block; background: #fff6df; border: 1px dashed var(--gold); color: var(--gold-dark);
  font-family: var(--font-head); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px;
}
@media (max-width: 520px) { .founder { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%); color: var(--white); border-radius: 22px; padding: 56px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbe7ee; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 40px 26px; } .cta-band .btn-row { justify-content: flex-start; } }

/* Footer */
.site-footer { background: var(--navy); color: #b9c8d5; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #dfe7ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand img { width: 110px; margin-bottom: 14px; border-radius: 50%; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: 8px; }
.field .hint { font-size: .85rem; color: var(--slate); margin: -4px 0 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6dc; border-radius: 10px; font: inherit; font-size: 1rem; color: #1d2b38; background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--harbor); outline-offset: 1px; border-color: var(--harbor); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid #cfd6dc; border-radius: 999px;
  padding: 9px 16px; font-family: var(--font-body); font-weight: 400; font-size: .95rem; cursor: pointer; margin: 0; color: #1d2b38; background: #fff;
}
.choices label:has(input:checked) { border-color: var(--teal); background: #e9f4f6; color: var(--navy); font-weight: 600; }
.choices input { accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 12px; padding: 16px 18px; margin-top: 18px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e8f4ec; color: #1f5a37; border: 1px solid #b9dcc5; }
.form-msg.err { background: #fbecea; color: #7d2a21; border: 1px solid #ecc2bc; }

/* ---------- Family Portal mockups ---------- */
.mock-note {
  display: inline-flex; gap: 8px; align-items: center; background: #fff6df; border: 1px dashed var(--gold);
  color: var(--gold-dark); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 6px 12px; border-radius: 999px;
}
.app {
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(8,38,64,.22); background: #f3f5f7;
  border: 1px solid #d8dee4; font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: #1d2b38;
}
.app-chrome { background: #e6eaee; padding: 10px 14px; display: flex; gap: 7px; align-items: center; }
.app-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #c6cdd4; display: block; }
.app-chrome .url { margin-left: 14px; background: #fff; border-radius: 6px; padding: 4px 12px; font-size: 12px; color: var(--slate); flex: 1; max-width: 340px; }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; }
.app-side { background: var(--navy); color: #c9d6e1; padding: 18px 12px; }
.app-side .logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 18px; color: #fff; font-family: var(--font-title); font-weight: 700; letter-spacing: .08em; }
.app-side .logo img { width: 34px; background: #fff; border-radius: 8px; padding: 3px; }
.app-side a { display: flex; align-items: center; gap: 10px; color: #c9d6e1; text-decoration: none; padding: 9px 10px; border-radius: 8px; font-family: var(--font-head); font-size: 13px; font-weight: 500; }
.app-side a.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.app-side a .n { margin-left: auto; background: var(--gold); color: var(--navy); border-radius: 999px; font-size: 11px; padding: 0 7px; font-weight: 700; }
.app-side .home-card { margin: 18px 4px 0; background: rgba(255,255,255,.07); border-radius: 10px; padding: 12px; font-size: 12px; }
.app-side .home-card b { color: #fff; display: block; font-family: var(--font-head); }
.app-main { padding: 22px 24px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.app-top h4 { font-size: 18px; margin: 0; font-family: var(--font-head); }
.app-top .who { color: var(--slate); font-size: 12px; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }
.pill.ok { background: #e3f2e8; color: var(--ok); }
.pill.warn { background: #fdf0d9; color: var(--warn); }
.pill.bad { background: #fbe4e1; color: var(--bad); }
.pill.info { background: #e3eff3; color: var(--teal); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.tile { background: #fff; border-radius: 12px; padding: 14px; border: 1px solid #e3e8ec; }
.tile .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); font-family: var(--font-head); font-weight: 600; }
.tile .v { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); margin-top: 4px; }
.tile .s { font-size: 12px; color: var(--slate); }
.panes { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.pane { background: #fff; border-radius: 12px; border: 1px solid #e3e8ec; padding: 16px; margin-bottom: 14px; }
.pane h5 { margin: 0 0 10px; font-family: var(--font-head); font-size: 13px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pane h5 small { font-weight: 500; color: var(--slate); font-size: 11px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.thumbs div { aspect-ratio: 1; border-radius: 8px; background-size: cover; background-position: center; position: relative; }
.thumbs div span { position: absolute; left: 4px; bottom: 4px; background: rgba(8,38,64,.8); color: #fff; font-size: 9px; border-radius: 4px; padding: 1px 5px; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef1f4; align-items: center; }
.lines li:last-child { border-bottom: none; }
.lines .t { font-weight: 600; color: var(--navy); }
.lines .d { font-size: 12px; color: var(--slate); }
.tick { color: var(--ok); font-weight: 700; margin-right: 6px; }
.msg-bubble { background: #eef4f7; border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 13px; margin-bottom: 8px; }
.msg-bubble.me { background: var(--navy); color: #fff; border-radius: 12px 12px 4px 12px; margin-left: 30px; }
.msg-bubble b { display: block; font-size: 11px; font-family: var(--font-head); opacity: .75; margin-bottom: 2px; }

@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } .panes { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .app-body { grid-template-columns: 1fr; } .app-side { display: none; } .app-main { padding: 16px; } }

/* Phone mockup */
.phone {
  width: 290px; max-width: 100%; margin: 0 auto; background: #0b1724; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px rgba(8,38,64,.3);
}
.phone-screen { background: #f3f5f7; border-radius: 30px; overflow: hidden; min-height: 540px; font-size: 13px; line-height: 1.4; }
.phone-top { background: var(--navy); color: #fff; padding: 26px 18px 18px; }
.phone-top .t { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.phone-top .s { font-size: 12px; color: #c9d6e1; }
.notif { background: #fff; margin: 12px; border-radius: 14px; padding: 12px; box-shadow: 0 4px 14px rgba(8,38,64,.08); display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.notif img { width: 36px; height: 36px; border-radius: 9px; }
.notif b { font-family: var(--font-head); font-size: 12px; color: var(--navy); display: block; }
.notif small { color: var(--slate); font-size: 11px; }

/* Feature list beside mockups */
.feature-list { display: grid; gap: 18px; }
.feature-list .f { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.feature-list .f .icon { width: 44px; height: 44px; margin: 0; }
.feature-list .f .icon svg { width: 22px; height: 22px; }
.feature-list h4 { margin-bottom: 2px; }
.feature-list p { margin: 0; color: var(--slate); font-size: .95rem; }

/* Utilities */
.mt0 { margin-top: 0; } .mt2 { margin-top: 20px; } .mt4 { margin-top: 40px; } .mb0 { margin-bottom: 0; } .mb4 { margin-bottom: 40px; }
.maxw { max-width: 760px; }
.center-block { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- About page ---------- */
.about-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.founder-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 420px; margin: 48px auto 0; }
.founder-pair figure { margin: 0; text-align: center; }
.founder-pair img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 18px; border: 4px solid var(--gold); }
.founder-pair figcaption { font-family: var(--font-head); font-weight: 600; color: var(--white); margin-top: 12px; }
.story { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.story-head { position: sticky; top: 110px; }
.know-list { border-left: 4px solid var(--gold); padding: 6px 0 6px 22px; margin: 26px 0; }
.know-list p { font-family: var(--font-title); font-style: italic; color: var(--navy); font-size: 1.12rem; margin-bottom: 10px; }
.know-list p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 20px; } .story-head { position: static; } }
.team-member { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; margin-bottom: 32px; }
.team-member.rev { grid-template-columns: 1fr 240px; }
.team-member.rev .team-photo { order: 2; }
.team-member > * { min-width: 0; }
.team-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 16px; box-shadow: var(--shadow); }
.team-name { font-family: var(--font-title); font-size: 1.9rem; margin-bottom: 4px; }
.team-role { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); display: inline-block; }
.team-personal { background: var(--ivory); border-radius: 12px; padding: 16px 18px; font-style: italic; color: var(--navy); margin-bottom: 0; }
@media (max-width: 860px) {
  .team-member, .team-member.rev { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .team-member.rev .team-photo { order: 0; }
  .team-photo { max-width: 240px; }
}

/* Founder teaser + Why Choose (home page) */
.founders-teaser { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.founders-teaser .pics { display: flex; }
.founders-teaser .pics img { width: 150px; height: 150px; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 4px solid var(--white); box-shadow: var(--shadow); }
.founders-teaser .pics img + img { margin-left: -28px; }
@media (max-width: 720px) { .founders-teaser { grid-template-columns: 1fr; gap: 24px; } .founders-teaser .pics img { width: 120px; height: 120px; } }
.why .card h3 { font-size: 1.08rem; }

/* About: couple photo at top, small round headshots beside names (Nov 29 2026) */
.couple-photo { margin: 48px auto 0; max-width: 360px; text-align: center; }
.couple-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; border: 4px solid var(--gold); }
.couple-photo figcaption { font-family: var(--font-head); font-weight: 600; color: var(--white); margin-top: 12px; }
.team-member, .team-member.rev { grid-template-columns: 1fr; gap: 20px; }
.team-head { display: flex; align-items: center; gap: 22px; }
.team-avatar { width: 120px; height: 120px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--gold); }
.team-head .team-role { margin-bottom: 0; }
@media (max-width: 520px) { .team-head { flex-direction: column; align-items: flex-start; } .team-avatar { width: 100px; height: 100px; } }

/* ---------- Feedback pop-up (right side, every page except feedback.html) ---------- */
.fb-pop {
  position: fixed; right: 20px; top: 50%; z-index: 60; width: 270px;
  background: var(--white); border: 2px solid var(--gold); border-radius: 18px;
  padding: 22px 20px 20px; text-align: center; box-shadow: 0 18px 50px rgba(8,38,64,.28);
  transform: translate(calc(100% + 40px), -50%); opacity: 0; visibility: hidden;
  transition: transform .45s ease, opacity .45s ease, visibility .45s;
}
.fb-pop-wrap.open .fb-pop { transform: translate(0, -50%); opacity: 1; visibility: visible; }
.fb-pop img { width: 64px; height: auto; margin: 0 auto 8px; }
.fb-pop-title { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.fb-pop-text { font-size: .9rem; color: var(--slate); line-height: 1.5; margin-bottom: 14px; }
.fb-pop-btn { display: block; padding: 12px 16px; font-size: .9rem; }
.fb-pop-close {
  position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border: none; background: transparent;
  font-size: 1.5rem; line-height: 1; color: var(--slate); cursor: pointer; border-radius: 50%;
}
.fb-pop-close:hover { background: var(--ivory); color: var(--navy); }
.fb-tab {
  position: fixed; right: 0; top: 50%; z-index: 60; transform: translate(100%, -50%);
  writing-mode: vertical-rl; background: var(--gold); color: var(--navy); border: none;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  padding: 16px 9px; border-radius: 10px 0 0 10px; cursor: pointer; box-shadow: -4px 4px 14px rgba(8,38,64,.18);
  transition: transform .35s ease;
}
.fb-pop-wrap.min .fb-tab { transform: translate(0, -50%); }
.fb-tab:hover { background: #d5a43a; }
@media (max-width: 640px) {
  .fb-pop { top: auto; bottom: 14px; right: 14px; left: 14px; width: auto; transform: translateY(calc(100% + 30px)); padding: 16px 16px 16px; text-align: left; }
  .fb-pop-wrap.open .fb-pop { transform: translateY(0); }
  .fb-pop img { display: none; }
  .fb-pop-title { font-size: 1.02rem; padding-right: 28px; }
  .fb-pop-text { margin-bottom: 10px; }
}
@media print { .fb-pop-wrap { display: none; } }
.plans.plans-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .plans.plans-3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
table.nice.ts-examples { min-width: 0; }
table.nice.ts-examples td:first-child { width: auto; }

/* Trust bar under the home page hero */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(8,38,64,.06); position: relative; z-index: 2; }
.trust-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon { width: 44px; height: 44px; margin: 0; flex: none; background: var(--navy); color: var(--gold); border: none; }
.trust-item .icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; line-height: 1.25; }
.trust-item div > span { display: block; font-size: .82rem; color: var(--slate); line-height: 1.35; }
@media (max-width: 900px) { .trust-bar .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust-bar .wrap { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Resources page ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--ivory); border-radius: var(--radius); padding: 26px 22px; text-align: center; border-top: 4px solid var(--gold); }
.stat-num { font-family: var(--font-title); font-weight: 700; font-size: 2.1rem; color: var(--navy); line-height: 1.1; margin-bottom: 8px; }
.stat p { margin: 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }
.nfc-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.nfc-card .icon { margin: 0; }
@media (max-width: 520px) { .nfc-card { grid-template-columns: 1fr; } }
.card.res { display: flex; flex-direction: column; }
.card.res h3 { margin-bottom: 8px; }
.card.res p { color: var(--slate); font-size: .95rem; }
.res-contact { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy) !important; }
.res-contact a { text-decoration: none; }
.res-contact a:hover { text-decoration: underline; }
