/* ============================================================
   Long View Brand Guide Stylesheet for CLEAR and SYNC.ai
   ============================================================ */

/* Font Faces */
@font-face {
    font-family: 'Feijoa';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/feijoa-web-display.woff2') format('woff2');
  font-display: fallback;
}

@font-face {
    font-family: 'Karbon';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/karbon-web-regular.woff2') format('woff2');
  font-display: fallback;
}

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--lv-slate);
  font-family: "Karbon", Verdana, sans-serif;
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--lv-green);
  outline-offset: 2px;
}

/* Responsive hero sizing */
:root {
  --lv-navy: #0f2a44;
  --lv-slate: #1e293b;
  --lv-green: #22c55e;
  --lv-light-blue: #d8e3e8;
  --lv-cream: #FCFAD4;
  --lv-white: #ffffff;
  --lv-border-light: #ececec;
  --lv-nav-text: #24364b;
  --lv-nav-hover: #8a8f98;
  --lv-nav-accent: #59c13d;
  --lv-text-deep: #0e253d;
  --lv-slate-hover: #334155;
  --lv-green-hover: #16a34a;
  --lv-gray-100: #e4e4e7;
  --lv-gray-600: #525252;
  --lv-navy-alt: #1e3a52;
  --layout-max-width: 1400px;

  /* title: min ≈38px, fluid, max = 56px */
  --hero-title-size: clamp(2.4rem, 4vw + 0.3rem, 3.5rem);
  /* subtitle: min ≈18px, fluid, max = 28px */
  --hero-subtitle-size: clamp(1.15rem, 1.7vw + 0.8rem, 1.75rem);
  --action-button-width: clamp(16rem, 85vw, 22rem);
}

