@import url('https://fonts.googleapis.com/css2?family=Beau+Rivage&family=Lexend:wght@700;800&family=Poppins:wght@400;600;700;800&display=swap');

@font-face {
  font-family: 'Senja Santuy';
  src: url('assets/fonts/SenjaSantuy.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgb(168 196 225 / 0.3) 40%,
    rgb(168 196 225 / 0.3) 40%,
    rgb(168 196 225 / 0.48) 50%,
    rgb(168 196 225 / 0.65) 60%,
    #a8c4e1 70%,
    #a8c4e1 80%,
    #99b9dc 90%,
    #c8d0df 100%
  );
}
.home-hero-section{
  background: linear-gradient(
          180deg,
          #ffffff 0%,
          rgba(168, 196, 225, 0.08) 20%,
          rgba(168, 196, 225, 0.18) 40%,
          rgba(168, 196, 225, 0.35) 60%,
          rgba(168, 196, 225, 0.65) 80%,
          #a8c4e1 100%
  );
}

.page {
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 48px 20px 64px;
}

.wrap {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.logo-image {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* Card */

.card {
  width: 100%;
  background: #0777b8;
  border-radius: 32px;
  padding: 44px 48px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(50, 70, 110, 0.25);
}

.script-heading {
  font-family: 'Senja Santuy', 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 56px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.fonts-ready .script-heading {
  opacity: 1;
}

.card-text {
  color: #f3f5fa;
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 14px;
}

.card-text:last-child {
  margin-bottom: 0;
}

/* CTA button */

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 32px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 119, 184, 0.2);
  transition: color 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0077b8;
  transform: translate(-101%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.cta-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transform: scale(1.2);
}

.cta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cta-label {
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 119, 184, 0.28);
  color: #ffffff;
}

.cta-button:hover::before {
  transform: translate(0);
}

.cta-button:active {
  transform: translateY(0);
}

/* Photo */

.photo-frame {
  margin-top: 32px;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 2 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(50, 70, 110, 0.2);
}

.photo-frame img,
.photo-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-frame--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e7ecf7, #c7d3ec);
  color: #0777b8;
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.photo-frame--fallback::after {
  content: "Add your photo at assets/couple-photo.jpg";
}

/* Footer */

.site-footer {
  padding: 32px 20px 40px;
  text-align: center;
  background-color: #d2dfee47;
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

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

.footer-copy {
  color: #000000;
  font-size: 13px;
  line-height: 1.6;
}
.footer-copy  a{
  color: #000000;
  font-size: 13px;
  line-height: 1.6;
}

/* About / Privacy / Accessibility pages */

.about-page {
  background: #ffffff;
}

.about-page .logo {
  padding-top: 48px;
}

.about-main {
  flex: 1;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.about-main h1 {
  font-family: 'Lexend', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  color: #000000;
  margin-bottom: 16px;
}

.about-main .lead {
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 40px;
}

.about-main h2 {
  font-family: 'Lexend', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #000000;
  margin: 40px 0 16px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-main p {
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
}

.about-main a {
  color: #0077b8;
  font-weight: 600;
  text-decoration: none;
}

.about-main a:hover {
  text-decoration: underline;
}

.about-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-list li {
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
}

/* Section shells shared by How It Works / Six Discovery Topics / Ready CTA */

.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Lexend', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: #001d61;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(0, 29, 97, 0.7);
  text-align: center;
  margin-bottom: 48px;
}

.section-title--light {
  color: #ffffff;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.8);
}

/* Border-draw hover effect shared by how-it-works-card and topic-card */

.border-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.border-path {
  fill: none;
  stroke: #0077b8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s;
}

.how-it-works-card:hover .border-path,
.topic-card:hover .border-path {
  stroke-dashoffset: 0;
}

/* How It Works */

.how-it-works {
  width: 100%;
  padding: 80px 24px;
  background: linear-gradient(135deg, #daeef8 0%, #edf6fb 40%, #d0ecf7 70%, #c5e8f5 100%);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-it-works-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #c6e2ec;
  border-radius: 16px;
  padding: 28px;
}

.how-it-works-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.how-it-works-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #d3f2fd;
  color: #0077b8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-it-works-icon svg {
  width: 30px;
  height: 30px;
}

.how-it-works-number {
  font-size: 30px;
  font-weight: 800;
  color: rgba(0, 29, 97, 0.1);
  letter-spacing: -0.02em;
}

.how-it-works-card h3 {
  font-family: 'Lexend', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #001d61;
  margin-bottom: 8px;
}

.how-it-works-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 29, 97, 0.7);
}

/* Six Discovery Topics */

.discovery-topics {
  width: 100%;
  padding: 80px 24px;
  background: linear-gradient(180deg, #0077b8 0%, #005a8c 100%);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
}

.topic-card .border-path {
  stroke: #ffffff;
}

.topic-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.topic-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topic-title {
  font-family: 'Lexend', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}

.topic-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Ready CTA */

.ready-cta {
  width: 100%;
  padding: 80px 24px;
  background: linear-gradient(180deg, #282828 0%, #1a1a1a 100%);
  text-align: center;
}

.ready-cta .section-inner {
  max-width: 720px;
}

.ready-title {
  font-family: 'Lexend', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 16px;
}

.ready-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.ready-body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-button--blue {
  background: #0077b8;
  border-radius: 12px;
}

.cta-button--blue::before {
  background: #000000;
}

/* Responsive */

@media (max-width: 560px) {
  .card {
    padding: 32px 24px;
  }

  .script-heading {
    font-size: 40px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 18px;
  }

  .footer-links {
    gap: 14px 20px;
  }

  .about-main {
    padding: 32px 20px 48px;
  }

  .about-main h1 {
    font-size: 28px;
  }

  .about-main h2 {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .how-it-works-grid,
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .how-it-works,
  .discovery-topics,
  .ready-cta {
    padding: 56px 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .ready-title {
    font-size: 24px;
  }
}
