:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef1f4;
  --text: #17202a;
  --muted: #66707c;
  --line: #dfe4ea;
  --accent: #263746;
  --accent-soft: #e8edf1;
  --shadow: 0 18px 50px rgba(20, 31, 44, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --pendlark-navy: #0B2D5B;
  --pendlark-blue: #2E8CE6;
  --pendlark-teal: #18B0A3;
  --pendlark-green: #7CC35B;
  --pendlark-light: #DBECF9;

  --ccai-navy: #091f3f;
  --ccai-blue: #1677e8;
  --ccai-bright: #38a6ff;

  --fs-dark: #102f2a;
  --fs-green: #1f9d78;
  --fs-mint: #77d5b5;
  --fs-glow: #dff7ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(60, 84, 105, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 100%);
  color: var(--text);
}

a { color: inherit; }
.page-shell { min-height: 100vh; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--accent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 8px;
}
.brand-mark span { display: block; background: #fff; border-radius: 3px 3px 1px 1px; opacity: .95; }
.brand-mark span:nth-child(1) { height: 45%; }
.brand-mark span:nth-child(2) { height: 70%; }
.brand-mark span:nth-child(3) { height: 100%; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.site-nav a {
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { background: var(--accent-soft); }
.site-nav .nav-contact { background: var(--accent); color: #fff; }
.site-nav .nav-contact:hover { background: #3c5469; }
.site-nav a:focus-visible, .contact-email:focus-visible {
  outline: 2px solid #155c91;
  outline-offset: 2px;
}

main { overflow: hidden; }
.hero {
  width: min(1000px, calc(100% - 40px));
  margin: 86px auto 100px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5d6a76;
}
.hero h1 {
  margin: 18px auto 22px;
  max-width: 860px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.hero-copy {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.55;
  color: var(--muted);
}
.primary-cta {
  display: inline-flex;
  margin-top: 34px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(38, 55, 70, .18);
}

.products-section,
.billing-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}
.section-heading h2,
.billing-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  min-height: 370px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(20, 31, 44, 0.12);
}
.brand-panel {
  min-height: 158px;
  padding: 28px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.brand-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  opacity: .18;
  background: #fff;
}
.brand-wordmark {
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.brand-tagline {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .01em;
  opacity: .82;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}
.product-meta {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
}
.product-card h3 {
  margin: 10px 0 12px;
  font-size: 28px;
  letter-spacing: -0.035em;
}
.product-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.62;
}
.card-link {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
}

/* Pendlark */
.pendlark-card { border-top: 4px solid var(--pendlark-teal); }
.pendlark-brand-panel {
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(124,195,91,.55), transparent 28%),
    linear-gradient(135deg, var(--pendlark-navy) 0%, #155c91 52%, var(--pendlark-teal) 100%);
}
.pendlark-lockup { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.pendlark-symbol { width: 72px; height: 58px; position: relative; flex: 0 0 auto; }
.pendlark-symbol .wing {
  position: absolute;
  left: 12px;
  height: 13px;
  border-radius: 16px 2px 16px 2px;
  transform: rotate(-17deg) skewX(-8deg);
  transform-origin: left center;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.pendlark-symbol .wing-one { top: 8px; width: 52px; background: var(--pendlark-blue); }
.pendlark-symbol .wing-two { top: 23px; width: 44px; background: var(--pendlark-teal); }
.pendlark-symbol .wing-three { top: 38px; width: 34px; background: var(--pendlark-green); }
.pendlark-symbol .bird-head {
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 60% 55% 55% 45%;
  background: #fff;
}
.pendlark-symbol .bird-head::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 7px;
  border-left: 11px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.pendlark-wordmark { font-size: 30px; }
.pendlark-tagline { color: #e9f5ff; }
.pendlark-link { color: var(--pendlark-navy); }

/* CrewContent AI */
.ccai-card { border-top: 4px solid var(--ccai-blue); }
.ccai-brand-panel {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(56,166,255,.18), transparent 42%),
    linear-gradient(135deg, var(--ccai-navy) 0%, #0f376c 58%, var(--ccai-blue) 100%);
}
.ccai-lockup { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.ccai-symbol {
  width: 74px;
  height: 64px;
  position: relative;
  flex: 0 0 auto;
}
.ccai-symbol .cc {
  position: absolute;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.12em;
}
.cc-one { left: 0; top: 2px; color: #fff; opacity: .98; }
.cc-two { left: 25px; top: 2px; color: var(--ccai-bright); }
.growth-bars {
  position: absolute;
  right: 0;
  bottom: 2px;
  display: flex;
  align-items: end;
  gap: 3px;
}
.growth-bars i { display: block; width: 5px; border-radius: 3px; background: #fff; }
.growth-bars i:nth-child(1) { height: 9px; opacity: .55; }
.growth-bars i:nth-child(2) { height: 15px; opacity: .75; }
.growth-bars i:nth-child(3) { height: 23px; }
.ccai-wordmark strong { color: var(--ccai-bright); }
.ccai-tagline { color: #dceeff; }
.ccai-link { color: #0b4a91; }

/* FreshStart Radar */
.freshstart-card { border-top: 4px solid var(--fs-green); }
.freshstart-brand-panel {
  color: #fff;
  background:
    radial-gradient(circle at 80% 30%, rgba(119,213,181,.28), transparent 27%),
    linear-gradient(135deg, #0b2623 0%, var(--fs-dark) 55%, #176c59 100%);
}
.freshstart-lockup { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.radar-symbol {
  width: 68px;
  height: 68px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
}
.radar-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  inset: 50%;
  transform: translate(-50%, -50%);
}
.ring-one { width: 20px; height: 20px; }
.ring-two { width: 39px; height: 39px; }
.ring-three { width: 56px; height: 56px; }
.radar-sweep {
  position: absolute;
  left: 33px;
  top: 8px;
  width: 2px;
  height: 28px;
  background: linear-gradient(to top, var(--fs-mint), rgba(119,213,181,0));
  transform: rotate(38deg);
  transform-origin: bottom center;
}
.radar-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  right: 15px;
  top: 20px;
  background: var(--fs-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(119,213,181,.14), 0 0 18px rgba(119,213,181,.7);
}
.freshstart-wordmark strong { color: var(--fs-mint); }
.freshstart-tagline { color: #d8f2e8; }
.freshstart-link { color: #176c59; }

/* NewBiz */
.newbiz-card { border-top: 4px solid #9761d8; }
.newbiz-brand-panel {
  color: #fff;
  background: linear-gradient(135deg, #292246 0%, #483373 58%, #6847a0 100%);
}
.newbiz-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.newbiz-symbol {
  display: grid;
  flex: 0 0 auto;
  gap: 6px;
  width: 56px;
  padding: 11px 10px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}
.newbiz-symbol i { height: 4px; border-radius: 4px; background: #e2caff; }
.newbiz-symbol i:nth-child(2) { width: 78%; }
.newbiz-symbol i:nth-child(3) { width: 55%; }
.product-card .product-status {
  margin: auto 0 0;
  color: #593886;
  font-size: 14px;
  font-weight: 700;
}

.billing-section { margin-top: 90px; }
.billing-panel {
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 58px);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}
.billing-panel .eyebrow { color: rgba(255,255,255,.65); }
.billing-panel h2 { max-width: 760px; }
.billing-panel > p {
  max-width: 790px;
  margin: 20px 0 34px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 17px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.support-grid > div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.055);
  min-width: 0;
}
.support-grid a,
.support-grid span:not(.support-label) {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.support-label {
  display: block;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px;
  font-weight: 700;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 50px auto 0;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
footer p { margin: 0; }
.footer-note { text-align: right; max-width: 480px; }

@media (max-width: 900px) {
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .product-card { min-height: 0; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1180px); padding-top: 18px; }
  .brand { font-size: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .hero { width: min(100% - 28px, 1000px); margin: 62px auto 74px; text-align: left; }
  .hero h1 { font-size: clamp(46px, 15vw, 66px); }
  .primary-cta { margin-top: 28px; }
  .products-section,
  .billing-section,
  footer { width: min(100% - 28px, 1180px); }
  .brand-panel { min-height: 146px; padding: 24px; }
  .pendlark-wordmark, .ccai-wordmark, .freshstart-wordmark { font-size: 24px; }
  .card-body { padding: 24px; }
  .billing-section { margin-top: 66px; }
  footer { flex-direction: column; }
  .footer-note { text-align: left; }
}

.company-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 54px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.company-section h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.company-section p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.65; }
.purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.purpose-grid > div { padding: 20px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.purpose-grid h3 { margin: 0 0 8px; font-size: 18px; }
.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 54px auto 0;
}
.contact-email {
  max-width: 100%;
  color: #0b4a91;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav { width: 100%; }
}
@media (max-width: 640px) {
  .company-section { width: calc(100% - 28px); }
  .purpose-grid { grid-template-columns: minmax(0, 1fr); }
  .site-nav a { font-size: 13px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}