﻿body {
  margin: 0;
  background: #ff751f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Rubik", sans-serif;
  text-align: center;
  width: 100%;
  padding: 0;
  overflow-x: hidden;
}

body main {
  flex: 1 1 auto;
  /* Allow grow and shrink */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 120px 20px 40px;
  /* Big top padding */
  width: 100%;
  box-sizing: border-box;
  /* Proper box model */
}

body .hero-title {
  font-size: clamp(64px, 18vw, 140px);
  color: #fafafa;
  -webkit-text-stroke: 2px #121212;
  letter-spacing: 0.08em;
  margin: 0 0 2rem;
  /* Remove top margin, rely on padding */
  display: inline-block;
  animation: pop-once 1.4s cubic-bezier(0.25, 1.4, 0.4, 1) 0s 1 both;
  position: relative;
}

body .hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(6px, 6px);
  background: repeating-linear-gradient(45deg, #121212 0 6px, #fafafa 6px 12px);
  -webkit-background-clip: text;
  color: transparent;
  z-index: -1;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.22));
}

body .hero-subtitle {
  font-size: 32px;
  color: #fafafa;
  margin: -10px 0 40px;
  /* pull up closer to title, push down content */
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fade-up 1.2s ease 0.4s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body .flexbox {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 10px 0 160px;
  /* Ample bottom whitespace */
}

body .item {
  background: #fafafa;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  width: min(320px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

body .item img {
  width: 100%;
  height: auto;
  display: block;
}

body .item h2 {
  margin: 4px 0 0;
  font-size: 22px;
  color: #121212;
}

body .item p {
  margin: 0;
  font-size: 16px;
  color: #333;
  text-align: center;
}

body .item .cta {
  display: inline-block;
  /* Added for anchor support */
  text-decoration: none;
  /* Added for anchor support */
  margin: 6px 0;
  background: #239ab1;
  color: #fafafa;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 3px #005596;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

body .item .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 0 #005596;
}

body .item .cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 0 #005596;
}

@keyframes pop-once {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Info Panels (Top Page Specific) */
.panel {
  background: white;
  border-radius: 12px;
  padding: 20px;
  max-width: 600px;
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.panel h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-align: center;
  color: #333;
}

.panel ul {
  list-style: disc;
  padding-left: 20px;
  color: #555;
  line-height: 1.8;
}

/* =========================================
   Policies Page Styles
   ========================================= */

.policies-page {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #121212;
  /* Background is inherited from body (#ff751f) */
}

.policies-page header {
  margin: 5rem 0;
  text-align: center;
}

.policies-page h1 {
  font-family: "Rubik", "Zen Kaku Gothic New", sans-serif;
  /* Fallback to Rubik or Zen */
  color: #FAFAFA;
  font-size: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Main Content Container */
.policy-container {
  background-color: #FAFAFA;
  border-radius: 16px;
  padding: 3rem;
  max-width: 800px;
  width: 90%;
  margin: 0 auto 4rem auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #121212;
  text-align: left;
  /* Ensure left align for policy text */
}

/* Policy Items */
.policy-item {
  margin-bottom: 2.5rem;
  text-align: left;
  width: 100%;
}

.policy-item:last-child {
  margin-bottom: 0;
}

.policy-item h2 {
  font-size: 1.5rem;
  color: #121212;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff751f;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.policy-item p {
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* List Styles within Policy Items */
.policy-item ul {
  list-style-type: none;
  padding-left: 0;
  color: inherit;
  /* Override common .panel ul color if needed */
}

.policy-item li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Custom Bullet Point */
.policy-item li::before {
  content: "●";
  color: #ff751f;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  line-height: 1.8;
}