/* Home page styles extracted from index.html inline style block */

/* HERO */
.hero {
  padding-top: 68px;
  padding-bottom: 72px;
  background:
    linear-gradient(160deg, rgba(32,64,147,0.88) 0%, rgba(16,137,147,0.82) 100%),
    url('/images/bg-wave-1600x1064.jpeg') center/cover no-repeat;
}
.hero-inner {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 60px;
  align-items: center;
  padding-top: 64px;
}
.hero-text .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--surf-sand);
}
.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero stats card */
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 36px;
}
.hero-card h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--surf-sand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.stat-item {}
.stat-number {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.hero-card-note {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.hero-card-note strong { color: var(--white); }

/* Hero quote variant */
.hero-quote {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 32px;
}
.hero-quote-text {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}
.hero-quote-text::before {
  content: '\201C';
  color: var(--surf-sand);
  font-family: Georgia, serif;
  font-size: 1.2em;
  margin-right: 2px;
}
.hero-quote-text::after {
  content: '\201D';
  color: var(--surf-sand);
  font-family: Georgia, serif;
  font-size: 1.2em;
  margin-left: 2px;
}
.hero-quote-attr {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
}
.hero-quote-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-quote-role {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* TRUST BAR / CAROUSEL */
.trust-bar {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.trust-bar-label {
  text-align: center;
  padding: 18px 0 0;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.carousel-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 16px 0 20px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: carousel-scroll 32s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 200px;
  width: 200px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
  flex-shrink: 0;
}
.carousel-tile:hover {
  border-color: var(--surf-teal);
  box-shadow: 0 4px 16px rgba(16,137,147,0.12);
  transform: translateY(-2px);
}
.carousel-tile img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}
.carousel-tile:hover img { filter: grayscale(0%); }
.carousel-tile-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600, #4B5563);
  text-align: center;
  line-height: 1.4;
}
.carousel-tile-sub {
  font-size: 10px;
  color: var(--gray-500);
  text-align: center;
}

/* PLATFORM INTRO */
.platform-intro { background: var(--white); }
.platform-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.platform-tagline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
}
.platform-tagline span { color: var(--surf-teal); }
.platform-body {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
}
.platform-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--surf-teal), var(--surf-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.pillar-text h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.pillar-text p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* PRODUCTS */
.products { background: var(--gray-100); }
.products-header { text-align: center; margin-bottom: 52px; }
.products-header .section-sub { margin: 0 auto; }
.products-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}
.product-tile {
  border-radius: 16px 16px 0 0;
  padding: 44px 36px 36px;
  border: 1px solid transparent;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-tile--surf {
  background: #EBF5F6;
  border-color: #c2e2e4;
}
.product-tile--park {
  background: #EBF2EE;
  border-color: #bfdaca;
}
.product-tile img {
  height: 68px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}
.product-tile-tagline {
  font-size: 15px;
  color: var(--gray-600, #4B5563);
  line-height: 1.65;
  max-width: 340px;
}

/* Shared features area */
.shared-features-box {
  background: var(--white);
  border-radius: 0 0 16px 16px;
  padding: 36px 40px 40px;
  border: 1px solid var(--gray-200);
  border-top: none;
}
.shared-features-title {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
  text-align: center;
}
.shared-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.sf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}
.sf-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: #e0f0f1; color: var(--surf-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.shared-features-cta { text-align: center; }
@media (max-width: 900px) {
  .shared-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .products-tiles { grid-template-columns: 1fr; }
  .shared-features-grid { grid-template-columns: 1fr; }
}

/* VALUE PROPS */
.value-props {
  background: linear-gradient(135deg, var(--surf-navy) 0%, var(--otto-blue) 100%);
}
.value-props .label { color: var(--surf-sand); }
.value-props .section-title { color: var(--white); }
.value-props .section-sub { color: rgba(255,255,255,0.72); }
.value-props-header { text-align: center; margin-bottom: 56px; }
.value-props-header .section-sub { margin: 0 auto; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 36px 30px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.value-card:hover {
  background: var(--gray-100);
  border: 2px solid;
  border-color: var(--surf-teal);
  box-shadow: 0 4px 16px rgba(16,137,147,0.12);
  transform: translateY(-2px);
}
.value-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--surf-teal), var(--surf-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.value-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--park-navy);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}
 .value-cta {
    text-align: center;
    margin-top: 48px;
}

/* HOW IT WORKS */
/* Base and timeline styles in shared.css */
.hiw-timeline-text {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--white);
}
.hiw-timeline-text span { color: var(--surf-sand); font-weight: 700; }

/* TESTIMONIAL */
/* Base section (.testimonial) in shared.css */
/* Meta styles (.testimonial-town-badge, h3, .role, .since, .quote-*) in shared.css */
/* Page-local override for alignment */
.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.quote-mark-close {
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--surf-teal);
  opacity: 0.25;
  display: block;
  text-align: right;
  line-height: 0.5;
  margin-bottom: 5px;
}

/* COMMUNITIES */
/* Grid and card styles in shared.css */

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside-bubble { width: 100%; height: auto; padding: 12px 16px; gap: 12px; box-sizing: border-box; }
  .hero-aside-bubble img { max-width: 40%; height: auto; width: auto; }
  .hero-card { display: none; }
  .platform-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .products-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; gap: 32px; }
  .hiw-steps::before { display: none; }
  .testimonial-inner { grid-template-columns: 1fr; }
  .communities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-text h1 { font-size: clamp(32px, 8vw, 44px); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { gap: 24px; }
  .communities-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-attr { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .communities-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
