/* C.O.P. marketing site — brand: navy #13253A + brass #C9A227 (same as the app). */

:root {
  --navy: #13253a;
  --navy-2: #1d3554;
  --navy-3: #2e4d72;
  --brass: #c9a227;
  --brass-2: #e0bd45;
  --ink: #16202b;
  --muted: #5d6b7a;
  --line: #dde3ea;
  --bg: #ffffff;
  --tint: #f2f5f9;
  --card: #ffffff;
  --success: #16a34a;
  --info: #2563eb;
  --warn: #d97706;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 37, 58, 0.06), 0 8px 24px rgba(19, 37, 58, 0.08);
  --container: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-3); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brass); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 6px; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--brass); margin-bottom: 0.8em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.accent { color: var(--brass); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; border-radius: 12px; padding: 14px 24px; transition: transform 0.15s ease, background 0.15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn-brass { background: var(--brass); color: var(--navy); }
.btn-brass:hover { background: var(--brass-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

.link-arrow { font-weight: 700; color: var(--navy-3); text-decoration: none; }
.link-arrow::after { content: ' →'; }
.link-arrow:hover { text-decoration: underline; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge img { height: 50px; width: auto; }
/* Google's badge artwork includes transparent padding, so it is drawn larger to match Apple's. */
.store-badge img.play-badge { height: 74px; margin: -12px -10px; }
.store-soon { display: inline-flex; align-items: center; height: 50px; padding: 0 18px; border-radius: 10px; border: 1.5px dashed rgba(255, 255, 255, 0.45); color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(19, 37, 58, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 10px; }
.brand strong { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-sub { color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: rgba(255, 255, 255, 0.65); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: 0 12px 24px rgba(19, 37, 58, 0.08); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
  .brand-sub { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(201, 162, 39, 0.22), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(46, 77, 114, 0.7), transparent 60%), var(--navy); color: #fff; padding: 72px 0 88px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.78); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-cta { margin-top: 32px; }
.hero-note { margin: 14px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }

.hero-visual { display: flex; justify-content: center; }
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; background: #0b1624; padding: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.08); transform: rotate(2deg); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0b1624; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: #eef1f5; padding: 56px 16px 16px; overflow: hidden; color: var(--ink); font-size: 13px; }
.ps-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ps-top img { border-radius: 10px; }
.ps-hello { margin: 0; color: var(--muted); font-size: 12px; }
.ps-name { margin: 0; font-weight: 800; font-size: 18px; color: var(--navy); }
.ps-points { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: 18px; padding: 16px; margin-bottom: 12px; }
.ps-points p { margin: 0; font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.ps-points .ps-points-value { font-size: 28px; font-weight: 800; color: #fff; margin: 2px 0 8px; }
.ps-points-value span { font-size: 14px; color: var(--brass-2); }
.ps-points-row { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, 0.75); }
.ps-button { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--brass); color: var(--navy); font-weight: 800; border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.ps-section { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px; }
.ps-item { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(19, 37, 58, 0.06); }
.ps-item p { margin: 0; font-weight: 600; font-size: 12.5px; }
.ps-item span { font-size: 11px; color: var(--muted); }
.badge { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-paid { background: #dcfce7; color: var(--success); }
.badge-approved { background: #dbeafe; color: var(--info); }
.badge-review { background: #fef3c7; color: var(--warn); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 260px; height: 560px; transform: none; }
  .phone-screen { padding-top: 50px; }
}

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.trust-grid div { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.trust-grid svg { flex: none; width: 26px; height: 26px; color: var(--brass); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; gap: 14px; } }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 162, 39, 0.14); color: #9a7a12; margin-bottom: 16px; }
.icon-tile svg { width: 24px; height: 24px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 32px 28px; }
.step p { color: var(--muted); margin: 0; }
.step-num { position: absolute; top: 22px; right: 24px; font-size: 2.6rem; font-weight: 800; color: var(--line); line-height: 1; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Violations */
.violations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.violations li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 600; color: var(--navy); }
.violations svg { flex: none; width: 26px; height: 26px; color: var(--brass); }
@media (max-width: 860px) { .violations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .violations { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(22, 163, 74, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.fine-print { font-size: 0.88rem; color: var(--muted); }

/* Timeline */
.timeline { padding: 28px; }
.timeline-title { font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 23px; bottom: 1px; width: 2px; background: var(--line); }
.timeline li.done::before { background: var(--success); border-color: var(--success); }
.timeline li.done::after { background: var(--success); }
.timeline li.current::before { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2); }
.timeline strong { display: block; color: var(--navy); }
.timeline span { color: var(--muted); font-size: 0.92rem; }

/* Safety */
.safety-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.safety-grid li { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 26px 22px; background: rgba(255, 255, 255, 0.04); border-top: 3px solid var(--brass); }
.safety-grid p { margin: 0; font-size: 0.95rem; }
@media (max-width: 960px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .safety-grid { grid-template-columns: 1fr; } }

/* Privacy */
.split-center { grid-template-columns: 0.8fr 1.2fr; }
.privacy-badge { justify-self: center; width: min(260px, 70vw); aspect-ratio: 1; border-radius: 40px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), var(--navy-3)); color: var(--brass); box-shadow: var(--shadow); }
.privacy-badge svg { width: 55%; height: 55%; }
@media (max-width: 860px) { .split-center { grid-template-columns: 1fr; } }

/* Agencies */
.agency-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; }
.agency-card h2 { margin-bottom: 0.4em; }
.agency-card p:not(.eyebrow) { color: var(--muted); margin: 0; max-width: 40em; }
@media (max-width: 760px) { .agency-card { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brass); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA */
.cta { background: radial-gradient(800px 400px at 50% 120%, rgba(201, 162, 39, 0.25), transparent 70%), var(--navy); color: rgba(255, 255, 255, 0.78); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner img { margin-bottom: 18px; }
.cta h2 { color: #fff; }
.cta p { font-size: 1.1rem; margin-bottom: 28px; }
.cta .store-badges { justify-content: center; }

/* Inner pages */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: rgba(255, 255, 255, 0.78); padding: 72px 0 64px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); }
.page-hero-compact { padding: 52px 0 44px; }
.not-found { min-height: 55vh; display: flex; align-items: center; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 30px 26px; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(19, 37, 58, 0.12); }
.contact-card h2 { font-size: 1.2rem; }
.contact-card p { color: var(--muted); }
.contact-card .link-arrow { word-break: break-all; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.contact-details .card { padding: 30px 26px; }
.contact-details h2 { font-size: 1.2rem; }
.quick-help { margin: 0; padding-left: 18px; display: grid; gap: 10px; color: var(--muted); }
.quick-help strong { color: var(--navy); }
@media (max-width: 860px) { .contact-grid, .contact-details { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-section { padding-top: 56px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; font-size: 0.9rem; }
.legal-toc p { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--brass); }
.legal-body { max-width: 760px; min-width: 0; }
.legal-body h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: 0.6em; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { margin-top: 1.6em; }
.legal-body p, .legal-body li { color: #33414f; }
.legal-body li { margin-bottom: 0.4em; }
.legal-body hr { display: none; } /* section headings already draw a divider */
.legal-body blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--brass); background: var(--tint); border-radius: 0 12px 12px 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 12px; }
.legal-body table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
.legal-body th, .legal-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--tint); color: var(--navy); font-weight: 700; }
.legal-body tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--tint); }
}

/* Footer */
.site-footer { background: #0d1b2b; color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; font-size: 0.94rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin: 16px 0 20px; max-width: 26em; }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
