:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: #111827;
  --panel-2: #141f32;
  --panel-soft: #0f1726;
  --text: #eef4ff;
  --muted: #aab8cf;
  --muted-2: #7f8da6;
  --accent: #4ade80;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --danger: #fb7185;
  --success: #22c55e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-small: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.12), transparent 28rem),
    radial-gradient(circle at 80% 10%, rgba(167, 139, 250, 0.10), transparent 24rem),
    linear-gradient(180deg, #070b14 0%, #0a101d 42%, #070b14 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::selection {
  background: rgba(74, 222, 128, 0.35);
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #07111f;
  font-weight: 800;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  font-weight: 950;
  letter-spacing: -0.06em;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.18);
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand em {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 38%, rgba(56, 189, 248, 0.08), transparent 28rem),
    radial-gradient(circle at 14% 88%, rgba(74, 222, 128, 0.055), transparent 30rem),
    linear-gradient(180deg, rgba(7, 11, 20, 0.78) 0%, rgba(10, 16, 29, 0.86) 100%);
}

.hero::after {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: center;
  gap: 34px;
  min-height: 445px;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 5.4vw, 4.65rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 3.05rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.65vw, 1.26rem);
}

.hero-actions,
.center-action,
.feature-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.center-action {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  box-shadow: 0 18px 36px rgba(56, 189, 248, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--line-strong);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.button.ghost:hover {
  border-color: var(--accent-2);
}

.button.wide {
  width: 100%;
}

.hero-panel,
.note-card,
.contact-card,
.pay-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 26px;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-panel ul,
.note-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.hero-panel li,
.note-card li {
  margin: 8px 0;
}

.section {
  padding: 72px 0;
}

.about-section,
.soft-section,
.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: start;
}

.prose p,
.section-heading p,
.project-card p,
.offering-card p,
.contact-card p,
.note-card p,
.pay-card p,
.feature-box p,
.page-hero p {
  color: var(--muted);
}

.prose p:first-child,
.section-heading p:first-child {
  margin-top: 0;
}

.inline-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 800;
}

.inline-links a,
.text-link,
.site-footer a {
  color: var(--accent-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.compact-heading {
  max-width: 760px;
}

.mini-grid,
.offerings-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

.mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offerings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card,
.offering-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 31, 50, 0.94), rgba(12, 18, 32, 0.94));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

.mini-card {
  padding: 20px;
}

.mini-card h3 {
  font-size: 1.02rem;
}

.mini-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.offering-card,
.project-card {
  padding: 24px;
}

.offering-card h2 {
  font-size: 1.42rem;
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.project-card.featured {
  border-color: rgba(74, 222, 128, 0.28);
}

.project-card.compact p {
  font-size: 0.96rem;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.status-pill,
.project-domain,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.status-pill {
  padding: 6px 9px;
  color: #061018;
  background: var(--accent);
}

.project-domain {
  padding: 6px 0;
  color: var(--muted-2);
  text-align: right;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
}

.tag-list span {
  padding: 7px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.text-link {
  font-weight: 950;
}

.text-link.muted {
  color: var(--muted);
}

.fieldroutes-feature,
.feature-box-section,
.contact-cta {
  border-top: 1px solid var(--line);
}

.feature-box,
.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 15%, rgba(74, 222, 128, 0.13), transparent 20rem),
    linear-gradient(180deg, rgba(20, 31, 50, 0.92), rgba(12, 18, 32, 0.92));
  box-shadow: var(--shadow);
}

.two-col-feature {
  grid-template-columns: 1fr 1fr;
}

.page-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 10%, rgba(56, 189, 248, 0.14), transparent 22rem),
    radial-gradient(circle at 80% 0%, rgba(74, 222, 128, 0.10), transparent 18rem);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
}

.page-hero p {
  max-width: 820px;
  font-size: 1.12rem;
}

.contact-layout,
.pay-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pay-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: start;
}

.contact-card,
.note-card,
.pay-card {
  padding: 26px;
}

.note-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.pay-card label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--muted);
  font-weight: 800;
}

.pay-card input,
.pay-card textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.65);
  color: var(--text);
  font: inherit;
}

.pay-card input:focus,
.pay-card textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.34);
  border-color: var(--accent-2);
}

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  margin: 14px 0;
  font-weight: 800;
}

.notice.error {
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.13);
  border: 1px solid rgba(251, 113, 133, 0.28);
}

.notice.success {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.13);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.small-note,
.copy-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--muted-2);
}

.site-footer {
  padding: 54px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.1fr;
  gap: 28px;
}

.footer-grid p {
  color: var(--muted);
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 1.12rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .feature-box,
  .cta-box,
  .two-col-feature,
  .pay-layout {
    grid-template-columns: 1fr;
  }

  .mini-grid,
  .project-grid,
  .offerings-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .brand {
    max-width: 100%;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand em {
    font-size: 0.78rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .main-nav a {
    padding: 7px 8px;
    font-size: clamp(0.72rem, 3.15vw, 0.86rem);
  }

  .hero-grid {
    min-height: 0;
    padding: 46px 0;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .section {
    padding: 54px 0;
  }

  .mini-grid,
  .project-grid,
  .offerings-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-actions,
  .hero-actions,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-box {
    padding: 24px;
  }

  .cta-box h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .cta-box p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }
}


@media (max-width: 380px) {
  .main-nav a {
    padding: 7px 6px;
    font-size: 0.7rem;
  }

  .brand em {
    font-size: 0.72rem;
  }
}

.pay-card select,
.pay-card input,
.pay-card textarea {
  width: 100%;
}

.pay-card select {
  appearance: none;
  background: rgba(7, 11, 20, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

code {
  padding: 0.12rem 0.32rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
}

.setup-good,
.setup-warn {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.setup-good {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.10);
}

.setup-warn {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.10);
}


/* Embedded Square payment form */
.single-pay-layout {
  display: block;
  max-width: 940px;
}

.embedded-pay-card {
  width: 100%;
}

.card-field-wrap {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.card-label {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.square-card-container {
  min-height: 90px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
}

#payment-success a {
  color: #bbf7d0;
  font-weight: 900;
}

.pay-card button[disabled],
.pay-card input[disabled],
.pay-card select[disabled],
.pay-card textarea[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .single-pay-layout {
    max-width: none;
  }

  .embedded-pay-card {
    padding: 20px;
  }

  .square-card-container {
    padding: 12px;
  }
}

/* Payment receipt page */
.receipt-shell {
    max-width: 980px;
}

.receipt-card {
    margin-inline: auto;
}

.receipt-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.receipt-header h2 {
    margin: .35rem 0 0;
    font-size: clamp(2rem, 5vw, 4rem);
}

.success-pill {
    border-color: rgba(113, 231, 149, .45);
    color: #d7ffe3;
    background: rgba(75, 190, 115, .18);
}

.receipt-details {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.receipt-details div {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 1rem 1.15rem;
    background: rgba(4, 9, 20, .35);
}

.receipt-details dt {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .35rem;
}

.receipt-details dd {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.5rem;
}

@media (max-width: 700px) {
    .receipt-header {
        display: grid;
    }
}


/* Hero CTA alignment fix */
.hero-actions {
  align-items: center;
  gap: 14px;
}

.hero-actions .button {
  height: 48px;
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.hero-actions .button.primary,
.hero-actions .button.secondary,
.hero-actions .button.ghost {
  border-width: 1px;
}

@media (min-width: 721px) {
  .hero-actions .button {
    min-width: 150px;
  }

  .hero-actions .button.ghost {
    min-width: 120px;
  }
}

@media (max-width: 720px) {
  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    height: 48px;
  }
}
