/* ── Site Nav ─────────────────────────────────────────── */
#ctc-navbar {
  background: #1a3d2b;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
#ctc-navbar .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 4px;
}
#ctc-navbar .nav-logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  margin-right: auto;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
#ctc-navbar .nav-logo span { color: #a8f0be; }

/* Desktop nav items */
#ctc-navbar .nav-items {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
#ctc-navbar .nav-items li { position: relative; }
#ctc-navbar .nav-items a,
#ctc-navbar .nav-items button.nav-btn {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
#ctc-navbar .nav-items a:hover,
#ctc-navbar .nav-items button.nav-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
#ctc-navbar .nav-arrow {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
#ctc-navbar .nav-items li.open .nav-arrow { transform: rotate(180deg); }

/* Dropdowns */
#ctc-navbar .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 1px solid #e5e7eb;
  padding: 8px;
  min-width: 220px;
  z-index: 2000;
}
#ctc-navbar .dropdown.wide {
  min-width: 480px;
  display: none;
}
#ctc-navbar .nav-items li.open .dropdown { display: block; }

/* Category grid dropdown */
#ctc-navbar .dropdown.wide .dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
#ctc-navbar .dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #1a3d2b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s;
  white-space: nowrap;
}
#ctc-navbar .dropdown a:hover { background: #f0fdf4; color: #1a3d2b; }
#ctc-navbar .dropdown a .dd-emoji { font-size: 1.1rem; width: 24px; text-align: center; }
#ctc-navbar .dropdown a .dd-count { margin-left: auto; font-size: 0.7rem; color: #aaa; font-weight: 400; }
#ctc-navbar .dd-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  padding: 6px 12px 4px;
}

/* Blog / simple links */
#ctc-navbar .nav-items .nav-cta {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  border-radius: 8px;
  padding: 7px 14px;
  margin-left: 4px;
}
#ctc-navbar .nav-items .nav-cta:hover { background: rgba(255,255,255,0.22) !important; }

/* Hamburger */
#ctc-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
#ctc-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile menu */
#ctc-mobile-menu {
  display: none;
  background: #1a3d2b;
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
#ctc-mobile-menu.open { display: block; }
#ctc-mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
#ctc-mobile-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
#ctc-mobile-menu .mob-section {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 14px 12px 4px;
}

@media (max-width: 700px) {
  #ctc-navbar .nav-items { display: none; }
  #ctc-hamburger { display: flex; }
}