.clear-header-inner,
.clear-hero-inner,
.clear-content-block-inner,
.clear-cta-inner,
.clear-faq-title,
.clear-accordion,
.clear-thankyou-container,
.clear-footer-inner {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

/* ============================================================
   Header
   ============================================================ */

.clear-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 94px;
  background: var(--lv-white);
  border-bottom: 2px solid var(--lv-border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 5000;
}

.clear-header-inner {
  height: 100%;
  padding: 0 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .clear-header-inner {
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  .clear-header {
    height: 78px;
  }

  .clear-header-inner {
    padding: 0 16px;
  }

  .clear-header-logo {
    margin-right: 1rem;
  }

  .clear-header-logo img {
    height: 44px;
  }

  .clear-nav {
    gap: 16px;
    font-size: 16px;
  }

  .clear-nav a {
    font-size: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .clear-header {
    height: auto;
  }

  .clear-header-inner {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .clear-header-logo {
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .clear-header-logo img {
    height: 36px;
  }

  .clear-nav {
    width: 100%;
    gap: 8px;
    justify-content: space-between;
    font-size: 13px;
    min-width: 0;
  }

  .clear-nav a {
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: nowrap;
    border-top: 0;
  }
}

.clear-header-logo {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.clear-header-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.clear-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  height: 100%;
  font-size: 21px;
  font-weight: 700;
}

.clear-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  border-top: 3px solid transparent;
  padding-top: 24px;
  padding-bottom: 24px;

  text-decoration: none;
  color: var(--lv-nav-text);
  font-family: "Karbon", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  transition: color .2s ease;
}

.clear-nav a:hover {
  color: var(--lv-nav-hover);
  border-top-color: var(--lv-nav-accent);
}

/* ============================================================
   Hero
   ============================================================ */
.clear-hero {
  width: 100%;
  min-height: 600px;
  background-color: var(--lv-navy);
  color: var(--lv-white);
  font-family: "Karbon", Verdana, sans-serif;
  position: relative;
  padding: 3rem 0 5.5rem;
  overflow: hidden;

  /* center the inner content vertically */
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .clear-hero {
    flex-shrink: 0;
  }
}

.clear-hero::before {
  display: none;
}

.clear-hero-inner {
    padding: 0 1rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
}

@media (min-width: 768px) {
  .clear-hero-inner {
    padding: 0 20px;
  }
}

.clear-hero-text {
    flex: 0 0 45%;
    max-width: 45%;
    border-top: 3px solid var(--lv-green);
    padding-top: 0.65rem;
}

.clear-hero-subtitle {
    font-size: var(--hero-subtitle-size);
  letter-spacing: 0.09em;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

.clear-hero-title {
  font-family: "Feijoa", Georgia, serif;
  font-size: var(--hero-title-size);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.clear-hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-hero-image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
}

.clear-hero-chevron {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  color: var(--lv-green);
  opacity: 0.95;
  text-decoration: none;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.clear-hero-chevron::before,
.clear-hero-chevron::after {
  content: "";
  width: 20px;
  height: 4px;
  background-color: currentColor;
  border-radius: 999px;
}

.clear-hero-chevron::before {
  transform: translateX(2px) rotate(35deg);
}

.clear-hero-chevron::after {
  transform: translateX(-2px) rotate(-35deg);
}

.clear-hero-chevron:hover {
  transform: translateX(-50%) translateY(4px);
  opacity: 1;
}

@media (max-width: 900px) {
  .clear-hero {
    padding: 7rem 0 4rem;
  }

  .clear-hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .clear-hero-text,
  .clear-hero-image {
    max-width: 100%;
    width: 100%;
  }

  .clear-hero-title {
    font-size: 1.8rem;
  }

  .clear-hero-image img {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .clear-hero {
    padding: 3.25rem 0 3rem;
  }

  .clear-hero-title {
    font-size: 1.875rem;
  }

  .clear-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: 0.11em;
  }
}
/* ============================================================
   Primary Button
   ============================================================ */
.clear-btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.625rem 1.5rem; /* px-6 py-2.5 */
  min-width: 8rem;          /* min-w-32 */
  min-height: 2.5rem;       /* min-h-10 */

  font-family: "Karbon", Verdana, sans-serif;
  font-size: 1.125rem;      /* text-lg */
  font-weight: 500;         /* font-medium */
  line-height: 1.25rem;     /* leading-5 */

  color: var(--lv-white);
  background-color: var(--lv-green); /* bg-green-500 */
  border-radius: 30px;

  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.clear-btn-primary:hover {
  background-color: var(--lv-slate); /* hover:bg-slate-800 */
}

@media (max-width: 640px) {
  .clear-btn-primary {
    font-size: 1.1rem;
    padding: 0.5rem 1.25rem;
  }
}

/* ============================================================
   Secondary Button
   ============================================================ */
.clear-btn-secondary {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.625rem 1.5rem; /* px-6 py-2.5 */
  min-width: 7rem;          /* min-w-28 */
  min-height: 2.5rem;       /* min-h-10 */

  font-family: "Karbon", Verdana, sans-serif;
  font-size: 1.125rem;      /* text-lg */
  font-weight: 500;         /* font-medium */
  line-height: 1.25rem;     /* leading-5 */

  color: var(--lv-slate);           /* text-slate-800 */
  background-color: transparent;
  border-radius: 30px;
  border: 1.5px solid var(--lv-slate);

  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.clear-btn-secondary:hover {
  background-color: var(--lv-slate); /* hover:bg-slate-800 */
  color: var(--lv-white);              /* hover:text-white */
}

.clear-btn-primary:focus-visible,
.clear-btn-secondary:focus-visible {
  outline: 3px solid var(--lv-green);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .clear-btn-secondary {
    font-size: 1.1rem;
    padding: 0.5rem 1.25rem;
  }
}

/* ============================================================
   Content Block
   ============================================================ */
.clear-content-block {
  width: 100%;
  background-color: var(--lv-light-blue);
  color: var(--lv-text-deep);
  font-family: "Karbon", Verdana, sans-serif;
  padding: 3rem 0;
  scroll-margin-top: 130px;
  overflow: hidden;

  /* center the inner content vertically */
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .clear-content-block {
    flex-shrink: 0;
  }
}

.clear-content-block-inner {
    padding: 0 1rem;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
}

@media (min-width: 768px) {
  .clear-content-block-inner {
    padding: 0 20px;
  }
}

.clear-content-block-heading,
.clear-content-block-copy {
  flex: 0 0 48%;
  max-width: 48%;
}

.clear-content-block-heading {
  display: flex;
  align-items: flex-start;
}

.clear-content-block-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
  align-items: flex-start;
}

.clear-content-block-text {
  margin: 0;
  padding: 0;
}

.clear-content-block-title {
  font-family: "Feijoa", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

@media (min-width: 768px) {
  .clear-content-block-title {
    font-size: 2.5rem;
  }
}

.clear-content-block-text p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 1.3rem;
}

.clear-content-block-button {
  width: min(var(--action-button-width), 100%);
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding-top: 1rem;
}

.clear-content-block-button .clear-btn-secondary {
  width: 100%;
  max-width: none;
}

@media (max-width: 900px) {
  .clear-content-block {
    padding: 3rem 0;
  }

  .clear-content-block-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .clear-content-block-heading,
  .clear-content-block-copy {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .clear-content-block-text {
    max-width: 100%;
    width: 100%;
  }

  .clear-content-block-button {
    width: min(var(--action-button-width), 100%);
    max-width: 100%;
  }

  .clear-content-block-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 640px) {
  .clear-content-block {
    padding: 2rem 0;
  }

  .clear-content-block-title {
    font-size: 1.625rem;
  }

  .clear-content-block-text p {
    font-size: 1.25rem;
    line-height: 1.8;
  }

  .clear-content-block-button .clear-btn-secondary {
    font-size: 1.1rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   CTA Section
   ============================================================ */
.clear-cta {
  width: 100%;
  background-color: var(--lv-cream);
  color: var(--lv-slate);
  font-family: "Karbon", Verdana, sans-serif;
  padding: 3rem 0;
  overflow: hidden;

  /* center the inner content vertically */
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .clear-cta {
    padding: 4rem 0;
  }
}

@media (max-width: 767px) {
  .clear-cta {
    flex-shrink: 0;
  }
}

.clear-cta-inner {
  padding: 0 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

@media (min-width: 768px) {
  .clear-cta-inner {
    padding: 0 20px;
  }
}

.clear-cta-left {
  flex: 0 0 48%;
  max-width: 48%;
  padding-top: 1.5rem;
}

.clear-cta-title {
  font-family: "Feijoa", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .clear-cta-title {
    font-size: 2.5rem;
  }
}

.clear-cta-right {
  flex: 0 0 48%;
  max-width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

.clear-cta-text {
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-size: 1.3rem;
}

.clear-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(var(--action-button-width), 100%);
  margin: 0 auto;
  align-items: stretch;
}

.clear-cta-buttons .clear-btn-primary,
.clear-cta-buttons .clear-btn-secondary {
  width: 100%;
}

@media (max-width: 900px) {
  .clear-cta {
    padding: 3rem 0;
  }

  .clear-cta-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .clear-cta-left,
  .clear-cta-right {
    max-width: 100%;
    width: 100%;
  }

  .clear-cta-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 640px) {
  .clear-cta {
    padding: 2rem 0;
  }

  .clear-cta-title {
    font-size: 1.625rem;
  }

  .clear-cta-text {
    font-size: 1.25rem;
    line-height: 1.8;
  }
}

/* ============================================================
   FAQ Title
   ============================================================ */
.clear-faq-title {
  font-family: "Feijoa", Georgia, serif;
  font-size: 2.25rem; /* text-3xl */
  font-weight: 600;
  line-height: 1.3;
  color: var(--lv-slate);
  margin-bottom: 2rem;
  margin-top: 4rem;
  text-align: left;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .clear-faq-title {
    font-size: 2.75rem; /* md:text-4xl */
  }
}

@media (max-width: 767px) {
  .clear-faq-title {
    padding: 0 1rem;
    font-size: 2rem;
    margin-top: 2rem;
  }
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.clear-accordion {
  margin: 0 auto 3rem;
  padding: 0 1rem;
  font-family: "Karbon", Verdana, sans-serif;
  color: var(--lv-slate);
}

@media (min-width: 768px) {
  .clear-accordion {
    padding: 0 50px;
  }
}

@media (max-width: 767px) {
  .clear-accordion {
    flex-shrink: 0;
  }
}

.clear-accordion-item {
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
}

.clear-accordion-header {
  background-color: var(--lv-slate);
  color: var(--lv-white);
  padding: 1rem 3rem 1rem 1rem;
  font-weight: 600;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

@media (max-width: 640px) {
  .clear-accordion-header {
    font-size: 1.125rem;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
  }
}

.clear-accordion-header:hover {
  background-color: var(--lv-slate-hover);
}

.clear-accordion-header::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.clear-accordion-item.open .clear-accordion-header {
  background-color: var(--lv-green);
}

.clear-accordion-item.open .clear-accordion-header:hover {
  background-color: var(--lv-green-hover);
}

.clear-accordion-item.open .clear-accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.clear-accordion-body {
  background-color: var(--lv-gray-100);
  color: var(--lv-gray-600);
  font-family: "Karbon", Verdana, sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}

.clear-accordion-body p,
.clear-accordion-body ul {
  margin: 0 0 1rem;
}

.clear-accordion-body ul {
  padding-left: 1.5rem;
}

.clear-accordion-body li {
  margin-bottom: 0.4rem;
}

.clear-accordion-body li:last-child {
  margin-bottom: 0;
}

.clear-accordion-body > :last-child {
  margin-bottom: 0;
}

.clear-accordion-item.open .clear-accordion-body {
  padding: 1.5rem 1rem 2rem;
}

/* ============================================================
   Thank You Page
   ============================================================ */
.clear-thankyou {
  width: 100%;
  flex: 1;
  background: var(--lv-white);
  color: var(--lv-slate);
  font-family: "Karbon", Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(24rem, 56vh, 36rem);
  padding: 3.5rem 0;
}

.clear-thankyou-container {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .clear-thankyou-container {
    padding: 0 50px;
  }
}

.clear-thankyou-card {
  background: var(--lv-white);
  color: var(--lv-slate);
  padding: 3rem 3.25rem;
  border-radius: 4px;
  border: 1px solid var(--lv-border-light);
  border-top: 3px solid var(--lv-green);
  box-shadow: 0 10px 24px rgba(15, 42, 68, 0.14);
  text-align: center;
  max-width: 760px;
  width: 100%;
}

.clear-thankyou-title {
  font-family: "Feijoa", Georgia, serif;
  font-size: clamp(2.25rem, 2.2vw + 1.5rem, 3.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--lv-navy);
}

.clear-thankyou-text {
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 0;
  color: var(--lv-slate);
}

@media (max-width: 640px) {
  .clear-thankyou {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .clear-thankyou-card {
    padding: 2rem 1.5rem;
  }

  .clear-thankyou-title {
    font-size: 2.1rem;
  }

  .clear-thankyou-text {
    font-size: 1.25rem;
    line-height: 1.45;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.clear-footer {
  width: 100%;
  background-color: var(--lv-slate);
  color: var(--lv-white);
  padding: 1.5rem 0;
}

.clear-footer-inner {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .clear-footer-inner {
    padding: 0 20px;
  }
}

.clear-footer-copyright {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.clear-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.clear-footer-links a {
  color: var(--lv-white);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
}

.clear-footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .clear-nav a,
  .clear-btn-primary,
  .clear-btn-secondary,
  .clear-hero-chevron,
  .clear-accordion-header,
  .clear-accordion-header::after,
  .clear-accordion-body,
  .clear-footer-links a {
    transition: none !important;
  }
}

