.sign-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sign-topbar {
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  background: var(--accent-moss);
}

.sign-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfaf3 0%, #f5efe0 100%);
  padding-bottom: 0;
}

.memory-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}

@keyframes flyUp {
  0%   { transform: translateY(110vh); opacity: 0; }
  10%  { opacity: 0.55; }
  90%  { opacity: 0.55; }
  100% { transform: translateY(-10vh); opacity: 0; }
}

@keyframes driftDiagonal {
  0%   { transform: translate(0, 110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.4; }
  100% { transform: translate(var(--drift-x, 60px), -10vh) rotate(180deg); opacity: 0; }
}

@keyframes driftSway {
  0%   { transform: translateY(110vh) translateX(0); opacity: 0; }
  25%  { transform: translateY(70vh) translateX(20px); opacity: 0.5; }
  50%  { transform: translateY(40vh) translateX(-15px); opacity: 0.5; }
  75%  { transform: translateY(15vh) translateX(25px); opacity: 0.45; }
  100% { transform: translateY(-10vh) translateX(0); opacity: 0; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.70;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253,250,243,0.72) 0%, rgba(245,239,224,0.78) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  animation: heroReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
  display: inline-block;
  background: var(--accent-moss);
  color: white;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  color: var(--ink-color);
  margin: 0 0 8px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  color: var(--accent-moss);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--muted-ink);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.sign-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 20px 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(237, 223, 200, 0.3) 100%);
}

.sign-card {
  background: #fffef8;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow:
    0 24px 60px -20px rgba(74, 68, 66, 0.14),
    0 8px 20px -8px rgba(74, 68, 66, 0.08);
  padding: 44px 40px 40px;
  width: 100%;
  max-width: 420px;
  transform: translateY(-40px);
  animation: cardRise 0.8s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(0px); }
  to { opacity: 1; transform: translateY(-40px); }
}

.sign-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink-color);
  margin: 0 0 4px;
  font-weight: 700;
}

.sign-card-subtitle {
  font-size: 13px;
  color: var(--muted-ink);
  margin: 0 0 28px;
  font-family: var(--font-sans);
}

.sign-form-group {
  margin-bottom: 18px;
}

.sign-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-ink);
  margin-bottom: 6px;
}

.sign-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-color);
  background: white;
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.sign-input:focus {
  border-color: var(--accent-sage);
  box-shadow: 0 0 0 3px rgba(180, 201, 180, 0.2);
}

.password-wrap {
  position: relative;
}

.password-wrap .sign-input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--muted-ink);
  opacity: 0.6;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  opacity: 1;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirm-group {
  display: none;
}

.confirm-group.visible {
  display: block;
}

.pw-reqs {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.pw-reqs.visible {
  display: flex;
}

.pw-req {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted-ink);
  padding-left: 18px;
  position: relative;
  transition: color 0.2s ease;
}

