@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: 0 0% 100%;
  --foreground: 220 15% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 15% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 15% 15%;
  --primary: 156 100% 33%;
  --primary-foreground: 0 0% 100%;
  --secondary: 150 20% 96%;
  --secondary-foreground: 220 15% 15%;
  --muted: 150 10% 96%;
  --muted-foreground: 220 10% 46%;
  --accent: 150 20% 96%;
  --accent-foreground: 220 15% 15%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 150 15% 90%;
  --input: 150 15% 90%;
  --ring: 156 100% 33%;
  --radius: .75rem;
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 156 100% 33%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 150 20% 96%;
  --sidebar-accent-foreground: 220 15% 15%;
  --sidebar-border: 150 15% 90%;
  --sidebar-ring: 156 100% 33%;
  --hilo-green: 156 100% 33%;
  --hilo-green-light: 156 60% 95%;
  --hilo-green-dark: 156 100% 25%;
  --hilo-text: 220 15% 20%;
  --hilo-text-muted: 220 10% 50%;
  --hilo-surface: 40 20% 98%;
  --hilo-border-light: 150 15% 92%;
  --hilo-warning: 38 92% 50%;
  --hilo-warning-bg: 38 100% 97%;
  --hilo-info-bg: 156 50% 96%;
  --test-accent: 256 45% 70%;
  --test-accent-dark: 258 35% 50%;
  --test-accent-light: 256 50% 92%;
  --test-accent-deep: 260 40% 16%;
  --font-heading: "Playfair Display", serif;
  --font-body: "Open Sans", sans-serif;
}

* {
  border-color: hsl(var(--border));
}

img {
  max-width: 100%;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.hilo-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .hilo-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.hilo-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border-radius: 9999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: hsl(var(--hilo-green-light));
  color: hsl(var(--hilo-green-dark));
}

.hilo-blockquote {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-left-width: 4px;
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: 1.25rem;
  font-style: italic;
  border-color: hsl(var(--primary));
  color: hsl(var(--hilo-text-muted));
}

.hilo-cta-card {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, hsl(var(--hilo-green-light)), #f5faf7);
  border: 1px solid hsl(var(--hilo-border-light));
}

.hilo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 9999px;
  padding: 1rem 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .2s;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.hilo-btn:hover {
  background: hsl(var(--hilo-green-dark));
  transform: translateY(-1px);
  box-shadow: 0 8px 25px -8px hsl(var(--primary) / .4);
}

.hilo-warning-box {
  border-radius: .75rem;
  padding: 1.25rem;
  font-size: .875rem;
  line-height: 1.625;
  background: hsl(var(--hilo-warning-bg));
  border: 1px solid hsl(38 60% 88%);
  color: #7a591f;
}

.hilo-progress-bar {
  height: .25rem;
  overflow: hidden;
  border-radius: 9999px;
  background: hsl(var(--border));
}

.hilo-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: all .5s cubic-bezier(0,0,.2,1);
  background: hsl(var(--primary));
}

.hilo-testimonial-card {
  border-radius: .75rem;
  border-width: 1px;
  padding: 1.5rem;
  background: hsl(var(--card));
  border-color: hsl(var(--hilo-border-light));
}

.bg-background { background-color: hsl(var(--background)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-card { background-color: hsl(var(--card)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.border-border { border-color: hsl(var(--border)); }
.bg-\[hsl\(var\(--hilo-green-light\)\)\] { background-color: hsl(var(--hilo-green-light)); }
.bg-\[hsl\(var\(--hilo-info-bg\)\)\] { background-color: hsl(var(--hilo-info-bg)); }

.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: .75rem; }
.rounded-lg { border-radius: var(--radius); }

.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fade-in-up .5s ease-out forwards;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.legal-content {
  word-break: break-word;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.9);
}

html,
body {
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.hilo-container > *,
.hero-grid > *,
.grid > * {
  min-width: 0;
  max-width: 100%;
}

.comparison-table {
  overflow-x: visible;
}

.comparison-table table {
  width: 100%;
}

@media (max-width: 700px) {
  .comparison-table table thead {
    display: none;
  }

  .comparison-table table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid hsl(var(--border));
  }

  .comparison-table table td,
  .comparison-table table th {
    display: block;
    padding: 0;
    min-width: 0;
  }

  .comparison-table table td:first-child {
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  .hilo-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo a,
  .header-logo {
    flex-direction: column;
  }

  .footer-col,
  .header-notice {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .hilo-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  main.hilo-container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

.video-play-overlay.is-hidden {
  display: none;
}