#ctc-footer-full {
  background: #1a3d2b;
  color: rgba(255,255,255,0.75);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 48px 20px 28px;
}
#ctc-footer-full .footer-inner { max-width: 1000px; margin: 0 auto; }
#ctc-footer-full .footer-logo { color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; display: block; margin-bottom: 6px; }
#ctc-footer-full .footer-logo span { color: #a8f0be; }
#ctc-footer-full .footer-tagline { font-size: 0.82rem; opacity: 0.6; margin-bottom: 36px; }
#ctc-footer-full .footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
#ctc-footer-full .footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #a8f0be; margin-bottom: 14px;
}
#ctc-footer-full .footer-col a {
  display: block; color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.875rem; margin-bottom: 10px; transition: color 0.15s;
}
#ctc-footer-full .footer-col a:hover { color: #fff; }
#ctc-footer-full .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
#ctc-footer-full .footer-bottom p { font-size: 0.8rem; opacity: 0.5; }
#ctc-footer-full .footer-bottom nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; margin-left: 20px; }
#ctc-footer-full .footer-bottom nav a:hover { color: #fff; }
@media (max-width: 500px) { #ctc-footer-full .footer-cols { grid-template-columns: 1fr 1fr; } }

/* Page styles follow the shared site navigation and footer. */
:root {
  --forest-deep: #092e24;
  --forest-type: #123c2e;
  --cream: #faf7ed;
  --leaf: #d0efad;
  --orange: #ffab48;
  --content-width: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 78px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--forest-type);
  background: var(--cream);
}
body, figure, dl, dd, h1, h2, p, ul { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid #fabf5b; outline-offset: 4px; }
.ctc-app-skip {
  position: absolute; left: 12px; top: 8px; z-index: 1100;
  padding: 12px 18px; color: #152e20; background: white; transform: translateY(-150%);
}
.ctc-app-skip:focus { transform: none; }
#ctc-navbar .nav-items { padding-left: 0; }
#ctc-navbar a[aria-current="page"] { color: white; text-decoration: underline; text-underline-offset: 5px; }
#ctc-mobile-menu { max-height: calc(100dvh - 56px); overflow-y: auto; }
#ctc-footer-full a[aria-current="page"] { color: white; text-decoration: underline; text-underline-offset: 3px; }
#ctc-footer-full .footer-tagline { margin-top: 4px; }
#ctc-footer-full .footer-col h4 { margin-top: 0; }
.ctc-app-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  background: radial-gradient(ellipse at 89% 36%, #275743 0%, #154435 31%, #0b3428 62%, #092f25 100%);
}
.ctc-app-hero::before, .ctc-app-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border: 1px solid rgba(218, 240, 197, .12); border-radius: 50%;
  width: 70rem; height: 70rem; top: -34rem; right: -10rem;
}
.ctc-app-hero::after { width: 81rem; height: 81rem; top: -39rem; right: -14rem; }
.ctc-app-layout {
  width: min(calc(100% - 4rem), var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) 1.25rem;
}
.ctc-app-intro { min-width: 0; }
.ctc-app-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.ctc-app-brand img {
  width: 54px; height: 54px; flex: none; border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 6px 15px rgba(2,19,11,.32);
}
.ctc-app-brand strong { display: block; font-size: 1rem; letter-spacing: -.02em; }
.ctc-app-brand p { margin-top: .2rem; color: #cfddcd; font-size: .9rem; }
.ctc-app-hero h1 {
  font-size: clamp(3.4rem, 6.95vw, 6.6rem);
  line-height: .99; letter-spacing: -.066em; font-weight: 720;
}
.ctc-app-hero h1 em {
  display: block;
  font-family: "Baskervville", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: normal; color: var(--leaf); letter-spacing: -.062em;
}
.ctc-app-description { max-width: 33rem; }
.ctc-app-description p {
  margin: 1.6rem 0 0; color: #edf2e7; font-size: clamp(1.025rem, 1.6vw, 1.23rem); line-height: 1.6;
}
.ctc-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; margin-top: 1.9rem; }
.ctc-app-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  color: #163425; background: var(--orange); padding: .96rem 1.35rem;
  min-height: 48px; border-radius: 100px; text-decoration: none; font-weight: 750;
}
.ctc-app-primary:hover { background: #ffc071; }
.ctc-app-secondary {
  display: inline-flex; align-items: center; min-height: 44px; font-size: .96rem;
  text-underline-offset: .3em; text-decoration-color: #a7bfaa; font-weight: 600;
}
.ctc-app-secondary:hover, .ctc-app-preview-link:hover { color: var(--leaf); }
.ctc-app-figure { display: grid; justify-items: center; gap: .8rem; margin: 0; }
.ctc-app-preview {
  display: block;
  width: clamp(216px, 21vw, 268px);
  border: 5px solid #253b32;
  border-radius: 32px;
  background: #06291c;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(218,233,215,.53), 0 20px 48px rgba(2,17,11,.42);
}
.ctc-app-preview img { width: 100%; height: auto; }
.ctc-app-preview-link { font-size: .8rem; text-underline-offset: .2em; color: #d7e3d6; }
.ctc-app-features {
  width: min(calc(100% - 4rem), var(--content-width));
  margin: 0 auto; padding: clamp(3rem, 7vw, 6.5rem) 1.25rem;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.ctc-app-features h2 {
  font-size: clamp(2.5rem, 4.7vw, 4.1rem); line-height: 1.01;
  font-weight: 650; letter-spacing: -.062em; max-width: 8.8em;
}
.ctc-app-features-intro p {
  margin-top: 1.1rem; max-width: 25rem; line-height: 1.55; color: #41574b;
}
.ctc-app-features dl { border-top: 1px solid #bac7b6; }
.ctc-app-features dl > div { padding: 1.2rem 0 1.35rem; border-bottom: 1px solid #bec9bb; }
.ctc-app-features dt { font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
.ctc-app-features dd { margin-top: .45rem; line-height: 1.55; max-width: 36rem; color: #41574b; }
@media (min-width: 701px) and (max-width: 820px) {
  #ctc-navbar .nav-items a, #ctc-navbar .nav-items button.nav-btn { padding-inline: 9px; }
}
@media (max-width: 740px) {
  .ctc-app-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ctc-app-layout, .ctc-app-features { width: calc(100% - 2.5rem); padding-inline: 0; }
  .ctc-app-layout { padding-top: 2.6rem; padding-bottom: 2.5rem; }
  .ctc-app-brand { margin-bottom: 1.5rem; }
  .ctc-app-hero h1 { font-size: clamp(3.1rem, 11vw, 4.8rem); }
  .ctc-app-description p { margin-top: 1.15rem; }
  .ctc-app-actions { margin-top: 1.25rem; }
  .ctc-app-preview { width: min(64vw, 234px); border-radius: 27px; }
  .ctc-app-features { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 3.25rem; }
}
@media (max-width: 375px) {
  .ctc-app-actions { gap: .1rem .9rem; }
  .ctc-app-secondary { font-size: .86rem; }
}