.pw-req::before {
  content: "○";
  position: absolute;
  left: 0;
  font-size: 10px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.pw-req.met {
  color: var(--accent-moss);
}

.pw-req.met::before {
  content: "✓";
  font-weight: 700;
}

.sign-feedback {
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.sign-feedback--error {
  background: #fff0f0;
  color: #9b2020;
  border-color: rgba(155, 32, 32, 0.15);
}

.sign-feedback--success {
  background: #f0fff4;
  color: #1a6b3a;
  border-color: rgba(26, 107, 58, 0.15);
}

.sign-feedback--info {
  background: #f0f5ff;
  color: #1a3a6b;
  border-color: rgba(26, 58, 107, 0.15);
}

.sign-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 24px 0;
}

.sign-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sign-terms {
  margin-top: 14px;
  font-family: var(--font-sans, sans-serif);
  font-size: 11px;
  color: var(--muted-ink, #9a8f8a);
  text-align: center;
  line-height: 1.6;
}
.sign-terms-link {
  color: var(--muted-ink, #9a8f8a);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sign-terms-link:hover {
  color: var(--color-primary, #8b9d83);
}

.sign-btn-primary {
  width: 100%;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  background: var(--accent-moss);
  color: white;
  box-shadow: 0 8px 20px rgba(139, 157, 131, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  letter-spacing: 0.02em;
}

.sign-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(139, 157, 131, 0.45);
}

.sign-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.sign-btn-secondary {
  width: 100%;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--accent-moss);
  border: 2px solid var(--accent-sage);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.sign-btn-secondary:hover {
  background: rgba(180, 201, 180, 0.12);
  border-color: var(--accent-moss);
  transform: translateY(-2px);
}

.sign-stats {
  padding: 0 20px 48px;
  display: flex;
  justify-content: center;
  background: #f5efe0;
}

.sign-stats-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 254, 248, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: 99px;
  padding: 14px 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(74, 68, 66, 0.06);
}

.sign-stats-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted-ink);
  margin: 0;
  white-space: nowrap;
}

.sign-stats-line b {
  font-style: normal;
  color: var(--accent-moss);
  font-weight: 700;
}

.sign-stats-num {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink-color);
  display: inline-block;
  min-width: 1ch;
}

.sign-stats-sep {
  color: var(--border-soft);
  font-size: 20px;
  line-height: 1;
  user-select: none;
  filter: brightness(0.7);
}

.sign-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 0;
  margin-bottom: 10px;
}

.sign-footer-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-ink);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 99px;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.sign-footer-link:hover {
  background: rgba(139, 157, 131, 0.12);
  color: var(--accent-moss);
  opacity: 1;
}

.sign-footer-dot {
  color: var(--border-soft);
  font-size: 14px;
  line-height: 1;
  user-select: none;
  filter: brightness(0.6);
}

.sign-footer {
  text-align: center;
  padding: 24px 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-ink);
  border-top: 1px solid var(--border-soft);
  opacity: 0.7;
}

@media (max-width: 480px) {
  .sign-card {
    padding: 32px 24px 28px;
    transform: translateY(-24px);
  }

  @keyframes cardRise {
    from { opacity: 0; transform: translateY(0px); }
    to { opacity: 1; transform: translateY(-24px); }
  }

  .hero-content {
    padding: 40px 20px;
  }
}

.reviews-section {
  padding: 72px 24px 64px;
  background: linear-gradient(180deg, #f5efe0 0%, #e8e1d5 100%);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(139,157,131,0.04) 0px,
    rgba(139,157,131,0.04) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.reviews-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-moss);
  margin: 0 0 12px;
}

.reviews-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  color: var(--ink-color);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-carousel-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fffef8;
  border: 1px solid rgba(210,200,185,0.7);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: rgba(139,157,131,0.12);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.06),
    0 16px 48px rgba(0,0,0,0.08);
}

.review-stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #c8922a;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: #4a4440;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(210,200,185,0.5);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-moss);
  color: white;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(139,157,131,0.3);
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author-info strong {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-color);
}

.review-author-info span {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted-ink);
  opacity: 0.75;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fffef8;
  border: 1px solid rgba(210,200,185,0.8);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.reviews-arrow--prev { left: -8px; }
.reviews-arrow--next { right: -8px; }

.reviews-arrow:hover {
  background: var(--accent-moss);
  color: white;
  border-color: var(--accent-moss);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(139,157,131,0.35);
}

.reviews-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(139,157,131,0.25);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.reviews-dot.active {
  background: var(--accent-moss);
  transform: scale(1.3);
}

.reviews-dot:hover:not(.active) {
  background: rgba(139,157,131,0.5);
}

@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.review-card.entering {
  animation: reviewFadeIn 0.4s ease both;
}

@media (max-width: 860px) {
  .review-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 540px) {
  .reviews-section {
    padding: 56px 16px 48px;
  }
  .review-card {
    flex: 0 0 calc(100% - 0px);
  }
  .reviews-arrow--prev { left: 0; }
  .reviews-arrow--next { right: 0; }
}
