/* ArcPetal Data — site styles
   Palette taken from the business overview document. */
:root {
  --navy: #16263d;
  --navy-2: #1f3553;
  --steel: #3d6585;
  --teal: #4a8a8a;
  --teal-dark: #3a7171;
  --tint: #eef3f6;
  --line: #d8e2e9;
  --text: #24313f;
  --muted: #5d6b7a;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 38, 61, .06), 0 6px 20px rgba(22, 38, 61, .06);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--steel); }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 42em; margin-bottom: 2.2rem; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.4rem; border-radius: 8px; background: var(--teal); color: var(--white); font-weight: 600; text-decoration: none; border: 2px solid var(--teal); transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
.btn-small { padding: .5rem 1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: var(--steel); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--tint); border-color: var(--tint); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); font-size: 1.05rem; }
.brand strong { font-weight: 700; }
.brand-mark { width: 26px; height: 26px; color: var(--steel); }
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--navy); }

/* Hero */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }
.hero-note { color: var(--muted); font-size: .92rem; letter-spacing: .02em; }
.hero-diagram { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; box-shadow: var(--shadow); }
.hero-diagram svg { width: 100%; height: auto; display: block; }
.hero-diagram text { font-family: var(--font); font-size: 11px; text-anchor: middle; fill: var(--navy); }
.d-src rect { fill: var(--tint); stroke: var(--line); }
.d-found { fill: var(--navy); }
.d-found-title { fill: #cfe0ea !important; font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.d-layer rect { fill: var(--navy-2); stroke: #3c5878; }
.d-layer text { fill: var(--white) !important; font-size: 10.5px; }
.d-layer .d-ops { fill: var(--teal); stroke: none; }
.d-small { font-size: 9.5px !important; }
.d-out rect { fill: #e3efef; stroke: var(--teal); }
.d-out text { font-weight: 600; }
.d-biz { fill: none; stroke: var(--teal); stroke-dasharray: 4 4; }
.d-biz-t { fill: var(--teal-dark) !important; font-weight: 600; font-size: 11.5px !important; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.card p { color: var(--muted); margin: 0; }
.card-accent { background: var(--navy); border-color: var(--navy); }
.card-accent h3 { color: var(--white); }
.card-accent p { color: #c3d2de; }

.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; margin-top: 2rem; }
.principle .num { display: block; font-weight: 700; color: var(--teal); font-size: .9rem; margin-bottom: .5rem; border-top: 2px solid var(--teal); padding-top: .8rem; }
.principle p { color: var(--muted); font-size: .95rem; }
.callout { margin: 2.5rem 0 0; padding: 1.4rem 1.6rem; background: var(--white); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--navy); }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.service { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service header { border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: .8rem; }
.service h3 { margin-bottom: .3rem; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin: 0; }
.price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.service > p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; font-size: .95rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; background: var(--teal); transform: rotate(45deg); border-radius: 1px; }
.service-featured { border: 2px solid var(--teal); }
.service .tag { position: absolute; top: -.8rem; left: 1.4rem; background: var(--teal); color: var(--white); font-size: .75rem; font-weight: 700; padding: .2rem .7rem; border-radius: 99px; letter-spacing: .03em; }
.fine-print { margin-top: 1.4rem; color: var(--muted); font-size: .88rem; }

/* Process */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; padding: 0; margin: 2rem 0 0; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.3rem; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: .8rem; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* About */
.about-single { max-width: 820px; }
.name-note { color: var(--muted); font-size: .98rem; border-left: 3px solid var(--teal); padding-left: 1rem; }
.differentiators { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.differentiators li { padding-left: 1.6rem; position: relative; font-weight: 600; color: var(--navy); }
.differentiators li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); }

/* CTA */
.cta { background: var(--navy); color: #c9d6e2; text-align: center; }
.cta h2 { color: var(--white); }
.cta-inner { max-width: 680px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: #0f1b2c; color: #8fa1b5; font-size: .88rem; padding: 1.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--white); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-diagram { max-width: 520px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .site-header nav { margin-left: 0; }
  .nav .btn-small { margin-left: auto; white-space: nowrap; padding: .45rem .8rem; }
  .brand { white-space: nowrap; font-size: .98rem; }
  .card-grid, .principles, .services, .steps, .differentiators { grid-template-columns: 1fr; }
  }
